Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_cross_origin.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-16 18:20:36+00:00
Resolved: 2025-02-03 12:07:00+00:00

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

---
```
[task 2024-04-16T17:57:07.723Z] 17:57:07     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_cross_origin.js
[task 2024-04-16T17:57:07.871Z] 17:57:07     INFO - GECKO(5687) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpyijfymvb.mozrunner/runtests_leaks.log
[task 2024-04-16T17:57:08.239Z] 17:57:08     INFO - GECKO(5687) | [Parent 5687: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7f7d71f63000) [pid = 5687] [serial = 15] [outer = 0] [url = about:logo]
[task 2024-04-16T17:57:08.239Z] 17:57:08     INFO - GECKO(5687) | [Parent 5687: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7f7d71f60400) [pid = 5687] [serial = 14] [outer = 0] [url = about:blank]
[task 2024-04-16T17:57:08.580Z] 17:57:08     INFO - GECKO(5687) | Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!
[task 2024-04-16T17:57:08.585Z] 17:57:08     INFO - GECKO(5687) | ATTENTION: default value of option mesa_glthread overridden by environment.
[task 2024-04-16T17:57:08.588Z] 17:57:08     INFO - GECKO(5687) | [Parent 8756, Renderer] WARNING: Failed to create EGLContext with khr_rbab_attribs: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:723
[task 2024-04-16T17:57:08.589Z] 17:57:08     INFO - GECKO(5687) | [Parent 8756, Renderer] WARNING: Failed to create EGLContext with khr_robustness_attribs: file /builds/worker/checkouts/gecko/gfx/gl/GLContextProviderEGL.cpp:735
[task 2024-04-16T17:57:08.610Z] 17:57:08     INFO - TEST-INFO | started process screentopng
[task 2024-04-16T17:57:08.888Z] 17:57:08     INFO - TEST-INFO | screentopng: exit 0
[task 2024-04-16T17:57:08.889Z] 17:57:08     INFO - Buffered messages logged at 17:57:07
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - Entering test bound 
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - Buffered messages finished
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_cross_origin.js | Firefox process should exit with code 0 - Got 127, expected +0
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - Stack trace:
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-04-16T17:57:08.890Z] 17:57:08     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:runFirefox:44
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:testGreen:120
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_headless_screenshot_cross_origin.js:null:5
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_cross_origin.js | A screenshot should be saved in the tmp directory - 
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - Stack trace:
[task 2024-04-16T17:57:08.891Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:test_ok:1592
[task 2024-04-16T17:57:08.892Z] 17:57:08     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:testGreen:123
[task 2024-04-16T17:57:08.892Z] 17:57:08     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_headless_screenshot_cross_origin.js:null:5
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - Leaving test bound 
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - GECKO(5687) | MEMORY STAT | vsize 3380MB | residentFast 500MB | heapAllocated 222MB
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - TEST-OK | browser/components/shell/test/browser_headless_screenshot_cross_origin.js | took 903ms
[task 2024-04-16T17:57:08.893Z] 17:57:08     INFO - GECKO(5687) | [Child 5847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f8ada36e800 == 2 [pid = 5847] [id = 4]
[task 2024-04-16T17:57:08.894Z] 17:57:08     INFO - GECKO(5687) | [Child 5847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f8ad9ab53e0) [pid = 5847] [serial = 9] [outer = 0]
[task 2024-04-16T17:57:08.894Z] 17:57:08     INFO - GECKO(5687) | [Child 5847: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f8ada36ec00) [pid = 5847] [serial = 10] [outer = 7f8ad9ab53e0]
[task 2024-04-16T17:57:08.894Z] 17:57:08     INFO - checking window state
[task 2024-04-16T17:57:08.894Z] 17:57:08     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_redirect.js
```