Closed
Bug 783815
Opened 12 years ago
Closed 12 years ago
Tegra Verification steps should not buffer stdout/stderror
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Callek, Assigned: kmoir)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sheriff-want])
Attachments
(1 file)
3.23 KB,
patch
|
Callek
:
review+
kmoir
:
checked-in+
|
Details | Diff | Splinter Review |
With buildbot jobs, we have verify.py and reboot.py run for every job. This can frequently fail or timeout with little to no output printed to terminal. If we set the environment var |PYTHONUNBUFFERED| for at least these steps we should be able to avoid that problem. The reason it happens, is these steps, on a failure, set an "error flag" file, which clientproxy on the foopy watches for and hard-kills buildbot when it is present. Buildbot however runs these steps without a tty, and when python is run without a tty it, by default, buffers stdout. So when buildbot dies we don't properly flush the stdout/stderr to the log files that we use, thus the tree sheriffs don't see things. This should be a simple fix, and (in theory) could be used for all steps without regressing ANY [or negligable] disk i/o. Self contained and not an emergency priority, but good gains to tree-sheriffs in terms of diagnosing issues, that coop said we might consider this as something for kim to get her feet wet with.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kmoir
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #667168 -
Flags: review?(bugspam.Callek)
Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 667168 [details] [diff] [review] patch yay!
Attachment #667168 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #667168 -
Flags: checked-in+
Updated•12 years ago
|
Whiteboard: [sheriff-want]
Comment 4•12 years ago
|
||
deployed in production
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
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
•