Intermittent toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Uncaught exception - [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FIL
Categories
(Toolkit :: Downloads API, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox-esr91 | --- | fixed |
| firefox92 | --- | unaffected |
| firefox93 | --- | wontfix |
| firefox94 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: mak)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disabled])
Attachments
(2 files)
Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=329669557&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Tpa0ws_8Tt-HXhQ03oUzpw/runs/0/artifacts/public/logs/live_backing.log
[task 2021-02-11T20:20:46.766Z] 20:20:46 INFO - TEST-START | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js
[task 2021-02-11T20:20:46.766Z] 20:20:46 INFO - GECKO(8716) | Chrome file doesn't exist: Z:\task_1613072539\build\tests\mochitest\browser\toolkit\mozapps\downloads\tests\browser\head.js
[task 2021-02-11T20:20:46.776Z] 20:20:46 INFO - GECKO(8716) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 000001978F97D800 == 3 [pid = 7120] [id = 2]
[task 2021-02-11T20:20:46.776Z] 20:20:46 INFO - GECKO(8716) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (000001978F9BC200) [pid = 7120] [serial = 5] [outer = 0000000000000000]
[task 2021-02-11T20:20:46.776Z] 20:20:46 INFO - GECKO(8716) | [Child 7120: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (000001978F980C00) [pid = 7120] [serial = 6] [outer = 000001978F9BC200]
[task 2021-02-11T20:20:46.814Z] 20:20:46 INFO - GECKO(8716) | [Child 4032: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0000014A63FAE800 == 1 [pid = 4032] [id = 0] [url = about:blank]
[task 2021-02-11T20:20:46.814Z] 20:20:46 INFO - GECKO(8716) | [Child 4032: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0000014A63FA7C00 == 0 [pid = 4032] [id = 1] [url = about:blank]
[task 2021-02-11T20:20:46.855Z] 20:20:46 INFO - GECKO(8716) | [Child 4032: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0000014A65A1A040) [pid = 4032] [serial = 5] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-11T20:20:46.916Z] 20:20:46 INFO - GECKO(8716) | JavaScript error: resource://pdf.js/PdfStreamConverter.jsm, line 1089: NS_ERROR_FAILURE: Ignore PDF.js for this download.
[task 2021-02-11T20:20:46.917Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:238
[task 2021-02-11T20:20:46.917Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:338
[task 2021-02-11T20:20:46.940Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 000001CB3A308400 == 11 [pid = 8216] [id = 11]
[task 2021-02-11T20:20:46.940Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (000001CB3472BAC0) [pid = 8216] [serial = 24] [outer = 0000000000000000]
[task 2021-02-11T20:20:46.940Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (000001CB3CFB9000) [pid = 8216] [serial = 25] [outer = 000001CB3472BAC0]
[task 2021-02-11T20:20:46.950Z] 20:20:46 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2021-02-11T20:20:47.010Z] 20:20:47 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4254
[task 2021-02-11T20:20:47.070Z] 20:20:47 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2729
[task 2021-02-11T20:20:47.191Z] 20:20:47 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:338
[task 2021-02-11T20:20:47.272Z] 20:20:47 INFO - GECKO(8716) | [Parent 8216, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2283
[task 2021-02-11T20:20:47.414Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001CB71C71400 == 3 [pid = 4432] [id = 2] [url = about:blank]
[task 2021-02-11T20:20:47.414Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001CB718AA800 == 2 [pid = 4432] [id = 0] [url = chrome://gfxsanity/content/sanitytest.html]
[task 2021-02-11T20:20:47.414Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001CB71C71000 == 1 [pid = 4432] [id = 1] [url = about:blank]
[task 2021-02-11T20:20:47.452Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (000001CB718D2E40) [pid = 4432] [serial = 1] [outer = 0000000000000000] [url = chrome://gfxsanity/content/sanitytest.html]
[task 2021-02-11T20:20:47.452Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (000001CB71C22200) [pid = 4432] [serial = 4] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-11T20:20:47.452Z] 20:20:47 INFO - GECKO(8716) | [Child 4432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (000001CB71C223C0) [pid = 4432] [serial = 6] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-11T20:20:47.490Z] 20:20:47 INFO - TEST-INFO | started process screenshot
[task 2021-02-11T20:20:47.560Z] 20:20:47 INFO - TEST-INFO | screenshot: exit 0
[task 2021-02-11T20:20:47.561Z] 20:20:47 INFO - Buffered messages logged at 20:20:46
[task 2021-02-11T20:20:47.561Z] 20:20:47 INFO - Entering test bound test_download_filename_extension
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Ignore PDF.js for this download." {file: "resource://pdf.js/PdfStreamConverter.jsm" line: 1089}]
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - getConvertedType@resource://pdf.js/PdfStreamConverter.jsm:1089:15
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO -
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - Buffered messages logged at 20:20:47
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - TEST-PASS | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Should not duplicate extension -
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - Buffered messages finished
[task 2021-02-11T20:20:47.562Z] 20:20:47 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Uncaught exception - [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: chrome://mochitests/content/browser/toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js :: test_download_filename_extension :: line 45" data: no]```
| Comment hidden (Intermittent Failures Robot) |
Comment 2•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 3•5 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=337576984&repo=mozilla-beta&lineNumber=9833
| Comment hidden (Intermittent Failures Robot) |
Comment 5•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 6•5 years ago
|
||
Recent log:
https://treeherder.mozilla.org/logviewer?job_id=340189869&repo=mozilla-central&lineNumber=62453
INFO - TEST-START | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js
[task 2021-04-23T21:05:36.664Z] 21:05:36 INFO - GECKO(3744) | JavaScript error: resource://pdf.js/PdfStreamConverter.jsm, line 1148: NS_ERROR_FAILURE: Ignore PDF.js for this download.
[task 2021-04-23T21:05:36.993Z] 21:05:36 INFO - TEST-INFO | started process screenshot
[task 2021-04-23T21:05:37.056Z] 21:05:37 INFO - TEST-INFO | screenshot: exit 0
[task 2021-04-23T21:05:37.057Z] 21:05:37 INFO - Buffered messages logged at 21:05:36
[task 2021-04-23T21:05:37.057Z] 21:05:37 INFO - Entering test bound test_download_filename_extension
[task 2021-04-23T21:05:37.058Z] 21:05:37 INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Ignore PDF.js for this download." {file: "resource://pdf.js/PdfStreamConverter.jsm" line: 1148}]
[task 2021-04-23T21:05:37.058Z] 21:05:37 INFO - getConvertedType@resource://pdf.js/PdfStreamConverter.jsm:1148:15
[task 2021-04-23T21:05:37.058Z] 21:05:37 INFO -
[task 2021-04-23T21:05:37.059Z] 21:05:37 INFO - TEST-PASS | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Should not duplicate extension -
[task 2021-04-23T21:05:37.060Z] 21:05:37 INFO - Buffered messages finished
[task 2021-04-23T21:05:37.060Z] 21:05:37 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Uncaught exception - [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: chrome://mochitests/content/browser/toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js :: test_download_filename_extension :: line 45" data: no]
[task 2021-04-23T21:05:37.060Z] 21:05:37 INFO - Stack trace:
[task 2021-04-23T21:05:37.060Z] 21:05:37 INFO - test_download_filename_extension@chrome://mochitests/content/browser/toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js:45:5
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - Leaving test bound test_download_filename_extension
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - GECKO(3744) | MEMORY STAT | vsize 788MB | vsizeMaxContiguous 724MB | residentFast 226MB | heapAllocated 106MB
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - TEST-OK | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | took 419ms
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Found an unexpected tab at the end of test run: about:blank -
[task 2021-04-23T21:05:37.061Z] 21:05:37 INFO - checking window state
[task 2021-04-23T21:05:37.471Z] 21:05:37 INFO - GECKO(3744) | [Parent 2272, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-04-23T21:05:38.326Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 6020
[task 2021-04-23T21:05:38.326Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 1420
[task 2021-04-23T21:05:38.326Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 1900
[task 2021-04-23T21:05:38.341Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 5564
[task 2021-04-23T21:05:38.341Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 3308
[task 2021-04-23T21:05:38.624Z] 21:05:38 INFO - GECKO(3744) | Completed ShutdownLeaks collections in process 2272
[task 2021-04-23T21:05:38.624Z] 21:05:38 INFO - TEST-START | Shutdown
| Comment hidden (Intermittent Failures Robot) |
Comment 8•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 9•5 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=343613248&repo=autoland&lineNumber=9589
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 20•4 years ago
|
||
Update:
There have been 30 failures within the last 7 days:
- 4 failures on Windows 10 x64 2004 asan WebRender opt
- 20 failures on Windows 10 x64 2004 WebRender debug/opt
- 6 failures on Windows 10 x64 2004 WebRender Shippable opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=350571899&repo=mozilla-central&lineNumber=9082
[task 2021-09-04T23:17:51.390Z] 23:17:51 INFO - TEST-PASS | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Should not duplicate extension -
[task 2021-09-04T23:17:51.391Z] 23:17:51 INFO - Buffered messages finished
[task 2021-09-04T23:17:51.392Z] 23:17:51 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | Uncaught exception - [Exception... "Component returned failure code: 0x8052000e (NS_ERROR_FILE_IS_LOCKED) [nsIFile.remove]" nsresult: "0x8052000e (NS_ERROR_FILE_IS_LOCKED)" location: "JS frame :: chrome://mochitests/content/browser/toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js :: test_download_filename_extension :: line 45" data: no]
[task 2021-09-04T23:17:51.392Z] 23:17:51 INFO - Stack trace:
[task 2021-09-04T23:17:51.393Z] 23:17:51 INFO - test_download_filename_extension@chrome://mochitests/content/browser/toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js:45:5
[task 2021-09-04T23:17:51.393Z] 23:17:51 INFO - Leaving test bound test_download_filename_extension
[task 2021-09-04T23:17:51.394Z] 23:17:51 INFO - GECKO(7020) | MEMORY STAT | vsize 19406204MB | vsizeMaxContiguous 65344820MB | residentFast 907MB
[task 2021-09-04T23:17:51.394Z] 23:17:51 INFO - TEST-OK | toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_extension.js | took 691ms
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 23•4 years ago
|
||
Frequent new failure from the AWS to Azure migration. What's the next step for the test?
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 25•4 years ago
•
|
||
we should probably use a random file name and ignore removal failures, probably also use IOUtils while there. I suspect the fact this file is an exe is triggering some kind of check keeping it locked.
| Assignee | ||
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 29•4 years ago
|
||
Updated•4 years ago
|
Comment 30•4 years ago
|
||
Updated•4 years ago
|
Comment 31•4 years ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 33•4 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 37•4 years ago
|
||
Comment 38•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment 42•4 years ago
|
||
| bugherder uplift | ||
Description
•