Closed Bug 552848 Opened 16 years ago Closed 16 years ago

Create auto-philor

Categories

(Release Engineering :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 557445

People

(Reporter: khuey, Unassigned)

References

Details

dholbert suggested today on IRC that we should automate philor. My ten-minute back-of-a-napkin design is to run a catalog of regexs against tinderbox logs that match the test failures. We can store the regexs in bug whiteboards, and then use Gerv's bugzilla API to post the logs to the appropriate bug and borrow some code from TBPL to star bugs. Assigning to myself for investigation and possibly prototyping. <dholbert> Basically, I'm talking about automating philor. :) <Littlemutt> heh <khuey_away> it might not be that difficult <khuey_away> just pattern match tinderbox logs <dholbert> nope, I don't think it would be... yeah <dholbert> and use whiteboard or some new magic bugzilla flags <khuey_away> yeah <khuey_away> the downside of course is that the less painful orange is the more likely it's ignored <dholbert> but right now, oranges are mostly painful for philor + sheriffs <dholbert> so it's not really inflicting pain on the right people right now anyway <khuey_away> fair enough <khuey_away> auto-philor is probably something that could be tackled in a weekend <khuey_away> shouldn't be too bad <dholbert> heh <khuey_away> tbpl probably already includes all of the hard parts for starring and retrieving logs * khuey_away writes down a note to look at that
A few things to keep in mind: - auto-philor should probably only look at the "Build Error Summary", and should only star for known-unique-randomorangebug patterns there - If a starred log has unmatched lines in the Build Error Summary, the log-comment should include something like "PLUS OTHER UNKNOWN FAILURES" or something like that that will get people's attention. (We don't want auto-philor to mask new failures that happen to occur in the same log as a known failure) - Ideally, we should be able to have multiple regexp patterns for a given bug, since bugs often manifest in a variety of related tests. (e.g. bug 515157, bug 552054)
(In reply to comment #1) > A few things to keep in mind: > - auto-philor should probably only look at the "Build Error Summary", and > should only star for known-unique-randomorangebug patterns there This is probably best for a first pass, but we won't be able to distinguish a lot of failures this way (e.g. a lot of crashes) > - If a starred log has unmatched lines in the Build Error Summary, the > log-comment should include something like "PLUS OTHER UNKNOWN FAILURES" or > something like that that will get people's attention. (We don't want > auto-philor to mask new failures that happen to occur in the same log as a > known failure) Yeah. I wonder if we could hook it up to IRC so it could yell on unrecognized failures. > - Ideally, we should be able to have multiple regexp patterns for a given bug, > since bugs often manifest in a variety of related tests. (e.g. bug 515157, bug > 552054) Yep. That and it's a lot easier to put together several simple patterns than one megapattern.
It's not directly related to what you want to do, but for some background: All Tinderbox logs are post-processed with an error parser, which creates the summary. For unit tests, we use this one: http://mxr.mozilla.org/mozilla/source/webtools/tinderbox/ep_unittest.pl For other types of builds, we use: http://mxr.mozilla.org/mozilla/source/webtools/tinderbox/ep_unix.pl
Dupe of (or at least related to) bug 443329?
(In reply to comment #5) > Dupe of (or at least related to) bug 443329? That would make this easier, certainly.
Should build on the work Ehsan has done in Bug 557445.
Depends on: 557445
After playing with Ehsan's enhanced TBPL I think that providing better suggested bugs will be far more useful than having it happen without human intervention.
Fair enough. Duping to bug 557445, since it's the same general idea, and since (as a non-module-owner) I feel more comfortable duping than WONTFIXING. :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Someone should nominate this bug for a Best Bug Summary award. :-)
I think that comment 9 infers that philor is a tool.
Assignee: me → nobody
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.