Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler crash when using Kotlin 2.0.20 #1830

Merged
merged 11 commits into from
Sep 16, 2024

update integration tests

50dbcf2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix compiler crash when using Kotlin 2.0.20 #1830

update integration tests
50dbcf2
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results - MacOS x64 Sync failed Sep 15, 2024 in 1s

536 passed, 1 failed and 31 skipped

Tests failed

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

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

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml

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

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

11 tests were completed in 12s with 10 passed, 0 failed and 1 skipped.

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

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/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/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml

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

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

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

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

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

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests 6✅ 1❌ 49s

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

❌ downloadProgressListener_changesOnly[macos]
	kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 30000 ms
✅ downloadProgressListener_indefinitely[macos]
✅ uploadProgressListener_changesOnly[macos]
✅ uploadProgressListener_indefinitely[macos]
✅ worksAfterExceptions[macos]
✅ worksAfterCancel[macos]
✅ completesOnClose[macos]

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

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

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

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/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/macosTest/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/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml

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

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

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

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

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml

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

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

21 tests were completed in 24s with 20 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml

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

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

16 tests were completed in 29s with 14 passed, 0 failed and 2 skipped.

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

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

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

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

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

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

✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml

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

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

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

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

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

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

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

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

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

Annotations

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

See this annotation in the file changed.

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

io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests ► downloadProgressListener_changesOnly[macos]

Failed test found in:
  ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml
Error:
  kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 30000 ms
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 30000 ms
	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(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:191)
	at kotlinx.coroutines.TimeoutCoroutine.run#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:159)
	at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
	at kotlinx.coroutines.WorkerDispatcher.DisposableBlock.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:49)
	at kotlinx.coroutines.WorkerDispatcher.DisposableBlock.$<bridge-DNN>invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:48)
	at kotlin.Function0#invoke(/Users/teamcity/.gradle/daemon/8.8/[K][Suspend]Functions:1)
	at <global>.WorkerLaunchpad(/opt/buildAgent/work/ed783494cd2364bc/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/Internal.kt:106)
	at <global>._ZN6Worker19processQueueElementEb(Unknown Source)
	at <global>._ZN12_GLOBAL__N_113workerRoutineEPv(Unknown Source)
	at <global>._pthread_start(Unknown Source)
	at <global>.thread_start(Unknown Source)