Bug: Intermittent browser/components/shell/test/browser_headless_screenshot_redirect.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-05-14 03:03:47+00:00
Resolved: 2024-09-23 12:02:45+00:00

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

---
```
[task 2022-05-14T02:12:54.382Z] 02:12:54     INFO - TEST-START | browser/components/shell/test/browser_headless_screenshot_redirect.js
[task 2022-05-14T02:12:54.423Z] 02:12:54     INFO - GECKO(15730) | *** You are running in headless mode.
[task 2022-05-14T02:12:55.205Z] 02:12:55     INFO - GECKO(15730) | >>> Screenshot saved to: /tmp/headless_test_screenshot.png
[task 2022-05-14T02:12:55.326Z] 02:12:55     INFO - GECKO(15730) | >>> WARNING: A blocker encountered an error while we were waiting.
[task 2022-05-14T02:12:55.328Z] 02:12:55     INFO - GECKO(15730) |           Blocker:  Waiting for ping task
[task 2022-05-14T02:12:55.329Z] 02:12:55     INFO - GECKO(15730) |           Phase: TelemetryController: Waiting for pending ping activity
[task 2022-05-14T02:12:55.329Z] 02:12:55     INFO - GECKO(15730) |           State: (none)
[task 2022-05-14T02:12:55.332Z] 02:12:55     INFO - GECKO(15730) | >>> WARNING: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:12:55.344Z] 02:12:55     INFO - GECKO(15730) | >>> WARNING: addBlocker@resource://gre/modules/AsyncShutdown.jsm:718:15
[task 2022-05-14T02:12:55.344Z] 02:12:55     INFO - GECKO(15730) | addBlocker@resource://gre/modules/AsyncShutdown.jsm:526:26
[task 2022-05-14T02:12:55.349Z] 02:12:55     INFO - GECKO(15730) | addBlocker@resource://gre/modules/AsyncShutdown.jsm:465:15
[task 2022-05-14T02:12:55.349Z] 02:12:55     INFO - GECKO(15730) | setupShutdown@resource://gre/modules/osfile/osfile_async_front.jsm:1564:28
[task 2022-05-14T02:12:55.349Z] 02:12:55     INFO - GECKO(15730) | @resource://gre/modules/osfile/osfile_async_front.jsm:1584:16
[task 2022-05-14T02:12:55.350Z] 02:12:55     INFO - GECKO(15730) | @resource://gre/modules/osfile.jsm:11:30
[task 2022-05-14T02:12:55.350Z] 02:12:55     INFO - GECKO(15730) | @resource://gre/modules/TelemetryStorage.jsm:18:28
<...>
[task 2022-05-14T02:12:55.417Z] 02:12:55     INFO - GECKO(15730) | shutdownChromeProcess/cleanup/<@resource://gre/modules/TelemetrySession.jsm:1229:37
[task 2022-05-14T02:12:55.418Z] 02:12:55     INFO - GECKO(15730) | observe@resource://gre/modules/AsyncShutdown.jsm:575:16
[task 2022-05-14T02:12:55.434Z] 02:12:55     INFO - GECKO(15730) | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:12:55.437Z] 02:12:55     INFO - GECKO(15730) | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:12:55.438Z] 02:12:55     INFO - GECKO(15730) | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:12:55.440Z] 02:12:55     INFO - GECKO(15730) | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:12:55.441Z] 02:12:55     INFO - GECKO(15730) | JavaScript error: resource://gre/modules/AsyncShutdown.jsm, line 718: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "OS.File: flush I/O queued before profileBeforeChange"
[task 2022-05-14T02:13:39.388Z] 02:13:39     INFO - TEST-INFO | started process screentopng
[task 2022-05-14T02:13:39.659Z] 02:13:39     INFO - TEST-INFO | screentopng: exit 0
[task 2022-05-14T02:13:39.660Z] 02:13:39     INFO - Buffered messages logged at 02:12:54
[task 2022-05-14T02:13:39.661Z] 02:13:39     INFO - Entering test bound 
[task 2022-05-14T02:13:39.662Z] 02:13:39     INFO - Buffered messages finished
[task 2022-05-14T02:13:39.663Z] 02:13:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_headless_screenshot_redirect.js | Test timed out - 
[task 2022-05-14T02:13:39.672Z] 02:13:39     INFO - GECKO(15730) | MEMORY STAT | vsize 3201MB | residentFast 462MB | heapAllocated 210MB
[task 2022-05-14T02:13:39.673Z] 02:13:39     INFO - TEST-OK | browser/components/shell/test/browser_headless_screenshot_redirect.js | took 45007ms
[task 2022-05-14T02:13:39.675Z] 02:13:39     INFO - checking window state
[task 2022-05-14T02:13:39.676Z] 02:13:39     INFO - TEST-START | browser/components/shell/test/browser_setDefaultBrowser.js
```