Closed
Bug 1193738
Opened 10 years ago
Closed 9 years ago
Use mozcrash.kill_and_get_minidump in xpcshell harness
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1316309
People
(Reporter: ted, Assigned: ted)
References
()
Details
Attachments
(1 file)
|
40 bytes,
text/x-review-board-request
|
Details |
Since bug 890026 finally landed, we should switch the xpcshell harness to use mozcrash.kill_and_get_minidump instead of Automation.killAndGetStackNoScreenshot (which would remove the harness' dependency on automation.py, which is nice).
Updated•10 years ago
|
Assignee: nobody → cmanchester
Comment 1•10 years ago
|
||
Ted mentioned taking this on IRC (if that's no longer true I'm happy to do it).
Assignee: cmanchester → ted
| Assignee | ||
Comment 2•10 years ago
|
||
It's cool, I'll do it.
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
bug 1193738 - use mozcrash.kill_and_get_minidump in xpcshell harness. r?chmanchester
Attachment #8647603 -
Flags: review?(cmanchester)
Comment 5•10 years ago
|
||
Comment on attachment 8647603 [details]
MozReview Request: bug 1193738 - use mozcrash.kill_and_get_minidump in xpcshell harness. r?chmanchester
https://reviewboard.mozilla.org/r/16019/#review14339
::: testing/xpcshell/runxpcshelltests.py:760
(Diff revision 1)
> if self.checkForCrashes(self.tempDir, self.symbolsPath, test_name=name):
> if self.retry:
> self.clean_temp_dirs(path)
> return
We get here now when a test times out but is eligible to retry, so we print the dumps and turn the job orange.
All this retry logic is already pretty convoluted, but a thing to do would be to not check for crashes if we're going to retry.
Attachment #8647603 -
Flags: review?(cmanchester)
| Assignee | ||
Comment 6•10 years ago
|
||
| Assignee | ||
Comment 7•10 years ago
|
||
This is looking a lot greener. I'll try another push with a forced hang to sanity check that it works on Try, and I'll see if I can update our existing hang test to more fully test this case.
| Assignee | ||
Comment 8•10 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e1543315a655 is that push with a forced hang. It's *close*, in that we kill the process and get a stack, but we hit an error trying to kill the process again. I'll fix that up and get a new patch up.
| Assignee | ||
Comment 9•9 years ago
|
||
ahal has a patch in bug 1316309
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•