Skip to content

Revert "Hide collections in mixed from public API" (#3606) #2652

Revert "Hide collections in mixed from public API" (#3606)

Revert "Hide collections in mixed from public API" (#3606) #2652

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

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6150 tests were completed in 1071s with 6121 passed, 7 failed and 22 skipped.

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

❌ 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)
	  Expected: 2
	  But was:  0
	
  ✔️ RealmObjectAPI_Links_AtlasToRealm(All types)

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

Realms.Tests.Sync.StaticQueriesTests
  ❌ RealmObjectAPI_Object_RealmToAtlas(All values)
	Realms.Exceptions.RealmDuplicatePrimaryKeyValueException : A SyncAllTypesObject object already exists with primary key property _id == 'oid(664d21d61e6aeb96cb0345ba)'

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

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Single link)
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(List)
  ❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)
	  Expected: Object
	  But was:  Null
	
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
  ✔️ 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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d1ae9a134328692ac3
  ✔️ 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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d3ae9a134328692b7a
  ❌ 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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d3ae9a134328692b98

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_Links_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Links_AtlasToRealm(Set)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: 2
    But was:  0
  
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 565
--- 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_Object_RealmToAtlas. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Object_RealmToAtlas(All values)

Failed test found in:
  TestResults.Linux.xml
Error:
  Realms.Exceptions.RealmDuplicatePrimaryKeyValueException : A SyncAllTypesObject object already exists with primary key property _id == 'oid(664d21d61e6aeb96cb0345ba)'
Raw output
   at Realms.SharedRealmHandle.CreateObjectWithPrimaryKey(Property pkProperty, RealmValue& primaryKey, TableKey tableKey, String parentType, Boolean update, Boolean& isNew) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SharedRealmHandle.cs:line 655
   at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 713
   at Realms.Realm.Add[T](T obj, Boolean update)
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass17_1.<RealmObjectAPI_Object_RealmToAtlas>b__3() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 433
   at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 838
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass17_0.<<RealmObjectAPI_Object_RealmToAtlas>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 433
--- 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)
   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.StaticQueriesTests.RealmObjectAPI_Object_RealmToAtlas(TestCaseData`1 testCase) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 423
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, 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.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)

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 772
--- 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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d1ae9a134328692ac3
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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d3ae9a134328692b7a
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://18.204.23.227:57701/groups/664d1b3bae9a134328675784/apps/664d1b4bae9a134328675958/logs?co_id=664d25d3ae9a134328692b98
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)