-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EncryptionKeyCheck test failure on exfat #7156
Comments
@ironage does this look like the same cause to you? If this fails on |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected results
Test pass
Actual Results
test_shared.cpp:2213: ERROR in Shared_EncryptionKeyCheck_3: Unhandled exception after line 2213 realm::InvalidDatabase: Failed to open Realm file at path '...': Realm file decryption failed (Decryption failed)
Steps & Code to Reproduce
Reproduces somewhat often when relevant tests run on exfat fs:
UNITTEST_KEEP_FILES=1 UNITTEST_FILTER=*_EncryptionKey* ./test/realm-tests.app/Contents/MacOS/realm-tests /Volumes/exfat/
CI run with logs but there is nothing other than logged exception
With added logs and additional checks it can be seen where it fails (one such example):
All three relevant test should run concurrently to trigger the issue from what i can tell. Resulting realm files will be invalid and can't be read after such failure: realm-trawler will report the same DecryptionFailed error. I suspect it's the same type of issue as here #6959 since encrypted mapping also uses file uids.
Core version
Core version: 13.23.4
The text was updated successfully, but these errors were encountered: