Closed Bug 803370 Opened 12 years ago Closed 12 years ago

Dump logcat on test failure in Marionette mozharness script

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Attachments

(1 file)

When the Marionette WebAPI mozharness script reports test failures, it can be hard to debug since we don't see logcat output. Marionette already stores this, so we can update the mozharness script to cat this if any tests fail.
Attachment #673045 - Flags: review?(aki)
Comment on attachment 673045 [details] [diff] [review] Dump logcat on test failure, Do you want to print or self.info() ? Either works, since buildbot will pick up stdout.
Attachment #673045 - Flags: review?(aki) → review+
Comment on attachment 673045 [details] [diff] [review] Dump logcat on test failure, I switched to self.info() and added a check to make sure the file is really present. http://hg.mozilla.org/build/mozharness/rev/e989efe7b0ce
Attachment #673045 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → Mozharness
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: