Closed
Bug 771198
Opened 13 years ago
Closed 13 years ago
improve error output of run_cmd
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
Attachments
(1 file)
1014 bytes,
patch
|
catlee
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
Noticed this during a push-to-mirrors.py failure in Tb14.0b4. We get output like:
command: START
command: ssh -l tbirdbld -i /home/cltbld/.ssh/tbirdbld_dsa stage.mozilla.org 'test "0" = "$(find /pub/mozilla.org/thunderbird/nightly/14.0b4-candidates/build1/ -mindepth 1 -type d ! -perm 755 ! -path \'*/contrib*\' ! -path \'*/partner-repacks*\' | wc -l)"'
command: cwd: /builds/slave/tb-rel-c-beta-chk-prms
command: output:
command: END (0.57s elapsed)
Error while running: find /pub/mozilla.org/thunderbird/nightly/14.0b4-candidates/build1/ -mindepth 1 -type d ! -perm 755 ! -path '*/contrib*' ! -path '*/partner-repacks*'
command: START
command: ssh -l tbirdbld -i /home/cltbld/.ssh/tbirdbld_dsa stage.mozilla.org 'test "0" = "$(find /pub/mozilla.org/thunderbird/nightly/14.0b4-candidates/build1/ -maxdepth 1 -type d ! -perm 2775 -path \'*/contrib*\' | wc -l)"'
command: cwd: /builds/slave/tb-rel-c-beta-chk-prms
command: output:
command: END (0.38s elapsed)
Note that the "Error" line is closer to the *next* command rather than the one that fails. This is because that output comes from push-to-mirrors.py. By moving the error printing to run_cmd.py we can keep it within the same "block", making it easier to read.
Attachment #639379 -
Flags: review?(catlee)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bhearsum
Updated•13 years ago
|
Attachment #639379 -
Flags: review?(catlee) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #639379 -
Flags: checked-in+
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•