Skip to content

Use pkl to generate gha workflows #2641

Use pkl to generate gha workflows

Use pkl to generate gha workflows #2641

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

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6054 tests were completed in 994s with 6029 passed, 4 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Object_RealmToAtlas. 1❌ 982ms
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. 2✔️ 3❌ 3s

❌ 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(6645340bf7338e3e8fc132cc)'

❌ 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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537b8fddd6c104aa4b141
  ✔️ 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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537bbfddd6c104aa4b1f7
  ❌ 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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537bbfddd6c104aa4b214

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_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(6645340bf7338e3e8fc132cc)'
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 652
   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.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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537b8fddd6c104aa4b141
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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537bbfddd6c104aa4b1f7
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://34.231.21.249:55992/groups/66453113fddd6c104aa33220/apps/66453123fddd6c104aa333dc/logs?co_id=664537bbfddd6c104aa4b214
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)