Skip to content

RNET-1145, RNET-1143: Fix reading schema from native #3579

RNET-1145, RNET-1143: Fix reading schema from native

RNET-1145, RNET-1143: Fix reading schema from native #3579

GitHub Actions / Results Code Coverage failed May 21, 2024 in 1s

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6056 tests were completed in 1024s with 6029 passed, 6 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm. 4✔️ 1❌ 9s
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. 3✔️ 2❌ 10s
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. 2✔️ 3❌ 4s

❌ Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm.

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Single link)
  ❌ RealmObjectAPI_Links_AtlasToRealm(List)
	  Expected: 2
	  But was:  1
	
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Dictionary)
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Set)
  ✔️ RealmObjectAPI_Links_AtlasToRealm(All types)

❌ Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm.

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Single link)
  ❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(List)
	  Expected: Object
	  But was:  Null
	
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)
  ❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
	  Expected: 100
	  But was:  0
	
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)

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

Realms.Tests.Sync.SyncMigrationTests
  ✔️ Migration_FailsWithFutureVersion
  ❌ Model_CanMigratePropertyOptionality
	Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1402cffdbf7e8561d578
  ✔️ Model_CanRemoveField
  ❌ SameRealm_CanBeMigratedSkippingVersions
	Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1404cffdbf7e8561d630
  ❌ SameRealm_CanBeMigratedThroughConsecutiveVersions
	Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1405cffdbf7e8561d652

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Links_AtlasToRealm(List)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: 2
    But was:  1
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass19_0.<<RealmObjectAPI_Links_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 550
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(List)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: Object
    But was:  Null
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>g__AssertEqual|22_10(RealmValue retrieved, RealmValue original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 793
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass22_0.<<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 764
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: 100
    But was:  0
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>g__AssertEqual|22_10(RealmValue retrieved, RealmValue original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 800
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass22_0.<<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 782
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

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

Failed test found in:
  TestResults.Linux.xml
Error:
  Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1402cffdbf7e8561d578
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SubscriptionSetHandle.cs:line 288
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 97
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 107
   at Realms.Tests.Sync.SyncMigrationTests.<Model_CanMigratePropertyOptionality>b__1_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 126
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 85
   at Realms.Tests.Sync.SyncMigrationTests.Model_CanMigratePropertyOptionality() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 115
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

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

Failed test found in:
  TestResults.Linux.xml
Error:
  Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1404cffdbf7e8561d630
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SubscriptionSetHandle.cs:line 288
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 97
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 107
   at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedSkippingVersions>b__5_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 335
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 85
   at Realms.Tests.Sync.SyncMigrationTests.SameRealm_CanBeMigratedSkippingVersions() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 332
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

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

Failed test found in:
  TestResults.Linux.xml
Error:
  Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56455/groups/664d0a04cffdbf7e85602d8a/apps/664d0a16cffdbf7e85602f5f/logs?co_id=664d1405cffdbf7e8561d652
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SubscriptionSetHandle.cs:line 288
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestBase.cs:line 97
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 107
   at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedThroughConsecutiveVersions>b__4_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 267
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 85
   at Realms.Tests.Sync.SyncMigrationTests.SameRealm_CanBeMigratedThroughConsecutiveVersions() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 264
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)