Closed Bug 1768059 Opened 3 years ago Closed 2 years ago

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

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox100 unaffected, firefox101 unaffected, firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: allstars.chh)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell unknown])

Attachments

(1 file)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=376997315&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ELg-g4RDSGWUFARzIs-cWA/runs/1/artifacts/public/logs/live_backing.log


 INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js
[task 2022-05-05T17:57:17.522Z] 17:57:17  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js | xpcshell return code: 0
[task 2022-05-05T17:57:17.522Z] 17:57:17     INFO -  TEST-INFO took 842ms
[task 2022-05-05T17:57:17.522Z] 17:57:17     INFO -  >>>>>>>
[task 2022-05-05T17:57:17.523Z] 17:57:17     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-05-05T17:57:17.523Z] 17:57:17     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-05-05T17:57:17.523Z] 17:57:17     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-05-05T17:57:17.523Z] 17:57:17     INFO -  running event loop
[task 2022-05-05T17:57:17.524Z] 17:57:17     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js | Starting setup check_remote
[task 2022-05-05T17:57:17.524Z] 17:57:17     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2022-05-05T17:57:17.525Z] 17:57:17     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - true == true
Regressed by: importmaps

:allstars.chh, since you are the author of the regressor, bug 1688879, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(allstars.chh)
Assignee: nobody → allstars.chh
Flags: needinfo?(allstars.chh)

Set release status flags based on info from the regressing bug 1688879

Has Regression Range: --- → yes
Summary: Intermittent [Tier 2] toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js | single tracking bug → Intermittent toolkit/components/extensions/test/xpcshell/test_ext_contentscript_importmap.js | single tracking bug
Whiteboard: [stockwell needswork:owner]

[task 2022-05-09T17:23:01.721Z] 17:23:01 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/Extension.jsm :: cleanupGeneratedFile/< :: line 3066" data: no]"]
[task 2022-05-09T17:23:01.722Z] 17:23:01 INFO - cleanupGeneratedFile/<@resource://gre/modules/Extension.jsm:3066:14
[task 2022-05-09T17:23:01.722Z] 17:23:01 INFO - _do_main@Z:\task_1652115146\build\tests\xpcshell\head.js:240:6
[task 2022-05-09T17:23:01.722Z] 17:23:01 INFO - _execute_test@Z:\task_1652115146\build\tests\xpcshell\head.js:603:5

Exception is thrown from 1, which cleanupFile is the XPI from 2.
The XPI file is removed during Extension.shutdown 3

So calling extension.unload() first.

m-c try pushes, with --rebuild 20: 4
m-c with the patch, with --rebuild 20: 5

See Also: → 1768532
Pushed by allstars.chh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/27cd39d739e9 Unload the extension first in test_ext_contentscript_importmap.js. r=robwu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: