Bug: Intermittent browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-11-02 19:16:37+00:00
Resolved: 2024-03-22 12:04:23+00:00

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

---
```
[task 2023-11-02T18:59:32.733Z] 18:59:32     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | The overlay is in the selected state - "selected" == "selected" - 
[task 2023-11-02T18:59:32.735Z] 18:59:32     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | The overlay is in the selected state - 
[task 2023-11-02T18:59:32.736Z] 18:59:32     INFO - Buffered messages finished
[task 2023-11-02T18:59:32.737Z] 18:59:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | Test timed out - 
[task 2023-11-02T18:59:32.739Z] 18:59:32     INFO - GECKO(2653) | MEMORY STAT | vsize 3178MB | residentFast 410MB | heapAllocated 249MB
[task 2023-11-02T18:59:32.740Z] 18:59:32     INFO - TEST-OK | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | took 90176ms
[task 2023-11-02T18:59:32.741Z] 18:59:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-02T18:59:32.742Z] 18:59:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html - 
[task 2023-11-02T18:59:32.743Z] 18:59:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-02T18:59:32.745Z] 18:59:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html - 
[task 2023-11-02T18:59:32.746Z] 18:59:32     INFO - GECKO(2653) | [Child 2846: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f2516a30c00 == 1 [pid = 2846] [id = 2]
[task 2023-11-02T18:59:32.747Z] 18:59:32     INFO - GECKO(2653) | [Child 2846: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f2516a7b020) [pid = 2846] [serial = 5] [outer = 0]
[task 2023-11-02T18:59:32.748Z] 18:59:32     INFO - GECKO(2653) | [Child 2846: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f2516a31400) [pid = 2846] [serial = 6] [outer = 7f2516a7b020]
[task 2023-11-02T18:59:32.749Z] 18:59:32     INFO - checking window state
[task 2023-11-02T18:59:32.818Z] 18:59:32     INFO - TEST-START | browser/components/screenshots/tests/browser/browser_screenshots_page_unload.js
[task 2023-11-02T18:59:32.847Z] 18:59:32     INFO - GECKO(2653) | [Child 3279: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f2ea7a30400 == 1 [pid = 3279] [id = 0]
[task 2023-11-02T18:59:32.848Z] 18:59:32     INFO - GECKO(2653) | [Child 3279: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f2ea84b1020) [pid = 3279] [serial = 1] [outer = 0]
[task 2023-11-02T18:59:32.851Z] 18:59:32     INFO - GECKO(2653) | [Child 3279: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f2ea7a30c00) [pid = 3279] [serial = 2] [outer = 7f2ea84b1020]
[task 2023-11-02T18:59:33.050Z] 18:59:33     INFO - GECKO(2653) | [Child 3254, Main Thread] WARNING: IPC message 'PContent::Msg_StoreUserInteractionAsPermission' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545
[task 2023-11-02T18:59:33.086Z] 18:59:33     INFO - GECKO(2653) | [Parent 2653, IPC I/O Parent] WARNING: [1.1]: GetUserData call for port 'F0C76B57620E926A.3B308EE8647B1CA5' failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:406
[task 2023-11-02T18:59:33.089Z] 18:59:33     INFO - GECKO(2653) | [Child 3229, IPC I/O Child] WARNING: [7911BDB4324D5125.EB3EA23C0D3BA851]: GetUserData call for port '67622AAF380D4C39.49D4FC9F9A45CF21' failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:406
[task 2023-11-02T18:59:33.124Z] 18:59:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-02T18:59:33.124Z] 18:59:33     INFO - Buffered messages logged at 18:59:32
[task 2023-11-02T18:59:33.125Z] 18:59:33     INFO - Entering setup bound 
[task 2023-11-02T18:59:33.126Z] 18:59:33     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_page_unload.js | The screenshots button was added to the nav bar - {"_inheritedElements":{".toolbarbutton-icon":{},".toolbarbutton-menu-dropmarker":null},"initializedAttributeInheritance":true} == true - 
[task 2023-11-02T18:59:33.126Z] 18:59:33     INFO - Leaving setup bound 
[task 2023-11-02T18:59:33.126Z] 18:59:33     INFO - Entering test bound test
[task 2023-11-02T18:59:33.127Z] 18:59:33     INFO - Buffered messages finished
[task 2023-11-02T18:59:33.127Z] 18:59:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js | Uncaught exception received from previously timed out test bound test_overlay_and_panel_state - at chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js:69 - TypeError: can't access property "ok", Assert is null
[task 2023-11-02T18:59:33.127Z] 18:59:33     INFO - Stack trace:
[task 2023-11-02T18:59:33.128Z] 18:59:33     INFO - test_overlay_and_panel_state@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_overlay_panel_sync.js:69:3
[task 2023-11-02T18:59:33.128Z] 18:59:33     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1134:26
[task 2023-11-02T18:59:33.129Z] 18:59:33     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18
[task 2023-11-02T18:59:33.129Z] 18:59:33     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-11-02T18:59:33.129Z] 18:59:33     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-11-02T18:59:33.130Z] 18:59:33     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-02T18:59:33.140Z] 18:59:33     INFO - GECKO(2653) | [Child 3229: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f255bb30800 == 0 [pid = 3229] [id = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.153Z] 18:59:33     INFO - GECKO(2653) | [Child 3254: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd80f630800 == 0 [pid = 3254] [id = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.163Z] 18:59:33     INFO - GECKO(2653) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1197: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2023-11-02T18:59:33.176Z] 18:59:33     INFO - GECKO(2653) | [Child 3279: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f2ea7a33c00) [pid = 3279] [serial = 3] [outer = 7f2ea84b1020]
[task 2023-11-02T18:59:33.181Z] 18:59:33     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1197}]
[task 2023-11-02T18:59:33.182Z] 18:59:33     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1209:3
[task 2023-11-02T18:59:33.182Z] 18:59:33     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-11-02T18:59:33.183Z] 18:59:33     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-11-02T18:59:33.183Z] 18:59:33     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-02T18:59:33.183Z] 18:59:33     INFO - 
[task 2023-11-02T18:59:33.197Z] 18:59:33     INFO - GECKO(2653) | [Child 3229: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f255bb35000) [pid = 3229] [serial = 3] [outer = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.215Z] 18:59:33     INFO - GECKO(2653) | [Child 3229: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f25796c1020) [pid = 3229] [serial = 1] [outer = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.247Z] 18:59:33     INFO - GECKO(2653) | [Child 3254: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd80f634c00) [pid = 3254] [serial = 3] [outer = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.247Z] 18:59:33     INFO - GECKO(2653) | [Child 3254: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd82d1c1020) [pid = 3254] [serial = 1] [outer = 0] [url = http://example.com/browser/browser/components/screenshots/tests/browser/test-page.html]
[task 2023-11-02T18:59:33.311Z] 18:59:33     INFO - Clearing all telemetry events
[task 2023-11-02T18:59:33.456Z] 18:59:33     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_page_unload.js | The screenshot toolbar button is visible - 
```