Closed
Bug 1290375
Opened 8 years ago
Closed 8 years ago
In case of crashes for a Marionette test the current test file name has to be logged instead of runner.py
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox49 fixed, firefox50 fixed, firefox51 fixed)
RESOLVED
FIXED
mozilla51
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Keywords: pi-marionette-server)
Attachments
(1 file)
A good example you can see here: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=6e95ea056bf5805c39e141de567f16068b214307&selectedJob=32861414&filter-searchStr=e10s%20fxfn > PROCESS-CRASH | runner.py | application crashed [@ libc-2.15.so + 0xe7993] Given that lots of test harnesses have such a file we see dozen of possible bug suggestions on Treeherder. Since yesterday we even collapse all and only show a warning. As result you do not even see bug suggestions anymore. We should make sure that we log the test file name where the crash happened.
Assignee | ||
Comment 1•8 years ago
|
||
I would like to wait for bug 1202392 which might already improve the situation.
Depends on: 1202392
Assignee | ||
Comment 2•8 years ago
|
||
So the problem here is that the marionette-server side seems to fail to set the test_name correctly: https://dxr.mozilla.org/mozilla-central/source/testing/marionette/client/marionette_driver/marionette.py#1142 Because of that we are passing None into the mozcrash checker, which then simply uses runner.py.
Assignee | ||
Comment 3•8 years ago
|
||
So the if condition is not necessary at all here. In case of failures `_send_message()` would raise an exception. When removing it I get correct test file names in the crash report line:
> PROCESS-CRASH | test_addons.py TestSomething.test_crash | application crashed [@ Crash]
Assignee | ||
Comment 4•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/69556/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/69556/
Attachment #8778243 -
Flags: review?(ato)
Updated•8 years ago
|
Attachment #8778243 -
Flags: review?(ato) → review+
Comment 5•8 years ago
|
||
Comment on attachment 8778243 [details] Bug 1290375 - Marionette has to report the test name and not runner.py for crashes. https://reviewboard.mozilla.org/r/69556/#review66704
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/009c0f237a44 Marionette has to report the test name and not runner.py for crashes. r=ato
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/009c0f237a44
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Assignee | ||
Comment 8•8 years ago
|
||
This helps starring busted mariontte test jobs due to crashes. It would be great to get this backported to aurora and beta.
status-firefox49:
--- → affected
status-firefox50:
--- → affected
Whiteboard: [checkin-needed-aurora][checkin-needed-beta]
Comment 9•8 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/67df3228b1e8 https://hg.mozilla.org/releases/mozilla-beta/rev/6a680c86119d
Whiteboard: [checkin-needed-aurora][checkin-needed-beta]
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•