Closed Bug 1684006 Opened 3 years ago Closed 3 years ago

Intermittent uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should also match file_as.exe - Got "file_as(1).exe", expected "file_as.exe"

Categories

(Firefox :: File Handling, defect, P5)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- fixed
firefox86 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: Gijs)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | binary/octet-stream should get an extension - 
[task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - Console message: [JavaScript Error: "TypeError: can't access property "postShowCallback", this.dialog is null" {file: "resource://gre/modules/HelperAppDlg.jsm" line: 615}]
[task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - initDialog/<@resource://gre/modules/HelperAppDlg.jsm:615:7
[task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - 
[task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - Download changed!
[task 2020-12-23T06:23:56.103Z] 06:23:56     INFO - Download succeeded or errored
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - Buffered messages finished
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should also match file_as.exe - Got "file_as(1).exe", expected "file_as.exe"
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - Stack trace:
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_extension_correction.js:checkDownloadWithExtensionState:79
[task 2020-12-23T06:23:56.104Z] 06:23:56     INFO - Leaving test bound test_broken_saved_handlerinfo_and_useless_mimetypes
[task 2020-12-23T06:23:56.105Z] 06:23:56     INFO - Console message: [JavaScript Error: "Unix error 2 during operation setPermissions on file /Users/cltbld/Downloads/file_as(1).exe (No such file or directory)" {file: "resource://gre/modules/DownloadIntegration.jsm" line: 683}]
[task 2020-12-23T06:23:56.105Z] 06:23:56     INFO - downloadDone@resource://gre/modules/DownloadIntegration.jsm:683:12
[task 2020-12-23T06:23:56.105Z] 06:23:56     INFO - 
[task 2020-12-23T06:23:56.105Z] 06:23:56     INFO - GECKO(2428) | MEMORY STAT | vsize 7891MB | residentFast 443MB | heapAllocated 177MB```
Has Regression Range: --- → yes
Assignee: nobody → gijskruitbosch+bugs
Flags: needinfo?(gijskruitbosch+bugs)

This is the same thing browser/components/downloads/test/browser/head.js already does,
and it ensures that we don't leave downloads behind in race conditions, and that that
doesn't break future tests.

Attachment #9195885 - Attachment description: Bug 1684006 - use the temp dir for downloads in uriloader tests, r?mak,jaws → Bug 1684006 - use the temp dir for downloads in uriloader tests, r?mak
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ac1a9dda65ed
use the temp dir for downloads in uriloader tests, r=mak
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ee8548507043
use the temp dir for downloads in uriloader tests, r=mak
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Flags: needinfo?(gijskruitbosch+bugs)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: