Support compiling the SDK with Kotlin 2 (#1721) #377
398 passed, 1 failed and 18 skipped
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 10s 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 589ms with 28 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
17 tests were completed in 20s with 16 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml
11 tests were completed in 12s with 11 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml
5 tests were completed in 2s 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 3s 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 4s 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 14s 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 11s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
14 tests were completed in 10s 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 9s 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 9s 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 2ms 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.MutableSubscriptionSetTests.xml
21 tests were completed in 21s 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 1s with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.ProgressListenerTests.xml
9 tests were completed in 89s with 9 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 7ms 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 28s with 16 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
19 tests were completed in 21s 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 5s with 6 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 34s 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 4s with 7 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml
40 tests were completed in 24s with 38 passed, 1 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.SyncConfigTests | 38✅ | 1❌ | 1⚪ | 24s |
❌ io.realm.kotlin.test.mongodb.common.SyncConfigTests
✅ logConfiguration[macos]
✅ errorHandler[macos]
✅ errorHandler_default[macos]
✅ compactOnLaunch_default[macos]
✅ compactOnLaunch[macos]
✅ initialData[macos]
✅ clientResetStrategy_manual[macos]
✅ clientResetStrategy_automatic[macos]
✅ clientResetStrategy_automaticOrDiscard[macos]
✅ equals_sameObject[macos]
✅ equals_syncSpecificFields[macos]
✅ name_partitionBasedDefaultName[macos]
✅ allPartitionTypes[macos]
✅ name_withoutFileExtension[macos]
✅ name_withDotRealmFileExtension[macos]
✅ name_otherFileExtension[macos]
✅ name_similarToDefaultObjectStoreName[macos]
✅ name_emptyValueThrows[macos]
✅ name_illegalValueThrows[macos]
✅ encryption[macos]
✅ encryption_wrongLength[macos]
✅ toString_nonEmpty[macos]
✅ useConfigOnOtherThread[macos]
✅ with_throwsIfNotLoggedIn[macos]
✅ shouldWaitForInitialRemoteData[macos]
✅ getInitialRemoteDataTimeout[macos]
✅ supportedSchemaTypesWhenCreatingSyncConfiguration_partitionBased[macos]
✅ supportedSchemaTypesWhenCreatingSyncConfiguration_flexibleSync[macos]
✅ unsupportedSchemaTypesThrowException_partitionBasedSync[macos]
✅ unsupportedSchemaTypesThrowException_flexibleSync[macos]
⚪ getPartitionValue[macos]
✅ syncClientResetStrategy_partitionBased[macos]
❌ syncClientResetStrategy_partitionBased_defaultNotNull[macos]
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://52.91.245.93:45385/api/client/v2.0/app/test-app-pbs-bloutzy/location, socket_timeout=120000] ms.
✅ syncClientResetStrategy_flexibleBased[macos]
✅ syncClientResetStrategy_defaultNotNull[macos]
✅ syncClientResetStrategy_automatic[macos]
✅ syncClientResetStrategy_automaticOrDiscard[macos]
✅ recoverUnsyncedChangesStrategyMode[macos]
✅ recoverOrDiscardUnsyncedChangesStrategyMode[macos]
✅ logLevelDoesNotGetOverwrittenByConfig[macos]
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml
32 tests were completed in 38s with 27 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 18s 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 765ms with 3 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
28 tests were completed in 10s with 28 passed, 0 failed and 0 skipped.
Annotations
github-actions / Unit Test Results - MacOS x64 Sync
io.realm.kotlin.test.mongodb.common.SyncConfigTests ► syncClientResetStrategy_partitionBased_defaultNotNull[macos]
Failed test found in:
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml
Error:
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://52.91.245.93:45385/api/client/v2.0/app/test-app-pbs-bloutzy/location, socket_timeout=120000] ms.
Raw output
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://52.91.245.93:45385/api/client/v2.0/app/test-app-pbs-bloutzy/location, socket_timeout=120000] ms.
at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
at kotlin.Exception#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
at kotlin.RuntimeException#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:34)
at io.realm.kotlin.exceptions.RealmException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/exceptions/RealmException.kt:12)
at io.realm.kotlin.mongodb.exceptions.AppException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/AppException.kt:98)
at io.realm.kotlin.mongodb.exceptions.ServiceException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:37)
at io.realm.kotlin.mongodb.exceptions.ServiceException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:34)
at io.realm.kotlin.mongodb.exceptions.ConnectionException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:53)
at io.realm.kotlin.mongodb.internal#convertAppError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:112)
at io.realm.kotlin.mongodb.internal.object-1.onError#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:63)
at io.realm.kotlin.internal.interop.RealmInterop.handleAppCallback#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3590)
at io.realm.kotlin.internal.interop.RealmInterop.realm_app_email_password_provider_client_register_email$lambda$101#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3102)
at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge689(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3101)
at <global>._ZN5realm4util14UniqueFunctionIFvNSt3__18optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvPK15realm_app_errorESB_PFvSB_EEUlS6_E_E4callEOS6_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvRKNS_3app8ResponseEEE12SpecificImplIZN12_GLOBAL__N_123handle_default_responseEONS1_IFvNSt3__18optionalINS2_8AppErrorEEEEEEE3$_0E4callES5_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvNSt3__18optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS4_3App26update_location_and_resendEONS4_7RequestEONS1_IFvRKNS4_8ResponseEEEEONS3_INS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEE3$_8E4callEOS6_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvONS_3app7RequestERKNS2_8ResponseEEE12SpecificImplIZNS2_3App16request_locationEONS1_IFvNSt3__18optionalINS2_8AppErrorEEEEEEONSD_INSC_12basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEESQ_iE3$_7E4callES4_S7_(Unknown Source)
at <global>.realm_http_transport_complete_request(Unknown Source)
at io.realm.kotlin.internal.interop.RealmInterop.<init>$lambda$1$lambda$0#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3642)
at io.realm.kotlin.internal.interop.RealmInterop.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$23.response#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3608)
at io.realm.kotlin.mongodb.internal.KtorNetworkTransport.$sendRequest$lambda$2COROUTINE$1.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/KtorNetworkTransport.kt:121)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:104)
at kotlinx.coroutines.MultiWorkerDispatcher.$workerRunLoop$lambda$2COROUTINE$0.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:101)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
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 kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
at kotlinx.coroutines.MultiWorkerDispatcher.workerRunLoop#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:93)
at kotlinx.coroutines.MultiWorkerDispatcher.<init>$lambda$1$lambda$0#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$4.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$4.$<bridge-UNN>invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at <global>.WorkerLaunchpad(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/Internal.kt:107)
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)