Closed Bug 2075298 Opened 28 days ago Closed 17 days ago

Include terminator timeout value for the "moz:shutdownTimeout" capability

Categories

(Remote Protocol :: Agent, task, P3)

task
Points:
2

Tracking

(firefox159 fixed)

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m22])

Attachments

(1 external file)

On bug 2074099 the preference toolkit.asyncshutdown.crash_timeout_additional_wait was added to all.js with a default value of 10. We should add this value on top of the already used toolkit.asyncshutdown.crash_timeout value for the moz:shutdownTimeout capability.

This can then correctly be picked up by geckodriver on bug 1443922 to not force-kill Firefox too early.

Jens, just to verify before I attach a patch to this bug. Is it enough to wait crash_timeout + crash_timeout_additional_wait, or should we add some more seconds on top of that sum to not still kill the Firefox process too early?

Flags: needinfo?(jstutte)

I'd probably add some buffer on top.

Flags: needinfo?(jstutte)
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c6e09026e4f9 https://hg.mozilla.org/integration/autoland/rev/9d3cd9fae279 [remote] Include terminator timeout value for the "moz:shutdownTimeout" capability. r=webdriver-reviewers,Sasha,jstutte
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m22]
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch

As I just noticed the 3s as extra buffer that I added seem to be too less even for opt builds. We still kill Firefox and miss the crash report from the shutdown hang:

https://treeherder.mozilla.org/logviewer?job_id=601957691&repo=try&task=Ld627C9NSg-0B7fbVIGS0w.0&lineNumber=148276-148279

We should increase the number maybe to 10s to be on the safe side. I'll trigger some additional try jobs to see which value might be optimal.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: