realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.47k stars 1.75k forks source link

Flaky Test: RealmTests.encryption_stressTest() #7628

Open cmelchior opened 2 years ago

cmelchior commented 2 years ago

This test seems to fail rather regularly on CI. It is unclear exactly what is going on. For now the test is disabled, but we should investigate further.

mwajeeh commented 2 years ago

I am constantly getting

E/libc++abi: terminating with uncaught exception of type realm::util::DecryptionFailed: Decryption failed
    Exception backtrace:
    <backtrace not supported on this platform>
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 3713 (e.messenger.dev), pid 3713 (e.messenger.dev)

On Android. This is encrypted realm and deleteRealmIfMigrationNeeded is true. May be it is related?