CI: Update distros for build tests
cover CI: Update distros for build tests
Refresh which distros we do build testing with
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2579549654
Andrew Cooper (6):
CI: Drop test-artefacts/Makefile
CI: Swap ocaml-nox for ocaml in newer Debian/Ubuntu
CI: Drop Ubuntu 16.04
CI: Add Ubuntu 26.04
CI: Update Fedora to 43
CI: Update Opensuse 15.6 to 16.0
automation/build/debian/12-arm64v8.dockerfile | 2 +-
automation/build/debian/12-x86_32.dockerfile | 2 +-
automation/build/debian/12-x86_64.dockerfile | 2 +-
automation/build/debian/13-arm64v8.dockerfile | 2 +-
automation/build/debian/13-x86_32.dockerfile | 2 +-
automation/build/debian/13-x86_64.dockerfile | 2 +-
...x86_64.dockerfile => 43-x86_64.dockerfile} | 4 +-
...dockerfile => leap-16.0-x86_64.dockerfile} | 16 ++----
.../build/ubuntu/22.04-x86_64.dockerfile | 2 +-
.../build/ubuntu/24.04-x86_64.dockerfile | 2 +-
..._64.dockerfile => 26.04-x86_64.dockerfile} | 15 ++++-
automation/gitlab-ci/build.yaml | 57 ++++++++++---------
automation/tests-artifacts/Makefile | 19 -------
13 files changed, 59 insertions(+), 68 deletions(-)
rename automation/build/fedora/{41-x86_64.dockerfile => 43-x86_64.dockerfile} (95%)
rename automation/build/opensuse/{leap-15.6-x86_64.dockerfile => leap-16.0-x86_64.dockerfile} (84%)
rename automation/build/ubuntu/{16.04-x86_64.dockerfile => 26.04-x86_64.dockerfile} (81%)
delete mode 100644 automation/tests-artifacts/MakefileSignature · 1 line
2.39.5
PATCH 1/6 CI: Drop test-artefacts/Makefile
This is unused since commit 3c0c177ff904 ("CI: Switch qemu-arm* jobs to using the distro provided QEMU"), and wants never to return.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
--- automation/tests-artifacts/Makefile | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 automation/tests-artifacts/Makefile
automation/tests-artifacts/Makefile deleted +0 -19
@@ -1,19 +0,0 @@ - -# the base of where these containers will appear -REGISTRY := registry.gitlab.com/xen-project/xen/tests-artifacts -CONTAINERS = $(subst .dockerfile,,$(wildcard */*.dockerfile)) - -help: - @echo "Containers to build and export tests artifacts." - @echo "To build one run 'make ARTIFACT/VERSION'. Available containers:" - @$(foreach file,$(sort $(CONTAINERS)),echo ${file};) - @echo "To push container builds, set the env var PUSH" - -%: %.dockerfile ## Builds containers - $(DOCKER_CMD) build --pull -t $(REGISTRY)/$(@D):$(@F) -f $< $(<D) - @if [ ! -z $${PUSH+x} ]; then \ - $(DOCKER_CMD) push $(REGISTRY)/$(@D):$(@F); \ - fi - -.PHONY: all -all: $(CONTAINERS)
Signature · 1 line
2.39.5
PATCH 2/6 CI: Swap ocaml-nox for ocaml in newer Debian/Ubuntu
In reply to Andrew CooperOcaml 4.08 and earlier had the compiler package depend on graphics, and therefore on X. Ocaml 4.09 and later dropped this dependency.
Debian and Ubuntu versions with Ocaml 4.08 and earlier (which are Debian Bullseye/11, and Ubuntu Focal/20.04 and earlier) had ocaml-nox packages with this dependency stripped, which we use to keep the size of the containers down.
In newer versions of Debian and Ubuntu, ocaml-nox is just a transitional package referring back to ocaml. Ubuntu Resolute/26.04 has finally removed this transitional package. For all versions where ocaml-nox is just a transitional package, swap to the ocaml package.
No functional change.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
--- automation/build/debian/12-arm64v8.dockerfile | 2 +- automation/build/debian/12-x86_32.dockerfile | 2 +- automation/build/debian/12-x86_64.dockerfile | 2 +- automation/build/debian/13-arm64v8.dockerfile | 2 +- automation/build/debian/13-x86_32.dockerfile | 2 +- automation/build/debian/13-x86_64.dockerfile | 2 +- automation/build/ubuntu/22.04-x86_64.dockerfile | 2 +- automation/build/ubuntu/24.04-x86_64.dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
automation/build/debian/12-arm64v8.dockerfile +1 -1
@@ -46,7 +46,7 @@ RUN <<EOF # Golang bindings golang-go # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # for test phase, qemu-* jobs
automation/build/debian/12-x86_32.dockerfile +1 -1
@@ -38,7 +38,7 @@ RUN <<EOF python3-dev python3-setuptools # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib )
automation/build/debian/12-x86_64.dockerfile +1 -1
@@ -50,7 +50,7 @@ RUN <<EOF # Golang bindings golang-go # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # for test phase, qemu-* jobs
automation/build/debian/13-arm64v8.dockerfile +1 -1
@@ -46,7 +46,7 @@ RUN <<EOF # Golang bindings golang-go # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # for test phase, qemu-* jobs
automation/build/debian/13-x86_32.dockerfile +1 -1
@@ -38,7 +38,7 @@ RUN <<EOF python3-dev python3-setuptools # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib )
automation/build/debian/13-x86_64.dockerfile +1 -1
@@ -50,7 +50,7 @@ RUN <<EOF # Golang bindings golang-go # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # for test phase, qemu-* jobs
automation/build/ubuntu/22.04-x86_64.dockerfile +1 -1
@@ -51,7 +51,7 @@ RUN <<EOF python3-dev python3-setuptools # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # Stubdom download/extract
automation/build/ubuntu/24.04-x86_64.dockerfile +1 -1
@@ -51,7 +51,7 @@ RUN <<EOF python3-dev python3-setuptools # Ocaml bindings/oxenstored - ocaml-nox + ocaml ocaml-findlib # Stubdom download/extract
Signature · 1 line
2.39.5
PATCH 3/6 CI: Drop Ubuntu 16.04
In reply to Andrew CooperUbuntu 16.04 is now fully out of support.
Introduce an 18.04 GCC Debug job in lieu of losing the 16.04 job.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
--- .../build/ubuntu/16.04-x86_64.dockerfile | 65 ------------------- automation/gitlab-ci/build.yaml | 11 +--- 2 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 automation/build/ubuntu/16.04-x86_64.dockerfile
automation/build/ubuntu/16.04-x86_64.dockerfile deleted +0 -65
@@ -1,65 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM --platform=linux/amd64 ubuntu:16.04 -LABEL maintainer.name="The Xen Project" -LABEL maintainer.email="[email protected]" - -ENV DEBIAN_FRONTEND=noninteractive - -RUN <<EOF -#!/bin/bash - set -e - - useradd --create-home user - - apt-get update - - DEPS=( - # Xen - bison - build-essential - checkpolicy - clang - flex - python3-minimal - - # Tools (general) - ca-certificates - cpio - git-core - gzip - patch - perl - pkg-config - wget - # libxenguest dombuilder - libbz2-dev - libzstd-dev - liblzo2-dev - liblzma-dev - zlib1g-dev - # libacpi - acpica-tools - # libxl - uuid-dev - libyajl-dev - # RomBIOS - bcc - bin86 - # xentop - libncurses5-dev - # Python bindings - python3-dev - # Ocaml bindings/oxenstored - ocaml-nox - ocaml-findlib - - # Stubdom download/extract - bzip2 - ) - - apt-get -y --no-install-recommends install "${DEPS[@]}" - rm -rf /var/lib/apt/lists/* -EOF - -USER user -WORKDIR /build
automation/gitlab-ci/build.yaml +3 -8
@@ -617,18 +617,13 @@ fedora-41-x86_64-gcc-debug: variables: CONTAINER: fedora:41-x86_64 -ubuntu-16.04-x86_64-gcc: +ubuntu-18.04-x86_64-gcc: extends: .gcc-x86-64-build variables: - CONTAINER: ubuntu:16.04-x86_64 + CONTAINER: ubuntu:18.04-x86_64 -ubuntu-16.04-x86_64-gcc-debug: +ubuntu-18.04-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:16.04-x86_64 - -ubuntu-18.04-x86_64-gcc: - extends: .gcc-x86-64-build variables: CONTAINER: ubuntu:18.04-x86_64
Signature · 1 line
2.39.5
PATCH 4/6 CI: Add Ubuntu 26.04
In reply to Andrew CooperSwap yajl for json-c, given the deprecation of the former.
Add 26.04 GCC/Clang debug/non-debug jobs. Drop the 24.04 debug jobs to keep the overall job count down.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
--- .../build/ubuntu/26.04-x86_64.dockerfile | 74 +++++++++++++++++++ automation/gitlab-ci/build.yaml | 22 ++++-- 2 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 automation/build/ubuntu/26.04-x86_64.dockerfile
automation/build/ubuntu/26.04-x86_64.dockerfile new file +74 -0
@@ -0,0 +1,74 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/amd64 ubuntu:26.04 +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="[email protected]" + +ENV DEBIAN_FRONTEND=noninteractive + +RUN <<EOF +#!/bin/bash + set -e + + useradd --create-home user + + apt-get update + + DEPS=( + # Xen + bison + build-essential + checkpolicy + clang + flex + python3-minimal + + # Tools (general) + ca-certificates + cpio + git-core + gzip + patch + perl + pkg-config + wget + # libxenguest dombuilder + libbz2-dev + libzstd-dev + liblzo2-dev + liblzma-dev + zlib1g-dev + # libacpi + acpica-tools + # libxl + uuid-dev + libjson-c-dev + # RomBIOS + bcc + bin86 + # xentop + libncurses5-dev + # Python bindings + python3-dev + python3-setuptools + # Ocaml bindings/oxenstored + ocaml + ocaml-findlib + + # Stubdom download/extract + bzip2 + + # Qemu build + libglib2.0-dev + libpixman-1-dev + meson + ninja-build + python3-packaging + python3-venv + ) + + apt-get -y --no-install-recommends install "${DEPS[@]}" + rm -rf /var/lib/apt/lists/* +EOF + +USER user +WORKDIR /build
automation/gitlab-ci/build.yaml +16 -6
@@ -652,20 +652,30 @@ ubuntu-24.04-x86_64-clang: variables: CONTAINER: ubuntu:24.04-x86_64 -ubuntu-24.04-x86_64-clang-debug: - extends: .clang-x86-64-build-debug +ubuntu-24.04-x86_64-gcc: + extends: .gcc-x86-64-build variables: CONTAINER: ubuntu:24.04-x86_64 -ubuntu-24.04-x86_64-gcc: +ubuntu-26.04-x86_64-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: ubuntu:26.04-x86_64 + +ubuntu-26.04-x86_64-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: ubuntu:26.04-x86_64 + +ubuntu-26.04-x86_64-gcc: extends: .gcc-x86-64-build variables: - CONTAINER: ubuntu:24.04-x86_64 + CONTAINER: ubuntu:26.04-x86_64 -ubuntu-24.04-x86_64-gcc-debug: +ubuntu-26.04-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug variables: - CONTAINER: ubuntu:24.04-x86_64 + CONTAINER: ubuntu:26.04-x86_64 opensuse-leap-15.6-clang: extends: .clang-x86-64-build
Signature · 1 line
2.39.5
PATCH 5/6 CI: Update Fedora to 43
In reply to Andrew CooperSwap yajl for json-c, given the deprecation of the former.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
---
.../fedora/{41-x86_64.dockerfile => 43-x86_64.dockerfile} | 4 ++--
automation/gitlab-ci/build.yaml | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
rename automation/build/fedora/{41-x86_64.dockerfile => 43-x86_64.dockerfile} (95%)automation/build/fedora/43-x86_64.dockerfile renamed from automation/build/fedora/41-x86_64.dockerfile +2 -2
@@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM --platform=linux/amd64 fedora:41 +FROM --platform=linux/amd64 fedora:43 LABEL maintainer.name="The Xen Project" LABEL maintainer.email="[email protected]"
@@ -41,7 +41,7 @@ RUN <<EOF acpica-tools # libxl libuuid-devel - yajl-devel + json-c-devel # xen-foreign diffutils # RomBIOS
automation/gitlab-ci/build.yaml +4 -4
@@ -607,15 +607,15 @@ debian-13-x86_32-gcc-debug: variables: CONTAINER: debian:13-x86_32 -fedora-41-x86_64-gcc: +fedora-43-x86_64-gcc: extends: .gcc-x86-64-build variables: - CONTAINER: fedora:41-x86_64 + CONTAINER: fedora:43-x86_64 -fedora-41-x86_64-gcc-debug: +fedora-43-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug variables: - CONTAINER: fedora:41-x86_64 + CONTAINER: fedora:43-x86_64 ubuntu-18.04-x86_64-gcc: extends: .gcc-x86-64-build
Signature · 1 line
2.39.5
PATCH 6/6 CI: Update Opensuse 15.6 to 16.0
In reply to Andrew CooperThe default version of python is 3.13, so drop the 3.11 overrides.
Swap yajl for json-c, given the deprecation of the former.
bin86/dev86 are no longer available.
---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Juergen Gross <[email protected]>
CC: Oleksii Kurochko <[email protected]>
---
...64.dockerfile => leap-16.0-x86_64.dockerfile} | 16 ++++++----------
automation/gitlab-ci/build.yaml | 16 ++++++++--------
2 files changed, 14 insertions(+), 18 deletions(-)
rename automation/build/opensuse/{leap-15.6-x86_64.dockerfile => leap-16.0-x86_64.dockerfile} (84%)automation/build/opensuse/leap-16.0-x86_64.dockerfile renamed from automation/build/opensuse/leap-15.6-x86_64.dockerfile +6 -10
@@ -1,9 +1,8 @@ # syntax=docker/dockerfile:1 -FROM --platform=linux/amd64 opensuse/leap:15.6 +FROM --platform=linux/amd64 opensuse/leap:16.0 LABEL maintainer.name="The Xen Project" LABEL maintainer.email="[email protected]" -ENV PYTHON=python3.11 ENV XEN_TARGET_ARCH=x86_64 RUN <<EOF
@@ -26,7 +25,7 @@ RUN <<EOF gawk gcc make - python311 + python3 # Tools (general) cpio
@@ -46,17 +45,14 @@ RUN <<EOF acpica # libxl 'pkgconfig(uuid)' - 'pkgconfig(yajl)' - # RomBIOS - bin86 - dev86 + 'pkgconfig(json-c)' # Header Check gcc-c++ # xentop 'pkgconfig(ncurses)' # Python bindings - python311-devel - python311-setuptools + python3-devel + python3-setuptools # Ocaml bindings/oxenstored ocaml ocaml-findlib
@@ -70,7 +66,7 @@ RUN <<EOF ninja 'pkgconfig(glib-2.0)' 'pkgconfig(pixman-1)' - python311-packaging + python3-packaging ) zypper install -y --no-recommends "${DEPS[@]}"
automation/gitlab-ci/build.yaml +8 -8
@@ -677,25 +677,25 @@ ubuntu-26.04-x86_64-gcc-debug: variables: CONTAINER: ubuntu:26.04-x86_64 -opensuse-leap-15.6-clang: +opensuse-leap-16.0-clang: extends: .clang-x86-64-build variables: - CONTAINER: opensuse:leap-15.6-x86_64 + CONTAINER: opensuse:leap-16.0-x86_64 -opensuse-leap-15.6-clang-debug: +opensuse-leap-16.0-clang-debug: extends: .clang-x86-64-build-debug variables: - CONTAINER: opensuse:leap-15.6-x86_64 + CONTAINER: opensuse:leap-16.0-x86_64 -opensuse-leap-15.6-gcc: +opensuse-leap-16.0-gcc: extends: .gcc-x86-64-build variables: - CONTAINER: opensuse:leap-15.6-x86_64 + CONTAINER: opensuse:leap-16.0-x86_64 -opensuse-leap-15.6-gcc-debug: +opensuse-leap-16.0-gcc-debug: extends: .gcc-x86-64-build-debug variables: - CONTAINER: opensuse:leap-15.6-x86_64 + CONTAINER: opensuse:leap-16.0-x86_64 opensuse-tumbleweed-clang: extends: .clang-x86-64-build
Signature · 1 line
2.39.5
Quoted 11 lines · Andrew Cooper
Refresh which distros we do build testing with
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2579549654
Andrew Cooper (6):
CI: Drop test-artefacts/Makefile
CI: Swap ocaml-nox for ocaml in newer Debian/Ubuntu
CI: Drop Ubuntu 16.04
CI: Add Ubuntu 26.04
CI: Update Fedora to 43
CI: Update Opensuse 15.6 to 16.0
Please consider:
for the entire series.
Quoted 24 lines
automation/build/debian/12-arm64v8.dockerfile | 2 +- automation/build/debian/12-x86_32.dockerfile | 2 +- automation/build/debian/12-x86_64.dockerfile | 2 +- automation/build/debian/13-arm64v8.dockerfile | 2 +- automation/build/debian/13-x86_32.dockerfile | 2 +- automation/build/debian/13-x86_64.dockerfile | 2 +- ...x86_64.dockerfile => 43-x86_64.dockerfile} | 4 +- ...dockerfile => leap-16.0-x86_64.dockerfile} | 16 ++---- .../build/ubuntu/22.04-x86_64.dockerfile | 2 +- .../build/ubuntu/24.04-x86_64.dockerfile | 2 +- ..._64.dockerfile => 26.04-x86_64.dockerfile} | 15 ++++- automation/gitlab-ci/build.yaml | 57 ++++++++++--------- automation/tests-artifacts/Makefile | 19 ------- 13 files changed, 59 insertions(+), 68 deletions(-) rename automation/build/fedora/{41-x86_64.dockerfile => 43-x86_64.dockerfile} (95%) rename automation/build/opensuse/{leap-15.6-x86_64.dockerfile => leap-16.0-x86_64.dockerfile} (84%) rename automation/build/ubuntu/{16.04-x86_64.dockerfile => 26.04-x86_64.dockerfile} (81%) delete mode 100644 automation/tests-artifacts/MakefileSignature · 1 line
2.39.5
Stefano Stabellini
Acked-byQuoted 13 lines · On Fri, 5 Jun 2026, [email protected] wrote:
Quoted 11 lines · Andrew Cooper
Refresh which distros we do build testing with
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2579549654
Andrew Cooper (6):
CI: Drop test-artefacts/Makefile
CI: Swap ocaml-nox for ocaml in newer Debian/Ubuntu
CI: Drop Ubuntu 16.04
CI: Add Ubuntu 26.04
CI: Update Fedora to 43
CI: Update Opensuse 15.6 to 16.0
Quoted 5 lines
Please consider:
Reviewed-by Denis Mukhin <[email protected]>for the entire series.
Quoted 26 lines · Andrew Cooper
Refresh which distros we do build testing with
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2579549654
Andrew Cooper (6):
CI: Drop test-artefacts/Makefile
CI: Swap ocaml-nox for ocaml in newer Debian/Ubuntu
CI: Drop Ubuntu 16.04
CI: Add Ubuntu 26.04
CI: Update Fedora to 43
CI: Update Opensuse 15.6 to 16.0automation/build/debian/12-arm64v8.dockerfile | 2 +- automation/build/debian/12-x86_32.dockerfile | 2 +- automation/build/debian/12-x86_64.dockerfile | 2 +- automation/build/debian/13-arm64v8.dockerfile | 2 +- automation/build/debian/13-x86_32.dockerfile | 2 +- automation/build/debian/13-x86_64.dockerfile | 2 +- ...x86_64.dockerfile => 43-x86_64.dockerfile} | 4 +- ...dockerfile => leap-16.0-x86_64.dockerfile} | 16 ++---- .../build/ubuntu/22.04-x86_64.dockerfile | 2 +- .../build/ubuntu/24.04-x86_64.dockerfile | 2 +- ..._64.dockerfile => 26.04-x86_64.dockerfile} | 15 ++++- automation/gitlab-ci/build.yaml | 57 ++++++++++--------- automation/tests-artifacts/Makefile | 19 ------- 13 files changed, 59 insertions(+), 68 deletions(-)
Quoted 4 lines
rename automation/build/fedora/{41-x86_64.dockerfile => 43-x86_64.dockerfile} (95%) rename automation/build/opensuse/{leap-15.6-x86_64.dockerfile => leap-16.0-x86_64.dockerfile} (84%) rename automation/build/ubuntu/{16.04-x86_64.dockerfile => 26.04-x86_64.dockerfile} (81%) delete mode 100644 automation/tests-artifacts/Makefile
For the entire patch series:
~ Oleksii