Fix test failures when browser.download.improvements_to_download_panel pref is true
Categories
(Firefox :: Downloads Panel, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mtigley, Assigned: mtigley)
References
Details
(Whiteboard: [fidefe-Outreachy2021])
Attachments
(14 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1724319 - Stop this test from depending on the download modal for starting a download. r=mtigley
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
This issue is for identifying test failures when the browser.download.improvements_to_download_panel
pref is true.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:mtigley, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•3 years ago
|
||
I'm not sure why this hasn't landed, I'll let Micah answer this when she's back from PTO.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
This patch hasn't landed yet since the test needs to be adjusted to cleanup any created .part files.
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Backed out for causing failures on browser_download_overwrite.js. CLOSED TREE
Backout link : https://hg.mozilla.org/integration/autoland/rev/f8b4a8e59e4e0e2f1b38a8535f9af44279af363f
Push with failures : https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=CikCToF7RbGNH2sZa7pulw.0&resultStatus=success%2Cpending%2Crunning%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=linux%2C18.04%2Cx64%2Cwebrender%2Cdebug%2Cmochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-qr%2Fdebug-mochitest-browser-chrome-swr-e10s%2Cbc1&revision=75a253b872d49bc6a43fef3862e399861c0e184e
Link to failure log : https://treeherder.mozilla.org/logviewer?job_id=351489228&repo=autoland&lineNumber=2791
Assignee | ||
Comment 12•3 years ago
|
||
(In reply to Cristina Cozmuta (:CrissCozmuta) from comment #11)
Backed out for causing failures on browser_download_overwrite.js. CLOSED TREE
Backout link : https://hg.mozilla.org/integration/autoland/rev/f8b4a8e59e4e0e2f1b38a8535f9af44279af363f
Push with failures : https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=CikCToF7RbGNH2sZa7pulw.0&resultStatus=success%2Cpending%2Crunning%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=linux%2C18.04%2Cx64%2Cwebrender%2Cdebug%2Cmochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-qr%2Fdebug-mochitest-browser-chrome-swr-e10s%2Cbc1&revision=75a253b872d49bc6a43fef3862e399861c0e184e
Link to failure log : https://treeherder.mozilla.org/logviewer?job_id=351489228&repo=autoland&lineNumber=2791
It looks like the failures are related to just browser_download_overwrite.js. It seems to only happen on Linux 18.04 with WebRender enabled...which I'm not sure why yet.
In the meantime, I'll go ahead and land the first part of this patch queue.
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
bugherder |
Comment 15•3 years ago
|
||
Comment 16•3 years ago
|
||
Updated•3 years ago
|
Comment 17•3 years ago
|
||
bugherder |
Comment 18•3 years ago
|
||
Comment 19•3 years ago
|
||
bugherder |
Comment 20•3 years ago
|
||
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Comment 22•3 years ago
|
||
Comment 23•3 years ago
|
||
Comment 24•3 years ago
|
||
Backed out 0b69342ce707 for failures on browser_test_data_text_csv
-
backout: https://hg.mozilla.org/integration/autoland/rev/fe7fd9b31da5356183e5e45c0b20a686c821db86
-
tier 1 failure appeared on a subsequent push
-
failure log: https://treeherder.mozilla.org/logviewer?job_id=352168160&repo=autoland&lineNumber=3887
[task 2021-09-20T23:32:31.275Z] 23:32:31 INFO - TEST-PASS | dom/security/test/general/browser_test_data_text_csv.js | file name of download should match -
[task 2021-09-20T23:32:31.275Z] 23:32:31 INFO - Leaving test bound test_with_downloads_improvement_pref_disabled
[task 2021-09-20T23:32:31.276Z] 23:32:31 INFO - Entering test bound test_with_downloads_improvement_pref_enabled
[task 2021-09-20T23:32:31.276Z] 23:32:31 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/dom/security/test/general/file_data_text_csv.html" line: 0}]
[task 2021-09-20T23:32:31.277Z] 23:32:31 INFO - Buffered messages finished
[task 2021-09-20T23:32:31.278Z] 23:32:31 INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_text_csv.js | Test timed out -
[task 2021-09-20T23:32:31.279Z] 23:32:31 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-20T23:32:31.279Z] 23:32:31 INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_text_csv.js | Uncaught exception received from previously timed out test - popupshown listener on #downloadsPanel not removed before the end of test
[task 2021-09-20T23:32:31.279Z] 23:32:31 INFO - GECKO(2628) | MEMORY STAT | vsize 3052MB | residentFast 318MB | heapAllocated 191MB
[task 2021-09-20T23:32:31.279Z] 23:32:31 INFO - TEST-OK | dom/security/test/general/browser_test_data_text_csv.js | took 45009ms
Comment 25•3 years ago
|
||
bugherder |
Assignee | ||
Comment 26•3 years ago
|
||
(In reply to Natalia Csoregi [:nataliaCs] from comment #24)
Backed out 0b69342ce707 for failures on browser_test_data_text_csv
backout: https://hg.mozilla.org/integration/autoland/rev/fe7fd9b31da5356183e5e45c0b20a686c821db86
tier 1 failure appeared on a subsequent push
failure log: https://treeherder.mozilla.org/logviewer?job_id=352168160&repo=autoland&lineNumber=3887
I suspect we're not cleaning up properly in the previous test dom\security\test\general\browser_test_data_download.js
. I've checked out a recent pull from central with this patch applied and it looks like we're getting a new failure when running the whole test directory:
dom/security/test/general/browser_test_data_download.js
FAIL Uncaught exception - at chrome://mochitests/content/browser/dom/security/test/general/browser_test_data_download.js:108 - TypeError: can't access property Symbol.iterator, downloads._downloads is undefined
Stack trace:
test_with_downloads_pref_enabled@chrome://mochitests/content/browser/dom/security/test/general/browser_test_data_download.js:108:20
dom/security/test/general/browser_test_data_text_csv.js
FAIL File contentType should be correct. - Got "text/html", expected "text/csv"
Stack trace:
chrome://mochikit/content/browser-test.js:test_is:1364
chrome://mochitests/content/browser/dom/security/test/general/browser_test_data_text_csv.js:test_with_downloads_improvement_pref_enabled:81
FAIL File name should be correct. - Got "data:text/html,<body>data download</body>", expected "data:text/csv;foo,bar,foobar"
Stack trace:
chrome://mochikit/content/browser-test.js:test_is:1364
chrome://mochitests/content/browser/dom/security/test/general/browser_test_data_text_csv.js:test_with_downloads_improvement_pref_enabled:82
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 27•3 years ago
|
||
Comment 28•3 years ago
|
||
bugherder |
Comment 29•3 years ago
|
||
Updated•3 years ago
|
Comment 30•3 years ago
|
||
Comment 31•3 years ago
|
||
Comment 32•3 years ago
|
||
Comment 33•3 years ago
|
||
- Adjust the test's assertions to expect the download panel to open and a new download entry to be created when the
browser.download.improvements_to_download_panel
pref is true
Comment 34•3 years ago
|
||
bugherder |
Comment 35•3 years ago
|
||
Comment 36•3 years ago
|
||
Comment 37•3 years ago
|
||
bugherder |
Comment 38•3 years ago
|
||
Updated•3 years ago
|
Comment 39•3 years ago
|
||
Comment 40•3 years ago
|
||
Comment 41•3 years ago
|
||
bugherder |
Comment 42•3 years ago
|
||
Comment 43•3 years ago
|
||
Comment 44•3 years ago
|
||
bugherder |
Comment 45•3 years ago
|
||
Comment 46•3 years ago
|
||
bugherder |
Comment 47•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 48•3 years ago
|
||
Comment 49•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Comment 50•3 years ago
|
||
We're done! 🎉
Updated•3 years ago
|
Updated•3 years ago
|
Description
•