Closed
Bug 5342
Opened 26 years ago
Closed 26 years ago
Perl errors are not reflected in Tinderbox error log
Categories
(SeaMonkey :: Build Config, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: jj.enser)
Details
When the build breaks because of Perl errors, this does not show up on the
Tinderbox log.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 years ago
|
||
MacPerl log is now included in the log if build fails.
next step is to modify the parser so that specific line are detected as error and
hyperlinked.
Chris I'll need your help for that.
Separate issue: I noticed that on the Mac tinderboxes, the log gets sent _only_
if the build fails. Windows & Unix send it even if build succeeds. I think we
could we do the same for Mac, it's pretty easy and could turn out to be useful.
What do you think ?
Assignee | ||
Comment 2•26 years ago
|
||
adding Terry to the cc list.
Terry, according to cyeh, you're the best person to ask for recommendations
regarding how to update the error parser to take care of this.
Ideally, I'd like to have conditional parsing, so that if the string "Macperl
returned an error" is found in the log then search for MacPerl specific error
strings like:
"# Can't create"
"# Can't open"
"### Can't find"
and flag them.
Actual logs for the RED Mac seamonkey builds today 4/22 between 3pm and 6pm will
illustrate my point.
Any help is appreciated.
just setting a target milestone to get it off the radar of bugs with no
milestones
Assignee | ||
Comment 5•26 years ago
|
||
No this is not fixed. I need to know how the error parser works. Right now, we
don't have good hyperlinks for MacPerl Errors.
I asked Terrry for help, as cyeh recommended, byt haven't heard from him yet.
Comment 7•26 years ago
|
||
So, in the tinderbox source (mozilla/webtools/tinderbox), there is a file called
ep_mac.pl. This defines three routines:
has_error() -- returns nonzero if the global variable $line has an error
message in it.
has_warning() -- returns nonzero if the global variable $line has an warning
message in it.
has_errorline() -- takes a line as parameter; if it defines the file and line
number of an error, then it returns details about that in a bunch of global
variables.
So, you ought to be able to change it to detect your strings.
Shouldn't this bug be reassigned to the Webtools product, Tinderbox component?
JJ, what kind of error strings should we be detecting for?
Put it in this bug message, reassign the bug to terry and he can figure out the
regular expression magic that I'm clueless about.
Assignee | ||
Comment 9•26 years ago
|
||
I listed the strings to highlight hereabove (04/22/99 19:05)
If one of you (cyeh, terry) can show me the "magic", I'll be able to do it by
myself next time!
Comment 10•26 years ago
|
||
terry is out. moving to m7.
Comment 11•26 years ago
|
||
I thought I did show you the "magic" -- I gave a pointer to the perl code in
question. It's very short.
I'm not willing to go code up the particulars here, because I do not understand
the range of error messages that MacPerl might generate.
Comment 12•26 years ago
|
||
not critical for m7
Comment 13•26 years ago
|
||
moving to M9. we include the perl logs now though, right? if yes, then just close
this.
Comment 14•26 years ago
|
||
not a m9 blocker, really an enhancement request. clearing milestone, setting
severity
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•26 years ago
|
||
Partially fixed. added a few error string to be flagged by the mac error parser.
(mozilla/webtools/tinderbox/ep_mac.pl)
Better fix will be to improve the MacPerl log and replace the standaed "MacPerl
got an error" message by something more meaningful, This would have to happen in
BuildCentral.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•