Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-09-29 15:14:17+00:00
Resolved: 2022-07-26 00:15:46+00:00

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

---
```
[task 2021-09-29T14:41:11.786Z] 14:41:11     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js
[task 2021-09-29T14:41:13.887Z] 14:41:13     INFO - GECKO(5549) | console.log: Downloads: Closing the downloads panel.
[task 2021-09-29T14:41:13.887Z] 14:41:13     INFO - GECKO(5549) | console.log: Downloads: Downloads panel is not showing - nothing to do.
[task 2021-09-29T14:41:13.992Z] 14:41:13     INFO - GECKO(5549) | JavaScript error: resource://pdf.js/PdfStreamConverter.jsm, line 1115: NS_ERROR_FAILURE: Ignore PDF.js for this download.
[task 2021-09-29T14:41:14.404Z] 14:41:14     INFO - GECKO(5549) | console.log: Downloads: Closing the downloads panel.
[task 2021-09-29T14:41:14.404Z] 14:41:14     INFO - GECKO(5549) | console.log: Downloads: Downloads panel is not showing - nothing to do.
[task 2021-09-29T14:41:14.480Z] 14:41:14     INFO - GECKO(5549) | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
[task 2021-09-29T14:41:40.743Z] 14:41:40     INFO - GECKO(5549) | 2021-09-29 14:41:40.741 firefox[5549:107962] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2021-09-29T14:41:56.801Z] 14:41:56     INFO - TEST-INFO | started process screencapture
[task 2021-09-29T14:41:56.950Z] 14:41:56     INFO - TEST-INFO | screencapture: exit 0
[task 2021-09-29T14:41:56.950Z] 14:41:56     INFO - Buffered messages logged at 14:41:11
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Entering test bound test_common_initialize
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Leaving test bound test_common_initialize
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Entering test bound setup
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Leaving test bound setup
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Entering test bound simple_navigation
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - Buffered messages logged at 14:41:12
[task 2021-09-29T14:41:56.951Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Showing the helper app dialog - 
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | got the right windowContext - 
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - Leaving test bound simple_navigation
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - Entering test bound target_blank
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Showing the helper app dialog - 
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | got the right windowContext - 
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | tab was opened and closed - 
[task 2021-09-29T14:41:56.952Z] 14:41:56     INFO - Leaving test bound target_blank
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - Entering test bound target_blank_no_opener
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - Buffered messages logged at 14:41:13
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Showing the helper app dialog - 
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | got the right windowContext - 
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | tab was opened and closed - 
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - Leaving test bound target_blank_no_opener
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - Entering test bound open_in_new_tab_no_opener
[task 2021-09-29T14:41:56.953Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Showing the helper app dialog - 
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | got the right windowContext - 
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | tab was opened and closed - 
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - Leaving test bound open_in_new_tab_no_opener
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - Entering test bound new_window
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Showing the helper app dialog - 
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | got the right windowContext - 
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Ignore PDF.js for this download." {file: "resource://pdf.js/PdfStreamConverter.jsm" line: 1115}]
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - getConvertedType@resource://pdf.js/PdfStreamConverter.jsm:1115:15
[task 2021-09-29T14:41:56.954Z] 14:41:56     INFO - 
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | window was opened and closed - 
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Buffered messages logged at 14:41:14
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Test reseted - 
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Leaving test bound new_window
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Entering test bound new_window_no_opener
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Console message: [JavaScript Error: "TypeError: NetworkError when attempting to fetch resource."]
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Buffered messages finished
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Test timed out - 
[task 2021-09-29T14:41:56.955Z] 14:41:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | A promise chain failed to handle a rejection: NetworkError when attempting to fetch resource. - stack: (No stack available.)
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - Rejection date: Wed Sep 29 2021 14:41:14 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - Stack trace:
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - GECKO(5549) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - GECKO(5549) | MEMORY STAT | vsize 402367MB | residentFast 348MB | heapAllocated 121MB
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | took 45025ms
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Found a tab after previous test timed out: https://example.com/browser/uriloader/exthandler/tests/mochitest/download_page.html - 
[task 2021-09-29T14:41:56.956Z] 14:41:56     INFO - checking window state
[task 2021-09-29T14:41:56.957Z] 14:41:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-29T14:41:56.957Z] 14:41:56     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window.js | Found a browser window after previous test timed out - 
[task 2021-09-29T14:41:56.957Z] 14:41:56     INFO - GECKO(5549) | must wait for focus
[task 2021-09-29T14:41:56.957Z] 14:41:56     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_download_always_ask_preferred_app.js
```