Bug: Intermittent browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | Test timed out - | Found a tab after previous test timed out
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-26 02:59:45+00:00
Resolved: 2021-06-15 17:02:45+00:00

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

---
```
INFO - TEST-START | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js
[task 2021-03-26T01:33:37.772Z] 01:33:37     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1361d53b800 == 1 [pid = 6108] [id = 9]
[task 2021-03-26T01:33:37.772Z] 01:33:37     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (1361d549200) [pid = 6108] [serial = 28] [outer = 0]
[task 2021-03-26T01:33:37.772Z] 01:33:37     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (1361d5e0000) [pid = 6108] [serial = 29] [outer = 1361d549200]
[task 2021-03-26T01:33:37.974Z] 01:33:37     INFO - GECKO(8036) | [Child 6108, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-03-26T01:33:37.974Z] 01:33:37     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (13624087400) [pid = 6108] [serial = 30] [outer = 1361d549200]
[task 2021-03-26T01:33:38.195Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-26T01:33:38.498Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2225aae8800 == 9 [pid = 6336] [id = 9]
[task 2021-03-26T01:33:38.498Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (2225a39c040) [pid = 6336] [serial = 21] [outer = 0]
[task 2021-03-26T01:33:38.498Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (2225acaec00) [pid = 6336] [serial = 22] [outer = 2225a39c040]
[task 2021-03-26T01:33:38.637Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (2225c8b5c00) [pid = 6336] [serial = 23] [outer = 2225a39c040]
[task 2021-03-26T01:33:38.657Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1449
[task 2021-03-26T01:33:38.842Z] 01:33:38     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-26T01:33:39.799Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (136258c0c00) [pid = 6108] [serial = 27] [outer = 0] [url = http://example.com/b]
[task 2021-03-26T01:33:39.799Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (1362407ec00) [pid = 6108] [serial = 26] [outer = 0] [url = about:blank]
[task 2021-03-26T01:33:39.799Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1362408d000) [pid = 6108] [serial = 24] [outer = 0] [url = http://example.com/]
[task 2021-03-26T01:33:39.799Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (13624086400) [pid = 6108] [serial = 23] [outer = 0] [url = about:blank]
[task 2021-03-26T01:33:39.800Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1361d53b800 == 0 [pid = 6108] [id = 9] [url = http://mochi.test:8888/]
[task 2021-03-26T01:33:39.839Z] 01:33:39     INFO - GECKO(8036) | [Child 6108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1361d549200) [pid = 6108] [serial = 28] [outer = 0] [url = http://mochi.test:8888/]
[task 2021-03-26T01:33:40.509Z] 01:33:40     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (22264b46ac0) [pid = 6336] [serial = 13] [outer = 0] [url = about:blank]
[task 2021-03-26T01:33:40.509Z] 01:33:40     INFO - GECKO(8036) | [Parent 6336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (22264b46200) [pid = 6336] [serial = 12] [outer = 0] [url = about:blank]
[task 2021-03-26T01:33:41.217Z] 01:33:41     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
[task 2021-03-26T01:33:41.497Z] 01:33:41     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: '!mPresContext', file /builds/worker/checkouts/gecko/dom/events/UIEvent.cpp:138
<...>
INFO - promiseNodeVisible OK, node.id=pageAction-panel-bookmark node.localeName=toolbarbutton
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - 
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - TEST-PASS | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | Action should be gone - true == true - 
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - TEST-PASS | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | Button should not be in panel - true == true - 
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - Waiting for engine engine-removed
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - Got engine page_action_menu_add_search_engine_0 engine-removed
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - Waiting for main page action button to have non-0 size
[task 2021-03-26T01:35:07.941Z] 01:35:07     INFO - Waiting for main page action panel to be open
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - promiseNodeVisible waiting, node.id=pageAction-panel-bookmark node.localeName=toolbarbutton
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - 
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - promiseNodeVisible OK, node.id=pageAction-panel-bookmark node.localeName=toolbarbutton
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - 
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - Buffered messages finished
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | Test timed out - 
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - GECKO(8036) | MEMORY STAT | vsize 2104343MB | vsizeMaxContiguous 65984691MB | residentFast 332MB | heapAllocated 109MB
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - TEST-OK | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | took 90120ms
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-26T01:35:07.942Z] 01:35:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/base/content/test/pageActions/page_action_menu_add_search_engine_many.html - 
[task 2021-03-26T01:35:07.943Z] 01:35:07    ERROR - GECKO(8036) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - ReferenceError: executeSoon is not defined at promisePanelEvent/</<@chrome://mochitests/content/browser/browser/base/content/test/pageActions/head.js:109:9
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | _delayedStartup/<@chrome://browser/content/browser.js:2103:17
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1253:16
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5562:16
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
[task 2021-03-26T01:35:07.943Z] 01:35:07     INFO - GECKO(8036) | set selectedItem@chrome://global/content/elements/tabbox.js:563:35
INFO - GECKO(8036) | set selectedTab@chrome://global/content/elements/tabbox.js:85:11
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | set selectedTab@chrome://browser/content/tabbrowser.js:317:7
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | _blurTab@chrome://browser/content/tabbrowser.js:4050:31
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | _beginRemoveTab@chrome://browser/content/tabbrowser.js:3695:14
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:422:18
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/pageActions/head.js, line 109: ReferenceError: executeSoon is not defined
[task 2021-03-26T01:35:07.944Z] 01:35:07     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2021-03-26T01:35:07.945Z] 01:35:07     INFO - GECKO(8036) | [Parent 6336, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:181
[task 2021-03-26T01:35:07.963Z] 01:35:07     INFO - GECKO(8036) | [Child 10004: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1f48652ac00 == 1 [pid = 10004] [id = 2]
[task 2021-03-26T01:35:07.963Z] 01:35:07     INFO - GECKO(8036) | [Child 10004: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1f48cacae40) [pid = 10004] [serial = 7] [outer = 0]
[task 2021-03-26T01:35:07.963Z] 01:35:07     INFO - GECKO(8036) | [Child 10004: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1f486594400) [pid = 10004] [serial = 8] [outer = 1f48cacae40]
[task 2021-03-26T01:35:07.982Z] 01:35:07     INFO - checking window state
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - Console message: [JavaScript Error: "ReferenceError: executeSoon is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/pageActions/head.js" line: 109}]
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - promisePanelEvent/</<@chrome://mochitests/content/browser/browser/base/content/test/pageActions/head.js:109:9
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - _delayedStartup/<@chrome://browser/content/browser.js:2103:17
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1253:16
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5562:16
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:563:35
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:85:11
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:317:7
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - _blurTab@chrome://browser/content/tabbrowser.js:4050:31
[task 2021-03-26T01:35:08.012Z] 01:35:08     INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3695:14
[task 2021-03-26T01:35:08.013Z] 01:35:08     INFO - removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-26T01:35:08.013Z] 01:35:08     INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:422:18
[task 2021-03-26T01:35:08.013Z] 01:35:08     INFO - nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-26T01:35:08.013Z] 01:35:08     INFO - 
[task 2021-03-26T01:35:08.051Z] 01:35:08     INFO - TEST-START | browser/base/content/test/pageActions/browser_page_action_menu_clipboard.js```