OCI recipe builds failing due to branch scalability issue

Bug #2067047 reported by Cristovao Cordeiro
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
launchpad-buildd
Fix Released
High
Jürgen Gmach

Bug Description

Affected OCI projects:
 - https://launchpad.net/cloud-images/+oci/ubuntu-base

Examples of failed builds:
 - https://launchpadlibrarian.net/731626207/buildlog_oci_ubuntu_focal_amd64_24.10_CANCELLING.txt.gz
 - https://launchpadlibrarian.net/731625937/buildlog_oci_ubuntu_focal_s390x_24.10_BUILDING.txt.gz

After investigating it with the LP team, we've noticed that the OCI builds are being executed with

 > git clone -n --depth 1 --no-single-branch ...

which raises a scalability issue, especially for this project (since the branches are quite chunky by default).

Looking at https://git.launchpad.net/launchpad-buildd/tree/lpbuildd/target/vcs.py#n93, we can see that (at least for the OCI builds) the flow is that we will `checkout` a single branch anyway, thus making the use of --no-single-branch unnecessary).

Related branches

Revision history for this message
Cristovao Cordeiro (cjdc) wrote :
Jürgen Gmach (jugmac00)
Changed in launchpad-buildd:
status: New → Triaged
importance: Undecided → High
Jürgen Gmach (jugmac00)
Changed in launchpad-buildd:
status: Triaged → In Progress
assignee: nobody → Jürgen Gmach (jugmac00)
Jürgen Gmach (jugmac00)
Changed in launchpad-buildd:
status: In Progress → Fix Committed
Jürgen Gmach (jugmac00)
Changed in launchpad-buildd:
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.