Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | UCT window should have appeared - Got false, expected true
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-03-03 15:05:26+00:00
Resolved: 2022-07-26 00:15:56+00:00

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

---
```
[task 2022-03-03T14:32:54.698Z] 14:32:54     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js
<...>
[task 2022-03-03T14:33:15.468Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | File contentType should be correct - 
[task 2022-03-03T14:33:15.468Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | File name should be correct. - 
[task 2022-03-03T14:33:15.469Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | download should appear in public list - 
[task 2022-03-03T14:33:15.470Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | preferredAction - Pref enabled - saveToDisk as default should not change prefs - 
[task 2022-03-03T14:33:15.470Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | alwaysAskBeforeHandling - Pref enabled - saveToDisk as default should not change prefs - 
[task 2022-03-03T14:33:15.471Z] 14:33:15     INFO - Cleaning up
[task 2022-03-03T14:33:15.471Z] 14:33:15     INFO - Testing with file_image_svgxml.svg; Pref enabled - choose internal + alwaysAsk default + checkbox should update persisted default
[task 2022-03-03T14:33:15.472Z] 14:33:15     INFO - Load window and tabs
[task 2022-03-03T14:33:15.472Z] 14:33:15     INFO - Buffered messages logged at 14:33:12
[task 2022-03-03T14:33:15.473Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | UCT window should have appeared - 
[task 2022-03-03T14:33:15.474Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | Unknown content dialogWindow should be loaded correctly. - 
[task 2022-03-03T14:33:15.474Z] 14:33:15     INFO - Waiting for accept button to get enabled
[task 2022-03-03T14:33:15.475Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | The option should be visible for SVG - 
[task 2022-03-03T14:33:15.475Z] 14:33:15     INFO - Running UCT dialog options before downloading file
[task 2022-03-03T14:33:15.476Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | The 'open' option should now be selected - 
[task 2022-03-03T14:33:15.476Z] 14:33:15     INFO - Waiting for downloads to finish
[task 2022-03-03T14:33:15.477Z] 14:33:15     INFO - Buffered messages logged at 14:33:13
[task 2022-03-03T14:33:15.477Z] 14:33:15     INFO - Download changed!
[task 2022-03-03T14:33:15.478Z] 14:33:15     INFO - Download succeeded or errored
[task 2022-03-03T14:33:15.479Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | File contentType should be correct - 
[task 2022-03-03T14:33:15.479Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | File name should be correct. - 
[task 2022-03-03T14:33:15.480Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | download should appear in public list - 
[task 2022-03-03T14:33:15.480Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | preferredAction - Pref enabled - choose internal + alwaysAsk default + checkbox should update persisted default - 
[task 2022-03-03T14:33:15.481Z] 14:33:15     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | alwaysAskBeforeHandling - Pref enabled - choose internal + alwaysAsk default + checkbox should update persisted default - 
[task 2022-03-03T14:33:15.482Z] 14:33:15     INFO - Cleaning up
[task 2022-03-03T14:33:15.482Z] 14:33:15     INFO - Testing with file_image_svgxml.svg; Pref enabled - saveToDisk with alwaysAsk default should update persisted default
[task 2022-03-03T14:33:15.483Z] 14:33:15     INFO - Load window and tabs
[task 2022-03-03T14:33:15.484Z] 14:33:15     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isExecutable]"  nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)"  location: "JS frame :: resource://gre/modules/DownloadIntegration.jsm :: launchDownload :: line 758"  data: no]"]
[task 2022-03-03T14:33:15.484Z] 14:33:15     INFO - launchDownload@resource://gre/modules/DownloadIntegration.jsm:758:12
[task 2022-03-03T14:33:15.484Z] 14:33:15     INFO - launch@resource://gre/modules/DownloadCore.jsm:801:32
[task 2022-03-03T14:33:15.484Z] 14:33:15     INFO - _succeed@resource://gre/modules/DownloadCore.jsm:598:12
[task 2022-03-03T14:33:15.485Z] 14:33:15     INFO - 
[task 2022-03-03T14:33:15.486Z] 14:33:15     INFO - Buffered messages finished
[task 2022-03-03T14:33:15.487Z] 14:33:15     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | UCT window should have appeared - Got false, expected true
[task 2022-03-03T14:33:15.487Z] 14:33:15     INFO - Stack trace:
[task 2022-03-03T14:33:15.487Z] 14:33:15     INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-03-03T14:33:15.487Z] 14:33:15     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js:test_check_saving_handler_choices_with_downloads_pref_enabled:414
[task 2022-03-03T14:34:54.761Z] 14:34:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-03T14:34:54.762Z] 14:34:54     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | Test timed out - 
[task 2022-03-03T14:34:54.789Z] 14:34:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-03T14:34:54.791Z] 14:34:54     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | Uncaught exception received from previously timed out test - popupshown listener on #downloadsPanel not removed before the end of test
[task 2022-03-03T14:34:54.826Z] 14:34:54     INFO - GECKO(8094) | MEMORY STAT | vsize 130552114MB | residentFast 2303MB
[task 2022-03-03T14:34:54.829Z] 14:34:54     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | took 120133ms
[task 2022-03-03T14:34:54.832Z] 14:34:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-03T14:34:54.833Z] 14:34:54     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | Found a tab after previous test timed out: about:blank - 
[task 2022-03-03T14:34:55.045Z] 14:34:55     INFO - checking window state
[task 2022-03-03T14:34:55.047Z] 14:34:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-03T14:34:55.049Z] 14:34:55     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js | Found a  after previous test timed out - 
[task 2022-03-03T14:34:55.049Z] 14:34:55     INFO - GECKO(8094) | must wait for focus
[task 2022-03-03T14:34:55.299Z] 14:34:55     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_pdf_save_as.js
```