Skip to content

Support Android 15 new page size 16kb (#1834) #423

Support Android 15 new page size 16kb (#1834)

Support Android 15 new page size 16kb (#1834) #423

GitHub Actions / Unit Test Results - Android Sync (Emulator) failed Sep 13, 2024 in 1s

534 passed, 3 failed and 31 skipped

Tests failed

❌ ./packages/test-sync/build/outputs/androidTest-results/connected/TEST-test(AVD) - 13-_test-sync-.xml

568 tests were completed in 636s with 534 passed, 3 failed and 31 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests 534✅ 3❌ 31⚪ 636s

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

✅ fetch_nonExistingKeyThrows
✅ create
✅ delete
✅ enable
✅ getApp
✅ delete_nonExisitingKeyNoOps
✅ create_throwsWithInvalidName
✅ getUser
✅ enable_alreadyEnabled
✅ fetch
✅ callMethodWithLoggedOutUser
✅ fetchAll
✅ create_throwsWithNoName
✅ fetchAll_noExistingKeysGiveEmptyList
⚪ callMethodsWithApiKeysDisabled
✅ disable_alreadyDisabled
✅ disable
✅ enable_nonExistingKeyThrows
✅ disable_nonExistingKeyThrows
io.realm.kotlin.test.mongodb.common.AppConfigurationTests
  ✅ appName_defaultValue
  ✅ multiplexing_default
  ✅ encryptionKey_isCopy
  ✅ create
  ⚪ dispatcher
  ✅ syncRootDirectory_appendDirectoryToPath
  ✅ appName_invalidValuesThrows
  ✅ appName
  ✅ syncRootDirectory_writeProtectedDir
  ✅ syncTimeOutOptions_throwsIfValuesAreOutOfRange
  ✅ syncTimeOutOptions_default
  ✅ baseUrl
  ✅ encryptionKey
  ✅ defaultLoginInfoObfuscator
  ✅ syncRootDirectory
  ✅ addCustomRequestHeader
  ✅ multiplexing
  ✅ appVersion_defaultValue
  ✅ authorizationHeaderName
  ✅ injectedBundleId
  ✅ appVersion_invalidValuesThrows
  ✅ syncRootDirectory_default
  ✅ baseUrl_defaultValue
  ✅ appVersion
  ✅ customHeadersTest
  ✅ syncTimeOutOptions
  ✅ httpLogObfuscator_null
  ✅ encryptionKey_illegalValueThrows
io.realm.kotlin.test.mongodb.common.AppTests
  ✅ login_Anonymous
  ✅ changeBaseUrl_invalidUrl
  ✅ changeBaseUrl
  ✅ encryptedMetadataRealm_openWithoutKeyThrows
  ✅ switchUser_throwIfUserNotLoggedIn
  ✅ switchUser
  ✅ login_invalidCredentialsThrows
  ✅ authenticationChangeAsFlow_throwsWhenExceedCapacity
  ✅ currentUser
  ✅ defaultApp
  ✅ authenticationChangeAsFlow
  ✅ defaultApp_emptyIdThrows
  ✅ login_NonCredentialImplThrows
  ⚪ changeBaseUrl_null
  ✅ currentUser_FallbackToNextValidUser
  ⚪ changeBaseUrl_empty
  ✅ encryptedMetadataRealm_openWithWrongKeyThrows
  ✅ authenticationChangeAsFlow_removeUser
  ⚪ changeBaseUrl_nonAppServicesUrl
  ⚪ changeBaseUrl_trailing_slashes_trimmed
  ✅ allUsers
  ✅ encryptedMetadataRealm
  ⚪ currentUser_clearedAfterUserIsRemoved
  ✅ authenticationChangeAsFlow_deleteUser
  ✅ allUsers_retrieveRemovedUser
io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests
  ⚪ asymmetricSchema
  ✅ insert
  ✅ mutableDynamicRealm_insert_unsuportedType
  ✅ mutableDynamicRealm_query_throws
  ✅ realmClassSchema_isAsymmetric
  ✅ findLatestThrows
  ✅ nestedEmbeddedHierarchyIsQueryable
  ✅ insert_samePrimaryKey_throws
  ✅ mutableDynamicRealm_delete_throws
  ✅ deleteAll_doNotDeleteAsymmetricObjects
  ✅ mutableDynamicRealm_copyToRealm_throws
io.realm.kotlin.test.mongodb.common.CredentialsTests
  ✅ loginUsingCredentials
  ✅ allCredentials_emptyInputThrows
  ✅ allCredentials
  ✅ anonymousLogin
  ✅ customFunction_authExceptionThrownOnError
io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests
  ✅ registerUser
  ✅ registerUser_invalidServerArgsThrows_invalidUser
  ✅ callResetPasswordFunction_invalidServerArgsThrows
  ✅ callResetPasswordFunction_invalidArgumentsThrows
  ✅ callResetPasswordFunction
  ✅ sendResetPasswordEmail_noUserThrows
  ✅ resendConfirmationEmail_userAlreadyConfirmedThrows
  ⚪ resetPassword
  ⚪ confirmUser
  ✅ resendConfirmationEmail_invalidArgumentsThrows
  ✅ registerUser_sameUserThrows
  ✅ registerUser_invalidServerArgsThrows_invalidPassword
  ✅ sendResetPasswordEmail_invalidArgumentsThrows
  ✅ resetPassword_invalidArgumentsThrows
  ✅ confirmUser_invalidArgumentsThrows
  ✅ confirmUser_invalidServerArgsThrows
  ⚪ resetPassword_noUserFoundThrows
  ✅ resetPassword_wrongArgumentTypesThrows
  ⚪ confirmUser_alreadyConfirmedThrows
  ✅ sendResetPasswordEmail
io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests
  ✅ retryCustomConfirmation
  ✅ retryCustomConfirmation_noUserThrows
  ✅ retryCustomConfirmation_failConfirmation
  ✅ retryCustomConfirmation_invalidArgumentsThrows
  ✅ retryCustomConfirmation_alreadyConfirmedThrows
io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests
  ✅ resendConfirmationEmail
  ✅ resendConfirmationEmail_noUserThrows
io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests
  ✅ completesOnClose
  ✅ uploadProgressListener_changesOnly
  ✅ downloadProgressListener_indefinitely
  ✅ worksAfterExceptions
  ✅ worksAfterCancel
  ✅ downloadProgressListener_changesOnly
  ✅ uploadProgressListener_indefinitely
io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests
  ✅ equals
  ⚪ initialSubscriptions_failures_shouldDeleteRealm
  ✅ equals_same
  ✅ toString_nonEmpty
  ✅ initialSubscriptions_throwsOnPartitionBasedConfig
  ✅ defaultPath
  ✅ with
  ✅ initialSubscriptions
  ✅ initialSubscriptions_rerunOnOpen_true
  ✅ equals_not
  ✅ initialSubscriptions_rerunOnOpen_false
  ✅ durability
  ✅ overrideDefaultPath
  ✅ hashCode_notEquals
  ✅ hashCode_equal
io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests
  ✅ dataIsDeletedWhenSubscriptionIsRemoved
  ✅ rerunningInitialSubscriptionsAndWaitForInitialRemoteData
  ✅ downloadInitialData
  ✅ writeFailsIfNoSubscription
  ✅ compensationWrite_writeOutsideOfSubscriptionsGetsReveredByServer
  ✅ initialSubscriptions_timeOut
  ✅ roundTripLinkedAndEmbeddedObjects
io.realm.kotlin.test.mongodb.common.FunctionsTests
  ✅ callFunction_null
  ✅ callFunction_void
  ✅ getApp
  ✅ exhaustiveElementClassifiersTest
  ✅ callFunction_authorizedOnly
  ✅ callFunction_afterLogout
  ✅ getUser
  ✅ exhaustiveBsonTypesTest
  ✅ callFunction_sum
  ✅ unknownFunction
  ✅ exhaustiveCollectionTest
  ✅ unsupportedReturnTypeThrows
  ✅ unsupportedArgumentTypeThrows
  ✅ callFunction_remoteError
io.realm.kotlin.test.mongodb.common.GeoSpatialTests
  ✅ write
  ✅ write_outsideSubscriptionsFail
  ✅ geoCircle_tests
  ✅ geoPolygon_tests
  ✅ geoBox_tests
io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests
  ✅ apple_login
  ✅ nullObfuscator
  ✅ customFunction
  ✅ facebook_login
  ✅ apiKey_createAndLogin
  ✅ jwtToken_login
  ✅ googleAuthToken_login
  ✅ emailPassword_registerAndLogin
io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests
  ✅ removeSubscription_success
  ✅ addNamedSubscription
  ✅ removeAllStringTyped
  ✅ iterator_duringWrite
  ✅ removeAll_anonymouslyOnly
  ✅ update
  ✅ removeAllClassTyped
  ✅ add_conflictingNamesThrows
  ✅ removeNamed
  ✅ addAnonymousSubscription
  ✅ removeAllStringTyped_fails
  ✅ initialSubscriptions
  ✅ addExistingAnonymous_returnsAlreadyPersisted
  ⚪ deleteFile_exceptionInsideMutableRealm
  ✅ removeAllClassTyped_fails
  ✅ removeSubscription_fails
  ✅ addExistingNamed_returnsAlreadyPersisted
  ✅ add_multiple_anonymous
  ✅ removeAll
  ✅ removeNamed_fails
  ✅ removeAll_fails
io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests
  ✅ completesOnClose
  ✅ uploadProgressListener_changesOnly
  ✅ downloadProgressListener_indefinitely
  ⚪ worksAfterExceptions
  ⚪ worksAfterCancel
  ⚪ triggerImmediatelyWhenRegistered
  ⚪ downloadProgressListener_changesOnly
  ✅ uploadProgressListener_indefinitely
io.realm.kotlin.test.mongodb.common.SchemaProcessorTests
  ✅ cyclesThrow
  ✅ noCyclesDoesntThrow
io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests
  ⚪ realmResults_subscribe_waitFirstTime
  ⚪ realmQuery_subscribe_waitNever
  ✅ realmQuery_subscribe_waitFirstTime
  ✅ anonymousSubscriptionsOverlap
  ✅ realmQuery_subscribe_waitAlways
  ✅ realmQuery_subscribe_anonymousTwice
  ✅ realmResults_subscribe_waitOnNever
  ✅ realmResults_subscribe_throwsInsideWrite
  ✅ updatingOnlyQueryWillTriggerFirstTimeBehavior
  ✅ realmQuery_subscribe_queryResultIsLatestVersion
  ✅ realmQuery_subscribe_anonymous
  ✅ realmResults_subscribe_waitAlways
  ✅ realmResults_subscribe_timeOut_fails
  ✅ realmQuery_subscribe_throwsInsideWrite
  ❌ realmResults_subscribe_subquery
	java.lang.IllegalStateException: [RLM_ERR_BAD_VERSION]: Unable to lock version 6 as it does not exist or has been cleaned up.
  ✅ realmQuery_subscribe_timeOut_fails
io.realm.kotlin.test.mongodb.common.SubscriptionSetTests
  ✅ waitForSynchronizationInitialSubscriptions
  ✅ waitForSynchronization_success
  ✅ waitForSynchronization_timeOut
  ✅ iterator_zeroSize
  ✅ waitForSynchronization_errorOnDescriptors
  ✅ findByName
  ✅ subscriptions_throwsOnClosedRealm
  ✅ realmSubscriptionsReturnSameInstance
  ✅ size
  ✅ state
  ✅ initialSubscriptions
  ✅ waitForSynchronization_timeOutFails
  ✅ findByQuery
  ✅ iterator
  ✅ errorMessage
  ✅ subscriptions_failOnNonFlexibleSyncRealms
  ✅ waitForSynchronization_error
  ✅ waitForSynchronizationInitialEmptySubscriptionSet
  ✅ methodsOnClosedRealm
io.realm.kotlin.test.mongodb.common.SubscriptionTests
  ✅ equals_falseForDifferentVersions
  ✅ equals
  ⚪ asQuery
  ✅ properties_areSnaphotValues
  ✅ asQuery_throwsOnWrongType
  ✅ managedProperties
io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests
  ✅ recoverUnsyncedChanges_recoverFails_flx
  ✅ recoverUnsyncedChanges_recoverFails_pbs
  ✅ recoverUnsyncedChanges_recover_flx
  ✅ recoverUnsyncedChanges_recover_pbs
  ✅ recoverOrDiscardUnsyncedChanges_recover_flx
  ✅ recoverOrDiscardUnsyncedChanges_recover_pbs
  ✅ discardUnsyncedChanges_discards_attemptRecover_flx
  ❌ discardUnsyncedChanges_discards_attemptRecover_pbs
	kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
  ✅ recoverUnsyncedChanges_executeClientReset_flx
  ✅ recoverUnsyncedChanges_executeClientReset_pbs
  ✅ recoverOrDiscardUnsyncedChanges_discards_flx
  ✅ recoverOrDiscardUnsyncedChanges_discards_pbs
  ✅ manuallyRecoverUnsyncedChanges_reported_flx
  ✅ manuallyRecoverUnsyncedChanges_reported_pbs
  ✅ manuallyRecoverUnsyncedChanges_executeClientReset_flx
  ✅ manuallyRecoverUnsyncedChanges_executeClientReset_pbs
  ✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_flx
  ✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_pbs
  ✅ discardUnsyncedChanges_discards_flx
  ✅ discardUnsyncedChanges_discards_pbs
  ✅ recoverOrDiscardUnsyncedChanges_executeClientReset_flx
  ✅ recoverOrDiscardUnsyncedChanges_executeClientReset_pbs
  ✅ discardUnsyncedChanges_failure_flx
  ✅ discardUnsyncedChanges_failure_pbs
  ✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_flx
  ✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_pbs
  ✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_flx
  ✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_pbs
  ✅ recoverUnsyncedChanges_resetErrorHandled_flx
  ✅ recoverUnsyncedChanges_resetErrorHandled_pbs
  ✅ discardUnsyncedChanges_executeClientReset_flx
  ✅ discardUnsyncedChanges_executeClientReset_pbs
io.realm.kotlin.test.mongodb.common.SyncClientTests
  ✅ reconnect_noRealms
  ✅ waitForSessionsToTerminate
  ✅ hasSyncSessions
  ✅ waitForSessionsToTerminate_noRealms
  ✅ hasSyncSessions_noRealms
  ✅ sync
  ✅ reconnect
io.realm.kotlin.test.mongodb.common.SyncConfigTests
  ✅ name_partitionBasedDefaultName
  ✅ syncClientResetStrategy_automatic
  ✅ name_withoutFileExtension
  ✅ clientResetStrategy_automatic
  ✅ with_throwsIfNotLoggedIn
  ✅ encryption
  ✅ syncClientResetStrategy_flexibleBased
  ⚪ getPartitionValue
  ✅ name_illegalValueThrows
  ✅ useConfigOnOtherThread
  ✅ toString_nonEmpty
  ✅ syncClientResetStrategy_partitionBased_defaultNotNull
  ✅ clientResetStrategy_manual
  ✅ name_similarToDefaultObjectStoreName
  ✅ encryption_wrongLength
  ✅ equals_sameObject
  ✅ compactOnLaunch_default
  ✅ compactOnLaunch
  ✅ getInitialRemoteDataTimeout
  ✅ name_withDotRealmFileExtension
  ✅ syncClientResetStrategy_automaticOrDiscard
  ✅ name_emptyValueThrows
  ✅ equals_syncSpecificFields
  ✅ allPartitionTypes
  ✅ syncClientResetStrategy_partitionBased
  ✅ shouldWaitForInitialRemoteData
  ✅ errorHandler
  ✅ supportedSchemaTypesWhenCreatingSyncConfiguration_flexibleSync
  ✅ name_otherFileExtension
  ✅ recoverUnsyncedChangesStrategyMode
  ✅ clientResetStrategy_automaticOrDiscard
  ✅ initialData
  ✅ recoverOrDiscardUnsyncedChangesStrategyMode
  ✅ supportedSchemaTypesWhenCreatingSyncConfiguration_partitionBased
  ✅ syncClientResetStrategy_defaultNotNull
  ✅ errorHandler_default
  ✅ unsupportedSchemaTypesThrowException_flexibleSync
  ✅ unsupportedSchemaTypesThrowException_partitionBasedSync
io.realm.kotlin.test.mongodb.common.SyncSessionTests
  ✅ downloadAllServerChanges_illegalArgumentThrows
  ✅ connectionState_asFlow
  ✅ syncSessionFromErrorHandlerCannotUploadAndDownloadChanges
  ✅ uploadAllLocalChanges_illegalArgumentThrows
  ✅ downloadAllServerChanges_returnFalseOnTimeOut
  ✅ connectionState_completeOnClose
  ✅ sessionResumeMultipleTimes
  ✅ getUser
  ✅ syncingObjectIdFromMongoDB
  ⚪ uploadDownload_throwsUnderlyingSyncError
  ✅ session_identity
  ✅ syncingObjectIdFromRealm
  ✅ sessionPauseMultipleTimes
  ✅ connectionState
  ✅ getConfiguration
  ✅ uploadAllLocalChanges_returnFalseOnTimeOut
  ⚪ getConfiguration_inErrorHandlerThrows
  ✅ session_sharedStateBetweenRealms
  ⚪ uploadAndDownloadChangesSuccessfully
  ✅ session_localRealmThrows
  ✅ session
  ✅ sessionPauseAndResume
io.realm.kotlin.test.mongodb.common.SyncedRealmTests
  ✅ writeCopyTo_flexibleSyncToLocal
  ✅ mutableRealmInt_convergesAcrossClients
  ✅ canOpenWithRemoteSchema
  ⚪ waitForInitialData_resilientInCaseOfRetries
  ✅ waitForInitialRemoteData
  ✅ errorHandler_wrongSyncTypeException
  ✅ writeCopyTo_dataNotUploaded_throws
  ✅ deleteRealm
  ❌ initialRealm_flexibleSync
	java.net.ConnectException: Failed to connect to /44.212.16.13:39136
  ✅ writeCopyTo_localToFlexibleSync_throws
  ✅ flexibleSync_throwsWithLocalInitialRealmFile
  ✅ realmAsFlow_acrossSyncedChanges
  ✅ partitionBasedSyncConfig_throwsWithLocalInitialRealmFile
  ⚪ waitForInitialRemoteData_mainThreadThrows
  ✅ errorHandlerReceivesPermissionDeniedSyncError
  ✅ schemaRoundTrip
  ✅ roundtripCollectionsInMixed
  ✅ writeCopyTo_partitionBasedToLocal
  ✅ writeCopyTo_flexibleSyncToFlexibleSync
  ✅ canOpen
  ✅ canSync
  ✅ errorHandlerProcessFatalSyncErrors
  ⚪ createInitialRealmPbs
  ✅ accessSessionAfterRemoteChange
  ✅ collectionsInMixed_asFlow
  ✅ writeCopyTo_partitionBasedToSamePartitionKey
  ✅ advanceRealmWithoutListening
  ✅ writeCopyTo_partitionBasedToDifferentPartitionKey
  ⚪ createInitialRealmFx
  ✅ initialRealm_partitionBasedSync
  ✅ writeCopyTo_localToPartitionBasedSync
  ⚪ onlyLocalSchemaIsVisible
  ✅ waitForInitialData_timeOut
  ✅ waitForInitialRemoteData_propagateServerErrors
  ✅ testErrorHandler
io.realm.kotlin.test.mongodb.common.UserProfileTests
  ✅ profile
  ✅ profileAsBsonDocument
  ✅ profileEmpty
io.realm.kotlin.test.mongodb.common.UserTests
  ✅ repeatedLogInAndOut
  ✅ mongoClient_throwsOnLoggedOutUser
  ✅ customData_refresh
  ✅ getIdentities
  ✅ mongoClient_unknownClient
  ✅ getAccessToken
  ✅ mongoClient_customSerializer
  ✅ removeUser_throwsIfUserAlreadyRemoved
  ✅ mongoClient_defaultSerializer
  ✅ equals
  ✅ getApp
  ✅ deleteUser_loggedOutThrows
  ✅ getDeviceId
  ✅ logOut
  ✅ logOutUserInstanceImpactsCurrentUser
  ✅ deleteUser_throwsIfUserAlreadyDeleted
  ✅ getId
  ✅ logOutCurrentUserImpactsOtherInstances
  ✅ customData_refreshByLogout
  ✅ linkCredentials_twoEmailAccountsThrows
  ✅ getState_anonymousUser
  ✅ linkCredentials_addingAnonymousToEmailThrows
  ✅ hashCode_user
  ✅ removeUser
  ✅ linkCredentials_linkingWithItselfThrows
  ✅ getProviderType
  ✅ isLoggedIn
  ✅ linkCredentials_emailPassword
  ✅ getState_emailUser
  ✅ getRefreshToken
  ✅ deleteUser
  ✅ customData_initiallyNull
io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest
  ✅ requestSendsIllegalJson
  ✅ requestSuccessful
  ⚪ errorPropagation
  ✅ requestFailedOnServer
io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest
  ✅ convertAppError_unmappedErrorCode
  ✅ convertSyncErrorCode_unmappedErrorCode2
  ✅ convertAppError_unmappedErrorCategory
  ✅ convertSyncErrorCode_unknownNativeErrrorCode
  ✅ convertAppError_unmappedErrorCategoryAndErrorCode_linkServerLog
  ✅ convertAppError_unmappedErrorCategoryAndErrorCode_noMessage_linkServerLog
  ✅ convertSyncErrorCode_unmappedErrorCategory
  ✅ convertAppError_unmappedErrorCategoryAndErrorCode_noMessage
io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests
  ✅ allProperties
io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests
  ✅ collection_customSerializer
  ✅ properties
  ✅ database_customSerializer
  ✅ database_createsCollectionOnInsertToUnknownDatabase
  ✅ collection_unknownSchemaType
  ✅ collection_defaultSerializer
  ✅ database_defaultSerializer
io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests
  ✅ name_persistedName
  ✅ findOne_unknownCollection
  ✅ findOne_fails
  ✅ findOne_links
  ✅ findOneAndUpdate_explicitTypes
  ✅ insertOne_throwsOnExistingPrimaryKey
  ✅ updateOne
  ✅ insertOne_embeddedObjects
  ✅ insertMany_throwsOnTypeMismatch
  ✅ withDocumentClass_withCustomSerialization
  ✅ find_explicitTypes
  ✅ deleteOne_fails
  ✅ findOne_explicitTypes
  ✅ insertMany_explictTyped
  ✅ insertMany_throwsOnEmptyList
  ✅ updateOne_explicitTypes
  ✅ insertMany_throwsOnExistingPrimaryKey
  ✅ findOne_typedLinks
  ✅ findOneAndDelete_explicitTypes
  ✅ findOne_embeddedObjects
  ✅ count_invalidFilter
  ✅ updateOne_fails
  ✅ throwsOnLoggedOutUser
  ✅ insertMany_throwsOnMissingRequiredFields
  ✅ findOne
  ✅ findOne_extraFieldsAreDiscarded
  ✅ findOneAndUpdate_fails
  ✅ insertOne
  ✅ deleteOne
  ✅ insertOne_typedLinks
  ✅ findOneAndDelete_fails
  ✅ updateMany
  ✅ find
  ✅ name
  ✅ insertOne_links
  ✅ findOneAndReplace_fails
  ✅ count
  ✅ withDocumentClass
  ✅ aggregate
  ✅ findOne_missingFieldsGetsDefaults
  ✅ find_fails
  ✅ findOneAndDelete
  ✅ findOneAndReplace
  ✅ aggregate_fails
  ✅ deleteMany_fails
  ✅ updateMany_fails
  ✅ findOneAndUpdate
  ✅ insertMany
  ✅ findOneAndReplace_explicitTypes
  ✅ updateMany_explicitTypes
  ✅ insertOne_throwsOnTypeMismatch
  ✅ insertOne_explicitTypes
  ✅ deleteMany
  ✅ insertOne_throwsOnMissingRequiredFields
  ✅ findOne_typedLinks_unknownClassBecomesDictionary
io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests
  ✅ findOne_unknownCollection
  ✅ findOne_fails
  ✅ findOne_links
  ✅ findOneAndUpdate_explicitTypes
  ✅ insertOne_throwsOnExistingPrimaryKey
  ✅ updateOne
  ✅ insertOne_embeddedObjects
  ✅ insertMany_throwsOnTypeMismatch
  ✅ withDocumentClass_withCustomSerialization
  ✅ find_explicitTypes
  ✅ deleteOne_fails
  ✅ findOne_explicitTypes
  ✅ insertMany_explictTyped
  ✅ insertMany_throwsOnEmptyList
  ✅ updateOne_explicitTypes
  ✅ insertMany_throwsOnExistingPrimaryKey
  ✅ findOne_typedLinks
  ✅ findOneAndDelete_explicitTypes
  ✅ findOne_embeddedObjects
  ✅ count_invalidFilter
  ✅ updateOne_fails
  ✅ throwsOnLoggedOutUser
  ✅ insertMany_throwsOnMissingRequiredFields
  ✅ findOne
  ✅ findOne_extraFieldsAreDiscarded
  ✅ findOneAndUpdate_fails
  ✅ insertOne
  ✅ deleteOne
  ✅ insertOne_typedLinks
  ✅ findOneAndDelete_fails
  ✅ updateMany
  ✅ find
  ✅ name
  ✅ insertOne_links
  ✅ findOneAndReplace_fails
  ✅ count
  ✅ withDocumentClass
  ✅ aggregate
  ✅ findOne_missingFieldsGetsDefaults
  ✅ find_fails
  ✅ findOneAndDelete
  ✅ findOneAndReplace
  ✅ aggregate_fails
  ✅ deleteMany_fails
  ✅ updateMany_fails
  ✅ findOneAndUpdate
  ✅ insertMany
  ✅ findOneAndReplace_explicitTypes
  ✅ updateMany_explicitTypes
  ✅ insertOne_throwsOnTypeMismatch
  ✅ insertOne_explicitTypes
  ✅ deleteMany
  ✅ insertOne_throwsOnMissingRequiredFields
  ✅ findOne_typedLinks_unknownClassBecomesDictionary
io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests
  ✅ deserialize_throwsOnMalformedJSON
  ✅ serialize
  ✅ deserialize_throwsOnUnknownField
  ✅ deserialize_unknownClassRefIsTreatedAsEmbeddedDict
  ✅ deserialize_defaults
  ✅ deserialize_missingIdIsTreatedAsEmbeddedDict
  ✅ deserialize_embeddedObject
  ✅ serialize_embeddedObject
  ✅ deserialize
io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests
  ✅ collection_customSerializer
  ✅ collection_defaultTypes
  ✅ collection_typed
  ✅ properties
  ✅ collection_defaultSerializer
io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests
  ✅ readNullCharacterFromMongoDB
io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests
  ✅ realmAny_decodeUnsupportedTypeThrows
  ✅ decodeFromBsonElement_throwsUnsupportedType
  ✅ realmAnyEncoding
  ✅ convertNumbersWithoutLoosingPrecision
  ✅ decodeFromBsonElement_throwsWrongType
  ✅ encodeToBsonValue
  ✅ decodeBsonElementFromBsonElement
  ✅ encodeBsonValueToBsonValue
  ✅ encodeToString_throwsUnsupportedType
  ✅ convertWrongMapToBsonDocument_throw
  ✅ convertNumbersLoosingPrecision
  ✅ decodeFromBsonElement

Annotations

Check failure on line 47 in packages/cinterop/src/commonMain/kotlin/io/realm/kotlin/internal/interop/CoreErrorConverter.kt

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Android Sync (Emulator)

io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests ► io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests ► realmResults_subscribe_subquery

Failed test found in:
  ./packages/test-sync/build/outputs/androidTest-results/connected/TEST-test(AVD) - 13-_test-sync-.xml
Error:
  java.lang.IllegalStateException: [RLM_ERR_BAD_VERSION]: Unable to lock version 6 as it does not exist or has been cleaned up.
Raw output
java.lang.IllegalStateException: [RLM_ERR_BAD_VERSION]: Unable to lock version 6 as it does not exist or has been cleaned up.
at io.realm.kotlin.internal.interop.CoreErrorConverter.asThrowable(CoreErrorConverter.kt:47)
at io.realm.kotlin.internal.interop.realmcJNI.realm_sync_subscription_set_commit(Native Method)
at io.realm.kotlin.internal.interop.realmc.realm_sync_subscription_set_commit(realmc.java:1645)
at io.realm.kotlin.internal.interop.RealmInterop.realm_sync_subscriptionset_commit(RealmInterop.kt:2166)
at io.realm.kotlin.mongodb.internal.SubscriptionSetImpl.update(SubscriptionSetImpl.kt:70)
at io.realm.kotlin.mongodb.internal.RealmQueryExtImplKt$createSubscriptionFromQuery$2$1.invokeSuspend(RealmQueryExtImpl.kt:60)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)

Check failure on line 141 in packages/test-base/src/commonMain/kotlin/io/realm/kotlin/test/util/Utils.kt

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Android Sync (Emulator)

io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests ► io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests ► discardUnsyncedChanges_discards_attemptRecover_pbs

Failed test found in:
  ./packages/test-sync/build/outputs/androidTest-results/connected/TEST-test(AVD) - 13-_test-sync-.xml
Error:
  kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
at io.realm.kotlin.test.util.UtilsKt.receiveOrFail-dWUq8MI(Utils.kt:141)
at io.realm.kotlin.test.util.UtilsKt$receiveOrFail$1.invokeSuspend(Unknown Source:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
at io.realm.kotlin.internal.platform.CoroutineUtilsSharedJvmKt.runBlocking(CoroutineUtilsSharedJvm.kt:25)
at io.realm.kotlin.internal.platform.CoroutineUtilsSharedJvmKt.runBlocking$default(CoroutineUtilsSharedJvm.kt:24)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover(SyncClientResetIntegrationTests.kt:493)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover_pbs$lambda$3(SyncClientResetIntegrationTests.kt:447)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.$r8$lambda$ZSf8X5CbkjIaJFmut78tO1jB8d4(Unknown Source:0)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests$$ExternalSyntheticLambda7.invoke(D8$$SyntheticClass:0)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests$TestEnvironment.performTest(SyncClientResetIntegrationTests.kt:140)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests$Companion.performPbsTest(SyncClientResetIntegrationTests.kt:264)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests$Companion.performPbsTest$default(SyncClientResetIntegrationTests.kt:253)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover_pbs(SyncClientResetIntegrationTests.kt:446)

Check failure on line 0 in ./packages/test-sync/build/outputs/androidTest-results/connected/TEST-test(AVD) - 13-_test-sync-.xml

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Android Sync (Emulator)

io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests ► io.realm.kotlin.test.mongodb.common.SyncedRealmTests ► initialRealm_flexibleSync

Failed test found in:
  ./packages/test-sync/build/outputs/androidTest-results/connected/TEST-test(AVD) - 13-_test-sync-.xml
Error:
  java.net.ConnectException: Failed to connect to /44.212.16.13:39136
Raw output
java.net.ConnectException: Failed to connect to /44.212.16.13:39136
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.net.ConnectException: failed to connect to /44.212.16.13 (port 39136) from /10.0.2.16 (port 51182) after 60000ms: isConnected failed: ECONNREFUSED (Connection refused)
at libcore.io.IoBridge.isConnected(IoBridge.java:347)
at libcore.io.IoBridge.connectErrno(IoBridge.java:237)
at libcore.io.IoBridge.connect(IoBridge.java:179)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
at java.net.Socket.connect(Socket.java:646)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
... 18 more
Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
at libcore.io.IoBridge.isConnected(IoBridge.java:334)
... 28 more