devtools test might run into race on process kill with forkserver
Categories
(DevTools :: Framework, defect)
Tracking
(firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
Attachments
(1 file)
From backout https://bugzilla.mozilla.org/show_bug.cgi?id=1896054#c11
TEST-UNEXPECTED-FAIL | devtools/client/framework/test/browser_toolbox_many_toggles.js | uncaught exception - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProcessToolsService.kill] at manyTogglesWithContentProcessDestructionsInBackground/interval<@chrome://mochitests/content/browser/devtools/client/framework/test/browser_toolbox_many_toggles.js:33:20
it looks like we have the following cinematic of execution where when we enable forkserver, kill(PID)
is done twice (as without forkserver) but the second one returns ESRCH
.
Upon all investigation, I have not been able to prove those process would be left hanging around and it rather suggests they are disappearing a little bit faster than they used to, enough that we still see them in https://searchfox.org/mozilla-central/rev/ab488b411ff15c2e11dbd4d6be0455bb64bc8fc1/devtools/client/framework/test/browser_toolbox_many_toggles.js#27-29 but that by the time we kill https://searchfox.org/mozilla-central/rev/ab488b411ff15c2e11dbd4d6be0455bb64bc8fc1/devtools/client/framework/test/browser_toolbox_many_toggles.js#33 they are gone.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 1•4 months ago
|
||
Comment 2•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Framework' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•4 months ago
|
||
bugherder |
Description
•