Rescuing a BUILDING builder just makes things worse

Bug #463046 reported by William Grant
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Julian Edwards

Bug Description

If rescueBuilderIfLost sees that the builder is still BUILDING, it will attempt to abort the build.

This is all well and good, except that there is nothing to actually clean up once the build is aborted. The only ABORTED status handler is in buildqueue, but rescueBuilderIfLost only does stuff when there is no buildqueue involved! So a rescue attempt on a wedged BUILDING builder just results in a wedged ABORTED builder instead.

Related branches

Revision history for this message
William Grant (wgrant) wrote :

This probably rarely shows itself in practice (although I have a suspicion that it was behind the months of idling that gold did a few weeks back), since bug #463041 means that a build will not be rescued until it has finished on another builder, by which time it has probably finished on the first one too, so an abort would not be attempted.

William Grant (wgrant)
Changed in soyuz:
status: New → In Progress
assignee: nobody → William Grant (wgrant)
Curtis Hovey (sinzui)
Changed in soyuz:
importance: Undecided → High
Changed in soyuz:
milestone: none → 10.02
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Is this really in progress?

tags: added: buildd-manager
William Grant (wgrant)
Changed in soyuz:
assignee: William Grant (wgrant) → nobody
status: In Progress → New
Changed in soyuz:
status: New → Triaged
Changed in soyuz:
milestone: 10.02 → none
William Grant (wgrant)
Changed in soyuz:
status: Triaged → In Progress
assignee: nobody → William Grant (wgrant)
William Grant (wgrant)
Changed in soyuz:
assignee: William Grant (wgrant) → nobody
status: In Progress → Confirmed
Changed in soyuz:
assignee: nobody → Julian Edwards (julian-edwards)
status: Confirmed → Triaged
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in soyuz:
milestone: none → 10.09
tags: added: qa-needstesting
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-ok
removed: qa-needstesting
Changed in soyuz:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.