Skip to content

Test app initializer rework #245

Test app initializer rework

Test app initializer rework #245

GitHub Actions / Unit Test Results - Sync JVM Linux failed Jun 20, 2024 in 0s

538 passed, 2 failed and 27 skipped

Tests failed

Report Passed Failed Skipped Time
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml 18✅ 1⚪ 9s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml 27✅ 403ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml 18✅ 5⚪ 14s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 5s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml 5✅ 1s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml 16✅ 4⚪ 2s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml 4✅ 1❌ 4s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml 1✅ 1❌ 3s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml 14✅ 1⚪ 6s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 6s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml 7✅ 9s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 14✅ 8s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml 5✅ 5s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml 8✅ 7s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml 3✅ 1⚪ 4s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml 8✅ 1ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml 1✅ 0ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml 7✅ 2s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml 55✅ 45s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 43s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 2s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml 9✅ 9ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml 20✅ 1⚪ 10s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml 1✅ 666ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml 4✅ 4⚪ 4s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml 12✅ 5ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 19s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 10s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml 6✅ 2s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml 32✅ 20s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 1s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 6s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 27✅ 5⚪ 28s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 5s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml 3✅ 260ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml 32✅ 6s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.compiler.AsymmetricObjectTests.xml 5✅ 7s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.FlexibleSyncSchemaTests.xml 1✅ 3ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.RealmTests.xml 1⚪ 0ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests 4✅ 1❌ 4s

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

❌ retryCustomConfirmation[jvm]
	java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9072ded3616368399b/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
✅ retryCustomConfirmation_noUserThrows[jvm]
✅ retryCustomConfirmation_failConfirmation[jvm]
✅ retryCustomConfirmation_invalidArgumentsThrows[jvm]
✅ retryCustomConfirmation_alreadyConfirmedThrows[jvm]

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

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

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests 1✅ 1❌ 3s

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

❌ resendConfirmationEmail[jvm]
	java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9472ded36163683a7a/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
✅ resendConfirmationEmail_noUserThrows[jvm]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

32 tests were completed in 28s with 27 passed, 0 failed and 5 skipped.

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

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

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

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

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

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

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.compiler.AsymmetricObjectTests.xml

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

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.FlexibleSyncSchemaTests.xml

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

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.RealmTests.xml

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

Annotations

Check failure on line 770 in packages/test-sync/src/commonMain/kotlin/io/realm/kotlin/test/mongodb/util/AppServicesClient.kt

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Sync JVM Linux

io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests ► retryCustomConfirmation[jvm]

Failed test found in:
  ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml
Error:
  java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9072ded3616368399b/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
Raw output
java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9072ded3616368399b/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$addFunction$2.invokeSuspend(AppServicesClient.kt:770)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
	at io.realm.kotlin.test.mongodb.util.TestAppInitializerKt.addEmailProvider(TestAppInitializer.kt:283)
	at io.realm.kotlin.test.mongodb.util.BaseAppInitializer.initialize$suspendImpl(TestAppInitializer.kt:111)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$getOrCreateApp$2.invokeSuspend(AppServicesClient.kt:149)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$createApp$2.invokeSuspend(AppServicesClient.kt:175)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient.getOrCreateApp(AppServicesClient.kt:148)
	at io.realm.kotlin.test.mongodb.TestApp$Companion$build$appAdmin$1.invokeSuspend(TestApp.kt:205)
Caused by: java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9072ded3616368399b/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$addFunction$2.invokeSuspend(AppServicesClient.kt:770)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Check failure on line 770 in packages/test-sync/src/commonMain/kotlin/io/realm/kotlin/test/mongodb/util/AppServicesClient.kt

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Sync JVM Linux

io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests ► resendConfirmationEmail[jvm]

Failed test found in:
  ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml
Error:
  java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9472ded36163683a7a/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
Raw output
java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9472ded36163683a7a/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$addFunction$2.invokeSuspend(AppServicesClient.kt:770)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
	at io.realm.kotlin.test.mongodb.util.TestAppInitializerKt.addEmailProvider(TestAppInitializer.kt:283)
	at io.realm.kotlin.test.mongodb.util.BaseAppInitializer.initialize$suspendImpl(TestAppInitializer.kt:111)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$getOrCreateApp$2.invokeSuspend(AppServicesClient.kt:149)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$createApp$2.invokeSuspend(AppServicesClient.kt:175)
	at io.realm.kotlin.test.mongodb.util.AppServicesClient.getOrCreateApp(AppServicesClient.kt:148)
	at io.realm.kotlin.test.mongodb.TestApp$Companion$build$appAdmin$1.invokeSuspend(TestApp.kt:205)
Caused by: java.lang.IllegalStateException: Http request failed: http://3.87.49.119:46496/api/admin/v3.0/groups/6673fd7172ded36163681d26/apps/6673fd9472ded36163683a7a/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
	at io.realm.kotlin.test.mongodb.util.AppServicesClient$addFunction$2.invokeSuspend(AppServicesClient.kt:770)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)