Bug: Intermittent browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-09-18 14:54:28+00:00
Resolved: 2024-11-11 06:03:59+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=474828784&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CW3MLkY0RTGuy6ol6Wz_gQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CW3MLkY0RTGuy6ol6Wz_gQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2024-09-18T14:03:27.672Z] 14:03:27     INFO -  TEST-PASS | browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | took 3488ms
[task 2024-09-18T14:03:27.680Z] 14:03:27     INFO -  INFO | Result summary:
[task 2024-09-18T14:03:27.680Z] 14:03:27     INFO -  INFO | Passed: 10
[task 2024-09-18T14:03:27.680Z] 14:03:27     INFO -  INFO | Failed: 0
[task 2024-09-18T14:03:27.680Z] 14:03:27     INFO -  INFO | Todo: 0
[task 2024-09-18T14:03:27.680Z] 14:03:27     INFO -  INFO | Retried: 0
[task 2024-09-18T14:03:27.681Z] 14:03:27     INFO -  SUITE-END | took 35s
[task 2024-09-18T14:03:27.682Z] 14:03:27     INFO -  :::
[task 2024-09-18T14:03:27.682Z] 14:03:27     INFO -  ::: Running test verification step "2. Run each test 10 times, sequentially, in chaos mode."...
[task 2024-09-18T14:03:27.682Z] 14:03:27     INFO -  :::
[task 2024-09-18T14:03:27.682Z] 14:03:27     INFO -  Using at most 48 threads.
[task 2024-09-18T14:03:27.682Z] 14:03:27     INFO -  SUITE-START | Running 1 tests
[task 2024-09-18T14:03:27.686Z] 14:03:27     INFO -  TEST-START | browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js
[task 2024-09-18T14:03:39.643Z] 14:03:39  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | xpcshell return code: 0
[task 2024-09-18T14:03:39.643Z] 14:03:39     INFO -  TEST-INFO took 11957ms
[task 2024-09-18T14:03:39.643Z] 14:03:39     INFO -  >>>>>>>
[task 2024-09-18T14:03:39.643Z] 14:03:39     INFO -  PID 1204 | *** You are running in chaos test mode. See ChaosMode.h. ***
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  PID 1204 | [Parent 1204, 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:2912
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  running event loop
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | Starting setup
[task 2024-09-18T14:03:39.644Z] 14:03:39     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-09-18T14:03:39.645Z] 14:03:39     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-09-18T14:03:39.645Z] 14:03:39     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-09-18T14:03:39.645Z] 14:03:39     INFO -  (xpcshell/head.js) | test finished (2)
[task 2024-09-18T14:03:39.645Z] 14:03:39     INFO -  browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | Starting test_page_removed_reason_deleted
[task 2024-09-18T14:03:39.645Z] 14:03:39     INFO -  (xpcshell/head.js) | test test_page_removed_reason_deleted pending (2)
[task 2024-09-18T14:03:39.646Z] 14:03:39     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-09-18T14:03:39.646Z] 14:03:39     INFO -  PID 1204 | console.debug: BackupService: "Instantiated"
[task 2024-09-18T14:03:39.646Z] 14:03:39     INFO -  PID 1204 | JavaScript error: resource:///modules/backup/BackupError.mjs, line 24: BackupError: BackupService not initialized
[task 2024-09-18T14:03:39.646Z] 14:03:39     INFO -  PID 1204 | console.debug: BackupService: "Registering idle observer for 15 seconds of idle time"
[task 2024-09-18T14:03:39.647Z] 14:03:39     INFO -  PID 1204 | console.debug: BackupService: "Idle observer registered."
[task 2024-09-18T14:03:39.647Z] 14:03:39     INFO -  PID 1204 | console.debug: BackupService: "Registering Places observer"
[task 2024-09-18T14:03:39.647Z] 14:03:39     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "BackupError: BackupService not initialized" {file: "resource:///modules/backup/BackupError.mjs" line: 24}]
[task 2024-09-18T14:03:39.647Z] 14:03:39     INFO -  BackupError@resource:///modules/backup/BackupError.mjs:24:5
[task 2024-09-18T14:03:39.647Z] 14:03:39     INFO -  get@resource:///modules/backup/BackupService.sys.mjs:923:13
[task 2024-09-18T14:03:39.648Z] 14:03:39     INFO -  onUpdateScheduledBackups@resource:///modules/backup/BackupService.sys.mjs:114:28
[task 2024-09-18T14:03:39.648Z] 14:03:39     INFO -  observe@resource://gre/modules/XPCOMUtils.sys.mjs:266:22
[task 2024-09-18T14:03:39.648Z] 14:03:39     INFO -  expectRegeneration@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/tests/browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js:150:18
[task 2024-09-18T14:03:39.648Z] 14:03:39     INFO -  test_page_removed_reason_deleted@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/tests/browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js:260:9
[task 2024-09-18T14:03:39.649Z] 14:03:39     INFO -  async*_run_next_test/<@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/head.js:1759:22
[task 2024-09-18T14:03:39.649Z] 14:03:39     INFO -  _run_next_test@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/head.js:1759:38
[task 2024-09-18T14:03:39.649Z] 14:03:39     INFO -  run@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/head.js:808:9
[task 2024-09-18T14:03:39.649Z] 14:03:39     INFO -  _do_main@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/head.js:245:6
[task 2024-09-18T14:03:39.650Z] 14:03:39     INFO -  _execute_test@/opt/worker/tasks/task_172666783254708/build/tests/xpcshell/head.js:596:5
[task 2024-09-18T14:03:39.650Z] 14:03:39     INFO -  @-e:1:1
[task 2024-09-18T14:03:39.650Z] 14:03:39     INFO -  "
[task 2024-09-18T14:03:39.650Z] 14:03:39     INFO -  TEST-PASS | browser/components/backup/tests/xpcshell/test_BackupService_regeneration.js | test_page_removed_reason_deleted - [test_page_removed_reason_deleted : 136] Saw deleteLastBackup call - true == true
```