Closed Bug 1277039 Opened 8 years ago Closed 8 years ago

webidl-parser-tests mach command now spews output all over

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox48 --- unaffected
firefox49 --- fix-optional
firefox50 --- fixed

People

(Reporter: bzbarsky, Assigned: jgraham)

References

Details

(Keywords: regression, Whiteboard: btpp-active)

Attachments

(1 file)

This is a regression from bug 1272698.  Before that bug, the mach command defaulted to verbose=False (most useful for manual running), but runtests.py defaulted to verbose=True (most useful for running in automation).  Now both default to verbose=True....

This is particularly bad if you actually have a test failure, because you will simply not see it: it'll scroll off your terminal due to all the TEST-PASS stuff.
Flags: needinfo?(james)
Flags: needinfo?(james)
I assume you've verified that this correctly goes orange in automation if a failure is introduced?
https://treeherder.mozilla.org/#/jobs?repo=try&revision=494922d0dad7&selectedJob=22050885

(a different solution to this issue would be to move to structured logging, which would print a summary of the failures at the end of the mach-format output).
Thank you for checking that.

Structured logging would solve the "hard to find your results" problem, but not the problem of slow terminals or nuking your terminal scrollback.
Comment on attachment 8760330 [details]
Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default,

https://reviewboard.mozilla.org/r/57944/#review55118
Attachment #8760330 - Flags: review?(gps) → review+
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7ec7b62eb5bc
Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
Assignee: nobody → james
Whiteboard: btpp-active
https://hg.mozilla.org/mozilla-central/rev/7ec7b62eb5bc
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Do you want to uplift the fix to aurora since this is a regression from 49? It seems likely to be safe.
Flags: needinfo?(james)
Since this is testonly it doesn't seem worthwhile to me, but maybe bz disagrees.
Flags: needinfo?(james)
I don't think we should be uplifting this anywhere.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: