application-services icon indicating copy to clipboard operation
application-services copied to clipboard

sync-test logins tests fail with "Crypto Error: Deserialization error"

Open mhammond opened this issue 3 years ago • 0 comments

Once #5107 lands, running the test fails with "Crypto Error: Deserialization error". A quick look shows that this might be a real bug rather than a test issue. We should look into it deeply as it might be demonstrating a real problem.

To narrow it down, go to the end of https://github.com/mozilla/application-services/blob/main/testing/sync-test/src/logins.rs and comment out the first test, so only test_login_deletes is enabled, then from the sync-test directory execute cargo run -- -s stage logins - that will run just that one test_login_deletes test which fails. It should be impossible for the key to be mismatched because only 1 key is generated by that test.

CC @lougeniaC64

┆Issue is synchronized with this Jira Task

mhammond avatar Aug 28 '22 05:08 mhammond