Bug: Perma TEST-UNEXPECTED-TIMEOUT | browser/components/backup/tests/xpcshell/test_BackupService_archive.js | Test timed out when Gecko 130 merges to beta on 2024-08-05
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2024-07-09 16:06:49+00:00
Resolved: 2024-07-19 14:57:30+00:00

[Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception&author=tszentpeteri%40mozilla.com&fromchange=fb4ca8565093a0394d30babcf0eaa3ad3399cb9b&selectedTaskRun=XJt0YriRR6u32fxiJEo4Nw.0&searchStr=OS%2CX%2C10.15%2CWebRender%2CShippable%2Copt%2CXpcshell%2Ctests%2Ctest-macosx1015-64-shippable-qr%2Fopt-xpcshell%2CX1)

[How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=465610358&repo=try&lineNumber=6020)

```
[task 2024-07-09T14:27:03.802Z] 14:27:03     INFO -  TEST-START | browser/components/backup/tests/xpcshell/test_BackupService_archive.js
[task 2024-07-09T14:32:03.818Z] 14:32:03  WARNING -  TEST-UNEXPECTED-TIMEOUT | browser/components/backup/tests/xpcshell/test_BackupService_archive.js | Test timed out
[task 2024-07-09T14:32:03.818Z] 14:32:03     INFO -  TEST-INFO took 300015ms
[task 2024-07-09T14:32:03.818Z] 14:32:03     INFO -  >>>>>>>
[task 2024-07-09T14:32:03.818Z] 14:32:03     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-07-09T14:32:03.818Z] 14:32:03     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-07-09T14:32:03.819Z] 14:32:03     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-07-09T14:32:03.819Z] 14:32:03     INFO -  running event loop
[task 2024-07-09T14:32:03.819Z] 14:32:03     INFO -  browser/components/backup/tests/xpcshell/test_BackupService_archive.js | Starting setup
[task 2024-07-09T14:32:03.819Z] 14:32:03     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-07-09T14:32:03.820Z] 14:32:03     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-07-09T14:32:03.820Z] 14:32:03     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-07-09T14:32:03.820Z] 14:32:03     INFO -  (xpcshell/head.js) | test finished (2)
[task 2024-07-09T14:32:03.820Z] 14:32:03     INFO -  browser/components/backup/tests/xpcshell/test_BackupService_archive.js | Starting test_createArchive_unencrypted
[task 2024-07-09T14:32:03.820Z] 14:32:03     INFO -  (xpcshell/head.js) | test test_createArchive_unencrypted pending (2)
[task 2024-07-09T14:32:03.821Z] 14:32:03     INFO -  PID 5775 | console.debug: BackupService: "Instantiated"
[task 2024-07-09T14:32:03.821Z] 14:32:03     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-07-09T14:32:03.821Z] 14:32:03     INFO -  PID 5775 | JavaScript error: resource:///modules/backup/BackupService.sys.mjs, line 1845: NS_BINDING_ABORTED: Got JSON block. Aborting further reads.
[task 2024-07-09T14:32:03.821Z] 14:32:03     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_BINDING_ABORTED: Got JSON block. Aborting further reads." {file: "resource:///modules/backup/BackupService.sys.mjs" line: 1845}]
[task 2024-07-09T14:32:03.821Z] 14:32:03     INFO -  onStopRequest@resource:///modules/backup/BackupService.sys.mjs:1845:30
[task 2024-07-09T14:32:03.822Z] 14:32:03     INFO -  _do_main@/opt/worker/tasks/task_172053462316051/build/tests/xpcshell/head.js:245:6
[task 2024-07-09T14:32:03.822Z] 14:32:03     INFO -  _execute_test@/opt/worker/tasks/task_172053462316051/build/tests/xpcshell/head.js:596:5
[task 2024-07-09T14:32:03.822Z] 14:32:03     INFO -  @-e:1:1
[task 2024-07-09T14:32:03.822Z] 14:32:03     INFO -  "
[task 2024-07-09T14:32:03.823Z] 14:32:03     INFO -  PID 5775 | console.debug: BackupService: "Read out archive JSON: " ({version:1, encConfig:null, meta:{date:"2024-06-07T00:00:00+00:00", appName:"firefox", appVersion:"128.0", buildID:"20240604133346", profileName:"profile-default", machineName:"A super cool machine", osName:"Windows_NT", osVersion:"10.0", legacyClientID:"decafbad-0cd1-0cd2-0cd3-decafbad1000", accountID:"", accountEmail:""}})
[task 2024-07-09T14:32:03.823Z] 14:32:03     INFO -  TEST-PASS | browser/components/backup/tests/xpcshell/test_BackupService_archive.js | test_createArchive_unencrypted - [test_createArchive_unencrypted : 103] Should not be considered encrypted. - true == true
```