Closed Bug 1825955 Opened 1 year ago Closed 10 months ago

Intermittent toolkit/components/extensions/test/xpcshell/test_ext_dnr_download.js | single tracking bug

Categories

(WebExtensions :: Request Handling, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered])

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


task 2023-04-01T18:07:09.880Z] 18:07:09     INFO -  TEST-START | toolkit/xre/test/test_launch_without_hang.js
[task 2023-04-01T18:07:14.846Z] 18:07:14     INFO -  TEST-PASS | toolkit/xre/test/test_launch_without_hang.js | took 4967ms
[task 2023-04-01T18:07:14.858Z] 18:07:14     INFO -  Retrying tests that failed when run in parallel.
[task 2023-04-01T18:07:14.866Z] 18:07:14     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_download.js
[task 2023-04-01T18:12:14.882Z] 18:12:14  WARNING -  TEST-UNEXPECTED-TIMEOUT | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_download.js | Test timed out
[task 2023-04-01T18:12:14.883Z] 18:12:14     INFO -  TEST-INFO took 300017ms
[task 2023-04-01T18:12:14.883Z] 18:12:14     INFO -  >>>>>>>
[task 2023-04-01T18:12:14.883Z] 18:12:14     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-04-01T18:12:14.883Z] 18:12:14     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-04-01T18:12:14.884Z] 18:12:14     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-04-01T18:12:14.884Z] 18:12:14     INFO -  running event loop
[task 2023-04-01T18:12:14.884Z] 18:12:14     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_download.js | Starting setup check_remote
[task 2023-04-01T18:12:14.884Z] 18:12:14     INFO -  (xpcshell/head.js) | test check_remote pending (2)

:robwu, since you are the author of the regressor, bug 1810753, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(rob)

While bug 1810753 introduced the test for extra coverage, the implementation changes is not the cause of the failure.

It is unfortunately a known issue: on Windows, attempting to remove a download after it was downloaded does not always work because the file is locked. In the test I already referenced bug 1654819 as a potential cause of another potential intermittent failure.

To help with tracking this class of bugs more accurately, I'm going to file a new bug that is a dependency of this bug and other bugs related to this.

FYI, the relevant part of the log is:

(xpcshell/head.js) | test test_download_api_ignores_dnr_from_other_extension pending (2)
"Extension attached"
"Extension attached"
(xpcshell/head.js) | test run_next_test 3 finished (2)
"Download completed, removing file..."
"CONSOLE_MESSAGE: (error) [JavaScript Error: "Win error 32 during operation remove on file C:\Users\task_168037122166137\AppData\Local\Temp\xpc-profile-2hwh7_r6\temp\downloadDirForDnrDownloadTest\example_from_other_ext.txt (The process cannot access the file because it is being used by another process.
)" {file: "resource://gre/modules/ExtensionCommon.jsm" line: 826}]
normalizeError@resource://gre/modules/ExtensionCommon.jsm:826:10
recvAPICall/<@resource://gre/modules/ExtensionParent.jsm:1180:29
_do_main@Z:\task_168037122166137\build\tests\xpcshell\head.js:238:6
_execute_test@Z:\task_168037122166137\build\tests\xpcshell\head.js:585:5
@-e:1:1
"
PID 6776 | JavaScript error: (unknown module), line 0: Error: An unexpected error occurred
"CONSOLE_MESSAGE: (error) [JavaScript Error: "Error: An unexpected error occurred" {file: "(unknown module)" line: 0}]"

Flags: needinfo?(rob)
Keywords: regression
No longer regressed by: 1810753
Depends on: 1825957
Whiteboard: [retriggered]
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.