Closed Bug 1803801 Opened 2 years ago Closed 2 years ago

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

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(firefox-esr102 unaffected, firefox107 unaffected, firefox108 unaffected, firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox107 --- unaffected
firefox108 --- unaffected
firefox109 --- fixed

People

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

References

(Regression)

Details

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

Attachments

(1 file)

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


[task 2022-12-02T15:44:46.382Z] 15:44:46     INFO -  TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_static_rules.js
[task 2022-12-02T15:49:46.383Z] 15:49:46  WARNING -  TEST-UNEXPECTED-TIMEOUT | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_static_rules.js | Test timed out
[task 2022-12-02T15:49:46.391Z] 15:49:46     INFO -  TEST-INFO took 300001ms
[task 2022-12-02T15:49:46.391Z] 15:49:46     INFO -  >>>>>>>
[task 2022-12-02T15:49:46.392Z] 15:49:46     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-12-02T15:49:46.392Z] 15:49:46     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-12-02T15:49:46.393Z] 15:49:46     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-12-02T15:49:46.393Z] 15:49:46     INFO -  running event loop
[task 2022-12-02T15:49:46.394Z] 15:49:46     INFO -  xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_static_rules.js | Starting setup check_remote
[task 2022-12-02T15:49:46.395Z] 15:49:46     INFO -  (xpcshell/head.js) | test check_remote pending (2)
[task 2022-12-02T15:49:46.395Z] 15:49:46     INFO -  TEST-PASS | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dnr_static_rules.js | check_remote - [check_remote : 1] useRemoteWebExtensions matches - true == true
Flags: needinfo?(lgreco)
Regressed by: 1745763
Whiteboard: [retriggered]

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

Assignee: nobody → lgreco
Status: NEW → ASSIGNED

Push to try (and a bunch of reruns of the tsan job) of the patch attached seems to confirm the original suspicious I had, the tsan builds may be taking long enough for the test extension test page to be suspended while still waiting for the API call to have been fully handled and that gets the test to be stuck and then trigger the timeout failure.

As a short term workaround, the attached patch does currently disable the "suspend on idle" behavior while running that particular test case, which prevented the test extension from being suspended and that was making the test to pass consistently the tsan job (I re-executed the job 13 times in my try push).

Flags: needinfo?(lgreco)
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/62aaecab14e9
Disable suspend on idle timeout in test_getAvailableStaticRulesCountAndLimits DNR API test task. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: