Bug: Perma win [tier 2] services/settings/test/unit/test_attachments_downloader.js | xpcshell return code: 0
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-07-18 16:17:02+00:00
Resolved: 2024-10-28 07:45:20+00:00

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

---
```
[task 2024-07-18T15:37:03.052Z] 15:37:03     INFO -  TEST-START | services/settings/test/unit/test_attachments_downloader.js
[task 2024-07-18T15:37:04.233Z] 15:37:04  WARNING -  TEST-UNEXPECTED-FAIL | services/settings/test/unit/test_attachments_downloader.js | xpcshell return code: 0
[task 2024-07-18T15:37:04.248Z] 15:37:04     INFO -  TEST-INFO took 1182ms
[task 2024-07-18T15:37:04.248Z] 15:37:04     INFO -  >>>>>>>
[task 2024-07-18T15:37:04.249Z] 15:37:04     INFO -  PID 3052 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2024-07-18T15:37:04.249Z] 15:37:04     INFO -  PID 3052 | [Parent 3052, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-07-18T15:37:04.250Z] 15:37:04     INFO -  PID 3052 | [Parent 3052, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-07-18T15:37:04.250Z] 15:37:04     INFO -  PID 3052 | [Parent 3052, 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:2898
[task 2024-07-18T15:37:04.250Z] 15:37:04     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-07-18T15:37:04.251Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-07-18T15:37:04.251Z] 15:37:04     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-07-18T15:37:04.251Z] 15:37:04     INFO -  running event loop
[task 2024-07-18T15:37:04.252Z] 15:37:04     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting setup
[task 2024-07-18T15:37:04.252Z] 15:37:04     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-07-18T15:37:04.252Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-07-18T15:37:04.252Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-07-18T15:37:04.252Z] 15:37:04     INFO -  (xpcshell/head.js) | test finished (2)
[task 2024-07-18T15:37:04.253Z] 15:37:04     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting clear_state
[task 2024-07-18T15:37:04.253Z] 15:37:04     INFO -  (xpcshell/head.js) | test clear_state pending (2)
[task 2024-07-18T15:37:04.253Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-07-18T15:37:04.253Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2024-07-18T15:37:04.254Z] 15:37:04     INFO -  (xpcshell/head.js) | test clear_state finished (2)
[task 2024-07-18T15:37:04.254Z] 15:37:04     INFO -  services/settings/test/unit/test_attachments_downloader.js | Starting test_base_attachment_url_depends_on_server
[task 2024-07-18T15:37:04.254Z] 15:37:04     INFO -  (xpcshell/head.js) | test test_base_attachment_url_depends_on_server pending (2)
[task 2024-07-18T15:37:04.255Z] 15:37:04     INFO -  PID 3052 | [Parent 3052, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:802
[task 2024-07-18T15:37:04.255Z] 15:37:04     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2024-07-18T15:37:04.255Z] 15:37:04     INFO -  PID 3052 | [Parent 3052, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:802
[task 2024-07-18T15:37:04.256Z] 15:37:04     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 : 131] base URL was changed - "http://localhost:51113/cdn/" != "http://some-cdn-url.org/"
[task 2024-07-18T15:37:04.257Z] 15:37:04     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 : 132] A trailing slash is added - "http://some-cdn-url.org/" == "http://some-cdn-url.org/"
```