Closed
Bug 813305
Opened 12 years ago
Closed 12 years ago
marionette.py's check_for_crash() should use "PROCESS-CRASH | %s | foo" not "TEST-UNEXPECTED-FAIL - PROCESS CRASH - %s - bar"
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox19 fixed, firefox20 fixed, b2g18 fixed)
RESOLVED
FIXED
mozilla20
People
(Reporter: emorley, Assigned: jgriffin)
References
Details
Attachments
(1 file)
914 bytes,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
...to be consistent with automation.py, peptest, mozcrash etc.
https://hg.mozilla.org/integration/mozilla-inbound/file/9f8721399b14/testing/marionette/client/marionette/marionette.py#l283
{
283 print ('TEST-UNEXPECTED-FAIL - PROCESS CRASH - %s has terminated with exit code %d' %
284 (name, returncode))
}
should be of form:
http://hg.mozilla.org/mozilla-central/file/cf8750abee06/build/automationutils.py#l168
{
168 log.info("PROCESS-CRASH | %s | application crashed (minidump found)", testName)
}
Reporter | ||
Comment 1•12 years ago
|
||
(Note we can still keep the exit codes, it's more the prefix and pipes that we need to adjust)
Assignee | ||
Comment 2•12 years ago
|
||
I think this is really two bugs:
1 - remove the TEST-UNEXPECTED-FAIL prefix from PROCESS-CRASH messages
2 - use the logging module (or mozlog) instead of print
I'll fix 1 here and file a separate bug for 2
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #697277 -
Flags: review?(ahalberstadt)
Comment 4•12 years ago
|
||
Comment on attachment 697277 [details] [diff] [review]
Make Marionette's PROCESS-CRASH message the same as other harnesses,
Review of attachment 697277 [details] [diff] [review]:
-----------------------------------------------------------------
Really this should be using mozcrash, but good enough for now.
Attachment #697277 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee: nobody → jgriffin
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
Target Milestone: --- → mozilla20
Reporter | ||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/7d4ce445cbc2
https://hg.mozilla.org/releases/mozilla-b2g18/rev/79e44e9819d5
status-b2g18:
--- → fixed
status-firefox19:
--- → fixed
status-firefox20:
--- → fixed
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•