Closed Bug 1995058 Opened 2 months ago Closed 2 months ago

Update the timeouts of xpcshell tests

Categories

(Testing :: XPCShell Harness, task)

task

Tracking

(firefox146 fixed)

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(6 files, 1 obsolete file)

All xpcshell tests currently timeout in 300s (5m) by default, unless requesttimeoutfactor is set in the manifest. We should have a much lower default timeout, and adjust the default timeout based on the job type (platform, opt vs debug, ...).

Keywords: leave-open
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/90107538e289 https://hg.mozilla.org/integration/autoland/rev/4e72f200e3c7 add support for setting the timeoutfactor per platform in xpcshell.yml, r=jmaher,taskgraph-reviewers.
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c5d27cd7ef06 https://hg.mozilla.org/integration/autoland/rev/a67329b92a15 Revert "Bug 1995058 - add support for setting the timeoutfactor per platform in xpcshell.yml, r=jmaher,taskgraph-reviewers." for causing gecko decions tasks failures.

Backed out for causing gecko decions tasks failures.

Flags: needinfo?(florian)
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c221107ad820 https://hg.mozilla.org/integration/autoland/rev/d671316067c6 add support for setting the timeoutfactor per platform in xpcshell.yml, r=jmaher,taskgraph-reviewers. https://github.com/mozilla-firefox/firefox/commit/f67732d0a308 https://hg.mozilla.org/integration/autoland/rev/7b03d723a483 set xpcshell timeout factors per platform, r=jmaher. https://github.com/mozilla-firefox/firefox/commit/c06f392aef6a https://hg.mozilla.org/integration/autoland/rev/a5b433131296 remove existing requesttimeoutfactor annotations in xpcshell test manifests, r=jmaher,necko-reviewers,extension-reviewers,dom-storage-reviewers,janv,valentin,robwu. https://github.com/mozilla-firefox/firefox/commit/ea144b096178 https://hg.mozilla.org/integration/autoland/rev/560c2aa14714 set requesttimeoutfactor annotations for xpcshell tests that exceed the new 30s default timeout, r=jmaher,necko-reviewers,extension-reviewers,dom-storage-reviewers,migration-reviewers,toolkit-telemetry-reviewers,sthompson,janv,valentin,robwu,janerik. https://github.com/mozilla-firefox/firefox/commit/4ce73f1fabb1 https://hg.mozilla.org/integration/autoland/rev/e96d09168e55 set the default xpcshell test timeout to 30s, r=jmaher. https://github.com/mozilla-firefox/firefox/commit/621b1c494173 https://hg.mozilla.org/integration/autoland/rev/1a990500e490 document requesttimeoutfactor in the xpcshell test documentation, r=jmaher,Standard8.
Blocks: 1995627
See Also: → 1995666

The test timing out on Thunderbird CI, and is super slow locally as well, takes almost 90s for me.

Regressions: 1995905
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Flags: needinfo?(florian)
Keywords: leave-open
Resolution: --- → FIXED
Attachment #9521652 - Attachment is obsolete: true
Target Milestone: --- → 146 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: