Skip to content

[RKOTLIN-1091] Decouple authentication errors from server error messages #235

[RKOTLIN-1091] Decouple authentication errors from server error messages

[RKOTLIN-1091] Decouple authentication errors from server error messages #235

GitHub Actions / Unit Test Results - MacOS x64 Sync failed May 23, 2024 in 1s

528 passed, 3 failed and 22 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⚪ 22s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml 27✅ 1s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml 18✅ 5⚪ 31s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 22s
./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⚪ 9s
./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⚪ 25s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 19s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 14✅ 25s
./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⚪ 8s
./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✅ 10s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml 55✅ 144s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 140s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 7s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml 9✅ 31ms
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml 20✅ 1⚪ 35s
./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.ProgressListenerTests.xml 9✅ 98s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml 12✅ 9ms
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 41s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 35s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml 6✅ 8s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml 32✅ 69s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 8s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 33s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 26✅ 5⚪ 64s
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 24s
./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 29✅ 3❌ 34s

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

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

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

23 tests were completed in 31s with 18 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 22s 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 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 9s 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 25s 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 19s 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 25s 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 8s 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 10s 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 144s 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 140s 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 7s 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 31ms 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 35s 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.ProgressListenerTests.xml

9 tests were completed in 98s 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 9ms 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 41s 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 35s 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 8s 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 69s 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 8s 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 33s with 37 passed, 0 failed and 1 skipped.

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

31 tests were completed in 64s with 26 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 24s 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 34s with 29 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.UserTests 29✅ 3❌ 34s

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

✅ getId[macos]
✅ getApp[macos]
✅ getState_anonymousUser[macos]
✅ getState_emailUser[macos]
✅ getIdentities[macos]
✅ getProviderType[macos]
✅ getAccessToken[macos]
✅ getRefreshToken[macos]
✅ getDeviceId[macos]
✅ logOut[macos]
✅ logOutUserInstanceImpactsCurrentUser[macos]
✅ logOutCurrentUserImpactsOtherInstances[macos]
✅ repeatedLogInAndOut[macos]
✅ removeUser[macos]
✅ removeUser_throwsIfUserAlreadyRemoved[macos]
✅ deleteUser[macos]
✅ deleteUser_loggedOutThrows[macos]
✅ deleteUser_throwsIfUserAlreadyDeleted[macos]
❌ linkCredentials_emailPassword[macos]
	kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119bb2ffe84fd9f3beb4
❌ linkCredentials_twoEmailAccountsThrows[macos]
	kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119db2ffe84fd9f3befb
✅ linkCredentials_addingAnonymousToEmailThrows[macos]
❌ linkCredentials_linkingWithItselfThrows[macos]
	kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InvalidSession(4301)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119fb2ffe84fd9f3bf6d
✅ isLoggedIn[macos]
✅ equals[macos]
✅ hashCode_user[macos]
✅ customData_initiallyNull[macos]
✅ customData_refresh[macos]
✅ customData_refreshByLogout[macos]
✅ mongoClient_defaultSerializer[macos]
✅ mongoClient_customSerializer[macos]
✅ mongoClient_unknownClient[macos]
✅ mongoClient_throwsOnLoggedOutUser[macos]

Annotations

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

See this annotation in the file changed.

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

io.realm.kotlin.test.mongodb.common.UserTests ► linkCredentials_emailPassword[macos]

Failed test found in:
  ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
Error:
  kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119bb2ffe84fd9f3beb4
Raw output
kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119bb2ffe84fd9f3beb4
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:134)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:21)
	at kotlin.test#checkResultIsFailure(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/test/Assertions.kt:36)
	at io.realm.kotlin.test.mongodb.common.UserTests.$linkCredentials_emailPassword$lambda$18COROUTINE$19.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:463)
	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 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.UserTests#linkCredentials_emailPassword(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:445)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_emailPassword$FUNCTION_REFERENCE$83.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:445)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_emailPassword$FUNCTION_REFERENCE$83.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:445)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/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 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.internal#convertAppError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:180)
	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:3636)
	at io.realm.kotlin.internal.interop.RealmInterop.realm_app_link_credentials$lambda$63#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2350)
	at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge470(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2348)
	at <global>._ZN5realm4util14UniqueFunctionIFvRKNSt3__110shared_ptrINS_3app4UserEEENS2_8optionalINS4_8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvP10realm_userPK15realm_app_errorESG_PFvSG_EEUlS6_SB_E_E4callES8_OSB_(Unknown Source)
	at <global>._ZN5realm4util14UniqueFunctionIFvONSt3__110unique_ptrINS_3app7RequestENS2_14default_deleteIS5_EEEERKNS4_8ResponseEEE12SpecificImplIZNS4_3App23log_in_with_credentialsERKNS4_14AppCredentialsERKNS2_10shared_ptrINS4_4UserEEEONS1_IFvSO_NS2_8optionalINS4_8AppErrorEEEEEEE3$_3E4callES9_SC_(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:3688)
	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:3654)
	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:106)
	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)

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

See this annotation in the file changed.

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

io.realm.kotlin.test.mongodb.common.UserTests ► linkCredentials_twoEmailAccountsThrows[macos]

Failed test found in:
  ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
Error:
  kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119db2ffe84fd9f3befb
Raw output
kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InternalServerError(4315)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119db2ffe84fd9f3befb
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:134)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:21)
	at kotlin.test#checkResultIsFailure(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/test/Assertions.kt:36)
	at io.realm.kotlin.test.mongodb.common.UserTests.$linkCredentials_twoEmailAccountsThrows$lambda$19COROUTINE$20.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:482)
	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 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.UserTests#linkCredentials_twoEmailAccountsThrows(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:473)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_twoEmailAccountsThrows$FUNCTION_REFERENCE$84.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:473)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_twoEmailAccountsThrows$FUNCTION_REFERENCE$84.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:473)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/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 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.internal#convertAppError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:180)
	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:3636)
	at io.realm.kotlin.internal.interop.RealmInterop.realm_app_link_credentials$lambda$63#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2350)
	at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge470(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2348)
	at <global>._ZN5realm4util14UniqueFunctionIFvRKNSt3__110shared_ptrINS_3app4UserEEENS2_8optionalINS4_8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvP10realm_userPK15realm_app_errorESG_PFvSG_EEUlS6_SB_E_E4callES8_OSB_(Unknown Source)
	at <global>._ZN5realm4util14UniqueFunctionIFvONSt3__110unique_ptrINS_3app7RequestENS2_14default_deleteIS5_EEEERKNS4_8ResponseEEE12SpecificImplIZNS4_3App23log_in_with_credentialsERKNS4_14AppCredentialsERKNS2_10shared_ptrINS4_4UserEEEONS1_IFvSO_NS2_8optionalINS4_8AppErrorEEEEEEE3$_3E4callES9_SC_(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:3688)
	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:3654)
	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:106)
	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)

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

See this annotation in the file changed.

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

io.realm.kotlin.test.mongodb.common.UserTests ► linkCredentials_linkingWithItselfThrows[macos]

Failed test found in:
  ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
Error:
  kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InvalidSession(4301)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119fb2ffe84fd9f3bf6d
Raw output
kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.CredentialsCannotBeLinkedException to be thrown, but was io.realm.kotlin.mongodb.exceptions.ServiceException: [Service][InvalidSession(4301)] unauthorized. Server log entry: http://34.231.21.249:59574/groups/664f0f22b2ffe84fd9f2f199/apps/664f0f23b2ffe84fd9f2f1a6/logs?co_id=664f119fb2ffe84fd9f3bf6d
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:134)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:21)
	at kotlin.test#checkResultIsFailure(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/test/Assertions.kt:36)
	at io.realm.kotlin.test.mongodb.common.UserTests.$linkCredentials_linkingWithItselfThrows$lambda$21COROUTINE$22.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:516)
	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 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.UserTests#linkCredentials_linkingWithItselfThrows(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:508)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_linkingWithItselfThrows$FUNCTION_REFERENCE$86.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:508)
	at io.realm.kotlin.test.mongodb.common.$UserTests$test$0.$linkCredentials_linkingWithItselfThrows$FUNCTION_REFERENCE$86.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/UserTests.kt:508)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/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 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.internal#convertAppError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:187)
	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:3636)
	at io.realm.kotlin.internal.interop.RealmInterop.realm_app_link_credentials$lambda$63#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2350)
	at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge470(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2348)
	at <global>._ZN5realm4util14UniqueFunctionIFvRKNSt3__110shared_ptrINS_3app4UserEEENS2_8optionalINS4_8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvP10realm_userPK15realm_app_errorESG_PFvSG_EEUlS6_SB_E_E4callES8_OSB_(Unknown Source)
	at <global>._ZN5realm4util14UniqueFunctionIFvONSt3__110unique_ptrINS_3app7RequestENS2_14default_deleteIS5_EEEERKNS4_8ResponseEEE12SpecificImplIZNS4_3App23log_in_with_credentialsERKNS4_14AppCredentialsERKNS2_10shared_ptrINS4_4UserEEEONS1_IFvSO_NS2_8optionalINS4_8AppErrorEEEEEEE3$_3E4callES9_SC_(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:3688)
	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:3654)
	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:106)
	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)