Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_2.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2023-05-24 07:38:51+00:00
Resolved: 2025-02-24 06:39:05+00:00

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

---
```
[task 2023-05-24T07:23:44.364Z] 07:23:44     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_2.js | Screenshot should not be an empty file - 
[task 2023-05-24T07:23:44.364Z] 07:23:44     INFO - Buffered messages finished
[task 2023-05-24T07:23:44.364Z] 07:23:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_2.js | Firefox process should exit with code 0 - Got 127, expected +0
[task 2023-05-24T07:23:44.365Z] 07:23:44     INFO - Stack trace:
[task 2023-05-24T07:23:44.366Z] 07:23:44     INFO - chrome://mochikit/content/browser-test.js:test_is:1610
[task 2023-05-24T07:23:44.366Z] 07:23:44     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:runFirefox:44
[task 2023-05-24T07:23:44.366Z] 07:23:44     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:testFileCreationPositive:49
[task 2023-05-24T07:23:44.367Z] 07:23:44     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_headless_screenshot_2.js:null:40
[task 2023-05-24T07:23:44.367Z] 07:23:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1133
[task 2023-05-24T07:23:44.367Z] 07:23:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1205
[task 2023-05-24T07:23:44.367Z] 07:23:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1347
[task 2023-05-24T07:23:44.368Z] 07:23:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1122
[task 2023-05-24T07:23:44.369Z] 07:23:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-24T07:23:44.369Z] 07:23:44     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_2.js | A screenshot should be saved as /builds/worker/workspace/build/tests/mochitest/screenshot.png - 
[task 2023-05-24T07:23:44.370Z] 07:23:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-24T07:23:44.370Z] 07:23:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_2.js | Uncaught exception in test bound  - NotFoundError: Could not stat file(/builds/worker/workspace/build/tests/mochitest/screenshot.png) because it does not exist
[task 2023-05-24T07:23:44.370Z] 07:23:44     INFO - Leaving test bound 
[task 2023-05-24T07:23:44.371Z] 07:23:44     INFO - GECKO(15486) | MEMORY STAT | vsize 3336MB | residentFast 525MB | heapAllocated 230MB
[task 2023-05-24T07:23:44.372Z] 07:23:44     INFO - TEST-OK | browser/components/shell/test/browser_headless_screenshot_2.js | took 15519ms
[task 2023-05-24T07:23:44.372Z] 07:23:44     INFO - GECKO(15486) | [Child 15591: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fc52d820c00 == 1 [pid = 15591] [id = 3]
[task 2023-05-24T07:23:44.373Z] 07:23:44     INFO - GECKO(15486) | [Child 15591: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7fc532a86090) [pid = 15591] [serial = 9] [outer = 0]
[task 2023-05-24T07:23:44.374Z] 07:23:44     INFO - GECKO(15486) | [Child 15591: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7fc52d829000) [pid = 15591] [serial = 10] [outer = 7fc532a86090]
[task 2023-05-24T07:23:44.375Z] 07:23:44     INFO - checking window state
[task 2023-05-24T07:23:44.375Z] 07:23:44     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_3.js
```