Unexpected shutdown of the browser hangs Raptor
Categories
(Testing :: Raptor, defect, P1)
Tracking
(firefox77 fixed)
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [perftest:triage])
Attachments
(1 file)
When I start any kind of Raptor job and then force kill the application via Cmd+Q Raptor hangs. As it looks like we are not correctly checking the process' exit code on a regular basis while the tests are running.
This could cause various hangs without proper reporting. Maybe even related to bug 1627867 when geckoview_example gets killed by the system.
Comment 1•5 years ago
|
||
Where in the execution do you run Cmd+Q? Is it equivalent to Ctrl+C? I'm asking because I haven't hit this issue before and I use Ctrl+C a lot.
| Assignee | ||
Comment 2•5 years ago
|
||
Just close the browser. Feel free to also use "Firefox | Quit Firefox".
| Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Oh ok! Thanks for clarifying.
| Assignee | ||
Comment 4•5 years ago
•
|
||
Note that if the application quits without a generated minidump it might show up on Treeherder as Connection to Raptor webextension failed!, or even task aborted. I didn't wait long enough to check which timeout we actually hit.
Comment 5•5 years ago
|
||
Here is where we should close the browser after the timeout is finished:
https://searchfox.org/mozilla-central/search?q=wait_for_test_finish&case=true&path=
| Assignee | ||
Comment 6•5 years ago
|
||
As just verified also with the upcoming patch for bug 1630952 - when Firefox closes itself for a content crash - Raptor hangs around for about 25 minutes.
Checking the process regularly will also have an effect for CI costs.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
This works great and also enables us to see crashes of Chrome:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a985bde0d1ef815fd52d34e6ecdcab146b3a0bc2
Comment 10•5 years ago
|
||
| bugherder | ||
Description
•