Closed
Bug 701099
Opened 14 years ago
Closed 9 years ago
improve log output of retry, and some consumers of it
Categories
(Release Engineering :: Release Automation, defect, P3)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Unassigned)
Details
(Whiteboard: [release-process-improvement][automation])
Attachments
(1 obsolete file)
We hit an issue today where tagging was failing and it was difficult to figure out why because the exception were being swallowed. We should stop doing that in a few places:
* retry.py - print exceptions as soon as they are caught: http://hg.mozilla.org/build/tools/file/7bdc98b0ec97/lib/python/util/retry.py#l27
* tag-release.py: http://hg.mozilla.org/build/tools/file/tip/scripts/release/tag-release.py#l80 and http://hg.mozilla.org/build/tools/file/tip/scripts/release/tag-release.py#l102
And possibly other places.
Updated•14 years ago
|
Priority: -- → P3
Whiteboard: [release-process-improvement][automation]
Updated•14 years ago
|
Blocks: hg-automation
Reporter | ||
Comment 1•13 years ago
|
||
Mass move of bugs to Release Automation component.
Component: Release Engineering → Release Engineering: Automation (Release Automation)
Reporter | ||
Updated•13 years ago
|
No longer blocks: hg-automation
Reporter | ||
Comment 2•13 years ago
|
||
retry.py prints exceptions immediately now: https://github.com/mozilla/build-tools/blob/master/lib/python/util/retry.py#L33, and raises them to the caller: https://github.com/mozilla/build-tools/blob/master/lib/python/util/retry.py#L36
tag-release.py still eats some exceptions, though.
Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Comment 3•11 years ago
|
||
Just a small change, it will ouput:
retry: Calling rmtree with args: ('/Users/mgerva/work/git/build/mozharness/build',), kwargs: {}, attempt #1
instead of:
retry: Calling <function rmtree at 0x100645050> with args: ('/Users/mgerva/work/git/build/mozharness/build',), kwargs: {}, attempt #1
Attachment #8545976 -
Flags: review?(bhearsum)
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8545976 [details] [diff] [review]
[mozharness] Bug 701099 - improve log output of retry, and some consumers of it - make retry output more readable.patch
Review of attachment 8545976 [details] [diff] [review]:
-----------------------------------------------------------------
This doesn't really address this bug, but it seems good. Please update the tools version too.
Attachment #8545976 -
Flags: review?(bhearsum) → review+
Comment 5•11 years ago
|
||
Thanks bhearsum, I have created bug 1119337 to track this improvement.
Comment 6•11 years ago
|
||
Comment on attachment 8545976 [details] [diff] [review]
[mozharness] Bug 701099 - improve log output of retry, and some consumers of it - make retry output more readable.patch
moved to bug 1119337
Attachment #8545976 -
Attachment is obsolete: true
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
QA Contact: rail
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•