Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_4.js | Firefox process should exit with code 0 - Got 1, expected +0
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-04 18:50:25+00:00
Resolved: 2022-06-14 17:03:03+00:00

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

---
```
INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_4.js | Screenshot should be 600 pixels tall - 
[task 2021-08-04T18:38:12.169Z] 18:38:12     INFO - Buffered messages finished
[task 2021-08-04T18:38:12.169Z] 18:38:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_4.js | Firefox process should exit with code 0 - Got 1, expected +0
[task 2021-08-04T18:38:12.169Z] 18:38:12     INFO - Stack trace:
[task 2021-08-04T18:38:12.170Z] 18:38:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1371
[task 2021-08-04T18:38:12.170Z] 18:38:12     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:runFirefox:45
[task 2021-08-04T18:38:12.170Z] 18:38:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-04T18:38:12.171Z] 18:38:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_4.js | A screenshot should be saved in the tmp directory - 
[task 2021-08-04T18:38:12.171Z] 18:38:12     INFO - Stack trace:
[task 2021-08-04T18:38:12.171Z] 18:38:12     INFO - chrome://mochikit/content/browser-test.js:test_ok:1343
[task 2021-08-04T18:38:12.171Z] 18:38:12     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:testWindowSizePositive:87
[task 2021-08-04T18:38:12.171Z] 18:38:12     INFO - GECKO(2783) | *** You are running in headless mode.
[task 2021-08-04T18:38:12.252Z] 18:38:12     INFO - GECKO(2783) | >>> 1628102292250	Marionette	INFO	Marionette enabled
[task 2021-08-04T18:38:12.252Z] 18:38:12     INFO - GECKO(2783) | >>> 1628102292251	Marionette	TRACE	Received observer notification profile-after-change
[task 2021-08-04T18:38:12.282Z] 18:38:12     INFO - GECKO(2783) | >>> 1628102292280	Marionette	TRACE	Received observer notification command-line-startup
[task 2021-08-04T18:38:12.334Z] 18:38:12     INFO - GECKO(2783) | >>> expected format: --window-size width[,height]
[task 2021-08-04T18:38:12.368Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource:///modules/Interactions.jsm, line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
[task 2021-08-04T18:38:12.376Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/JSONFile.jsm, line 138: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.378Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1728: AbortError: IOUtils: Shutting down and refusing additional I/O tasks
[task 2021-08-04T18:38:12.378Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1760: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.379Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1760: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.379Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1760: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.379Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1760: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.380Z] 18:38:12     INFO - GECKO(2783) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1760: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-08-04T18:38:12.383Z] 18:38:12     INFO - GECKO(2783) | >>> console.log: "RemoteSettingsWorker error: Error: Can't import when we've started shutting down."
[task 2021-08-04T18:38:12.455Z] 18:38:12     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_4.js | Firefox process should exit with code 0 - 
```