Closed Bug 849783 Opened 12 years ago Closed 12 years ago

release runner shouldn't sleep for so long after failing

Categories

(Release Engineering :: Release Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

Details

(Whiteboard: [shipit])

Attachments

(1 file, 1 obsolete file)

Release runner sleeps after dying because we don't want to accidentally start a release that's had a problem. Due to recent changes I don't think this is necessary anymore. We have a few situations in which release runner can die: 1) Dying during polling - we definitely don't need to sleep after this, as no releases have been marked as ready yet. 2) Dying during release sanity - release sanity failures are almost always repeatable. If the release was tried again without changes, it will fail again. Additionally, the release will be marked as not ready before release runner exits. 3) Dying elsewhere during setup (eg, writing or pushing configs). These failures might not be repeatable, but we still mark the release as not ready if we hit them. The only time that I can think of in which we'd retry a release without human intervention is if we failed to mark it as failed on ship-it.m.o. If we're paranoid about that, we should make it so we only sleep in that situation. Otherwise we should just never sleep.
Assignee: nobody → bhearsum
Attached patch wake up!!! (obsolete) — Splinter Review
Attachment #724019 - Flags: review?(rail)
Attached patch snoozeSplinter Review
Attachment #724028 - Flags: review?(rail)
Attachment #724028 - Flags: review?(rail) → review+
Attachment #724019 - Attachment is obsolete: true
Attachment #724019 - Flags: review?(rail)
Summary: release runner shouldn't sleep after failing → release runner shouldn't sleep for so long after failing
Comment on attachment 724028 [details] [diff] [review] snooze I landed this, updated the checkout on bm36, and restarted release runner w/ supervisorctl.
Attachment #724028 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: