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 19, 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⚪ 14s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml 27✅ 765ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml 18✅ 5⚪ 17s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 8s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml 5✅ 2s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml 16✅ 4⚪ 4s
./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❌ 4s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml 14✅ 1⚪ 10s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 9s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml 7✅ 12s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 14✅ 14s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml 5✅ 6s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml 8✅ 10s
./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✅ 4s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml 55✅ 74s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 70s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 3s
./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⚪ 14s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml 1✅ 1s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml 4✅ 4⚪ 5s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml 12✅ 7ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 22s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 15s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml 6✅ 3s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml 32✅ 32s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 3s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 13s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 27✅ 5⚪ 39s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 8s
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml 3✅ 561ms
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml 32✅ 13s
./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⚪ 1ms

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

19 tests were completed in 14s 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 765ms 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 17s 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 8s 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 2s 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 4s 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.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec290eacf1bbcea5ab8d/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 4s with 1 passed, 1 failed and 0 skipped.

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

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

❌ resendConfirmationEmail[jvm]
	java.lang.IllegalStateException: Http request failed: http://3.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec2d0eacf1bbcea5ac95/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 10s 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 9s 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 12s 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 14s 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 6s 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 10s 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 4s 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 74s 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 70s 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 3s 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 14s 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 1s 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 5s 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 7ms 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 22s 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 15s 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 3s 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 32s 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 3s 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 13s 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 39s 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 8s 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 561ms 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 13s 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 1ms 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.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec290eacf1bbcea5ab8d/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
Raw output
java.lang.IllegalStateException: Http request failed: http://3.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec290eacf1bbcea5ab8d/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.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec290eacf1bbcea5ab8d/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.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec2d0eacf1bbcea5ac95/functions. 409 Conflict: {"error":"function with name 'confirmFunc' already exists","error_code":"FunctionDuplicateName"}
Raw output
java.lang.IllegalStateException: Http request failed: http://3.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec2d0eacf1bbcea5ac95/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.91.29.33:47339/api/admin/v3.0/groups/6672ebfa0eacf1bbcea58f0d/apps/6672ec2d0eacf1bbcea5ac95/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)