Bug: Intermittent browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-18 13:39:55+00:00
Resolved: 2022-07-25 23:16:21+00:00

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

---
```
[task 2022-05-18T12:45:41.279Z] 12:45:41     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Expected placeholder l10n when search mode is inactive - {"args":{"name":"Google"},"id":"urlbar-placeholder-with-name"} deepEqual {"id":"urlbar-placeholder-with-name","args":{"name":"Google"}} - 
[task 2022-05-18T12:45:41.280Z] 12:45:41     INFO - Awaiting for the urlbar panel to open
[task 2022-05-18T12:45:41.280Z] 12:45:41     INFO - Urlbar panel opened
[task 2022-05-18T12:45:41.281Z] 12:45:41     INFO - Buffered messages finished
[task 2022-05-18T12:45:41.282Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Test timed out - 
[task 2022-05-18T12:45:41.282Z] 12:45:41     INFO - GECKO(7820) | MEMORY STAT | vsize 3955MB | residentFast 502MB | heapAllocated 315MB
[task 2022-05-18T12:45:41.284Z] 12:45:41     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | took 45060ms
[task 2022-05-18T12:45:41.285Z] 12:45:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-18T12:45:41.286Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Found a tab after previous test timed out: http://example.com/2 - 
[task 2022-05-18T12:45:41.286Z] 12:45:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-18T12:45:41.287Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Found a tab after previous test timed out: http://example.com/1 - 
[task 2022-05-18T12:45:41.287Z] 12:45:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-18T12:45:41.288Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Found a tab after previous test timed out: http://example.com/0 - 
[task 2022-05-18T12:45:41.289Z] 12:45:41     INFO - checking window state
[task 2022-05-18T12:45:41.289Z] 12:45:41     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_searchSettings.js
[task 2022-05-18T12:45:41.290Z] 12:45:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-18T12:45:41.291Z] 12:45:41     INFO - Buffered messages logged at 12:45:41
[task 2022-05-18T12:45:41.291Z] 12:45:41     INFO - Entering test bound 
[task 2022-05-18T12:45:41.292Z] 12:45:41     INFO - Buffered messages finished
[task 2022-05-18T12:45:41.293Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js:47 - ReferenceError: UrlbarTestUtils is not defined
[task 2022-05-18T12:45:41.294Z] 12:45:41     INFO - Stack trace:
[task 2022-05-18T12:45:41.294Z] 12:45:41     INFO - switchTabs@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_switchTabs.js:47:3
[task 2022-05-18T12:45:41.295Z] 12:45:41     INFO - GECKO(7820) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1052: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2022-05-18T12:45:41.296Z] 12:45:41     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1052}]
[task 2022-05-18T12:45:41.296Z] 12:45:41     INFO - Awaiting for the urlbar panel to open
[task 2022-05-18T12:45:41.297Z] 12:45:41     INFO - Urlbar panel opened
[task 2022-05-18T12:45:41.446Z] 12:45:41     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchSettings.js | Should have loaded the right page - 
[task 2022-05-18T12:45:41.461Z] 12:45:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-18T12:45:41.462Z] 12:45:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchSettings.js | A promise chain failed to handle a rejection: can't access property "shift", currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1052:13
[task 2022-05-18T12:45:41.462Z] 12:45:41     INFO - Rejection date: Wed May 18 2022 12:45:41 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-18T12:45:41.463Z] 12:45:41     INFO - Stack trace:
[task 2022-05-18T12:45:41.463Z] 12:45:41     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-18T12:45:41.464Z] 12:45:41     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-05-18T12:45:41.464Z] 12:45:41     INFO - Leaving test bound 
[task 2022-05-18T12:45:41.493Z] 12:45:41     INFO - GECKO(7820) | MEMORY STAT | vsize 12147MB | residentFast 508MB | heapAllocated 324MB
[task 2022-05-18T12:45:41.495Z] 12:45:41     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_searchSettings.js | took 427ms
[task 2022-05-18T12:45:41.514Z] 12:45:41     INFO - checking window state
[task 2022-05-18T12:45:41.519Z] 12:45:41     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_searchSingleWordNotification.js
```