Closed
Bug 1210488
Opened 9 years ago
Closed 9 years ago
archiver_client.py needs to output errors that can be parsed by Treeherder
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: jlund)
References
()
Details
Attachments
(1 file, 1 obsolete file)
4.33 KB,
patch
|
emorley
:
review+
jlund
:
checked-in+
|
Details | Diff | Splinter Review |
I'm not sure if this should start as a Treeherder bug or some releng-y place, but this Linux Static build failure in https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&fromchange=65257cf4c5f8&group_state=expanded&filter-searchStr=Linux%20x64%20debug%20Static%20Checking%20Build%20%28S%29&tochange=65257cf4c5f8 doesn't show a failure summary. It'd be nice if it did, whether that means Treeherder parses out the existing S3 error or the build system makes that S3 error into a parsable format for Treeherder.
Reporter | ||
Updated•9 years ago
|
Summary: Better handle failed jobs like "An s3 URL could not be determined even though archiver task completed." so they show a failure summary → Better handle failures like "An s3 URL could not be determined even though archiver task completed." so they show a failure summary
Comment 1•9 years ago
|
||
The line in question is: 2015-10-01 10:13:32,179 An s3 URL could not be determined even though archiver task completed. Checkarchiver logs for errors. Task status: no status available at this point. It needs some kind of error prefix, since otherwise we're just going to have to hardcode every possible string it may output in Treeherder's log parser. This is output by: https://hg.mozilla.org/build/tools/file/cfec1b98cad7/buildfarm/utils/archiver_client.py#l101 Jordan, would you mind taking a look? :-)
Component: Treeherder → General Automation
Flags: needinfo?(jlund)
Product: Tree Management → Release Engineering
QA Contact: catlee
Summary: Better handle failures like "An s3 URL could not be determined even though archiver task completed." so they show a failure summary → archiver_client.py needs to output errors that can be parsed by Treeherder
Version: --- → unspecified
Assignee | ||
Comment 2•9 years ago
|
||
> It needs some kind of error prefix, since otherwise we're just going to have
> to hardcode every possible string it may output in Treeherder's log parser.
>
> This is output by:
> https://hg.mozilla.org/build/tools/file/cfec1b98cad7/buildfarm/utils/
> archiver_client.py#l101
>
> Jordan, would you mind taking a look? :-)
it is strange that we ended up with a 'good' status and a 'bad' state:
2015-10-01 10:13:32,179 current task status: no status available at this point. state: SUCCESS
This was from a few days ago. It be nice to catch this in action. I'll file a patch now so to add static output error lines.
Flags: needinfo?(jlund)
Assignee | ||
Comment 3•9 years ago
|
||
will something like this work?
Attachment #8669760 -
Flags: review?(emorley)
Comment 4•9 years ago
|
||
Comment on attachment 8669760 [details] [diff] [review] 151005_1210488_add_static_error_lines_to_archiver.patch Whilst we could add "Archiver failure" to the list of error terms, that list is just going to grow over time. Ideally for things that don't have error lines prefixed with the mozharness error level output, we'd use "Automation Error: " or one of the others in: https://github.com/mozilla/treeherder/blob/beeef2ed50ff7c4a9fffc3012184ba3a9b5863e5/treeherder/log_parser/parsers.py#L362-L410
Attachment #8669760 -
Flags: review?(emorley)
Assignee | ||
Comment 5•9 years ago
|
||
same as before but this time with a regex that TH knows about
Attachment #8669760 -
Attachment is obsolete: true
Attachment #8670887 -
Flags: review?(emorley)
Comment 6•9 years ago
|
||
Comment on attachment 8670887 [details] [diff] [review] 151007_1210488_add_static_error_lines_to_archiver.patch Looks good, thank you :-)
Attachment #8670887 -
Flags: review?(emorley) → review+
Updated•9 years ago
|
Assignee: nobody → jlund
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8670887 [details] [diff] [review] 151007_1210488_add_static_error_lines_to_archiver.patch thanks! https://hg.mozilla.org/build/tools/rev/d0022b4cdbc0
Attachment #8670887 -
Flags: checked-in+
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•