Fix compiler crash when using Kotlin 2.0.20 #2628
543 passed, 1 failed and 33 skipped
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 22s with 18 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml
28 tests were completed in 1s with 27 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
25 tests were completed in 25s with 20 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml
11 tests were completed in 10s with 10 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/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/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml
20 tests were completed in 8s with 16 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml
5 tests were completed in 5s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/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/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml
15 tests were completed in 13s with 14 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml
7 tests were completed in 11s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml
7 tests were completed in 15s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
14 tests were completed in 21s with 14 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml
5 tests were completed in 8s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml
8 tests were completed in 12s with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml
4 tests were completed in 5s with 3 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml
8 tests were completed in 2ms with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/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/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml
7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml
55 tests were completed in 98s with 54 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests | 54✅ | 1❌ | 98s |
❌ io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests
✅ name_persistedName[jvm]
✅ findOne_unknownCollection[jvm]
✅ findOne_fails[jvm]
✅ findOne_links[jvm]
✅ findOneAndUpdate_explicitTypes[jvm]
✅ insertOne_throwsOnExistingPrimaryKey[jvm]
✅ updateOne[jvm]
✅ insertOne_embeddedObjects[jvm]
✅ insertMany_throwsOnTypeMismatch[jvm]
✅ withDocumentClass_withCustomSerialization[jvm]
✅ find_explicitTypes[jvm]
✅ deleteOne_fails[jvm]
✅ findOne_explicitTypes[jvm]
✅ insertMany_explictTyped[jvm]
❌ insertMany_throwsOnEmptyList[jvm]
java.net.ConnectException: Failed to connect to /54.158.228.105:38325
✅ updateOne_explicitTypes[jvm]
✅ insertMany_throwsOnExistingPrimaryKey[jvm]
✅ findOne_typedLinks[jvm]
✅ findOneAndDelete_explicitTypes[jvm]
✅ findOne_embeddedObjects[jvm]
✅ count_invalidFilter[jvm]
✅ updateOne_fails[jvm]
✅ throwsOnLoggedOutUser[jvm]
✅ insertMany_throwsOnMissingRequiredFields[jvm]
✅ findOne[jvm]
✅ findOne_extraFieldsAreDiscarded[jvm]
✅ findOneAndUpdate_fails[jvm]
✅ insertOne[jvm]
✅ deleteOne[jvm]
✅ insertOne_typedLinks[jvm]
✅ findOneAndDelete_fails[jvm]
✅ updateMany[jvm]
✅ find[jvm]
✅ name[jvm]
✅ insertOne_links[jvm]
✅ findOneAndReplace_fails[jvm]
✅ count[jvm]
✅ withDocumentClass[jvm]
✅ aggregate[jvm]
✅ findOne_missingFieldsGetsDefaults[jvm]
✅ find_fails[jvm]
✅ findOneAndDelete[jvm]
✅ findOneAndReplace[jvm]
✅ aggregate_fails[jvm]
✅ deleteMany_fails[jvm]
✅ updateMany_fails[jvm]
✅ findOneAndUpdate[jvm]
✅ insertMany[jvm]
✅ findOneAndReplace_explicitTypes[jvm]
✅ updateMany_explicitTypes[jvm]
✅ insertOne_throwsOnTypeMismatch[jvm]
✅ insertOne_explicitTypes[jvm]
✅ deleteMany[jvm]
✅ insertOne_throwsOnMissingRequiredFields[jvm]
✅ findOne_typedLinks_unknownClassBecomesDictionary[jvm]
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml
54 tests were completed in 88s with 54 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml
5 tests were completed in 3s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml
9 tests were completed in 9ms with 9 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml
21 tests were completed in 16s with 20 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml
1 tests were completed in 864ms with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml
8 tests were completed in 7s with 4 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SchemaProcessorTests.xml
2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml
12 tests were completed in 9ms with 12 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml
16 tests were completed in 25s with 14 passed, 0 failed and 2 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
19 tests were completed in 17s with 19 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml
6 tests were completed in 4s with 5 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 47s with 32 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml
7 tests were completed in 5s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml
38 tests were completed in 24s with 37 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml
35 tests were completed in 65s with 30 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml
22 tests were completed in 14s with 19 passed, 0 failed and 3 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/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/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
32 tests were completed in 23s with 32 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.compiler.AsymmetricObjectTests.xml
5 tests were completed in 9s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.FlexibleSyncSchemaTests.xml
1 tests were completed in 5ms with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.PlatformNetworkingTests.xml
2 tests were completed in 2s with 1 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.RealmTests.xml
1 tests were completed in 0ms with 0 passed, 0 failed and 1 skipped.
Annotations
github-actions / Unit Test Results - Sync JVM MacOS x64
io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests ► insertMany_throwsOnEmptyList[jvm]
Failed test found in:
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml
Error:
java.net.ConnectException: Failed to connect to /54.158.228.105:38325
Raw output
java.net.ConnectException: Failed to connect to /54.158.228.105:38325
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at io.ktor.client.engine.okhttp.OkHttpEngine.executeHttpRequest(OkHttpEngine.kt:103)
at io.ktor.client.engine.okhttp.OkHttpEngine.execute(OkHttpEngine.kt:70)
at io.ktor.client.engine.HttpClientEngine$executeWithinCallContext$2.invokeSuspend(HttpClientEngine.kt:99)
at io.ktor.client.engine.HttpClientEngine$DefaultImpls.executeWithinCallContext(HttpClientEngine.kt:100)
at io.ktor.client.engine.HttpClientEngine$install$1.invokeSuspend(HttpClientEngine.kt:70)
at io.ktor.client.plugins.HttpSend$DefaultSender.execute(HttpSend.kt:138)
at io.ktor.client.plugins.HttpTimeout$Plugin$install$1.invokeSuspend(HttpTimeout.kt:174)
at io.ktor.client.plugins.HttpRedirect$Plugin$install$1.invokeSuspend(HttpRedirect.kt:64)
at io.ktor.client.plugins.HttpCallValidator$Companion$install$3.invokeSuspend(HttpCallValidator.kt:151)
at io.ktor.client.plugins.HttpSend$Plugin$install$1.invokeSuspend(HttpSend.kt:104)
at io.ktor.client.plugins.DefaultTransformKt$defaultTransformers$1.invokeSuspend(DefaultTransform.kt:57)
at io.ktor.client.plugins.contentnegotiation.ContentNegotiation$Plugin$install$1.invokeSuspend(ContentNegotiation.kt:254)
at io.ktor.client.plugins.HttpCallValidator$Companion$install$1.invokeSuspend(HttpCallValidator.kt:130)
at io.ktor.client.plugins.HttpRequestLifecycle$Plugin$install$1.invokeSuspend(HttpRequestLifecycle.kt:38)
at io.ktor.client.HttpClient.execute$ktor_client_core(HttpClient.kt:191)
at io.ktor.client.statement.HttpStatement.executeUnsafe(HttpStatement.kt:108)
at io.ktor.client.statement.HttpStatement.execute(HttpStatement.kt:47)
at io.realm.kotlin.test.mongodb.util.AppServicesClient$Companion.build(AppServicesClient.kt:1020)
at io.realm.kotlin.test.mongodb.TestApp$Companion$build$appAdmin$1.invokeSuspend(TestApp.kt:176)
Caused by: java.net.ConnectException: Failed to connect to /54.158.228.105:38325
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.net.ConnectException: Operation timed out (Connection timed out)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:615)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
... 18 more