Bug: Intermittent TV services/settings/test/unit/test_attachments_downloader.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-06-09 20:41:00+00:00
Resolved: 2023-06-13 03:20:18+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=418776859&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ag_wz3PuQOKkxGn7CHLZqg/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/ag_wz3PuQOKkxGn7CHLZqg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  TEST-PASS | services/settings/test/unit/test_attachments_downloader.js | test_delete_all - [test_delete_all : 283] true == true
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  TEST-PASS | services/settings/test/unit/test_attachments_downloader.js | test_delete_all - [test_delete_all : 284] true == true
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test run_next_test 20 pending (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test test_delete_all finished (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting clear_state
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test clear_state pending (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test run_next_test 20 finished (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test run_next_test 21 pending (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test clear_state finished (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting test_downloader_is_accessible_via_client
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test test_downloader_is_accessible_via_client pending (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  (xpcshell/head.js) | test run_next_test 21 finished (2)
[task 2023-06-09T20:37:49.439Z] 20:37:49  WARNING -  TEST-UNEXPECTED-FAIL | services/settings/test/unit/test_attachments_downloader.js | test_downloader_is_accessible_via_client - [test_downloader_is_accessible_via_client : 293] "file:///tmp/xpc-profile-qt3f6f9e/settings/main/some-collection/test_file.pem" == "file:///tmp/xpc-profile-qt3f6f9esettings/main/some-collection/test_file.pem"
[task 2023-06-09T20:37:49.439Z] 20:37:49     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/services/settings/test/unit/test_attachments_downloader.js:test_downloader_is_accessible_via_client:293
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:237
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:584
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  -e:null:1
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  exiting test
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:857:20
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:966:5
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:70:21
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:240:10
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  equal@resource://testing-common/Assert.sys.mjs:282:8
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  test_downloader_is_accessible_via_client@/builds/worker/workspace/build/tests/xpcshell/tests/services/settings/test/unit/test_attachments_downloader.js:293:10
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:237:6
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:584:5
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  @-e:1:1
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  exiting test
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Socket Thread] WARNING: cannot post event if not initialized: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:232
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000003s: startCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000052s: initiateShutdownWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: idb: '0.000059s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: cache: '0.000066s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: sdb: '0.000072s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: fs: '0.000077s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: ls: '0.000082s: starting', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000089s: startKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000154s: stopKillActorsTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000161s: shutdownAndJoinWorkThreads', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.440Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: idb: '0.000166s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.441Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: cache: '0.000188s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.442Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: sdb: '0.000192s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.442Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: fs: '0.000196s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.443Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: ls: '0.000200s: completed', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.443Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000204s: shutdownAndJoinIOThread', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.444Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000318s: invalidatePendingDirectoryLocks', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.444Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, IPDL Background] WARNING: quota manager shutdown step: '0.000327s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3383
[task 2023-06-09T20:37:49.445Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-06-09T20:37:49.445Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3381
[task 2023-06-09T20:37:49.446Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-06-09T20:37:49.446Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-06-09T20:37:49.446Z] 20:37:49     INFO -  PID 6210 | [Parent 6210, Main Thread] WARNING: XPCOM object SourceList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:216
[task 2023-06-09T20:37:49.447Z] 20:37:49     INFO -  <<<<<<<
[task 2023-06-09T20:37:49.447Z] 20:37:49     INFO -  TEST-START | services/settings/test/unit/test_attachments_downloader.js
[task 2023-06-09T20:37:50.002Z] 20:37:50  WARNING -  TEST-UNEXPECTED-FAIL | services/settings/test/unit/test_attachments_downloader.js | xpcshell return code: 0
[task 2023-06-09T20:37:50.002Z] 20:37:50     INFO -  TEST-INFO took 554ms
[task 2023-06-09T20:37:50.002Z] 20:37:50     INFO -  >>>>>>>
[task 2023-06-09T20:37:50.003Z] 20:37:50     INFO -  PID 6244 | [Parent 6244, 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:2893
[task 2023-06-09T20:37:50.003Z] 20:37:50     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-06-09T20:37:50.004Z] 20:37:50     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-06-09T20:37:50.004Z] 20:37:50     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-06-09T20:37:50.004Z] 20:37:50     INFO -  running event loop
[task 2023-06-09T20:37:50.004Z] 20:37:50     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting clear_state
[task 2023-06-09T20:37:50.005Z] 20:37:50     INFO -  (xpcshell/head.js) | test clear_state pending (2)
[task 2023-06-09T20:37:50.005Z] 20:37:50     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-06-09T20:37:50.005Z] 20:37:50     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2023-06-09T20:37:50.005Z] 20:37:50     INFO -  (xpcshell/head.js) | test clear_state finished (2)
[task 2023-06-09T20:37:50.006Z] 20:37:50     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting test_base_attachment_url_depends_on_server
[task 2023-06-09T20:37:50.006Z] 20:37:50     INFO -  (xpcshell/head.js) | test test_base_attachment_url_depends_on_server pending (2)
[task 2023-06-09T20:37:50.006Z] 20:37:50     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2023-06-09T20:37:50.006Z] 20:37:50     INFO -  TEST-PASS | services/settings/test/unit/test_attachments_downloader.js | test_base_attachment_url_depends_on_server - [test_base_attachment_url_depends_on_server : 125] base URL was changed - "http://localhost:37050/cdn/" != "http://some-cdn-url.org/"
```