Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_3.js | Firefox process should exit with code 0 - Got 11, expected +0
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-06-11 23:52:53+00:00
Resolved: 2022-07-25 23:06:48+00:00

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

---
```
[task 2021-06-11T20:39:51.786Z] 20:39:51     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_3.js
[task 2021-06-11T20:39:51.835Z] 20:39:51     INFO - GECKO(7461) | *** You are running in headless mode.
[task 2021-06-11T20:39:52.019Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992017	Marionette	INFO	Marionette enabled
[task 2021-06-11T20:39:52.024Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992017	Marionette	TRACE	Received observer notification profile-after-change
[task 2021-06-11T20:39:52.070Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992068	Marionette	TRACE	Received observer notification command-line-startup
[task 2021-06-11T20:39:52.113Z] 20:39:52     INFO - GECKO(7461) | >>> expected exactly one URL when using `screenshot`
[task 2021-06-11T20:39:52.170Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource:///modules/Interactions.jsm, line 141: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
[task 2021-06-11T20:39:52.183Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1713: AbortError: IOUtils: Shutting down and refusing additional I/O tasks
[task 2021-06-11T20:39:52.188Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.189Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.189Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.189Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.190Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.190Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.365Z] 20:39:52     INFO - GECKO(7461) | *** You are running in headless mode.
[task 2021-06-11T20:39:52.535Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992533	Marionette	INFO	Marionette enabled
[task 2021-06-11T20:39:52.542Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992533	Marionette	TRACE	Received observer notification profile-after-change
[task 2021-06-11T20:39:52.586Z] 20:39:52     INFO - GECKO(7461) | >>> 1623443992585	Marionette	TRACE	Received observer notification command-line-startup
[task 2021-06-11T20:39:52.628Z] 20:39:52     INFO - GECKO(7461) | >>> expected exactly one URL when using `screenshot`
[task 2021-06-11T20:39:52.685Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource:///modules/Interactions.jsm, line 141: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
[task 2021-06-11T20:39:52.701Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1713: AbortError: IOUtils: Shutting down and refusing additional I/O tasks
[task 2021-06-11T20:39:52.702Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.708Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.709Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.710Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.712Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.714Z] 20:39:52     INFO - GECKO(7461) | JavaScript error: resource://gre/modules/ExtensionParent.jsm, line 1745: AbortError: IOUtils.profileBeforeChange getter: IOUtils: profileBeforeChange phase has already finished
[task 2021-06-11T20:39:52.867Z] 20:39:52     INFO - GECKO(7461) | *** You are running in headless mode.
[task 2021-06-11T20:39:53.009Z] 20:39:53     INFO - GECKO(7461) | >>> 1623443993007	Marionette	INFO	Marionette enabled
[task 2021-06-11T20:39:53.010Z] 20:39:53     INFO - GECKO(7461) | >>> 1623443993007	Marionette	TRACE	Received observer notification profile-after-change
[task 2021-06-11T20:39:53.058Z] 20:39:53     INFO - GECKO(7461) | >>> 1623443993057	Marionette	TRACE	Received observer notification command-line-startup
[task 2021-06-11T20:39:53.490Z] 20:39:53     INFO - GECKO(7461) | >>> Screenshot saved to: /builds/worker/workspace/build/tests/mochitest/screenshot.png
[task 2021-06-11T20:39:53.511Z] 20:39:53     INFO - GECKO(7461) | JavaScript error: resource:///modules/Interactions.jsm, line 141: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
[task 2021-06-11T20:39:53.544Z] 20:39:53     INFO - GECKO(7461) | ExceptionHandler::GenerateDump cloned child 8780
[task 2021-06-11T20:39:53.546Z] 20:39:53     INFO - GECKO(7461) | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2021-06-11T20:39:53.546Z] 20:39:53     INFO - GECKO(7461) | ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2021-06-11T20:39:53.549Z] 20:39:53     INFO - GECKO(7461) | >>> console.log: "RemoteSettingsWorker error: Error: Can't import when we've started shutting down."
[task 2021-06-11T20:39:53.624Z] 20:39:53     INFO - TEST-INFO | started process screentopng
[task 2021-06-11T20:39:53.892Z] 20:39:53     INFO - TEST-INFO | screentopng: exit 0
[task 2021-06-11T20:39:53.894Z] 20:39:53     INFO - Buffered messages logged at 20:39:51
[task 2021-06-11T20:39:53.895Z] 20:39:53     INFO - Entering test bound 
[task 2021-06-11T20:39:53.896Z] 20:39:53     INFO - Buffered messages logged at 20:39:52
[task 2021-06-11T20:39:53.898Z] 20:39:53     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_3.js | Firefox process should exit with code 0 - 
[task 2021-06-11T20:39:53.900Z] 20:39:53     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_3.js | A screenshot should not be saved - 
[task 2021-06-11T20:39:53.900Z] 20:39:53     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_3.js | Firefox process should exit with code 0 - 
[task 2021-06-11T20:39:53.901Z] 20:39:53     INFO - TEST-PASS | browser/components/shell/test/browser_headless_screenshot_3.js | A screenshot should not be saved - 
[task 2021-06-11T20:39:53.903Z] 20:39:53     INFO - Buffered messages finished
[task 2021-06-11T20:39:53.904Z] 20:39:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_3.js | Firefox process should exit with code 0 - Got 11, expected +0
[task 2021-06-11T20:39:53.904Z] 20:39:53     INFO - Stack trace:
[task 2021-06-11T20:39:53.906Z] 20:39:53     INFO - chrome://mochikit/content/browser-test.js:test_is:1362
[task 2021-06-11T20:39:53.906Z] 20:39:53     INFO - chrome://mochitests/content/browser/browser/components/shell/test/head.js:runFirefox:45
```