Add trixie-arm64

We also increase the image build timeout to 3 hours.

The current 2 hour value is not long enough when bootstrapping new arm64
images. In particular when we add new images we don't yet know which
formats we should limit builds to. This information is only available to
the image build process once an image is added to a provider (so
basically second build and beyond).

In the case of building new trixie arm64 images we only need raw images
because the single arm64 provide only suports this format, but we are
building raw, qcow2, and vhd (the default) as a result of the behavior
described above. Looking at logs the trixie arm64 builds are timing out
while converting the image formats. In the name of simplicity and
because this only affects the first image build we perform lets increase
out timeout value to give new images a change to register with a
provider. Subsequent arm64 builds should skip the unnecessary
conversions and run quicker.

As a side note some raw only arm64 image builds were already close to
the 2 hour timeout. Indicating we may need to bump up the timeout
anyway.

Additionally, in our current AArch64/arm64 provider Glance can take
a while to complete ingestion and return a checksum, so increase the
timeout for upload_image_swift_hash_timeout from the default 10
minutes to 20.

Change-Id: Iff4a1db3b05a769ad432a5e2b5320423a4af95fb
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Signed-off-by: Clark Boylan <clark.boylan@gmail.com>
Signed-off-by: Jeremy Stanley <fungi@yuggoth.org>
This commit is contained in:
Michal Nasiadka
2025-11-05 17:02:00 +01:00
committed by Jeremy Stanley
parent 4c9ad0af02
commit c4eb151ee6
5 changed files with 56 additions and 1 deletions
+20 -1
View File
@@ -9,7 +9,7 @@
the image without uploading it (this can be useful for check
pipelines).
parent: build-diskimage
timeout: 7200
timeout: 10800
post-timeout: 10800
abstract: true
# This causes us to run DIB from the git repo instead of the
@@ -440,6 +440,25 @@
parent: opendev-promote-diskimage-base
image-build-name: debian-trixie
- job:
name: opendev-build-diskimage-debian-trixie-arm64
description: |
Build the OpenDev Debian Trixie arm64 VM image
parent: opendev-build-diskimage-debian-trixie
nodeset:
nodes:
- name: ubuntu-noble-arm64
label: ubuntu-noble-arm64
image-build-name: debian-trixie-arm64
vars:
build_diskimage_image_name: debian-trixie-arm64
upload_image_swift_hash_timeout: 1200
- job:
name: opendev-promote-diskimage-debian-trixie-arm64
parent: opendev-promote-diskimage-base
image-build-name: debian-trixie-arm64
- job:
name: opendev-build-diskimage-ubuntu-bionic
description: |
+4
View File
@@ -42,6 +42,10 @@
name: debian-trixie
type: zuul
- image:
name: debian-trixie-arm64
type: zuul
- image:
name: rockylinux-8
type: zuul
+12
View File
@@ -197,6 +197,18 @@
flavor: 16GB
max-ready-age: 1800
- label:
name: debian-trixie-arm64-8GB
image: debian-trixie-arm64
flavor: 8GB
max-ready-age: 1800
- label:
name: debian-trixie-arm64-16GB
image: debian-trixie-arm64
flavor: 16GB
max-ready-age: 1800
- label:
name: rockylinux-8-4GB
image: rockylinux-8
+17
View File
@@ -13,6 +13,7 @@
- opendev-build-diskimage-debian-bullseye
- opendev-build-diskimage-debian-bullseye-arm64
- opendev-build-diskimage-debian-trixie
- opendev-build-diskimage-debian-trixie-arm64
- opendev-build-diskimage-rockylinux-8
- opendev-build-diskimage-rockylinux-9
- opendev-build-diskimage-rockylinux-9-arm64
@@ -83,6 +84,11 @@
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-debian-trixie-arm64:
secrets:
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-rockylinux-8:
secrets:
- name: image_upload_secret
@@ -200,6 +206,11 @@
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-debian-trixie-arm64:
secrets:
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-rockylinux-8:
secrets:
- name: image_upload_secret
@@ -317,6 +328,11 @@
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-debian-trixie-arm64:
secrets:
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
- opendev-build-diskimage-rockylinux-8:
secrets:
- name: image_upload_secret
@@ -391,6 +407,7 @@
- opendev-promote-diskimage-debian-bullseye
- opendev-promote-diskimage-debian-bullseye-arm64
- opendev-promote-diskimage-debian-trixie
- opendev-promote-diskimage-debian-trixie-arm64
- opendev-promote-diskimage-rockylinux-8
- opendev-promote-diskimage-rockylinux-9
- opendev-promote-diskimage-rockylinux-9-arm64
+3
View File
@@ -660,6 +660,7 @@
- centos-10-stream-arm64
- debian-bookworm-arm64
- debian-bullseye-arm64
- debian-trixie-arm64
- rockylinux-9-arm64
- rockylinux-10-arm64
- ubuntu-focal-arm64
@@ -690,6 +691,8 @@
- debian-bullseye-arm64-8GB
- debian-bullseye-arm64-16GB
- debian-bullseye-arm64
- debian-trixie-arm64-8GB
- debian-trixie-arm64-16GB
- rockylinux-9-arm64-8GB
- rockylinux-9-arm64-16GB
- rockylinux-9-arm64