Closed
Bug 856580
Opened 11 years ago
Closed 11 years ago
release runner shouldn't send failure mail when dying during polling
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
(Whiteboard: [shipit])
Attachments
(1 file, 1 obsolete file)
2.57 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
That is, it shouldn't send mail after each individual fail to poll. Because of the stort sleep time we added in bug 849783, this can cause mail to pile up and unnecessary panic. However, it should send mail if it doesn't poll successfully after a longer period of time. Maybe 15-20min?
Assignee | ||
Comment 1•11 years ago
|
||
This doesn't get us sending mail after extended failures polling, but I'm not sure how to implement that in the current architecture where supervisor handles the retrying...it would be easier in some ways if release-runner.py was a long running process. I think this is good enough for now though.
Assignee | ||
Comment 2•11 years ago
|
||
11:16 < rail> bhearsum: afaik, when python raises an exception by default it exits 1. this means that everything below will be ignored, won't it? 11:17 < rail> like line 379 11:24 < bhearsum> huh, let's me test that 11:24 < bhearsum> i thought it returned some really high number... 11:25 < bhearsum> you're right 11:25 < bhearsum> ok, we can return 5 for polling failure instead then
Attachment #734645 -
Attachment is obsolete: true
Attachment #734645 -
Flags: review?(rail)
Attachment #734699 -
Flags: review?(rail)
Comment 3•11 years ago
|
||
Comment on attachment 734699 [details] [diff] [review] use exit code 5 Hunk #2 may be optional in this case.
Attachment #734699 -
Flags: review?(rail) → review+
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #3) > Comment on attachment 734699 [details] [diff] [review] > use exit code 5 > > Hunk #2 may be optional in this case. Yeah...may as well keep it though - now we can distinguish between polling failed, sendchange failed, and other failures.
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 734699 [details] [diff] [review] use exit code 5 Landed and update the running instance on bm36.
Attachment #734699 -
Flags: checked-in+
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•