Comment 3 for bug 629835

Revision history for this message
William Grant (wgrant) wrote : Re: cannot delete 'linux' from the ubuntu-security-proposed ppa

The QueueInconsistentStateError was a red herring. The real error was this:

 NotFoundError: u'Unknown architecture hppa for ubuntu maverick'

The bug is that builds are copied for architectures not in the target -- in this case for hppa and lpia, which no longer exist in Maverick. PackageUploadBuild.publish then dies with a NotFoundError (amusingly enough, a comment in the method already warns of this).

For future reference, here's what happened:

 - 2010-08-25 22:37:25: Delayed copy from Hardy to Maverick requested. hppa and lpia builds were incorrectly copied.
 - 2010-08-25 22:50:29: Delayed copy processed for the first time. Logs do not go far back enough, but this presumably fails with the NotFoundError above. Source and amd64 binaries published, but the rest (including the PackageUpload.status Accepted → Done transition) are missed. Somehow the source and amd64 binaries get committed, which suggests transaction issues somewhere.
 - Each process-accepted run now attempts to publish the copy, but fails with the QueueInconsistentStateError.
 - 2010-08-26 02:50:00 (approx): Deletion from target archive requested.
 - 2010-08-26 03:17:18: process-deathrow removes files.
 - 2010-08-26 03:35:27: process-accepted no longer experiences the QISE, since the files are gone. Tries to publish, but fails part-way with the hppa NotFoundError again.
 - Subsequent process-accepted runs fail with QISE again, until the source is deleted and removed again.

And again. And again. And again.