Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-11-16 18:42:20+00:00
Resolved: 2025-01-20 12:01:41+00:00

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

---
```
[task 2022-11-16T18:29:47.939Z] 18:29:47     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | There should be a download in the list - 1 > 0 - 
[task 2022-11-16T18:29:47.940Z] 18:29:47     INFO - Buffered messages finished
[task 2022-11-16T18:29:47.941Z] 18:29:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Delete file command should be disabled - 
[task 2022-11-16T18:29:47.941Z] 18:29:47     INFO - Stack trace:
[task 2022-11-16T18:29:47.941Z] 18:29:47     INFO - chrome://mochikit/content/browser-test.js:test_ok:1457
[task 2022-11-16T18:29:47.941Z] 18:29:47     INFO - chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js:test_download_deleteFile:124
[task 2022-11-16T18:29:47.942Z] 18:29:47     INFO - Leaving test bound test_download_deleteFile
[task 2022-11-16T18:29:47.943Z] 18:29:47     INFO - Entering test bound test_about_downloads_deleteFile_for_history_download
[task 2022-11-16T18:29:47.945Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x7f62d1038940 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:113
[task 2022-11-16T18:29:47.946Z] 18:29:47     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Created /tmp/Temp-e81080b5-bae2-443f-aa56-20c7fa38576a/testsavedir2911508530/test-download.txt - 
[task 2022-11-16T18:29:47.946Z] 18:29:47     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | 1 == 1 - 
[task 2022-11-16T18:29:47.948Z] 18:29:47     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | "page-visited" == "page-visited" - 
[task 2022-11-16T18:29:47.971Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d9981800 == 19 [pid = 1628] [id = 33] [url = chrome://browser/content/browser.xhtml]
[task 2022-11-16T18:29:47.990Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d1d8dc00 == 18 [pid = 1628] [id = 32] [url = about:blank]
[task 2022-11-16T18:29:47.992Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62db2d9c00 == 17 [pid = 1628] [id = 34] [url = about:blank]
[task 2022-11-16T18:29:47.994Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d1280000 == 16 [pid = 1628] [id = 28] [url = about:blank]
[task 2022-11-16T18:29:47.995Z] 18:29:47     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62ad47b400 == 15 [pid = 1628] [id = 35] [url = chrome://browser/content/browser.xhtml]
[task 2022-11-16T18:29:48.004Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d2c8e000 == 14 [pid = 1628] [id = 30] [url = about:blank]
[task 2022-11-16T18:29:48.004Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62f57da400 == 13 [pid = 1628] [id = 24] [url = chrome://global/content/commonDialog.xhtml]
[task 2022-11-16T18:29:48.004Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62ce9a9400 == 12 [pid = 1628] [id = 31] [url = about:blank]
[task 2022-11-16T18:29:48.004Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d99a5400 == 11 [pid = 1628] [id = 36] [url = about:blank]
[task 2022-11-16T18:29:48.007Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d2faec00 == 10 [pid = 1628] [id = 23] [url = chrome://global/content/commonDialog.xhtml]
[task 2022-11-16T18:29:48.007Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62ade71000 == 9 [pid = 1628] [id = 37] [url = about:blank]
[task 2022-11-16T18:29:48.007Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62db2d7800 == 8 [pid = 1628] [id = 22] [url = chrome://global/content/commonDialog.xhtml]
[task 2022-11-16T18:29:48.017Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 57 (7f62d1285c00) [pid = 1628] [serial = 81] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.018Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d2c84800 == 7 [pid = 1628] [id = 29] [url = about:blank]
[task 2022-11-16T18:29:48.019Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62d127f400 == 6 [pid = 1628] [id = 25] [url = chrome://global/content/commonDialog.xhtml]
[task 2022-11-16T18:29:48.030Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f62ade65000 == 7 [pid = 1628] [id = 38]
[task 2022-11-16T18:29:48.031Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 58 (7f62b3c2e9a0) [pid = 1628] [serial = 100] [outer = 0]
[task 2022-11-16T18:29:48.033Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 59 (7f62ade71800) [pid = 1628] [serial = 101] [outer = 7f62b3c2e9a0]
[task 2022-11-16T18:29:48.042Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1383
[task 2022-11-16T18:29:48.049Z] 18:29:48     INFO - GECKO(1628) | must wait for load
[task 2022-11-16T18:29:48.049Z] 18:29:48     INFO - GECKO(1628) | [Child 1872: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f83851a4000 == 1 [pid = 1872] [id = 1] [url = about:newtab]
[task 2022-11-16T18:29:48.083Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f20a631e800 == 1 [pid = 1764] [id = 7] [url = about:blank]
[task 2022-11-16T18:29:48.117Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f20a6314400) [pid = 1764] [serial = 18] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.118Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f20a631f800) [pid = 1764] [serial = 20] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.119Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f20a631ec00 == 0 [pid = 1764] [id = 8] [url = about:blank]
[task 2022-11-16T18:29:48.153Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f20c1891d90) [pid = 1764] [serial = 22] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.154Z] 18:29:48     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f20c18919f0) [pid = 1764] [serial = 19] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.169Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 58 (7f62d2c89c00) [pid = 1628] [serial = 83] [outer = 0] [url = about:blank]
[task 2022-11-16T18:29:48.191Z] 18:29:48     INFO - GECKO(1628) | [Child 1872: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f83a0b91bc0) [pid = 1872] [serial = 4] [outer = 0] [url = about:newtab]
[task 2022-11-16T18:29:48.243Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2635
[task 2022-11-16T18:29:48.465Z] 18:29:48     INFO - GECKO(1628) | must wait for focus
[task 2022-11-16T18:29:48.519Z] 18:29:48     INFO - GECKO(1628) | [GLX] window 2200112 has VisualID 0x41
[task 2022-11-16T18:29:48.526Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628, Renderer] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:632
[task 2022-11-16T18:29:48.527Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628, Renderer] WARNING: Robustness supported, strategy is not LOSE_CONTEXT_ON_RESET!: file /builds/worker/checkouts/gecko/gfx/gl/GLContext.cpp:995
[task 2022-11-16T18:29:48.529Z] 18:29:48     INFO - GECKO(1628) | [Parent 1628, Renderer] WARNING: robustness marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:632
[task 2022-11-16T18:29:48.534Z] 18:29:48     INFO - GECKO(1628) | [2022-11-16T18:29:48Z WARN  webrender::device::gl] Missing optimized shader source for gpu_cache_update
[task 2022-11-16T18:29:49.523Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Should have list of downloads - 
[task 2022-11-16T18:29:49.525Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Should have 1 download. - 
[task 2022-11-16T18:29:49.526Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Label 'test-download.txt' should include 'test-download' - 
[task 2022-11-16T18:29:49.527Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | First item should be selected. - 
[task 2022-11-16T18:29:49.528Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Download should have history. - 
[task 2022-11-16T18:29:49.529Z] 18:29:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | Download target should exist. - 
[task 2022-11-16T18:29:49.560Z] 18:29:49     INFO - GECKO(1628) | [2022-11-16T18:29:49Z WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2022-11-16T18:29:49.613Z] 18:29:49     INFO - History download target deleted.
[task 2022-11-16T18:29:49.614Z] 18:29:49     INFO - Leaving test bound test_about_downloads_deleteFile_for_history_download
[task 2022-11-16T18:29:49.673Z] 18:29:49     INFO - removing /tmp/dm-ui-test.file
[task 2022-11-16T18:29:49.676Z] 18:29:49     INFO - GECKO(1628) | must wait for focus
[task 2022-11-16T18:29:49.831Z] 18:29:49     INFO - GECKO(1628) | [Parent 1628, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x7f62d1038940 (http://mzl.la/1FuID0j).: file /builds/worker/checkouts/gecko/storage/mozStoragePrivateHelpers.cpp:113
[task 2022-11-16T18:29:49.846Z] 18:29:49     INFO - Interruptible responses are now allowed to continue.
[task 2022-11-16T18:29:49.901Z] 18:29:49     INFO - GECKO(1628) | [Parent 1628, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:371
[task 2022-11-16T18:29:49.952Z] 18:29:49     INFO - GECKO(1628) | [Parent 1628: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f62cd22e000 == 6 [pid = 1628] [id = 5] [url = about:downloads]
[task 2022-11-16T18:29:50.508Z] 18:29:50     INFO - GECKO(1628) | MEMORY STAT | vsize 12045MB | residentFast 679MB | heapAllocated 355MB
[task 2022-11-16T18:29:50.510Z] 18:29:50     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_context_menu_delete_file.js | took 4069ms
[task 2022-11-16T18:29:50.522Z] 18:29:50     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f20a631dc00 == 1 [pid = 1764] [id = 9]
[task 2022-11-16T18:29:50.522Z] 18:29:50     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f20c18919f0) [pid = 1764] [serial = 24] [outer = 0]
[task 2022-11-16T18:29:50.524Z] 18:29:50     INFO - GECKO(1628) | [Child 1764: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f20a631e000) [pid = 1764] [serial = 25] [outer = 7f20c18919f0]
[task 2022-11-16T18:29:50.590Z] 18:29:50     INFO - checking window state
[task 2022-11-16T18:29:50.645Z] 18:29:50     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_keynav.js
```