Bug: Intermittent browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js | Test timed out | Found a browser window after previous test timed out
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-09-17 20:19:00+00:00
Resolved: 2022-07-27 18:27:48+00:00

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

---
```
[task 2021-09-17T18:55:04.487Z] 18:55:04     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js
[task 2021-09-17T18:55:07.017Z] 18:55:07     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:07.019Z] 18:55:07     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:09.484Z] 18:55:09     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:09.486Z] 18:55:09     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:13.106Z] 18:55:13     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-09-17T18:55:16.459Z] 18:55:16     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:16.459Z] 18:55:16     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:16.501Z] 18:55:16     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-09-17T18:55:17.009Z] 18:55:17     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:17.011Z] 18:55:17     INFO - GECKO(1552) | Suppressions used:
[task 2021-09-17T18:55:17.011Z] 18:55:17     INFO - GECKO(1552) |   count      bytes template
[task 2021-09-17T18:55:17.012Z] 18:55:17     INFO - GECKO(1552) |      13        416 nsComponentManagerImpl
[task 2021-09-17T18:55:17.013Z] 18:55:17     INFO - GECKO(1552) |       2        288 libfontconfig.so
[task 2021-09-17T18:55:17.013Z] 18:55:17     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:18.951Z] 18:55:18     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:18.953Z] 18:55:18     INFO - GECKO(1552) | Suppressions used:
[task 2021-09-17T18:55:18.953Z] 18:55:18     INFO - GECKO(1552) |   count      bytes template
[task 2021-09-17T18:55:18.954Z] 18:55:18     INFO - GECKO(1552) |      13        416 nsComponentManagerImpl
[task 2021-09-17T18:55:18.955Z] 18:55:18     INFO - GECKO(1552) |       2        288 libfontconfig.so
[task 2021-09-17T18:55:18.956Z] 18:55:18     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:20.873Z] 18:55:20     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-09-17T18:55:23.718Z] 18:55:23     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-09-17T18:55:24.510Z] 18:55:24     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:24.512Z] 18:55:24     INFO - GECKO(1552) | Suppressions used:
[task 2021-09-17T18:55:24.513Z] 18:55:24     INFO - GECKO(1552) |   count      bytes template
[task 2021-09-17T18:55:24.514Z] 18:55:24     INFO - GECKO(1552) |      13        416 nsComponentManagerImpl
[task 2021-09-17T18:55:24.516Z] 18:55:24     INFO - GECKO(1552) |       2        288 libfontconfig.so
[task 2021-09-17T18:55:24.516Z] 18:55:24     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:26.997Z] 18:55:26     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:27.006Z] 18:55:27     INFO - GECKO(1552) | Suppressions used:
[task 2021-09-17T18:55:27.007Z] 18:55:27     INFO - GECKO(1552) |   count      bytes template
[task 2021-09-17T18:55:27.007Z] 18:55:27     INFO - GECKO(1552) |      13        416 nsComponentManagerImpl
[task 2021-09-17T18:55:27.007Z] 18:55:27     INFO - GECKO(1552) |       2        288 libfontconfig.so
[task 2021-09-17T18:55:27.007Z] 18:55:27     INFO - GECKO(1552) | -----------------------------------------------------
[task 2021-09-17T18:55:30.029Z] 18:55:30     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:30.030Z] 18:55:30     INFO - GECKO(1552) | JavaScript error: resource:///actors/ContentSearchParent.jsm, line 664: TypeError: can't access property "addEventListener", browser is null
[task 2021-09-17T18:55:30.166Z] 18:55:30     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-09-17T18:55:30.167Z] 18:55:30     INFO - GECKO(1552) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
...
[task 2021-09-17T19:02:35.391Z] 19:02:35     INFO - addTab@chrome://browser/content/tabbrowser.js:2885:15
[task 2021-09-17T19:02:35.392Z] 19:02:35     INFO - addTab@resource://testing-common/BrowserTestUtils.jsm:2453:23
[task 2021-09-17T19:02:35.392Z] 19:02:35     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2021-09-17T19:02:35.393Z] 19:02:35     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2021-09-17T19:02:35.393Z] 19:02:35     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2021-09-17T19:02:35.394Z] 19:02:35     INFO - withNewWindow@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js:287:28
[task 2021-09-17T19:02:35.394Z] 19:02:35     INFO - 
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - Console message: [JavaScript Error: "can't access property "getActor", windowGlobal is null" {file: "resource:///actors/AboutReaderParent.jsm" line: 170}]
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - updateReaderButton@resource:///actors/AboutReaderParent.jsm:170:17
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - onLocationChange@chrome://browser/content/browser.js:5493:23
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - callListeners@chrome://browser/content/tabbrowser.js:891:31
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - _callProgressListeners@chrome://browser/content/tabbrowser.js:905:22
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1114:12
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5611:16
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:563:35
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:85:11
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:311:7
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - withNewWindow@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js:287:28
[task 2021-09-17T19:02:35.402Z] 19:02:35     INFO - 
[task 2021-09-17T19:02:35.403Z] 19:02:35     INFO - Buffered messages logged at 18:56:34
[task 2021-09-17T19:02:35.403Z] 19:02:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 4
[task 2021-09-17T19:02:35.404Z] 19:02:35     INFO - Buffered messages logged at 18:58:04
[task 2021-09-17T19:02:35.405Z] 19:02:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 3
[task 2021-09-17T19:02:35.406Z] 19:02:35     INFO - Buffered messages logged at 18:59:34
[task 2021-09-17T19:02:35.406Z] 19:02:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2021-09-17T19:02:35.407Z] 19:02:35     INFO - Buffered messages logged at 19:01:04
[task 2021-09-17T19:02:35.408Z] 19:02:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2021-09-17T19:02:35.408Z] 19:02:35     INFO - Buffered messages finished
[task 2021-09-17T19:02:35.409Z] 19:02:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js | Test timed out - 
[task 2021-09-17T19:02:35.410Z] 19:02:35     INFO - GECKO(1552) | MEMORY STAT | vsize 20976418MB | residentFast 1931MB
[task 2021-09-17T19:02:35.411Z] 19:02:35     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js | took 450122ms
[task 2021-09-17T19:02:35.416Z] 19:02:35     INFO - checking window state
[task 2021-09-17T19:02:35.417Z] 19:02:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-17T19:02:35.418Z] 19:02:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js | Found a browser window after previous test timed out - 
[task 2021-09-17T19:02:35.418Z] 19:02:35     INFO - GECKO(1552) | must wait for focus
[task 2021-09-17T19:02:35.419Z] 19:02:35     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-17T19:02:35.420Z] 19:02:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchMode_sessionStore.js | Uncaught exception received from previously timed out test - at resource://testing-common/BrowserTestUtils.jsm:515 - Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2021-09-17T19:02:35.420Z] 19:02:35     INFO - Stack trace:
[task 2021-09-17T19:02:35.420Z] 19:02:35     INFO - listener@resource://testing-common/BrowserTestUtils.jsm:515:15
[task 2021-09-17T19:02:35.420Z] 19:02:35     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_searchMode_setURI.js
```