The buildd-manager chooses chroots based on the job rather than the builder's architecture.

Bug #580429 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Low
Unassigned

Bug Description

Because a TranslationTemplateBuildJob has no required architecture, it sets buildqueue.processor to None so that it can get dispatched to any available builder. This causes a few problems with the current code:

1. It can dispatch to restricted architecture builders when it should not
2. the selected chroot is based on the architecture of the job rather than the builder, so we can end up with architecture mismatches
3. the code looks for a distroarchseries based on the architecture of the builder selected, which may not exist for the current development series

https://dev.launchpad.net/LEP/BuildFarmBuilderPools will probably provide a solution for this problem.

We are working around this with bug 580016 for translations.

description: updated
summary: - Translation build jobs get run on builders they shouldn't run on
+ The buildd-manager chooses chroots based on the job rather than the
+ builder's architecture.
Revision history for this message
Julian Edwards (julian-edwards) wrote :

What's needed here is a generic way of queueing up builds rather than asking each build behaviour to get involved in the details of talking to the slave and making a buildqueue record.

Ideally, the behaviour will call a base class method where you can give it librarian aliases for any files that need to be sent to the build, along with an architecture indicator.

description: updated
Changed in soyuz:
status: New → Triaged
tags: added: buildd-manager
tags: added: buildfarm
Changed in soyuz:
importance: Undecided → High
Revision history for this message
Robert Collins (lifeless) wrote :

I'm dropping this to low because it seems low priority relatively speaking for soyuz stability fixes etc. If thats wrong, by all means make it high again.

Changed in launchpad:
importance: High → Low
Revision history for this message
Julian Edwards (julian-edwards) wrote :

It's not high I guess, but we need to fix it before we can do recipe builds and TTBJs on !i386.

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

Behaviours can pick a different chroot if they really want to.

Changed in launchpad:
status: Triaged → Invalid
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.