Bug: Intermittent browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-06-18 06:02:13+00:00
Resolved: 2024-07-31 12:04:49+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=462840520&repo=mozilla-beta
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bkvckNfSTgOVFAKPIXdDYw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-06-18T04:38:21.040Z] 04:38:21     INFO -  TEST-START | browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js
[task 2024-06-18T04:43:21.032Z] 04:43:21  WARNING -  TEST-UNEXPECTED-TIMEOUT | browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js | Test timed out
[task 2024-06-18T04:43:21.032Z] 04:43:21     INFO -  TEST-INFO took 299992ms
[task 2024-06-18T04:43:21.032Z] 04:43:21     INFO -  >>>>>>>
[task 2024-06-18T04:43:21.032Z] 04:43:21     INFO -  PID 47403 | [Parent 47403, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2888
[task 2024-06-18T04:43:21.032Z] 04:43:21     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-06-18T04:43:21.032Z] 04:43:21     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-06-18T04:43:21.033Z] 04:43:21     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-06-18T04:43:21.033Z] 04:43:21     INFO -  running event loop
[task 2024-06-18T04:43:21.033Z] 04:43:21     INFO -  browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js | Starting setup
[task 2024-06-18T04:43:21.033Z] 04:43:21     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-06-18T04:43:21.034Z] 04:43:21     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-06-18T04:43:21.034Z] 04:43:21     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-06-18T04:43:21.034Z] 04:43:21     INFO -  (xpcshell/head.js) | test finished (2)
[task 2024-06-18T04:43:21.034Z] 04:43:21     INFO -  browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js | Starting test_ArchiveEncryptionState_enable
[task 2024-06-18T04:43:21.034Z] 04:43:21     INFO -  (xpcshell/head.js) | test test_ArchiveEncryptionState_enable pending (2)
[task 2024-06-18T04:43:21.035Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Creating new enabled ArchiveEncryptionState"
[task 2024-06-18T04:43:21.035Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Generating an RSA-OEAP keyPair"
[task 2024-06-18T04:43:21.035Z] 04:43:21     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-06-18T04:43:21.035Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Creating keyMaterial from recovery code"
[task 2024-06-18T04:43:21.035Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Creating salt"
[task 2024-06-18T04:43:21.036Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Deriving backupKeyBits"
[task 2024-06-18T04:43:21.036Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Deriving authKey from backupKey"
[task 2024-06-18T04:43:21.036Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Deriving backupEncKey"
[task 2024-06-18T04:43:21.036Z] 04:43:21     INFO -  PID 47403 | console.debug: BackupService::ArchiveEncryption: "Encrypting secrets with encKey"
[task 2024-06-18T04:43:21.036Z] 04:43:21     INFO -  <<<<<<<
[task 2024-06-18T04:43:21.037Z] 04:43:21     INFO -  xpcshell return code: None
[task 2024-06-18T04:43:21.037Z] 04:43:21     INFO -  browser/components/backup/tests/xpcshell/test_ArchiveEncryptionState.js | Process still running after test!
[task 2024-06-18T04:43:21.049Z] 04:43:21     INFO -  TEST-START | browser/components/backup/tests/xpcshell/test_BackupService_enable_disable_encryption.js
[task 2024-06-18T04:48:21.249Z] 04:48:21  WARNING -  TEST-UNEXPECTED-TIMEOUT | browser/components/backup/tests/xpcshell/test_BackupService_enable_disable_encryption.js | Test timed out
[task 2024-06-18T04:48:21.249Z] 04:48:21     INFO -  TEST-INFO took 300199ms
[task 2024-06-18T04:48:21.249Z] 04:48:21     INFO -  >>>>>>>
[task 2024-06-18T04:48:21.249Z] 04:48:21     INFO -  PID 47589 | [Parent 47589, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2888
[task 2024-06-18T04:48:21.249Z] 04:48:21     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-06-18T04:48:21.249Z] 04:48:21     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-06-18T04:48:21.250Z] 04:48:21     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-06-18T04:48:21.250Z] 04:48:21     INFO -  running event loop
[task 2024-06-18T04:48:21.250Z] 04:48:21     INFO -  browser/components/backup/tests/xpcshell/test_BackupService_enable_disable_encryption.js | Starting setup
[task 2024-06-18T04:48:21.250Z] 04:48:21     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-06-18T04:48:21.250Z] 04:48:21     INFO -  TEST-PASS | browser/components/backup/tests/xpcshell/test_BackupService_enable_disable_encryption.js |  - Created a testing profile and set it to current. - true == true
```