Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_redirect.js | Firefox process should exit with code 0 - Got 1, expected +0
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-27 13:53:34+00:00
Resolved: 2021-08-24 17:05:19+00:00

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

---
```
[task 2021-07-27T09:36:28.251Z] 09:36:28     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_redirect.js
[task 2021-07-27T09:36:28.310Z] 09:36:28     INFO - GECKO(2310) | *** You are running in headless mode.
[task 2021-07-27T09:36:28.447Z] 09:36:28     INFO - GECKO(2310) | >>> 1627378588446	Marionette	INFO	Marionette enabled
[task 2021-07-27T09:36:28.447Z] 09:36:28     INFO - GECKO(2310) | 1627378588446	Marionette	TRACE	Received observer notification profile-after-change
[task 2021-07-27T09:36:28.473Z] 09:36:28     INFO - GECKO(2310) | >>> 1627378588472	Marionette	TRACE	Received observer notification command-line-startup
[task 2021-07-27T09:36:28.525Z] 09:36:28     INFO - GECKO(2310) | >>> 1627378588524	RemoteAgent	DEBUG	WebDriver BiDi enabled
[task 2021-07-27T09:36:28.525Z] 09:36:28     INFO - GECKO(2310) | >>> 1627378588524	RemoteAgent	DEBUG	CDP enabled
[task 2021-07-27T09:36:29.009Z] 09:36:29     INFO - TEST-INFO | started process screencapture
[task 2021-07-27T09:36:29.120Z] 09:36:29     INFO - TEST-INFO | screencapture: exit 0
[task 2021-07-27T09:36:29.120Z] 09:36:29     INFO - Buffered messages logged at 09:36:28
[task 2021-07-27T09:36:29.121Z] 09:36:29     INFO - Entering test bound 
[task 2021-07-27T09:36:29.121Z] 09:36:29     INFO - Buffered messages finished
[task 2021-07-27T09:36:29.122Z] 09:36:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_redirect.js | Firefox process should exit with code 0 - Got 1, expected +0
[task 2021-07-27T09:36:29.122Z] 09:36:29     INFO - Stack trace:
[task 2021-07-27T09:36:29.122Z] 09:36:29     INFO - chrome://mochikit/content/browser-test.js:test_is:1371
[task 2021-07-27T09:36:29.122Z] 09:36:29     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:runFirefox:45
[task 2021-07-27T09:36:29.122Z] 09:36:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-27T09:36:29.123Z] 09:36:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_redirect.js | A screenshot should be saved as /var/folders/c2/gp9_mxbj7px3dsk7fl0bpv5r000014/T/headless_test_screenshot.png - 
[task 2021-07-27T09:36:29.123Z] 09:36:29     INFO - Stack trace:
[task 2021-07-27T09:36:29.123Z] 09:36:29     INFO - chrome://mochikit/content/browser-test.js:test_ok:1343
[task 2021-07-27T09:36:29.123Z] 09:36:29     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:testFileCreationPositive:53
[task 2021-07-27T09:36:29.124Z] 09:36:29     INFO - Leaving test bound 
[task 2021-07-27T09:36:29.124Z] 09:36:29     INFO - GECKO(2310) | MEMORY STAT | vsize 8695MB | residentFast 298MB | heapAllocated 127MB
[task 2021-07-27T09:36:29.124Z] 09:36:29     INFO - TEST-OK | browser/components/shell/test/browser_headless_screenshot_redirect.js | took 763ms
```