Closed
Bug 476656
Opened 16 years ago
Closed 16 years ago
allow specifying build status=exception
Categories
(Webtools Graveyard :: Tinderbox, enhancement)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ted, Assigned: cls)
References
Details
Attachments
(2 files)
|
7.02 KB,
patch
|
Details | Diff | Splinter Review | |
|
10.34 KB,
patch
|
reed
:
review+
|
Details | Diff | Splinter Review |
Currently the build mails can specify status=success/testfail/busted. Since most of our builds are on buildbot now, we sometimes hit errors that occur in buildbot itself rather than the build. For example, if a build slave disconnects, or if there's an error in our buildbot config. The buildbot waterfall displays these as an "exception" status, with a purple box. When we send mail to Tinderbox, however, we have to call it "busted", so it's hard to distinguish "failed to compile" from "problem with the build automation". It would be nice if we could specify "status=exception" or something similar, to indicate that the build was not successful, but the problem lies in the build automation.
This is another one of those slippery slope items. What's the difference between a failure to compile, failure to pull from VCS, failure to run configure or a 'tee: write error'? (I see the last one a lot.) In the end, they all mean the same thing: the build did not successfully complete.
So what do you want the server to do for status=exception ? Change the column header to purple? Or just add a special message to the specific build? The latter could also be done with TinderboxPrint: .
Severity: normal → enhancement
| Reporter | ||
Comment 2•16 years ago
|
||
Mostly I'd like to see a different color. The impetus here is that people want to be able to see whether their code is ok or not, without having to dig into the logs or know about all the possible types of failure. I agree that it's not always clear which is which, but ideally only "failure to compile" would turn the tree red, so that if you see red, you know your code is to blame. If you see purple (or whatever), you can ask the build team to fix it.
Adds support for status=exception
* Turns the fields purple (#770088) for exception
Assignee: nobody → cls
Status: NEW → ASSIGNED
Comment 5•16 years ago
|
||
... Do I review cls' patch? Does cls review this version of his patch?
We do want this for bug 487112 and other non-code related issues.
I've tested this locally on my laptop and was able to create a purple column by sending a status of 'exception' rather than 'busted', so if cls' patch needs review from me, consider this an r+.
Updated•16 years ago
|
Attachment #372524 -
Flags: review+
Comment 6•16 years ago
|
||
Comment on attachment 372524 [details] [diff] [review]
Updating the above patch to work vs. trunk
Looks fine to me from a quick review.
Updated•16 years ago
|
Keywords: checkin-needed
Comment 8•16 years ago
|
||
mozilla/webtools/tinderbox/README 1.16
mozilla/webtools/tinderbox/processbuild.pl 1.72
mozilla/webtools/tinderbox/showbuilds.pl 1.38
mozilla/webtools/tinderbox/tbglobals.pl 1.72
Comment 9•16 years ago
|
||
http://tinderbox-stage.mozilla.org/showbuilds.cgi?tree=MozillaTest
"column2" (name; it's actually the last column on the right) is purple on tinderbox-stage.
Note that this is only the tinderbox portion. To fully implement this, we need to allow for an "exception" status in the appropriate buildbot steps, and make sure TinderboxMailNotifier knows about the exception status. To do this properly we should upstream the changes to buildbot.
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•