Bug: Intermittent toolkit/components/search/tests/xpcshell/test_notifications.js | xpcshell return code: 1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-09-14 18:59:46+00:00
Resolved: 2020-10-13 17:03:53+00:00

**Filed by:** rmaries [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=315661637&repo=mozilla-esr78
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EfQDfCyuS86OQLmNw5TSqw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2020-09-14T18:34:43.235Z] 18:34:43     INFO -  TEST-START | xpcshell.ini:toolkit/components/search/tests/xpcshell/test_notifications.js
[task 2020-09-14T18:34:45.153Z] 18:34:45  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/search/tests/xpcshell/test_notifications.js | xpcshell return code: 1
[task 2020-09-14T18:34:45.153Z] 18:34:45     INFO -  TEST-INFO took 1919ms
[task 2020-09-14T18:34:45.154Z] 18:34:45     INFO -  >>>>>>>
[task 2020-09-14T18:34:45.154Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 88
[task 2020-09-14T18:34:45.155Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 88
[task 2020-09-14T18:34:45.155Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 88
[task 2020-09-14T18:34:45.155Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 88
[task 2020-09-14T18:34:45.155Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp, line 88
[task 2020-09-14T18:34:45.156Z] 18:34:45     INFO -  PID 8892 | [8892, 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, line 2924
[task 2020-09-14T18:34:45.156Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: This method is lossy. Use GetCanonicalPath !: file /builds/worker/checkouts/gecko/xpcom/io/nsLocalFileWin.cpp, line 3293
[task 2020-09-14T18:34:45.156Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: This method is lossy. Use GetCanonicalPath !: file /builds/worker/checkouts/gecko/xpcom/io/nsLocalFileWin.cpp, line 3293
[task 2020-09-14T18:34:45.157Z] 18:34:45     INFO -  PID 8892 | [8892, Main Thread] WARNING: This method is lossy. Use GetCanonicalPath !: file /builds/worker/checkouts/gecko/xpcom/io/nsLocalFileWin.cpp, line 3293
[task 2020-09-14T18:34:45.157Z] 18:34:45     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-09-14T18:34:45.157Z] 18:34:45     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-09-14T18:34:45.157Z] 18:34:45     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-09-14T18:34:45.158Z] 18:34:45     INFO -  running event loop
[task 2020-09-14T18:34:45.158Z] 18:34:45     INFO -  xpcshell.ini:toolkit/components/search/tests/xpcshell/test_notifications.js | Starting setup
[task 2020-09-14T18:34:45.159Z] 18:34:45     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2020-09-14T18:34:45.159Z] 18:34:45     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-09-14T18:34:45.160Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) SearchService.init"
[task 2020-09-14T18:34:45.160Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _init start"
[task 2020-09-14T18:34:45.160Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _readCacheFile: Error reading cache file: Win error 2 during operation open on file c:\\users\\task_1600107392\\appdata\\local\\temp\\xpc-profile-tvayhg\\search.json.mozlz4 (The system cannot find the file specified.
[task 2020-09-14T18:34:45.160Z] 18:34:45     INFO -  )"
[task 2020-09-14T18:34:45.161Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _loadEngines: start"
[task 2020-09-14T18:34:45.161Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _findEngineSelectorEngines: init"
[task 2020-09-14T18:34:45.161Z] 18:34:45     INFO -  PID 8892 | console.debug: SearchEngineSelector: "fetchEngineConfiguration en-US:default:esr::null:xpcshell:42"
[task 2020-09-14T18:34:45.162Z] 18:34:45     INFO -  PID 8892 | console.debug: SearchEngineSelector: "fetchEngineConfiguration: google@search.mozilla.org,amazondotcom@search.mozilla.org,wikipedia@search.mozilla.org,bing@search.mozilla.org,ddg@search.mozilla.org"
[task 2020-09-14T18:34:45.162Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _loadEngines: Absent or outdated cache. Loading engines from disk."
[task 2020-09-14T18:34:45.163Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _loadEnginesFromConfig"
[task 2020-09-14T18:34:45.163Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) makeEngineFromConfig: {"params":{"searchUrlGetParams":[{"name":"client","value":"firefox-b-e"},{"name":"q","value":"{searchTerms}"}]},"schema":1594237297787,"extraParams":[{"name":"channel","pref":"google_channel_row","condition":"pref"}],"telemetryId":"google-b-e","webExtension":{"id":"google@search.mozilla.org","locale":"default"},"id":"cb8e7210-9f0b-48fa-8708-b9a03df79eea","last_modified":1595254832050,"default":"yes-if-no-other","application":{"channel":["esr"]}}"
[task 2020-09-14T18:34:45.164Z] 18:34:45     INFO -  "CONSOLE_MESSAGE: (info) _handleIgnoreListUpdated"```