Make websocket error logging exceptionally verbose (#3459) #2351
Results Xamarin.macOS ❌
❌ TestResults.XamarinMac.xml
5730 tests were completed in 3186s with 5709 passed, 4 failed and 17 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests. | 72✔️ | 1❌ | 303s | |
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges. | 2❌ | 14s | ||
Realm.Tests.dll.Realms.Tests.Sync.SessionTests. | 28✔️ | 1❌ | 1✖️ | 310s |
❌ Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.
Realms.Tests.Sync.FlexibleSyncTests
✔️ Integration_AfterAnError_CanRecover
✔️ Integration_CloseRealmBeforeWaitCompletes
✔️ Integration_CreateObjectNotMatchingSubscriptions_ShouldError
✔️ Integration_RealmRemoveAllWithSubscriptions
✔️ Integration_SubscriptionOnUnqueryableField_ShouldAddThemAutomatically
✔️ Integration_SubscriptionSet_AddRemove
✔️ Integration_SubscriptionSet_MoveObjectInsideView
✔️ Integration_SubscriptionSet_MoveObjectOutsideView
✔️ Integration_SubscriptionSet_WaitForSynchronization_CanBeCalledMultipleTimes
✔️ Integration_SubscriptionSet_WaitForSynchronization_CanBeCalledWithCancelledToken
✔️ Integration_SubscriptionSet_WaitForSynchronization_CanBeCancelled
✔️ Integration_SubscriptionWithCollections
✔️ Integration_SubscriptionWithEmbeddedObjects
✔️ Integration_SubscriptionWithLinks
✔️ Integration_UpdateObjectNotMatchingSubscriptions_ShouldError
✔️ Integration_UpdatingSubscription_SupersedesPreviousOnes
✔️ Integration_WaitForSynchronization_EmptyUpdate
✔️ Integration_WriteData_WhenOutsideOfSubscriptions_GetsRevertedByServer
✔️ Realm_Subscriptions_WhenDisposed_Throws
✔️ Realm_Subscriptions_WhenFLX_ReturnsSubscriptions
✔️ Realm_Subscriptions_WhenLocalRealm_Throws
✔️ Realm_Subscriptions_WhenPBS_Throws
✔️ Realm_Subscriptions_WhenSameVersion_ReturnsExistingReference
✔️ Realm_Subscriptions_WhenVersionIsGCed_CreatesANewOne
✔️ Results_Subscribe_WithCancellation_CancelsTheWait
✔️ Results_SubscribeNamed_FirstTimeOnly_DifferentObjectType_WaitsForChanges
❌ Results_SubscribeNamed_FirstTimeOnly_DifferentQuery_WaitsForChanges
Expected: 2
But was: 1
✔️ Results_SubscribeNamed_UpdateExistingFalse_WithDifferentQuery_Throws
✔️ Results_SubscribeNamed_UpdateExistingFalse_WithSameQuery
✔️ Results_SubscribeNamed_UpdatesQuery
✔️ Results_SubscribeNamed_WithValidQuery
✔️ Results_SubscribeUnnamed_WithValidQuery
✔️ SubscriptionSet_Add_AddsSubscription
✔️ SubscriptionSet_Add_ComplexQuery_AddsSubscription
✔️ SubscriptionSet_Add_WithoutUpdate_Throws
✔️ SubscriptionSet_AddSameName_DifferentType_UpdateExisting_Updates
✔️ SubscriptionSet_AddSameName_NoUpdate_WhenDifferentQuery_Throws
✔️ SubscriptionSet_AddSameName_NoUpdate_WhenDifferentType_Throws
✔️ SubscriptionSet_AddSameName_NoUpdate_WhenIdentical_DoesntThrow
✔️ SubscriptionSet_AddSameName_UpdateExisting_Updates
✔️ SubscriptionSet_AddSameQuery_DifferentClasses_AddsBoth
✔️ SubscriptionSet_AddTwice_Deduplicates
✔️ SubscriptionSet_AddTwice_DifferentNames_Duplicates
✔️ SubscriptionSet_AddTwice_NamedAndUnnamed_Duplicates
✔️ SubscriptionSet_Enumerator
✔️ SubscriptionSet_Enumerator_DoubleDispose_Throws
✔️ SubscriptionSet_Enumerator_Reset
✔️ SubscriptionSet_FindByName_Finds
✔️ SubscriptionSet_FindByName_ReturnsNullWhenMissing
✔️ SubscriptionSet_FindByQuery_Finds
✔️ SubscriptionSet_FindByQuery_ReturnsNullWhenMissing
✔️ SubscriptionSet_GetsGarbageCollected
✔️ SubscriptionSet_Indexer
✔️ SubscriptionSet_Iteration
✔️ SubscriptionSet_Remove_ByName
✔️ SubscriptionSet_Remove_ByName_OutsideUpdate_Throws
✔️ SubscriptionSet_Remove_ByQuery_RemoveNamed
✔️ SubscriptionSet_Remove_ByQuery_RemoveNamed_False
✔️ SubscriptionSet_Remove_Subscription
✔️ SubscriptionSet_Remove_Subscription_OutsideUpdate_Throws
✔️ SubscriptionSet_RemoveAll_RemoveNamed
✔️ SubscriptionSet_RemoveAll_RemoveNamed_False
✔️ SubscriptionSet_RemoveByType_Generic_RemoveNamed
✔️ SubscriptionSet_RemoveByType_Generic_RemoveNamed_False
✔️ SubscriptionSet_RemoveByType_RemoveNamed
✔️ SubscriptionSet_RemoveByType_RemoveNamed_False
✔️ SubscriptionSet_Update_IncrementsVersion
✔️ SubscriptionSet_Update_UpdatesItself
✔️ SubscriptionSet_Update_WhenActionThrows_RollsbackTransaction
✔️ SubscriptionSet_Update_WhenEmpty_Succeeds
✔️ SubscriptionSet_Update_WhenTransactionIsInProgress_Throws
✔️ SubscriptionSet_WhenParentRealmIsClosed_GetsClosed
✔️ SubscriptionSet_WhenSupersededParentRealmIsClosed_GetsClosed
❌ Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges.
Realms.Tests.Sync.FlexibleSyncTests
❌ Results_Subscribe_Always_WaitsForChanges("abc")
Expected: 2
But was: 1
❌ Results_Subscribe_Always_WaitsForChanges(null)
Expected: 2
But was: 1
❌ Realm.Tests.dll.Realms.Tests.Sync.SessionTests.
Realms.Tests.Sync.SessionTests
✔️ Realm_GetSession_ShouldReturnSameObject
✔️ Realm_SyncSession_WhenLocalRealm_ShouldThrow
✔️ Realm_SyncSession_WhenSyncedRealm
✔️ Session_ClientResetDiscard_TriggersNotifications
✔️ Session_ConnectionState_FullFlow
✔️ Session_ConnectionState_Propageted_Within_Multiple_Sessions
✔️ Session_Equals_WhenDifferentRealm_ReturnsFalse
✔️ Session_Equals_WhenOtherIsNotASession_ReturnsFalse
✔️ Session_Equals_WhenSameRealm_ReturnsTrue
✔️ Session_GetHashCode_WhenDifferentRealm_ReturnsDiffernetValue
✔️ Session_GetHashCode_WhenSameRealm_ReturnsSameValue
✔️ Session_GetUser_GetApp_ReturnsMeaningfulValue
✔️ Session_NotificationToken_Freed_When_Close_Realm
✔️ Session_OnSessionError
✔️ Session_PermissionDenied_DoesntCrash
✔️ Session_PropertyChanged_FreedNotificationToken
✔️ Session_PropertyChanged_MultipleSubscribers
✔️ Session_Should_Free_Instance_With_No_PropertyChanged_Subscribers
✔️ Session_Should_Keep_Instance_Until_There_Are_Subscribers
✔️ Session_Should_Not_Free_Instance_With_PropertyChanged_Subscribers
✔️ Session_Start_IsIdempotent
✔️ Session_Start_ResumesSession
✔️ Session_Stop_IsIdempotent
✔️ Session_Stop_StopsSession
✔️ Session_WaitForDownload_CanBeCancelled
✔️ Session_WaitForDownload_WithCancelledToken
❌ Session_WaitForUpload_CanBeCancelled
Expected: less than 5
But was: 42
✔️ Session_WaitForUpload_WithCancelledToken
✔️ Session_WhenDisposed_MethodsThrow
✖️ SessionIntegrationTest_ClientResetHandlers_OutOfBoundArrayInsert_AddedToTail
Annotations
Check failure on line -1 in No path available
github-actions / Results Xamarin.macOS
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests. ► Realms.Tests.Sync.FlexibleSyncTests ► Results_SubscribeNamed_FirstTimeOnly_DifferentQuery_WaitsForChanges
Failed test found in:
TestResults.XamarinMac.xml
Error:
Expected: 2
But was: 1
Raw output
at Realms.Tests.Sync.FlexibleSyncTests.<Results_SubscribeNamed_FirstTimeOnly_DifferentQuery_WaitsForChanges>b__77_0 () [0x003e7] in <639a76f5089b476696a58f75d5d444ac>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <4f2e43b0dd364f309c3bd2f814065d62>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass31_0.<RunAsyncTest>b__0 () [0x00079] in <639a76f5089b476696a58f75d5d444ac>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <14c810c135c3467785b0b5ebc85aa500>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <14c810c135c3467785b0b5ebc85aa500>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x0003b] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.FlexibleSyncTests.Results_SubscribeNamed_FirstTimeOnly_DifferentQuery_WaitsForChanges () [0x00000] in <639a76f5089b476696a58f75d5d444ac>:0
Check failure on line -1 in No path available
github-actions / Results Xamarin.macOS
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges. ► Realms.Tests.Sync.FlexibleSyncTests ► Results_Subscribe_Always_WaitsForChanges("abc")
Failed test found in:
TestResults.XamarinMac.xml
Error:
Expected: 2
But was: 1
Raw output
at Realms.Tests.Sync.FlexibleSyncTests+<>c__DisplayClass80_0.<Results_Subscribe_Always_WaitsForChanges>b__0 () [0x00329] in <639a76f5089b476696a58f75d5d444ac>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <4f2e43b0dd364f309c3bd2f814065d62>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass31_0.<RunAsyncTest>b__0 () [0x00079] in <639a76f5089b476696a58f75d5d444ac>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <14c810c135c3467785b0b5ebc85aa500>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <14c810c135c3467785b0b5ebc85aa500>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x0003b] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges (System.String name) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
Check failure on line -1 in No path available
github-actions / Results Xamarin.macOS
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges. ► Realms.Tests.Sync.FlexibleSyncTests ► Results_Subscribe_Always_WaitsForChanges(null)
Failed test found in:
TestResults.XamarinMac.xml
Error:
Expected: 2
But was: 1
Raw output
at Realms.Tests.Sync.FlexibleSyncTests+<>c__DisplayClass80_0.<Results_Subscribe_Always_WaitsForChanges>b__0 () [0x00329] in <639a76f5089b476696a58f75d5d444ac>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <4f2e43b0dd364f309c3bd2f814065d62>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass31_0.<RunAsyncTest>b__0 () [0x00079] in <639a76f5089b476696a58f75d5d444ac>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <14c810c135c3467785b0b5ebc85aa500>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <14c810c135c3467785b0b5ebc85aa500>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x0003b] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_Always_WaitsForChanges (System.String name) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
Check failure on line -1 in No path available
github-actions / Results Xamarin.macOS
Realm.Tests.dll.Realms.Tests.Sync.SessionTests. ► Realms.Tests.Sync.SessionTests ► Session_WaitForUpload_CanBeCancelled
Failed test found in:
TestResults.XamarinMac.xml
Error:
Expected: less than 5
But was: 42
Raw output
at Realms.Tests.Sync.SessionTests.<Session_WaitForUpload_CanBeCancelled>b__40_0 () [0x0016c] in <639a76f5089b476696a58f75d5d444ac>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <4f2e43b0dd364f309c3bd2f814065d62>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass31_0.<RunAsyncTest>b__0 () [0x00079] in <639a76f5089b476696a58f75d5d444ac>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <14c810c135c3467785b0b5ebc85aa500>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <14c810c135c3467785b0b5ebc85aa500>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x0003b] in <639a76f5089b476696a58f75d5d444ac>:0
at Realms.Tests.Sync.SessionTests.Session_WaitForUpload_CanBeCancelled () [0x00000] in <639a76f5089b476696a58f75d5d444ac>:0