Minimal cloud image build reported as identical to non minimal image builds so can not be run in parallel

Bug #1780104 reported by Philip Roche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Opinion
High
Unassigned

Bug Description

We (Canonical CPC) build both base cloud images and minimal cloud images and we discovered today that it is not possible to run both builds for the same suite in parallel due to launchpad reporting the builds as identical.

When triggering a minimal build when a base build is in progress we get

"lazr.restfulclient.errors.BadRequest: HTTP Error 400: Bad Request"

"An identical build of this live filesystem image is already pending.".

The base build being run at that time was https://launchpad.net/~cloudware/+livefs/ubuntu/bionic/cpc/+build/138454

What is it that determines uniqueness for a build?

Both base and minimal use the same name and owner but minimal images pass "minimized" as the "subproject" metadata_override? Is metadata_override used when determining uniqueness?

Revision history for this message
Colin Watson (cjwatson) wrote :

metadata_override isn't currently used, but I think it should be.

affects: launchpad-buildd → launchpad
Changed in launchpad:
importance: Undecided → High
status: New → Triaged
tags: added: lp-soyuz trivial
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Simply passing a different unique_key='amd64-minimal' will not do here? when requesting launchpad to trigger a new livefs build?

Revision history for this message
Philip Roche (philroche) wrote :

This specific issue has now been fixed without changes to launchpad, see MP https://code.launchpad.net/~rcj/cloudware/+git/cpc_build_tools/+merge/356855.

As such I am marking this as Opinion. Please change if this is incorrect.

Changed in launchpad:
status: Triaged → Opinion
tags: added: id-5bc5e6d33156e1218312f02a
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.