Skip to content

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

[RKOTLIN-1114] Fix sync client config not applied

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

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⚪ 24s
./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⚪ 30s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 15s
./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⚪ 11s
./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✅ 5s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml 14✅ 1⚪ 18s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 16s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml 7✅ 19s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 13✅ 1❌ 27s
./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✅ 2ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml 1✅ 5ms
./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✅ 110s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 111s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 5s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml 9✅ 15ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml 20✅ 1⚪ 26s
./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✅ 22ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 34s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 26s
./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✅ 62s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 7s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 31s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 30✅ 5⚪ 71s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 23s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml 3✅ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml 32✅ 32s

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

19 tests were completed in 24s 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 30s 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 15s 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 11s 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 5s 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 18s 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 16s 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 19s 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 27s with 13 passed, 1 failed and 0 skipped.

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

❌ 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 2ms 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 5ms 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 110s 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 111s 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 5s 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 15ms 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 26s 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 22ms 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 34s 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 26s 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 62s 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 7s 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 31s 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 71s 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 23s 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 2s 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 32s 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:34458/groups/66b345176ff211d764fb76df/apps/66b345af6ff211d764fb99ef/logs?co_id=66b345c56ff211d764fb9d4d
	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)