Skip to content

[RKOTLIN-1096] Add SyncException.isFatal to signal unrecoverable sync exceptions #2524

[RKOTLIN-1096] Add SyncException.isFatal to signal unrecoverable sync exceptions

[RKOTLIN-1096] Add SyncException.isFatal to signal unrecoverable sync exceptions #2524

GitHub Actions / Unit Test Results - iOS x64 Sync failed Jul 10, 2024 in 1s

538 passed, 1 failed and 27 skipped

Tests failed

Report Passed Failed Skipped Time
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml 18✅ 1⚪ 24s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml 27✅ 1⚪ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml 18✅ 5⚪ 32s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 23s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml 5✅ 6s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml 16✅ 4⚪ 10s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml 5✅ 6s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml 2✅ 4s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml 14✅ 1⚪ 18s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 21s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml 7✅ 26s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 14✅ 25s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml 5✅ 16s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml 8✅ 15s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml 3✅ 1⚪ 6s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml 8✅ 0ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml 1✅ 0ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml 7✅ 7s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml 55✅ 109s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 107s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 5s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml 9✅ 24ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml 19✅ 1❌ 1⚪ 47s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml 1✅ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml 4✅ 4⚪ 10s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SchemaProcessorTests.xml 2✅ 0ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml 12✅ 7ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 45s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 30s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml 6✅ 8s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml 32✅ 60s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 7s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 32s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 30✅ 5⚪ 75s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 25s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml 3✅ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml 32✅ 32s

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml

19 tests were completed in 24s with 18 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml

28 tests were completed in 2s with 27 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml

23 tests were completed in 32s with 18 passed, 0 failed and 5 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml

11 tests were completed in 23s with 11 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml

5 tests were completed in 6s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml

20 tests were completed in 10s with 16 passed, 0 failed and 4 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml

5 tests were completed in 6s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml

2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml

15 tests were completed in 18s with 14 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml

7 tests were completed in 21s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml

7 tests were completed in 26s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml

14 tests were completed in 25s with 14 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml

5 tests were completed in 16s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml

8 tests were completed in 15s with 8 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml

4 tests were completed in 6s with 3 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml

8 tests were completed in 0ms with 8 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml

7 tests were completed in 7s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml

55 tests were completed in 109s with 55 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml

54 tests were completed in 107s with 54 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml

5 tests were completed in 5s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml

9 tests were completed in 24ms with 9 passed, 0 failed and 0 skipped.

❌ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml

21 tests were completed in 47s with 19 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests 19✅ 1❌ 1⚪ 47s

❌ io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests

✅ initialSubscriptions[ios]
✅ addNamedSubscription[ios]
✅ addAnonymousSubscription[ios]
✅ add_multiple_anonymous[ios]
✅ addExistingAnonymous_returnsAlreadyPersisted[ios]
✅ addExistingNamed_returnsAlreadyPersisted[ios]
❌ add_conflictingNamesThrows[ios]
	kotlin.UninitializedPropertyAccessException: lateinit property realm has not been initialized
✅ update[ios]
✅ removeNamed[ios]
✅ removeNamed_fails[ios]
✅ removeSubscription_success[ios]
✅ removeSubscription_fails[ios]
✅ removeAllStringTyped[ios]
✅ removeAllStringTyped_fails[ios]
✅ removeAllClassTyped[ios]
✅ removeAllClassTyped_fails[ios]
✅ removeAll[ios]
✅ removeAll_anonymouslyOnly[ios]
✅ removeAll_fails[ios]
⚪ deleteFile_exceptionInsideMutableRealm[ios]
✅ iterator_duringWrite[ios]

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml

8 tests were completed in 10s with 4 passed, 0 failed and 4 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SchemaProcessorTests.xml

2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml

12 tests were completed in 7ms with 12 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml

16 tests were completed in 45s with 16 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml

19 tests were completed in 30s with 19 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml

6 tests were completed in 8s with 6 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml

32 tests were completed in 60s with 32 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml

7 tests were completed in 7s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml

38 tests were completed in 32s with 37 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml

35 tests were completed in 75s with 30 passed, 0 failed and 5 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml

22 tests were completed in 25s with 19 passed, 0 failed and 3 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml

32 tests were completed in 32s with 32 passed, 0 failed and 0 skipped.

Annotations

Check failure on line 0 in ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - iOS x64 Sync

io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests ► add_conflictingNamesThrows[ios]

Failed test found in:
  ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml
Error:
  kotlin.UninitializedPropertyAccessException: lateinit property realm has not been initialized
Raw output
kotlin.UninitializedPropertyAccessException: lateinit property realm has not been initialized
	at kotlin.Throwable#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
	at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
	at kotlin.RuntimeException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:34)
	at kotlin.UninitializedPropertyAccessException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:154)
	at kotlin.native.internal#ThrowUninitializedPropertyAccessException(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/RuntimeUtils.kt:105)
	at io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.<get-realm>#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/MutableSubscriptionSetTests.kt:55)
	at io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests#tearDown(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/MutableSubscriptionSetTests.kt:75)
	at io.realm.kotlin.test.mongodb.common.$MutableSubscriptionSetTests$test$0.$tearDown$FUNCTION_REFERENCE$55.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/MutableSubscriptionSetTests.kt:73)
	at io.realm.kotlin.test.mongodb.common.$MutableSubscriptionSetTests$test$0.$tearDown$FUNCTION_REFERENCE$55.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/MutableSubscriptionSetTests.kt:73)
	at kotlin.Function1#invoke(/Users/teamcity/.gradle/daemon/8.4/[K][Suspend]Functions:1)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#doAfter(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:173)
	at kotlin.native.internal.test.TestCase#doAfter(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:63)
	at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:54)
	at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:49)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:263)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:304)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/7.6/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)