Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_download_preferred_action.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-11-17 23:55:37+00:00
Resolved: 2024-12-30 12:10:19+00:00

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

---
```
[task 2022-11-17T22:18:36.559Z] 22:18:36     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_download_preferred_action.js | took 21495ms
[task 2022-11-17T22:18:36.569Z] 22:18:36     INFO - GECKO(22772) | [Child 22878: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f49bc71ec00 == 1 [pid = 22878] [id = 4]
[task 2022-11-17T22:18:36.570Z] 22:18:36     INFO - GECKO(22772) | [Child 22878: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f49d7c919f0) [pid = 22878] [serial = 11] [outer = 0]
[task 2022-11-17T22:18:36.572Z] 22:18:36     INFO - GECKO(22772) | [Child 22878: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f49bc71f000) [pid = 22878] [serial = 12] [outer = 7f49d7c919f0]
[task 2022-11-17T22:18:36.609Z] 22:18:36     INFO - checking window state
[task 2022-11-17T22:18:36.609Z] 22:18:36     INFO - TEST-INFO | started process screentopng
[task 2022-11-17T22:18:36.859Z] 22:18:36     INFO - TEST-INFO | screentopng: exit 0
[task 2022-11-17T22:18:36.859Z] 22:18:36     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_download_preferred_action.js | Found an unexpected  at the end of test run - 
[task 2022-11-17T22:18:36.859Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:371
[task 2022-11-17T22:18:36.860Z] 22:18:36     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_download_privatebrowsing.js
[task 2022-11-17T22:18:36.860Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f3e35bc8400 == 9 [pid = 22772] [id = 51]
[task 2022-11-17T22:18:36.860Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (7f3e36874fb0) [pid = 22772] [serial = 105] [outer = 0]
[task 2022-11-17T22:18:36.860Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (7f3e35bcc400) [pid = 22772] [serial = 106] [outer = 7f3e36874fb0]
[task 2022-11-17T22:18:36.860Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1383
[task 2022-11-17T22:18:36.958Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f3e368f7800 == 10 [pid = 22772] [id = 52]
[task 2022-11-17T22:18:36.958Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 29 (7f3e368744d0) [pid = 22772] [serial = 107] [outer = 0]
[task 2022-11-17T22:18:36.958Z] 22:18:36     INFO - GECKO(22772) | [Parent 22772: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (7f3e368f7c00) [pid = 22772] [serial = 108] [outer = 7f3e368744d0]
[task 2022-11-17T22:18:37.007Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f240231b000 == 3 [pid = 22988] [id = 2]
[task 2022-11-17T22:18:37.007Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7f24023389a0) [pid = 22988] [serial = 7] [outer = 0]
[task 2022-11-17T22:18:37.008Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7f240231b400) [pid = 22988] [serial = 8] [outer = 7f24023389a0]
[task 2022-11-17T22:18:37.009Z] 22:18:37     INFO - GECKO(22772) | [2022-11-17T22:18:37Z WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2022-11-17T22:18:37.083Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Closing the downloads panel.
[task 2022-11-17T22:18:37.084Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Downloads panel is not showing - nothing to do.
[task 2022-11-17T22:18:37.253Z] 22:18:37     INFO - GECKO(22772) | 1668723517252	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-11-17T22:18:37.273Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:225
[task 2022-11-17T22:18:37.275Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(aResult)', file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:592
[task 2022-11-17T22:18:37.275Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:268
[task 2022-11-17T22:18:37.306Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7f240361e000) [pid = 22988] [serial = 9] [outer = 7f24023389a0]
[task 2022-11-17T22:18:37.383Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2226
[task 2022-11-17T22:18:37.435Z] 22:18:37     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f1ec9936400 == 2 [pid = 22936] [id = 6]
[task 2022-11-17T22:18:37.435Z] 22:18:37     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f1ee4e924d0) [pid = 22936] [serial = 15] [outer = 0]
[task 2022-11-17T22:18:37.435Z] 22:18:37     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f1ec9936800) [pid = 22936] [serial = 16] [outer = 7f1ee4e924d0]
[task 2022-11-17T22:18:37.515Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f2402736c00 == 4 [pid = 22988] [id = 3]
[task 2022-11-17T22:18:37.517Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7f24023399f0) [pid = 22988] [serial = 10] [outer = 0]
[task 2022-11-17T22:18:37.521Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (7f2402737000) [pid = 22988] [serial = 11] [outer = 7f24023399f0]
[task 2022-11-17T22:18:37.533Z] 22:18:37     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7f1ec9937000) [pid = 22936] [serial = 17] [outer = 7f1ee4e924d0]
[task 2022-11-17T22:18:37.680Z] 22:18:37     INFO - GECKO(22772) | [Child 22988: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (7f2402739000) [pid = 22988] [serial = 12] [outer = 7f24023399f0]
[task 2022-11-17T22:18:37.785Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2226
[task 2022-11-17T22:18:37.816Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2259
[task 2022-11-17T22:18:37.834Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2022-11-17T22:18:37.834Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Opening the downloads panel.
[task 2022-11-17T22:18:37.834Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Attempting to initialize DownloadsPanel for a window.
[task 2022-11-17T22:18:37.835Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Attaching DownloadsView...
[task 2022-11-17T22:18:37.838Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: DownloadsView attached - the panel for this window should now see download items come in.
[task 2022-11-17T22:18:37.839Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: DownloadsPanel initialized.
[task 2022-11-17T22:18:37.840Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Waiting for the downloads panel to appear.
[task 2022-11-17T22:18:37.841Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: onDownloadBatchStarting called for DownloadsView.
[task 2022-11-17T22:18:37.841Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: A new download data item was added
[task 2022-11-17T22:18:37.841Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Adding a new DownloadsViewItem to the downloads list. aNewest = true
[task 2022-11-17T22:18:37.845Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: onDownloadBatchEnded called for DownloadsView.
[task 2022-11-17T22:18:37.846Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: The downloads item count has changed - we are tracking 1 downloads in total.
[task 2022-11-17T22:18:37.846Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Setting the panel's hasdownloads attribute to true.
[task 2022-11-17T22:18:37.851Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Opening downloads panel popup.
[task 2022-11-17T22:18:37.852Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: onDownloadBatchStarting called for DownloadsView.
[task 2022-11-17T22:18:37.852Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: onDownloadBatchEnded called for DownloadsView.
[task 2022-11-17T22:18:37.854Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: The downloads item count has changed - we are tracking 1 downloads in total.
[task 2022-11-17T22:18:37.854Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Setting the panel's hasdownloads attribute to true.
[task 2022-11-17T22:18:37.855Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Opening downloads panel popup.
[task 2022-11-17T22:18:37.857Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2047
[task 2022-11-17T22:18:37.865Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Opening downloads panel popup.
[task 2022-11-17T22:18:37.886Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:225
[task 2022-11-17T22:18:37.888Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(aResult)', file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:592
[task 2022-11-17T22:18:37.889Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:268
[task 2022-11-17T22:18:37.907Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2022-11-17T22:18:37.909Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Showing new download notification.
[task 2022-11-17T22:18:37.912Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:225
[task 2022-11-17T22:18:37.914Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(aResult)', file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:592
[task 2022-11-17T22:18:37.914Z] 22:18:37     INFO - GECKO(22772) | [Parent 22772, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:268
[task 2022-11-17T22:18:37.915Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: _updateStateInner, target exists?  /tmp/testdir-129240/test-3.dat true
[task 2022-11-17T22:18:37.925Z] 22:18:37     INFO - GECKO(22772) | [2022-11-17T22:18:37Z WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2022-11-17T22:18:37.935Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Closing the downloads panel.
[task 2022-11-17T22:18:37.943Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Downloads panel has hidden.
[task 2022-11-17T22:18:37.945Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Downloads panel is now closed.
[task 2022-11-17T22:18:37.945Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: A download data item was removed.
[task 2022-11-17T22:18:37.950Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Removing a DownloadsViewItem from the downloads list.
[task 2022-11-17T22:18:37.952Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: The downloads item count has changed - we are tracking 0 downloads in total.
[task 2022-11-17T22:18:37.953Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Removing the panel's hasdownloads attribute.
[task 2022-11-17T22:18:37.967Z] 22:18:37     INFO - GECKO(22772) | console.log: Downloads: Downloads panel has shown.
[task 2022-11-17T22:18:37.970Z] 22:18:37     INFO - GECKO(22772) | JavaScript error: resource:///modules/PanelMultiView.jsm, line 879: TypeError: can't access property "isOpenIn", panelView is undefined
[task 2022-11-17T22:18:38.033Z] 22:18:38     INFO - GECKO(22772) | console.log: Downloads: Attempting to terminate DownloadsPanel for a window.
[task 2022-11-17T22:18:38.035Z] 22:18:38     INFO - GECKO(22772) | console.log: Downloads: Closing the downloads panel.
[task 2022-11-17T22:18:38.036Z] 22:18:38     INFO - GECKO(22772) | console.log: Downloads: Downloads panel is now closed.
[task 2022-11-17T22:18:38.037Z] 22:18:38     INFO - GECKO(22772) | console.log: Downloads: DownloadsPanel terminated.
[task 2022-11-17T22:18:38.058Z] 22:18:38     INFO - GECKO(22772) | [Parent 22772, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:371
[task 2022-11-17T22:18:38.089Z] 22:18:38     INFO - GECKO(22772) | MEMORY STAT | vsize 11528MB | residentFast 583MB | heapAllocated 301MB
[task 2022-11-17T22:18:38.090Z] 22:18:38     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_download_privatebrowsing.js | took 1432ms
[task 2022-11-17T22:18:38.104Z] 22:18:38     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f1ec993d800 == 3 [pid = 22936] [id = 7]
[task 2022-11-17T22:18:38.104Z] 22:18:38     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7f1ee4e92c10) [pid = 22936] [serial = 18] [outer = 0]
[task 2022-11-17T22:18:38.109Z] 22:18:38     INFO - GECKO(22772) | [Child 22936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7f1ec993dc00) [pid = 22936] [serial = 19] [outer = 7f1ee4e92c10]
[task 2022-11-17T22:18:38.158Z] 22:18:38     INFO - checking window state
[task 2022-11-17T22:18:38.160Z] 22:18:38     INFO - GECKO(22772) | must wait for focus
[task 2022-11-17T22:18:38.222Z] 22:18:38     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_download_skips_dialog.js
```