Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-02-08 05:35:04+00:00
Resolved: 2024-12-09 12:10:08+00:00

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

---
```
[task 2024-02-08T04:05:30.839Z] 04:05:30     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | Should have correct alwaysAsk state. - 
[task 2024-02-08T04:05:30.839Z] 04:05:30     INFO - Buffered messages logged at 03:53:29
[task 2024-02-08T04:05:30.840Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 6
[task 2024-02-08T04:05:30.840Z] 04:05:30     INFO - Buffered messages logged at 03:55:29
[task 2024-02-08T04:05:30.841Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 5
[task 2024-02-08T04:05:30.841Z] 04:05:30     INFO - Buffered messages logged at 03:57:30
[task 2024-02-08T04:05:30.842Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 4
[task 2024-02-08T04:05:30.842Z] 04:05:30     INFO - Buffered messages logged at 03:59:30
[task 2024-02-08T04:05:30.842Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 3
[task 2024-02-08T04:05:30.843Z] 04:05:30     INFO - Buffered messages logged at 04:01:30
[task 2024-02-08T04:05:30.843Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2024-02-08T04:05:30.844Z] 04:05:30     INFO - Buffered messages logged at 04:03:30
[task 2024-02-08T04:05:30.844Z] 04:05:30     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-02-08T04:05:30.844Z] 04:05:30     INFO - Buffered messages finished
[task 2024-02-08T04:05:30.845Z] 04:05:30     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | Test timed out - 
[task 2024-02-08T04:05:30.845Z] 04:05:30     INFO - GECKO(7637) | Completed ShutdownLeaks collections in process 7637
[task 2024-02-08T04:05:30.846Z] 04:05:30     INFO - TEST-START | Shutdown
[task 2024-02-08T04:05:30.846Z] 04:05:30     INFO - Browser Chrome Test Summary
[task 2024-02-08T04:05:30.847Z] 04:05:30     INFO - Passed:  643
[task 2024-02-08T04:05:30.847Z] 04:05:30     INFO - Failed:  1
[task 2024-02-08T04:05:30.848Z] 04:05:30     INFO - Todo:    0
[task 2024-02-08T04:05:30.848Z] 04:05:30     INFO - Mode:    e10s
[task 2024-02-08T04:05:30.849Z] 04:05:30     INFO - *** End BrowserChrome Test Results ***
[task 2024-02-08T04:05:31.155Z] 04:05:31     INFO - GECKO(7637) | 1707365131153	Marionette	TRACE	Received observer notification quit-application
[task 2024-02-08T04:05:31.156Z] 04:05:31     INFO - GECKO(7637) | 1707365131154	Marionette	INFO	Stopped listening on port 2828
[task 2024-02-08T04:05:31.168Z] 04:05:31     INFO - GECKO(7637) | 1707365131167	Marionette	DEBUG	Marionette stopped listening
[task 2024-02-08T04:05:31.299Z] 04:05:31     INFO - GECKO(7637) | console.log: Downloads: Attempting to terminate DownloadsPanel for a window.
[task 2024-02-08T04:05:31.300Z] 04:05:31     INFO - GECKO(7637) | console.log: Downloads: Closing the downloads panel.
[task 2024-02-08T04:05:31.302Z] 04:05:31     INFO - GECKO(7637) | console.log: Downloads: Downloads panel is not showing - nothing to do.
[task 2024-02-08T04:05:31.304Z] 04:05:31     INFO - GECKO(7637) | console.log: Downloads: DownloadsPanel terminated.
[task 2024-02-08T04:05:31.313Z] 04:05:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-08T04:05:31.314Z] 04:05:31     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | Uncaught exception received from previously timed out test bound test_permission_allow_persist - at resource://testing-common/BrowserTestUtils.sys.mjs:538 - Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2024-02-08T04:05:31.314Z] 04:05:31     INFO - Stack trace:
[task 2024-02-08T04:05:31.314Z] 04:05:31     INFO - listener@resource://testing-common/BrowserTestUtils.sys.mjs:538:15
[task 2024-02-08T04:05:31.314Z] 04:05:31     INFO - EventListener.handleEvent*browserLoaded/<@resource://testing-common/BrowserTestUtils.sys.mjs:553:27
[task 2024-02-08T04:05:31.315Z] 04:05:31     INFO - browserLoaded@resource://testing-common/BrowserTestUtils.sys.mjs:503:12
[task 2024-02-08T04:05:31.315Z] 04:05:31     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:260:40
[task 2024-02-08T04:05:31.315Z] 04:05:31     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:142:38
[task 2024-02-08T04:05:31.315Z] 04:05:31     INFO - test_permission_allow_persist@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js:568:30
[task 2024-02-08T04:05:31.316Z] 04:05:31     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-02-08T04:05:31.316Z] 04:05:31     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-02-08T04:05:31.317Z] 04:05:31     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-02-08T04:05:31.317Z] 04:05:31     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-02-08T04:05:31.318Z] 04:05:31     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-02-08T04:05:31.319Z] 04:05:31     INFO - Entering test bound test_permission_application_set
[task 2024-02-08T04:05:31.324Z] 04:05:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-08T04:05:31.324Z] 04:05:31     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | Uncaught exception received from previously timed out test bound test_permission_application_set - at resource://testing-common/BrowserTestUtils.sys.mjs:138 - TypeError: can't access property "gBrowser", Services.wm.getMostRecentWindow(...) is null
[task 2024-02-08T04:05:31.324Z] 04:05:31     INFO - Stack trace:
[task 2024-02-08T04:05:31.324Z] 04:05:31     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:138:31
[task 2024-02-08T04:05:31.324Z] 04:05:31     INFO - test_permission_application_set@chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js:602:26
[task 2024-02-08T04:05:31.325Z] 04:05:31     INFO - handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-02-08T04:05:31.325Z] 04:05:31     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-02-08T04:05:31.325Z] 04:05:31     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-02-08T04:05:31.325Z] 04:05:31     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-02-08T04:05:31.325Z] 04:05:31     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-02-08T04:05:31.327Z] 04:05:31     INFO - Entering test bound test_permission_system_principal
[task 2024-02-08T04:05:31.331Z] 04:05:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-08T04:05:31.332Z] 04:05:31     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_protocol_ask_dialog_permission.js | Uncaught exception received from previously timed out test bound test_permission_system_principal - at resource://testing-common/BrowserTestUtils.sys.mjs:138 - TypeError: can't access property "gBrowser", Services.wm.getMostRecentWindow(...) is null
[task 2024-02-08T04:05:31.332Z] 04:05:31     INFO - Stack trace:
[task 2024-02-08T04:05:31.332Z] 04:05:31     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:138:31
<...>
```