Closed
Bug 736920
Opened 12 years ago
Closed 12 years ago
mochitest-robocop log parser shouldn't repeat the whole test log, particularly not with spurious blank lines
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla14
People
(Reporter: philor, Assigned: jmaher)
References
Details
Attachments
(1 file, 1 obsolete file)
2.63 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
Bug 717018 added a log parser, to count up the pass/fail in each separately-run mochitest-robocop test and print a summary total at the end. https://hg.mozilla.org/mozilla-central/annotate/7be822540243/testing/mochitest/runtestsremote.py#l401 mentions a worry that "we might be duplicating output" but I don't see any "might" about it, nor do I see any reason why #l404 would want to join the individual lines, which apparently have newlines of their own, with "\n", so that the end result looks like https://tbpl.mozilla.org/php/getParsedLog.php?id=10171054&tree=Mozilla-Inbound#error1, blank lines between each line of what's actually duplicated content with its context removed. Is there more I'm not seeing, that makes for a reason to not just have it count pass/fail quietly to itself, and then print out only that?
Assignee | ||
Comment 1•12 years ago
|
||
yes, I have been frustrated with this as well, I am going to just do the final summary bits.
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 607196 [details] [diff] [review] do not print out lines that we have seen before, only summary (1.0) Review of attachment 607196 [details] [diff] [review]: ----------------------------------------------------------------- As discussed: I support removal of duplicated messages, but this change removes all detail messages, at least when run with adb and TEST_PATH set.
Attachment #607196 -
Flags: review?(gbrown) → review-
Assignee | ||
Comment 4•12 years ago
|
||
it looks like devicemanagerADB.py had a bug where getFile would fail and not return the stdout. Not sure why this wasn't handled differently, but now things work.
Attachment #607196 -
Attachment is obsolete: true
Attachment #608007 -
Flags: review?(gbrown)
Comment 5•12 years ago
|
||
Comment on attachment 608007 [details] [diff] [review] do not print out lines that we have seen before, only summary (2.0) Review of attachment 608007 [details] [diff] [review]: ----------------------------------------------------------------- This works fine now.
Attachment #608007 -
Flags: review?(gbrown) → review+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/78f463ab6dbb
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/78f463ab6dbb
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in
before you can comment on or make changes to this bug.
Description
•