Skip to content

[RKOTLIN-1114] Fix sync client config not applied #1389

[RKOTLIN-1114] Fix sync client config not applied

[RKOTLIN-1114] Fix sync client config not applied #1389

GitHub Actions / Unit Test Results - iOS arm64 Sync failed Aug 7, 2024 in 0s

538 passed, 1 failed and 27 skipped

Tests failed

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

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

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

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

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

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

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

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

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

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

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

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

20 tests were completed in 10s with 16 passed, 0 failed and 4 skipped.

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

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

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

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

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

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

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

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

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

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

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

14 tests were completed in 26s with 13 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.FunctionsTests 13✅ 1❌ 26s

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

✅ exhaustiveElementClassifiersTest[ios]
✅ exhaustiveCollectionTest[ios]
✅ exhaustiveBsonTypesTest[ios]
✅ unsupportedArgumentTypeThrows[ios]
✅ unsupportedReturnTypeThrows[ios]
✅ unknownFunction[ios]
✅ callFunction_sum[ios]
✅ callFunction_remoteError[ios]
✅ callFunction_null[ios]
✅ callFunction_void[ios]
❌ callFunction_afterLogout[ios]
	kotlin.AssertionError: The exception message did not match.
✅ callFunction_authorizedOnly[ios]
✅ getApp[ios]
✅ getUser[ios]

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

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

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

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

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml

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

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml

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

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml

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

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

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

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

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

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - iOS arm64 Sync

io.realm.kotlin.test.mongodb.common.FunctionsTests ► callFunction_afterLogout[ios]

Failed test found in:
  ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
Error:
  kotlin.AssertionError: The exception message did not match.
Raw output
kotlin.AssertionError: The exception message did not match.

Expected:
[Service][Unknown(4351)] unauthorized

Actual:
[Service][InvalidSession(4301)] invalid session: unauthorized. Server log entry: http://54.158.228.105:34263/groups/66b32eb63744d744afb50ced/apps/66b32f593744d744afb530a3/logs?co_id=66b32f6f3744d744afb533f8
	at kotlin.Error#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
	at io.realm.kotlin.test.mongodb.common.utils#assertFailsWithMessage(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/utils/Utils.kt:42)
	at io.realm.kotlin.test.mongodb.common.FunctionsTests#callFunction_afterLogout(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1023)
	at io.realm.kotlin.test.mongodb.common.$FunctionsTests$test$0.$callFunction_afterLogout$FUNCTION_REFERENCE$238.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1018)
	at io.realm.kotlin.test.mongodb.common.$FunctionsTests$test$0.$callFunction_afterLogout$FUNCTION_REFERENCE$238.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1018)
	at kotlin.Function1#invoke(/Users/teamcity/.gradle/daemon/8.4/[K][Suspend]Functions:1)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#doRun(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:177)
	at kotlin.native.internal.test.TestCase#doRun(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:44)
	at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:52)
	at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:49)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:263)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:304)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/7.6/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)