buildd-manager can repeatedly upload builds if handleStatus fails in the wrong place

Bug #1422199 reported by William Grant on 2015-02-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
William Grant

Bug Description

If BuildFarmJobBehaviourBase.handleStatus fails between self.handleSuccess and transaction.commit, the upload directory can be left in the queue without the build status changing. The next buildd-manager iteration then uploads it to the queue again, resulting in "2015-02-15 22:39:10 WARNING Expected build status to be 'UPLOADING', was FULLYBUILT. Ignoring.".

This is most often seen when a network glitch causes storeLogFromSlave to fail. It can probably be largely mitigating by storing the log first.

Related branches

William Grant (wgrant) on 2015-02-15
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
William Grant (wgrant) on 2015-02-15
description: updated
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant) on 2015-02-19
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant) on 2015-02-20
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers