Skip to content

Corrected core version grabbing #2596

Corrected core version grabbing

Corrected core version grabbing #2596

GitHub Actions / Results Xamarin.Android failed Apr 17, 2024 in 0s

Results Xamarin.Android ❌

Tests failed

❌ D:/a/realm-dotnet/realm-dotnet/artifacts/Host_Machine_Files/$DEVICEFARM_LOG_DIR/TestResults.Android.xml

6070 tests were completed in 2621s with 6046 passed, 3 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.SessionTests. 27✔️ 2❌ 1✖️ 331s
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. 4✔️ 1❌ 31s

❌ 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_Propagated_Within_Multiple_Sessions
  ✔️ Session_Equals_WhenDifferentRealm_ReturnsFalse
  ✔️ Session_Equals_WhenOtherIsNotASession_ReturnsFalse
  ✔️ Session_Equals_WhenSameRealm_ReturnsTrue
  ✔️ Session_GetHashCode_WhenDifferentRealm_ReturnsDifferentValue
  ✔️ 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
	  Expected: less than 2
	  But was:  2
	
  ✔️ Session_WaitForUpload_CanBeCancelled
  ❌ Session_WaitForUpload_WithCancelledToken
	  Expected: less than 2
	  But was:  2
	
  ✔️ Session_WhenDisposed_MethodsThrow
  ✖️ SessionIntegrationTest_ClientResetHandlers_OutOfBoundArrayInsert_AddedToTail

❌ Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests.

Realms.Tests.Sync.SyncMigrationTests
  ❌ Migration_FailsWithFutureVersion
	  Expected: String containing "schema version in BIND 3 is greater than latest schema version 2"
	  But was:  "Client provided invalid schema version: client presented schema version "3" is greater than latest schema version "2" Logs: http://34.231.21.249:45708/groups/661fb4c6c253fd023d0a0db4/apps/661fb4dbc253fd023d0a0f75/logs?co_id=661fc1aac253fd023d0bc5de"
	
  ✔️ Model_CanMigratePropertyOptionality
  ✔️ Model_CanRemoveField
  ✔️ SameRealm_CanBeMigratedSkippingVersions
  ✔️ SameRealm_CanBeMigratedThroughConsecutiveVersions

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.Android

Realm.Tests.dll.Realms.Tests.Sync.SessionTests. ► Realms.Tests.Sync.SessionTests ► Session_WaitForDownload_WithCancelledToken

Failed test found in:
  D:/a/realm-dotnet/realm-dotnet/artifacts/Host_Machine_Files/$DEVICEFARM_LOG_DIR/TestResults.Android.xml
Error:
    Expected: less than 2
    But was:  2
  
Raw output
  at Realms.Tests.Sync.SessionTests.<Session_WaitForDownload_WithCancelledToken>b__44_0 () [0x0026d] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <15fb079fbc6d44908966d227b1eea5a3>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <636102bccf9f404c9a0fef8fde84eac6>: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 <063e6ea40f344bfc8c4bf5f4583a4ba1>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <063e6ea40f344bfc8c4bf5f4583a4ba1>: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 <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x00042] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SessionTests.Session_WaitForDownload_WithCancelledToken () [0x00000] in <636102bccf9f404c9a0fef8fde84eac6>:0 

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.Android

Realm.Tests.dll.Realms.Tests.Sync.SessionTests. ► Realms.Tests.Sync.SessionTests ► Session_WaitForUpload_WithCancelledToken

Failed test found in:
  D:/a/realm-dotnet/realm-dotnet/artifacts/Host_Machine_Files/$DEVICEFARM_LOG_DIR/TestResults.Android.xml
Error:
    Expected: less than 2
    But was:  2
  
Raw output
  at Realms.Tests.Sync.SessionTests.<Session_WaitForUpload_WithCancelledToken>b__42_0 () [0x0017b] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <15fb079fbc6d44908966d227b1eea5a3>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <636102bccf9f404c9a0fef8fde84eac6>: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 <063e6ea40f344bfc8c4bf5f4583a4ba1>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <063e6ea40f344bfc8c4bf5f4583a4ba1>: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 <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x00042] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SessionTests.Session_WaitForUpload_WithCancelledToken () [0x00000] in <636102bccf9f404c9a0fef8fde84eac6>:0 

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.Android

Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. ► Realms.Tests.Sync.SyncMigrationTests ► Migration_FailsWithFutureVersion

Failed test found in:
  D:/a/realm-dotnet/realm-dotnet/artifacts/Host_Machine_Files/$DEVICEFARM_LOG_DIR/TestResults.Android.xml
Error:
    Expected: String containing "schema version in BIND 3 is greater than latest schema version 2"
    But was:  "Client provided invalid schema version: client presented schema version "3" is greater than latest schema version "2" Logs: http://34.231.21.249:45708/groups/661fb4c6c253fd023d0a0db4/apps/661fb4dbc253fd023d0a0f75/logs?co_id=661fc1aac253fd023d0bc5de"
  
Raw output
  at Realms.Tests.Sync.SyncMigrationTests.<Migration_FailsWithFutureVersion>b__3_0 () [0x00088] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <15fb079fbc6d44908966d227b1eea5a3>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <636102bccf9f404c9a0fef8fde84eac6>: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 <063e6ea40f344bfc8c4bf5f4583a4ba1>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <063e6ea40f344bfc8c4bf5f4583a4ba1>: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 <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x00042] in <636102bccf9f404c9a0fef8fde84eac6>:0 
  at Realms.Tests.Sync.SyncMigrationTests.Migration_FailsWithFutureVersion () [0x00000] in <636102bccf9f404c9a0fef8fde84eac6>:0