Fix compiler crash when using Kotlin 2.0.20 (#1830) #427
536 passed, 1 failed and 31 skipped
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 28s 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
25 tests were completed in 34s with 20 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 16s with 10 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml
5 tests were completed in 7s 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 13s 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 7s 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 5s 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 25s 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 17s 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 21s 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 27s 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 12s 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 16s 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 1ms 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 1ms 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 8s 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 143s 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 138s 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 46ms 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 28s with 20 passed, 0 failed and 1 skipped.
✅ ./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 1ms 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 12ms 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 34s with 14 passed, 0 failed and 2 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
19 tests were completed in 29s 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 5 passed, 0 failed and 1 skipped.
❌ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 132s with 31 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests | 31✅ | 1❌ | 132s |
❌ io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests
✅ discardUnsyncedChanges_discards_pbs[ios]
✅ discardUnsyncedChanges_discards_flx[ios]
✅ discardUnsyncedChanges_discards_attemptRecover_pbs[ios]
❌ discardUnsyncedChanges_discards_attemptRecover_flx[ios]
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
✅ discardUnsyncedChanges_failure_pbs[ios]
✅ discardUnsyncedChanges_failure_flx[ios]
✅ discardUnsyncedChanges_executeClientReset_pbs[ios]
✅ discardUnsyncedChanges_executeClientReset_flx[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_pbs[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_flx[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_pbs[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_flx[ios]
✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_pbs[ios]
✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_flx[ios]
✅ manuallyRecoverUnsyncedChanges_reported_pbs[ios]
✅ manuallyRecoverUnsyncedChanges_reported_flx[ios]
✅ manuallyRecoverUnsyncedChanges_executeClientReset_pbs[ios]
✅ manuallyRecoverUnsyncedChanges_executeClientReset_flx[ios]
✅ recoverUnsyncedChanges_recover_pbs[ios]
✅ recoverUnsyncedChanges_recover_flx[ios]
✅ recoverUnsyncedChanges_resetErrorHandled_pbs[ios]
✅ recoverUnsyncedChanges_resetErrorHandled_flx[ios]
✅ recoverUnsyncedChanges_recoverFails_pbs[ios]
✅ recoverUnsyncedChanges_recoverFails_flx[ios]
✅ recoverUnsyncedChanges_executeClientReset_pbs[ios]
✅ recoverUnsyncedChanges_executeClientReset_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_recover_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_recover_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_discards_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_discards_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_executeClientReset_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_executeClientReset_flx[ios]
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml
7 tests were completed in 8s 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 37s 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 81s 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 29s 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 39s with 32 passed, 0 failed and 0 skipped.
Annotations
github-actions / Unit Test Results - iOS arm64 Sync
io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests ► discardUnsyncedChanges_discards_attemptRecover_flx[ios]
Failed test found in:
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
Error:
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
at kotlin.Throwable#<init>(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
at kotlin.Exception#<init>(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
at kotlin.RuntimeException#<init>(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:34)
at kotlin.IllegalStateException#<init>(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:70)
at kotlin.coroutines.cancellation.CancellationException#<init>(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/cancellation/CancellationException.kt:11)
at kotlinx.coroutines.TimeoutCancellationException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:172)
at kotlinx.coroutines.TimeoutCancellationException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:177)
at io.realm.kotlin.test.util.$receiveOrFailCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-base/src/commonMain/kotlin/io/realm/kotlin/test/util/Utils.kt:141)
at kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:50)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/ed783494cd2364bc/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlinx.coroutines.internal.ScopeCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt)
at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:102)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/ed783494cd2364bc/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/ed783494cd2364bc/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:104)
at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
at kotlinx.coroutines.EventLoop#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:52)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
at io.realm.kotlin.internal.platform#runBlocking(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/nativeDarwin/kotlin/io/realm/kotlin/internal/platform/CoroutineUtils.kt:13)
at io.realm.kotlin.internal.platform#runBlocking$default(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/nativeDarwin/kotlin/io/realm/kotlin/internal/platform/CoroutineUtils.kt:9)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:493)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:454)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.$discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8$FUNCTION_REFERENCE$15.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:453)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.$discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8$FUNCTION_REFERENCE$15.$<bridge-DNNNNNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:453)
at kotlin.Function5#invoke(/Users/teamcity/.gradle/daemon/8.8/[K][Suspend]Functions:1)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.TestEnvironment#performTest(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:140)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.Companion#performFlxTest(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:283)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.Companion#performFlxTest$default(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:271)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests#discardUnsyncedChanges_discards_attemptRecover_flx(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:453)
at io.realm.kotlin.test.mongodb.common.$SyncClientResetIntegrationTests$test$0.$discardUnsyncedChanges_discards_attemptRecover_flx$FUNCTION_REFERENCE$95.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:451)
at io.realm.kotlin.test.mongodb.common.$SyncClientResetIntegrationTests$test$0.$discardUnsyncedChanges_discards_attemptRecover_flx$FUNCTION_REFERENCE$95.$<bridge-DNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:451)
at kotlin.Function1#invoke(/Users/teamcity/.gradle/daemon/8.8/[K][Suspend]Functions:1)
at kotlin.native.internal.test.BaseClassSuite.TestCase#doRun(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:177)
at kotlin.native.internal.test.TestCase#doRun(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:44)
at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:52)
at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/ed783494cd2364bc/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/ed783494cd2364bc/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/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:304)
at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
at kotlin.native.internal.test#main(/opt/buildAgent/work/ed783494cd2364bc/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)
at <global>.0x0(Unknown Source)