Closed Bug 835688 Opened 11 years ago Closed 11 years ago

buildstep that TinderboxPrints the mozharness_revlink makes tbpl ugly and stupid-looking

Categories

(Release Engineering :: Applications: MozharnessCore, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: armenzg)

References

Details

Attachments

(1 file)

Back in September in bug 791029, tbpl stopped insisting that only TinderboxPrints which are at the start of a line count as TinderboxPrints.

That made TinderboxPrint something like Beetlejuice, not a word you want to casually toss around.

The buildstep in b2g builds which outputs the mozharness_revlink doesn't fear saying it:

========= Started 'echo TinderboxPrint: ...' (results: 0, elapsed: 0 secs) (at 2013-01-28 20:31:27.515588) =========
echo TinderboxPrint: mozharness_revlink http://hg.mozilla.org/build/mozharness/rev/f7ba3a5cffee
...
 argv: ['echo', 'TinderboxPrint:', 'mozharness_revlink', 'http://hg.mozilla.org/build/mozharness/rev/f7ba3a5cffee']
...
TinderboxPrint: mozharness_revlink http://hg.mozilla.org/build/mozharness/rev/f7ba3a5cffee
...
========= Finished 'echo TinderboxPrint: ...' (results: 0, elapsed: 0 secs) (at 2013-01-28 20:31:27.623114) =========

Which results in b2g builds having six line items in the unordered list in the bottom right: the gaia_revlink which we only get because of bug 791029, since it's a mozharness style one with a time and an INFO in front of it, and five lines of the mozharness_revlink in varying degrees of readability, including "...' (results: 0, elapsed: 0 secs) (at 2013-01-28 20:31: 27.515588) ========="
Regression From Bug 829145
Depends on: 829145
So as an ugly workaround in buildbot you can do something like:

$ python -c "print 'Tinder' 'Box' 'Print:'"

instead of 'echo' for this, python auto-concats all adjacent strings together.

and you might get around the ========= Finished 'echo TinderboxPrint: ...'   stuff by just adding a description= to the step. (that doesn't use the TinderboxPrint phrase).
Assignee: nobody → armenzg
Attachment #707636 - Flags: review?(aki)
Priority: -- → P1
Attachment #707636 - Flags: review?(aki) → review+
Comment on attachment 707636 [details] [diff] [review]
Use OutputStep instead

0f3e640208d0
Attachment #707636 - Flags: checked-in+
Whiteboard: waiting on reconfig
This is in production.
It looks like this now:
* mozharness_revlink: http: //hg.mozilla.org/build/mozharness/rev/ce8901b71fed
* gaia_revlink: http: //hg.mozilla.org/integration/gaia-nightly/rev/ff42ce81a69c

I have not yet understood why tbpl add that space after "http:".
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: waiting on reconfig
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: