Closed Bug 1456746 Opened 6 years ago Closed 6 years ago

Startup/Shutdown timeout for Firefox needs to be increased to 70s

Categories

(Testing :: web-platform-tests, enhancement, P1)

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(1 file)

Currently the shutdown timeout for Firefox is set to 60s, which means the background hang monitor thread won't be able to kick in after 65s in case Firefox hangs during shutdown. As result we won't see a crash with stack of the hang.

https://dxr.mozilla.org/mozilla-central/rev/26e53729a10976f52e75efa44e17b5e054969fec/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/firefox.py#143

We should consider to increase this timeout maybe to 70s. But then it would only work for opt and debug builds. ASAN builds have a delay of 180s.

So maybe we should take the pref `toolkit.asyncshutdown.crash_timeout` into account.

James would you be ok with just doing the first step for now? All of our hangs happen for opt/pgo builds, and I really would like to see more crash reports for such hangs.
Flags: needinfo?(james)
Sure. Are you going to make a patch?
Flags: needinfo?(james)
(In reply to James Graham [:jgraham] from comment #1)
> Sure. Are you going to make a patch?

Sorry, I completely missed your reply here. Yes, I can provide a patch for it.

I will also bump the startup timeout to 70s so that we are able to catch possible startup crashes + involved hangs of content processes.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: Shutdown time for Firefox needs to be increased to 70s → Startup/Shutdown timeout for Firefox needs to be increased to 70s
Attachment #8996947 - Flags: review?(james)
Comment on attachment 8996947 [details]
Bug 1456746 - [wpt] Startup/Shutdown timeout for Firefox needs to be increased to 70s.

https://reviewboard.mozilla.org/r/260934/#review267986
Attachment #8996947 - Flags: review?(james) → review+
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/bc1ce2b7d82a
[wpt] Startup/Shutdown timeout for Firefox needs to be increased to 70s. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/12275 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
https://hg.mozilla.org/mozilla-central/rev/bc1ce2b7d82a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: