Closed
Bug 1072650
Opened 10 years ago
Closed 10 years ago
Fix giant wall of logcat output when connection times out
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: mdas, Assigned: mdas)
References
Details
Attachments
(1 file)
1.30 KB,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
We've been seeing giant walls of logcat output when the Marionette connection times out during a test (example: Bug 1056626) when it should just find the most recent 5 errors from logcat. Turns out this happened due to Bug 1050211, so we'll need a work around for now.
Assignee | ||
Comment 1•10 years ago
|
||
I added a check for "IOError" in case other IO errors are thrown. We should investigate in that case. This fix should make the sheriffs a little less mad.
Attachment #8494848 -
Flags: review?(dburns)
Comment 2•10 years ago
|
||
Comment on attachment 8494848 [details] [diff] [review] workaround Review of attachment 8494848 [details] [diff] [review]: ----------------------------------------------------------------- Other than my comment this is good to go ::: testing/marionette/client/marionette/runner/mixins/b2g.py @@ +74,4 @@ > error_re = re.compile(r"""[\s\S]*(exception|error)[\s\S]*""", > flags=re.IGNORECASE) > logcat = device_manager.getLogcat() > + # Due to Bug 1050211 the dreaded white-space-at-the-end-of-the-line is here... we need to remove it before it spreads!
Attachment #8494848 -
Flags: review?(dburns) → review+
Assignee | ||
Comment 3•10 years ago
|
||
thanks! fixed whitespace and pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/9940643b4eab
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9940643b4eab
Assignee: nobody → mdas
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
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
•