build processed with uploadprocessor while it is still set to BUILDING

Bug #681974 reported by Jelmer Vernooij
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jelmer Vernooij

Bug Description

Some builds appear to be processed by the upload processor before their status is set to UPLOADING (still set to "BUILDING"). We've hit this particular issue more than once with the i386 build for a particular version of openjdk-6. It hasn't happened for the other architectures for some reason.

This suggests there is a race condition involved where, in the buildd manager, we add a build to the uploader queue before the build status is set to UPLOADING. However, we explicitly flush the database store so there is no race condition between the buildd manager and the archive uploader (lib/lp/buildmaster/model/packagebuild.py, line 369).

When the upload processor processes a build that has a status other than UPLOADING it moves the build to failed.

2010-11-26 06:29:11 WARNING Expected build status to be 'UPLOADING', was BUILDING. Moving to failed.

Tags: lp-soyuz qa-ok

Related branches

Jelmer Vernooij (jelmer)
Changed in soyuz:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
description: updated
Jelmer Vernooij (jelmer)
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in soyuz:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
tags: added: qa-ok
removed: qa-needstesting
Changed in soyuz:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
milestone: none → 11.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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