Skip to content

RNET-1145, RNET-1143: Fix reading schema from native (#3601)

Sign in for the full log view
GitHub Actions / Results Maui.MacCatalyst failed May 21, 2024 in 1s

Results Maui.MacCatalyst ❌

Tests failed

❌ TestResults.MacCatalyst.xml_transformed.xml

6056 tests were completed in 1922s with 6032 passed, 3 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. 2✔️ 3❌ 7s

❌ 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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19232d0207c1147bb71b
  ✔️ 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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19272d0207c1147bb7e2
  ❌ 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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19282d0207c1147bb80d

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Maui.MacCatalyst

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

Failed test found in:
  TestResults.MacCatalyst.xml_transformed.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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19232d0207c1147bb71b
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
   at Realms.Tests.Sync.SyncMigrationTests.<Model_CanMigratePropertyOptionality>b__1_0()
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
   at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.TestHelpers.RunAsyncTest(Func`1 testFunc, Int32 timeout, Task errorTask)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)
   at Realms.Tests.Sync.SyncMigrationTests.Model_CanMigratePropertyOptionality()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Maui.MacCatalyst

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

Failed test found in:
  TestResults.MacCatalyst.xml_transformed.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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19272d0207c1147bb7e2
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
   at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedSkippingVersions>b__5_0()
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
   at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.TestHelpers.RunAsyncTest(Func`1 testFunc, Int32 timeout, Task errorTask)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)
   at Realms.Tests.Sync.SyncMigrationTests.SameRealm_CanBeMigratedSkippingVersions()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Maui.MacCatalyst

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

Failed test found in:
  TestResults.MacCatalyst.xml_transformed.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:56490/groups/664d0a452d0207c11479d61f/apps/664d0a562d0207c11479d765/logs?co_id=664d19282d0207c1147bb80d
Raw output
   at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
   at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
   at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
   at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedThroughConsecutiveVersions>b__4_0()
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
   at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.TestHelpers.RunAsyncTest(Func`1 testFunc, Int32 timeout, Task errorTask)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)
   at Realms.Tests.Sync.SyncMigrationTests.SameRealm_CanBeMigratedThroughConsecutiveVersions()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )