Bug: Intermittent browser/components/newtab/test/browser/browser_open_tab_focus.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-09-19 23:20:26+00:00
Resolved: 2024-05-27 12:01:42+00:00

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

---
```
[task 2022-09-19T20:46:32.048Z] 20:46:32     INFO - TEST-START | browser/components/newtab/test/browser/browser_open_tab_focus.js
[task 2022-09-19T20:46:32.112Z] 20:46:32     INFO - GECKO(7468) | [Child 2420, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-09-19T20:46:32.192Z] 20:46:32     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 27f41d7bc00 == 5 [pid = 2416] [id = 134]
[task 2022-09-19T20:46:32.205Z] 20:46:32     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (27f3cd6b600) [pid = 2416] [serial = 406] [outer = 0]
[task 2022-09-19T20:46:32.206Z] 20:46:32     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 26 (27f41d86800) [pid = 2416] [serial = 407] [outer = 27f3cd6b600]
[task 2022-09-19T20:46:32.218Z] 20:46:32     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (27f439a7400) [pid = 2416] [serial = 408] [outer = 27f3cd6b600]
[task 2022-09-19T20:46:32.523Z] 20:46:32     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 28 (1503f4d0c00) [pid = 7784] [serial = 164] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:33.037Z] 20:46:33     INFO - GECKO(7468) | [Child 8360: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 263e6d7a000 == 1 [pid = 8360] [id = 0]
[task 2022-09-19T20:46:33.037Z] 20:46:33     INFO - GECKO(7468) | [Child 8360: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (263e1c6b260) [pid = 8360] [serial = 1] [outer = 0]
[task 2022-09-19T20:46:33.038Z] 20:46:33     INFO - GECKO(7468) | [Child 8360: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (263e6d7a800) [pid = 8360] [serial = 2] [outer = 263e1c6b260]
[task 2022-09-19T20:46:33.048Z] 20:46:33     INFO - GECKO(7468) | [Parent 7784, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:95
[task 2022-09-19T20:46:33.116Z] 20:46:33     INFO - GECKO(7468) | [Parent 7784, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h:95
[task 2022-09-19T20:46:33.372Z] 20:46:33     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (1503fb82f60) [pid = 7784] [serial = 166] [outer = 0] [url = about:mozilla]
[task 2022-09-19T20:46:34.496Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (29da4f7e400) [pid = 2420] [serial = 9] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.499Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (29da4f84000) [pid = 2420] [serial = 11] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.500Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (29da4f84c00) [pid = 2420] [serial = 12] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.500Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (29da4f7cc00) [pid = 2420] [serial = 8] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.501Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 29da4f86400 == 1 [pid = 2420] [id = 5] [url = about:blank]
[task 2022-09-19T20:46:34.511Z] 20:46:34     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (29d9fe6c0e0) [pid = 2420] [serial = 13] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.765Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f43ca9400 == 4 [pid = 2416] [id = 131] [url = about:newtab]
[task 2022-09-19T20:46:34.767Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f41d86000 == 3 [pid = 2416] [id = 132] [url = about:newtab]
[task 2022-09-19T20:46:34.768Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f41d7c800 == 2 [pid = 2416] [id = 130] [url = about:newtab]
[task 2022-09-19T20:46:34.769Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (27f43caa000) [pid = 2416] [serial = 383] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.770Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (27f43cac400) [pid = 2416] [serial = 387] [outer = 0] [url = about:home]
[task 2022-09-19T20:46:34.772Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (27f466d6800) [pid = 2416] [serial = 389] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.772Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (27f466d7c00) [pid = 2416] [serial = 390] [outer = 0] [url = about:home]
[task 2022-09-19T20:46:34.773Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (27f439a5400) [pid = 2416] [serial = 386] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.774Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (27f439a6400) [pid = 2416] [serial = 381] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:34.775Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (27f43cac000) [pid = 2416] [serial = 384] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:34.776Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (27f439a2800) [pid = 2416] [serial = 380] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.776Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (27f439a2c00) [pid = 2416] [serial = 375] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:34.777Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (27f466dbc00) [pid = 2416] [serial = 392] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.779Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (27f466de800) [pid = 2416] [serial = 393] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:34.779Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (27f439a8400) [pid = 2416] [serial = 395] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:34.780Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (27f43ca7000) [pid = 2416] [serial = 378] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:34.781Z] 20:46:34     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f43ca6800 == 1 [pid = 2416] [id = 133] [url = about:home]
[task 2022-09-19T20:46:35.040Z] 20:46:35     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (27f4654c130) [pid = 2416] [serial = 403] [outer = 0] [url = about:home]
[task 2022-09-19T20:46:35.048Z] 20:46:35     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (27f3cd6c0e0) [pid = 2416] [serial = 394] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:35.049Z] 20:46:35     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (27f43c0a600) [pid = 2416] [serial = 400] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:35.049Z] 20:46:35     INFO - GECKO(7468) | [Child 2416: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (27f4654b650) [pid = 2416] [serial = 397] [outer = 0] [url = about:newtab]
[task 2022-09-19T20:46:35.682Z] 20:46:35     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f76079000 == 1 [pid = 6552] [id = 21] [url = about:blank]
[task 2022-09-19T20:46:35.682Z] 20:46:35     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 27f7607ec00 == 0 [pid = 6552] [id = 22] [url = about:blank]
[task 2022-09-19T20:46:35.712Z] 20:46:35     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (27f70f6b260) [pid = 6552] [serial = 44] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:35.721Z] 20:46:35     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (27f70f6b7d0) [pid = 6552] [serial = 42] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:35.721Z] 20:46:35     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (27f70f6bb70) [pid = 6552] [serial = 46] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:36.903Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1503e92e800 == 11 [pid = 7784] [id = 64] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:36.904Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 15040e83c00 == 10 [pid = 7784] [id = 65] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:36.905Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1503a626400 == 9 [pid = 7784] [id = 62] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:36.906Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1503f4ce400 == 8 [pid = 7784] [id = 66] [url = chrome://browser/content/aboutRobots.xhtml]
[task 2022-09-19T20:46:36.906Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1503e92cc00 == 7 [pid = 7784] [id = 63] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:36.907Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (1503e924400) [pid = 7784] [serial = 168] [outer = 0] [url = about:mozilla]
[task 2022-09-19T20:46:36.907Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (1503e925800) [pid = 7784] [serial = 167] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:36.908Z] 20:46:36     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1503d2d7000 == 6 [pid = 7784] [id = 67] [url = about:mozilla]
[task 2022-09-19T20:46:37.097Z] 20:46:37     INFO - GECKO(7468) | [Child 4148: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1e5ed179800 == 1 [pid = 4148] [id = 1] [url = about:blank]
[task 2022-09-19T20:46:37.098Z] 20:46:37     INFO - GECKO(7468) | [Child 4148: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1e5ed174400 == 0 [pid = 4148] [id = 0] [url = about:blank]
[task 2022-09-19T20:46:37.117Z] 20:46:37     INFO - GECKO(7468) | [Child 4148: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (1e5e806bb70) [pid = 4148] [serial = 4] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:37.120Z] 20:46:37     INFO - GECKO(7468) | [Child 4148: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1e5e806b260) [pid = 4148] [serial = 1] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:37.442Z] 20:46:37     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (15043be2090) [pid = 7784] [serial = 154] [outer = 0] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:37.444Z] 20:46:37     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (15043be4300) [pid = 7784] [serial = 157] [outer = 0] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:37.445Z] 20:46:37     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (15043be5c60) [pid = 7784] [serial = 160] [outer = 0] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:37.446Z] 20:46:37     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (1503fc74f10) [pid = 7784] [serial = 151] [outer = 0] [url = chrome://browser/content/spotlight.html]
[task 2022-09-19T20:46:37.446Z] 20:46:37     INFO - GECKO(7468) | [Parent 7784: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (1503fc776f0) [pid = 7784] [serial = 163] [outer = 0] [url = chrome://browser/content/aboutRobots.xhtml]
[task 2022-09-19T20:46:38.606Z] 20:46:38     INFO - TEST-INFO | started process screenshot
[task 2022-09-19T20:46:38.695Z] 20:46:38     INFO - TEST-INFO | screenshot: exit 0
[task 2022-09-19T20:46:38.698Z] 20:46:38     INFO - Buffered messages logged at 20:46:32
[task 2022-09-19T20:46:38.699Z] 20:46:38     INFO - Entering test bound test_open_tab_focus
[task 2022-09-19T20:46:38.699Z] 20:46:38     INFO - Buffered messages logged at 20:46:33
[task 2022-09-19T20:46:38.701Z] 20:46:38     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_open_tab_focus.js | The original tab is still the selected tab - 
[task 2022-09-19T20:46:38.701Z] 20:46:38     INFO - Leaving test bound test_open_tab_focus
[task 2022-09-19T20:46:38.701Z] 20:46:38     INFO - Buffered messages finished
[task 2022-09-19T20:46:38.702Z] 20:46:38     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_open_tab_focus.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 592
[task 2022-09-19T20:46:38.702Z] 20:46:38     INFO - Stack trace:
[task 2022-09-19T20:46:38.702Z] 20:46:38     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:592
[task 2022-09-19T20:46:38.703Z] 20:46:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-19T20:46:38.703Z] 20:46:38     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_open_tab_focus.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 593
[task 2022-09-19T20:46:38.704Z] 20:46:38     INFO - Stack trace:
[task 2022-09-19T20:46:38.704Z] 20:46:38     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:593
[task 2022-09-19T20:46:38.704Z] 20:46:38     INFO - GECKO(7468) | MEMORY STAT | vsize 2104323MB | vsizeMaxContiguous 67348901MB | residentFast 353MB | heapAllocated 135MB
[task 2022-09-19T20:46:38.705Z] 20:46:38     INFO - TEST-OK | browser/components/newtab/test/browser/browser_open_tab_focus.js | took 6594ms
[task 2022-09-19T20:46:38.705Z] 20:46:38     INFO - GECKO(7468) | [Child 2420: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (29da4f86c00) [pid = 2420] [serial = 14] [outer = 0] [url = about:blank]
[task 2022-09-19T20:46:38.705Z] 20:46:38     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 27f76078c00 == 1 [pid = 6552] [id = 23]
[task 2022-09-19T20:46:38.706Z] 20:46:38     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (27f70f6b260) [pid = 6552] [serial = 48] [outer = 0]
[task 2022-09-19T20:46:38.706Z] 20:46:38     INFO - GECKO(7468) | [Child 6552: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (27f76079800) [pid = 6552] [serial = 49] [outer = 27f70f6b260]
[task 2022-09-19T20:46:38.707Z] 20:46:38     INFO - GECKO(7468) | [Child 2420, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-09-19T20:46:38.708Z] 20:46:38     INFO - checking window state
[task 2022-09-19T20:46:38.719Z] 20:46:38     INFO - TEST-START | browser/components/newtab/test/browser/browser_remote_l10n.js
```