Bug: Intermittent toolkit/components/search/tests/xpcshell/test_maybereloadengine_order.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-09 19:00:42+00:00
Resolved: 2024-06-05 12:02:45+00:00

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

---
```
[task 2024-05-09T18:25:39.652Z] 18:25:39     INFO -  TEST-START | xpcshell.toml:toolkit/components/search/tests/xpcshell/test_maybereloadengine_order.js
[task 2024-05-09T18:30:39.677Z] 18:30:39  WARNING -  TEST-UNEXPECTED-TIMEOUT | xpcshell.toml:toolkit/components/search/tests/xpcshell/test_maybereloadengine_order.js | Test timed out
[task 2024-05-09T18:30:39.678Z] 18:30:39     INFO -  TEST-INFO took 300025ms
[task 2024-05-09T18:30:39.678Z] 18:30:39     INFO -  >>>>>>>
[task 2024-05-09T18:30:39.678Z] 18:30:39     INFO -  PID 8256 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2024-05-09T18:30:39.678Z] 18:30:39     INFO -  PID 8256 | [Parent 8256, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-05-09T18:30:39.679Z] 18:30:39     INFO -  PID 8256 | [Parent 8256, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:148
[task 2024-05-09T18:30:39.680Z] 18:30:39     INFO -  PID 8256 | [Parent 8256, 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:2925
[task 2024-05-09T18:30:39.680Z] 18:30:39     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-05-09T18:30:39.680Z] 18:30:39     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-05-09T18:30:39.680Z] 18:30:39     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-05-09T18:30:39.681Z] 18:30:39     INFO -  running event loop
[task 2024-05-09T18:30:39.681Z] 18:30:39     INFO -  xpcshell.toml:toolkit/components/search/tests/xpcshell/test_maybereloadengine_order.js | Starting setup
[task 2024-05-09T18:30:39.681Z] 18:30:39     INFO -  (xpcshell/head.js) | test pending (2)
[task 2024-05-09T18:30:39.681Z] 18:30:39     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-05-09T18:30:39.682Z] 18:30:39     INFO -  PID 8256 | [Parent 8256, Main Thread] WARNING: Couldn't get the user appdata directory, crash dumps will go in an unusual location: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2984
[task 2024-05-09T18:30:39.682Z] 18:30:39     INFO -  PID 8256 | DLL blocklist was unable to intercept AppInit DLLs.
[task 2024-05-09T18:30:39.682Z] 18:30:39     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-05-09T18:30:39.682Z] 18:30:39     INFO -  (xpcshell/head.js) | test finished (2)
[task 2024-05-09T18:30:39.683Z] 18:30:39     INFO -  xpcshell.toml:toolkit/components/search/tests/xpcshell/test_maybereloadengine_order.js | Starting basic_multilocale_test
[task 2024-05-09T18:30:39.683Z] 18:30:39     INFO -  (xpcshell/head.js) | test basic_multilocale_test pending (2)
[task 2024-05-09T18:30:39.683Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "init"
[task 2024-05-09T18:30:39.683Z] 18:30:39     INFO -  PID 8256 | console.info: Region.sys.mjs: "_getRegion called"
[task 2024-05-09T18:30:39.684Z] 18:30:39     INFO -  PID 8256 | console.info: Region.sys.mjs: "_getRegion url is: " "http://localhost:56338/fetch_region"
[task 2024-05-09T18:30:39.684Z] 18:30:39     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2024-05-09T18:30:39.684Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open `C:\\\\Users\\\\task_171527538585109\\\\AppData\\\\Local\\\\Temp\\\\xpc-profile-bw0dy2to\\\\search.json.mozlz4': file does not exist (NS_ERROR_FILE_NOT_FOUND)", (void 0), 245))
[task 2024-05-09T18:30:39.685Z] 18:30:39     INFO -  PID 8256 | console.error: Region.sys.mjs: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.sys.mjs", 759))
[task 2024-05-09T18:30:39.685Z] 18:30:39     INFO -  PID 8256 | console.error: Region.sys.mjs: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.sys.mjs", 411))
[task 2024-05-09T18:30:39.685Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#handleIgnoreListUpdated"
[task 2024-05-09T18:30:39.686Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchEngineSelector: "fetchEngineConfiguration en-US:unknown:default:::XPCShell:42"
[task 2024-05-09T18:30:39.686Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchEngineSelector: "fetchEngineConfiguration: plainengine,special-engine"
[task 2024-05-09T18:30:39.687Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#loadEngines: start"
[task 2024-05-09T18:30:39.687Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#loadEnginesFromConfig"
[task 2024-05-09T18:30:39.687Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "_makeEngineFromConfig:" ({name:"Plain", urls:{search:{base:"https://duckduckgo.com/", params:[{name:"t", searchAccessPoint:{newtab:"ffnt", homepage:"ffhp", searchbar:"ffsb", addressbar:"ffab", contextmenu:"ffcm"}}], searchTermParamName:"q"}, suggestions:{base:"https://ac.duckduckgo.com/ac/q={searchTerms}&type=list"}}, identifier:"plainengine", orderHint:4, webExtension:{locale:"default", id:"plainengine@search.mozilla.org"}})
[task 2024-05-09T18:30:39.688Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#addEngineToStore: Adding engine:" "Plain"
[task 2024-05-09T18:30:39.688Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "_makeEngineFromConfig:" ({name:"Special", urls:{search:{base:"https://www.google.com/search", params:[{name:"client", searchAccessPoint:{searchbar:"firefox-b-1", addressbar:"firefox-b-1-ab"}}], searchTermParamName:"q"}, suggestions:{base:"https://www.google.com/complete/search?client=firefox&q={searchTerms}"}}, identifier:"special-engine", orderHint:3, webExtension:{locale:"engine", id:"special@search.mozilla.org"}})
[task 2024-05-09T18:30:39.689Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#addEngineToStore: Adding engine:" "Special"
[task 2024-05-09T18:30:39.689Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#loadStartupEngines: loading" 0 "engines reported by AddonManager startup"
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#loadEngines: done"
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "Completed #init"
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchService: "#buildSortedEngineList: using default orders"
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchSettings: "batchTask: Invalidating engine settings"
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchSettings: "_write: Writing to settings file."
[task 2024-05-09T18:30:39.690Z] 18:30:39     INFO -  PID 8256 | console.debug: SearchSettings: "_write: settings file written to disk."
[task 2024-05-09T18:30:39.691Z] 18:30:39     INFO -  <<<<<<<
[task 2024-05-09T18:30:39.834Z] 18:30:39     INFO -  xpcshell return code: 1
[task 2024-05-09T18:30:39.865Z] 18:30:39     INFO -  TEST-START | toolkit/components/telemetry/dap/tests/xpcshell/test_dap.js
[task 2024-05-09T18:30:41.037Z] 18:30:41     INFO -  TEST-PASS | toolkit/components/telemetry/dap/tests/xpcshell/test_dap.js | took 1172ms
```