Bug: Intermittent browser/components/search/test/browser/browser_searchbar_default.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-03-26 18:25:58+00:00
Resolved: 2023-11-06 12:03:29+00:00

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

---
```
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_default.js | Should have loaded the expected search page. - "https://example.com/?q=query" == "https://example.com/?q=query" - 
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - Leaving test bound test_default_search
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - Entering test bound test_default_search_private_no_separate
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - Buffered messages logged at 17:51:21
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 58}]
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - load@resource://gre/modules/XULStore.sys.mjs:58:15
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - 
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - Buffered messages finished
[task 2023-03-26T17:52:04.867Z] 17:52:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Test timed out - 
[task 2023-03-26T17:52:04.930Z] 17:52:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:04.938Z] 17:52:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Uncaught exception received from previously timed out test bound test_default_search_private_no_separate - focus listener not removed before the end of test
[task 2023-03-26T17:52:04.938Z] 17:52:04     INFO - Entering test bound test_default_search_private_no_separate
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Uncaught exception received from previously timed out test bound test_default_search_private_no_separate - {}
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - Stack trace:
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - #setEngineDefault@resource://gre/modules/SearchService.sys.mjs:2820:24
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - setDefaultPrivate@resource://gre/modules/SearchService.sys.mjs:227:27
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - async*test_default_search_private_no_separate@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_default.js:119:25
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1039:26
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1028:14
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13
[task 2023-03-26T17:52:04.977Z] 17:52:04     INFO - Entering test bound test_form_history
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Uncaught exception received from previously timed out test bound test_form_history - at chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:200 - TypeError: can't access property "focus", sb is null
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - Stack trace:
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - searchInSearchbar@chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:200:3
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - async*doSearch@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_default.js:75:9
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - test_form_history@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_default.js:143:9
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1039:26
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1028:14
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13
[task 2023-03-26T17:52:05.321Z] 17:52:05     INFO - Entering test bound test_searchbar_revert
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Uncaught exception received from previously timed out test bound test_searchbar_revert - at chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:200 - TypeError: can't access property "focus", sb is null
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - Stack trace:
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - searchInSearchbar@chrome://mochitests/content/browser/browser/components/search/test/browser/head.js:200:3
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - async*doSearch@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_default.js:75:9
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - test_searchbar_revert@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_searchbar_default.js:179:9
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1039:26
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1028:14
[task 2023-03-26T17:52:05.633Z] 17:52:05     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13
[task 2023-03-26T17:52:05.962Z] 17:52:05     INFO - GECKO(4004) | MEMORY STAT | vsize 1363MB | vsizeMaxContiguous 128MB | residentFast 426MB | heapAllocated 472MB
[task 2023-03-26T17:52:05.962Z] 17:52:05     INFO - TEST-OK | browser/components/search/test/browser/browser_searchbar_default.js | took 46179ms
[task 2023-03-26T17:52:05.962Z] 17:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:05.962Z] 17:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Found a tab after previous test timed out: about:blank - 
[task 2023-03-26T17:52:05.969Z] 17:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:05.969Z] 17:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Found a tab after previous test timed out: about:blank - 
[task 2023-03-26T17:52:05.993Z] 17:52:05     INFO - checking window state
[task 2023-03-26T17:52:05.993Z] 17:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:05.993Z] 17:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_default.js | Found a browser window after previous test timed out - 
[task 2023-03-26T17:52:06.102Z] 17:52:06     INFO - TEST-START | browser/components/search/test/browser/browser_searchbar_enter.js
[task 2023-03-26T17:52:06.516Z] 17:52:06     INFO - GECKO(4004) | 1679853126521	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - Buffered messages logged at 17:52:06
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - Entering setup bound 
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - Extension loaded
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_enter.js | Search provider extension should be running - "running" == "running" - 
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_enter.js | Extension ID of search provider should be set - "example@tests.mozilla.org" == true - 
[task 2023-03-26T17:52:51.110Z] 17:52:51     INFO - Leaving setup bound 
[task 2023-03-26T17:52:51.118Z] 17:52:51     INFO - Entering test bound searchOnEnterSoon
[task 2023-03-26T17:52:51.118Z] 17:52:51     INFO - Search on Enter as soon as typing a char
[task 2023-03-26T17:52:51.118Z] 17:52:51     INFO - Buffered messages finished
[task 2023-03-26T17:52:51.118Z] 17:52:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_enter.js | Test timed out - 
[task 2023-03-26T17:52:51.219Z] 17:52:51     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:51.219Z] 17:52:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_enter.js | Uncaught exception received from previously timed out test bound searchOnEnterSoon - focus listener not removed before the end of test
[task 2023-03-26T17:52:51.219Z] 17:52:51     INFO - Entering test bound typeCharWhileProcessingEnter
[task 2023-03-26T17:52:51.219Z] 17:52:51     INFO - Typing a char while processing enter key
[task 2023-03-26T17:52:51.503Z] 17:52:51     INFO - GECKO(4004) | 1679853171506	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-03-26T17:52:52.729Z] 17:52:52     INFO - GECKO(4004) | MEMORY STAT | vsize 1446MB | vsizeMaxContiguous 128MB | residentFast 442MB | heapAllocated 549MB
[task 2023-03-26T17:52:52.729Z] 17:52:52     INFO - TEST-OK | browser/components/search/test/browser/browser_searchbar_enter.js | took 46637ms
[task 2023-03-26T17:52:52.753Z] 17:52:52     INFO - checking window state
[task 2023-03-26T17:52:52.753Z] 17:52:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:52.753Z] 17:52:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_enter.js | Found a browser window after previous test timed out - 
[task 2023-03-26T17:52:52.753Z] 17:52:52     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-26T17:52:52.753Z] 17:52:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_searchbar_enter.js | Found a browser window after previous test timed out - 
[task 2023-03-26T17:52:52.870Z] 17:52:52     INFO - TEST-START | browser/components/search/test/browser/browser_searchbar_keyboard_navigation.js
```