buildd-queue-builder broken with odd SQLObject problems

Bug #59186 reported by Malcolm Cleaton
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Malcolm Cleaton

Bug Description

When running buildd-queue-builder on the latest rocketfuel, it's refusing to create any builds, on the grounds that no distroarchreleases have chroots.

This in fact isn't true. It appears to be going wrong on this line:

        legal_archs = release_archs.intersection(self._archreleases.keys())

At this point, from extra debugging output I added, both sets appear to contain records relating to the relevant distroarchreleases, but they are different objects with different memory addresses, and which don't compare equal. This of course causes the intersection to be empty and the code to decide none of the archs for this release were amongst the archs for which we found pockets.

Tags: lp-soyuz
Changed in soyuz:
assignee: nobody → malcolmcleaton
importance: Untriaged → Critical
status: Unconfirmed → Confirmed
Christian Reis (kiko)
Changed in soyuz:
status: Confirmed → In Progress
Revision history for this message
Christian Reis (kiko) wrote :

Sent a patch to Malcolm for testing.

I'll try and see what magic hook is called that is missing on SQLObject.

Changed in soyuz:
status: In Progress → Fix Committed
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.

Other bug subscribers

Remote bug watches

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