CI: Add Debian Trixie
cover CI: Add Debian Trixie
I know it's past the last-post deadline, but Trixie was only released today.
In terms of backports, we should at least go back to the bugfix branches.
Andrew Cooper (5):
CI: Trixie containers
CI: Update ppc64 to use Debian Trixie
CI: Update riscv64 to use Debian Trixie
stubdom: Fix -Wimplicit-int in newlib
CI: Update x86 to use Debian Trixie
automation/build/debian/13-ppc64le.dockerfile | 37 ++++++++ automation/build/debian/13-riscv64.dockerfile | 37 ++++++++ automation/build/debian/13-x86_32.dockerfile | 51 ++++++++++ automation/build/debian/13-x86_64.dockerfile | 74 +++++++++++++++ automation/gitlab-ci/build.yaml | 94 +++++++++++++++---- automation/gitlab-ci/test.yaml | 14 +-- stubdom/Makefile | 1 + stubdom/newlib-fix-etext.patch | 23 +++++ 8 files changed, 306 insertions(+), 25 deletions(-) create mode 100644 automation/build/debian/13-ppc64le.dockerfile create mode 100644 automation/build/debian/13-riscv64.dockerfile create mode 100644 automation/build/debian/13-x86_32.dockerfile create mode 100644 automation/build/debian/13-x86_64.dockerfile create mode 100644 stubdom/newlib-fix-etext.patch
Signature · 1 line
2.39.5
PATCH 1/5 CI: Trixie containers
Debian Trixie has been released. Provide new containers.
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>
I've deployed these containers already so people can play.
No ARM yet. There's an (old) outstanding series cleaning up the arm infrastructure, blocked on unclear root requirements for the Xilinx runners. That series really needs fixing.
--- automation/build/debian/13-ppc64le.dockerfile | 37 ++++++++++ automation/build/debian/13-riscv64.dockerfile | 37 ++++++++++ automation/build/debian/13-x86_32.dockerfile | 51 +++++++++++++ automation/build/debian/13-x86_64.dockerfile | 74 +++++++++++++++++++ 4 files changed, 199 insertions(+) create mode 100644 automation/build/debian/13-ppc64le.dockerfile create mode 100644 automation/build/debian/13-riscv64.dockerfile create mode 100644 automation/build/debian/13-x86_32.dockerfile create mode 100644 automation/build/debian/13-x86_64.dockerfile
automation/build/debian/13-ppc64le.dockerfile new file +37 -0
@@ -0,0 +1,37 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/amd64 debian:trixie-slim +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="[email protected]" + +ENV DEBIAN_FRONTEND=noninteractive +ENV CROSS_COMPILE=powerpc64le-linux-gnu- +ENV XEN_TARGET_ARCH=ppc64 + +RUN <<EOF +#!/bin/bash + set -e + + useradd --create-home user + + apt-get update + + DEPS=( + # Xen + bison + build-essential + checkpolicy + flex + gcc-powerpc64le-linux-gnu + python3-minimal + + # Qemu for test phase + qemu-system-ppc + expect + ) + + apt-get -y --no-install-recommends install "${DEPS[@]}" + rm -rf /var/lib/apt/lists/* +EOF + +USER user +WORKDIR /build
automation/build/debian/13-riscv64.dockerfile new file +37 -0
@@ -0,0 +1,37 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/amd64 debian:trixie-slim +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="[email protected]" + +ENV DEBIAN_FRONTEND=noninteractive +ENV CROSS_COMPILE=riscv64-linux-gnu- +ENV XEN_TARGET_ARCH=riscv64 + +RUN <<EOF +#!/bin/bash + set -e + + useradd --create-home user + + apt-get update + + DEPS=( + # Xen + bison + build-essential + checkpolicy + flex + gcc-riscv64-linux-gnu + python3-minimal + + # Qemu for test phase + qemu-system-riscv64 + expect + ) + + apt-get -y --no-install-recommends install "${DEPS[@]}" + rm -rf /var/lib/apt/lists/* +EOF + +USER user +WORKDIR /build
automation/build/debian/13-x86_32.dockerfile new file +51 -0
51 lines not on this page · raw message
automation/build/debian/13-x86_64.dockerfile new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.39.5
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH 1/5] CI: Trixie containers
Quoted 27 lines · Oleksii Kurochko
Quoted 16 lines · Andrew Cooper
Debian Trixie has been released. Provide new containers.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>Quoted 8 lines
I've deployed these containers already so people can play.
No ARM yet. There's an (old) outstanding series cleaning up the arm infrastructure, blocked on unclear root requirements for the Xilinx runners. That series really needs fixing.
--- automation/build/debian/13-ppc64le.dockerfile | 37 ++++++++++ automation/build/debian/13-riscv64.dockerfile | 37 ++++++++++
Quoted 4 lines
LKGTM: Reviewed-by: Oleksii Kurochko <[email protected]> #riscv
Also, shouldn’t we update the |automation/scripts/containerize| script to add Debian 13 support?
Yes, and I should probably put something in Changelog too.
~Andrew
PATCH 2/5 CI: Update ppc64 to use Debian Trixie
In reply to Andrew CooperEverything works fine with Debian 13. Provide two new build jobs (for a total of 6), and update the test job.
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975927256
--- automation/gitlab-ci/build.yaml | 18 ++++++++++++++++-- automation/gitlab-ci/test.yaml | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-)
automation/gitlab-ci/build.yaml +16 -2
@@ -319,10 +319,10 @@ debian-12-x86_64-clang-debug: variables: CONTAINER: debian:12-x86_64 -debian-12-ppc64le-gcc-debug: +debian-13-ppc64le-gcc-debug: extends: .gcc-ppc64le-cross-build-debug variables: - CONTAINER: debian:12-ppc64le + CONTAINER: debian:13-ppc64le KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |
@@ -705,6 +705,20 @@ debian-12-ppc64le-gcc: KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y +debian-12-ppc64le-gcc-debug: + extends: .gcc-ppc64le-cross-build-debug + variables: + CONTAINER: debian:12-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y + +debian-13-ppc64le-gcc: + extends: .gcc-ppc64le-cross-build + variables: + CONTAINER: debian:13-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y + # RISC-V 64 cross-build debian-12-riscv64-gcc: extends: .gcc-riscv64-cross-build
automation/gitlab-ci/test.yaml +1 -1
@@ -712,4 +712,4 @@ qemu-smoke-ppc64le-powernv9-gcc: script: - ./automation/scripts/qemu-smoke-ppc64le.sh powernv9 2>&1 | tee ${LOGFILE} needs: - - debian-12-ppc64le-gcc-debug + - debian-13-ppc64le-gcc-debug
Signature · 1 line
2.39.5
Re: [PATCH 2/5] CI: Update ppc64 to use Debian Trixie
Quoted 18 lines · Andrew Cooper
automation/gitlab-ci/build.yaml +2
-2@@ -319,10 +319,10 @@ debian-12-x86_64-clang-debug: variables: CONTAINER: debian:12-x86_64 -debian-12-ppc64le-gcc-debug: +debian-13-ppc64le-gcc-debug: extends: .gcc-ppc64le-cross-build-debug variables: - CONTAINER: debian:12-ppc64le + CONTAINER: debian:13-ppc64le KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |
automation/gitlab-ci/build.yaml debian-12-ppc64le-gcc: · line 714
Quoted 10 lines
automation/gitlab-ci/build.yaml +7
-0@@ -705,6 +705,20 @@ debian-12-ppc64le-gcc: KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y +debian-12-ppc64le-gcc-debug: + extends: .gcc-ppc64le-cross-build-debug + variables: + CONTAINER: debian:12-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y +
Why did you remove the EXTRA_XEN_CONFIG from this job? Currently, the job is setup as:
debian-12-ppc64le-gcc-debug:
extends: .gcc-ppc64le-cross-build-debug
variables:
CONTAINER: debian:12-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
EXTRA_XEN_CONFIG: |
CONFIG_UBSAN=y
CONFIG_UBSAN_FATAL=yThanks,
Signature · 1 line
Anthony PERARD
Re: [PATCH 2/5] CI: Update ppc64 to use Debian Trixie
Quoted 32 lines · Anthony PERARD
Quoted 18 lines · Andrew Cooper
automation/gitlab-ci/build.yaml +2
-2@@ -319,10 +319,10 @@ debian-12-x86_64-clang-debug: variables: CONTAINER: debian:12-x86_64 -debian-12-ppc64le-gcc-debug: +debian-13-ppc64le-gcc-debug: extends: .gcc-ppc64le-cross-build-debug variables: - CONTAINER: debian:12-ppc64le + CONTAINER: debian:13-ppc64le KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |automation/gitlab-ci/build.yaml debian-12-ppc64le-gcc: · line 714
Quoted 10 lines
automation/gitlab-ci/build.yaml +7
-0@@ -705,6 +705,20 @@ debian-12-ppc64le-gcc: KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y +debian-12-ppc64le-gcc-debug: + extends: .gcc-ppc64le-cross-build-debug + variables: + CONTAINER: debian:12-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y +Why did you remove the
EXTRA_XEN_CONFIGfrom this job? Currently, the job is setup as:
Quoted 9 lines
debian-12-ppc64le-gcc-debug:
extends: .gcc-ppc64le-cross-build-debug
variables:
CONTAINER: debian:12-ppc64le
KBUILD_DEFCONFIG: ppc64_defconfig
HYPERVISOR_ONLY: y
EXTRA_XEN_CONFIG: |
CONFIG_UBSAN=y
CONFIG_UBSAN_FATAL=yBecause the build run under QEMU changes too. (See the hunk updating test.yaml)
We use UBSAN/FATAL for builds where we boot the resulting hypervisor, and not for the plain build tests. (In farness, UBSAN/FATAL is newer than the last time I shuffled test baselines).
If we're going to start having config like this on multiple builds, we're going to need to find a better way to handle it, because we cannot be duplicating it between different jobs.
~Andrew
PATCH 3/5 CI: Update riscv64 to use Debian Trixie
In reply to Andrew CooperEverything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs.
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975929387
--- automation/gitlab-ci/build.yaml | 22 ++++++++++++++++++---- automation/gitlab-ci/test.yaml | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-)
automation/gitlab-ci/build.yaml +18 -4
@@ -329,10 +329,10 @@ debian-13-ppc64le-gcc-debug: CONFIG_UBSAN=y CONFIG_UBSAN_FATAL=y -debian-12-riscv64-gcc-debug: +debian-13-riscv64-gcc-debug: extends: .gcc-riscv64-cross-build-debug variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |
@@ -727,6 +727,20 @@ debian-12-riscv64-gcc: KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y +debian-12-riscv64-gcc-debug: + extends: .gcc-riscv64-cross-build-debug + variables: + CONTAINER: debian:12-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y + +debian-13-riscv64-gcc: + extends: .gcc-riscv64-cross-build + variables: + CONTAINER: debian:13-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y + .riscv-fixed-randconfig: variables: &riscv-fixed-randconfig EXTRA_FIXED_RANDCONFIG: |
@@ -739,10 +753,10 @@ debian-12-riscv64-gcc: CONFIG_VM_EVENT=n CONFIG_XSM=n -debian-12-riscv64-gcc-randconfig: +debian-13-riscv64-gcc-randconfig: extends: .gcc-riscv64-cross-build variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig RANDCONFIG: y <<: *riscv-fixed-randconfig
automation/gitlab-ci/test.yaml +1 -1
@@ -705,7 +705,7 @@ qemu-smoke-riscv64-gcc: script: - ./automation/scripts/qemu-smoke-riscv64.sh 2>&1 | tee ${LOGFILE} needs: - - debian-12-riscv64-gcc-debug + - debian-13-riscv64-gcc-debug qemu-smoke-ppc64le-powernv9-gcc: extends: .qemu-ppc64le
Signature · 1 line
2.39.5
Re: [PATCH 3/5] CI: Update riscv64 to use Debian Trixie
Quoted 41 lines · Andrew Cooper
Everything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs.
Signed-off-by Andrew Cooper<[email protected]>---
CC: Anthony PERARD<[email protected]>
CC: Michal Orzel<[email protected]>
CC: Jan Beulich<[email protected]>
CC: Julien Grall<[email protected]>
CC: Roger Pau Monné<[email protected]>
CC: Stefano Stabellini<[email protected]>
CC: Shawn Anastasio<[email protected]>
CC: Oleksii Kurochko<[email protected]>
CC: Doug Goldstein<[email protected]>
CC: Marek Marczykowski-Górecki<[email protected]>
CC: Victor Lira<[email protected]>https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975929387
--- automation/gitlab-ci/build.yaml | 22 ++++++++++++++++++---- automation/gitlab-ci/test.yaml | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-)automation/gitlab-ci/build.yaml +2
-2@@ -329,10 +329,10 @@ debian-13-ppc64le-gcc-debug: CONFIG_UBSAN=y CONFIG_UBSAN_FATAL=y -debian-12-riscv64-gcc-debug: +debian-13-riscv64-gcc-debug: extends: .gcc-riscv64-cross-build-debug variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |
automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 735
Quoted 9 lines
automation/gitlab-ci/build.yaml +6
-0@@ -727,6 +727,20 @@ debian-12-riscv64-gcc: KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y +debian-12-riscv64-gcc-debug: + extends: .gcc-riscv64-cross-build-debug + variables: + CONTAINER: debian:12-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y
Don't you mind to keep an order? So:
debian-12-riscv64-gcc-debug:
...
debian-13-riscv64-gcc-debug:
...
Also, it will make a diff a little bit better.
Quoted 12 lines
automation/gitlab-ci/build.yaml +8
-0+ +debian-13-riscv64-gcc: + extends: .gcc-riscv64-cross-build + variables: + CONTAINER: debian:13-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y + .riscv-fixed-randconfig: variables: &riscv-fixed-randconfig EXTRA_FIXED_RANDCONFIG: |
automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 756
Quoted 5 lines
automation/gitlab-ci/build.yaml +1
-1@@ -739,10 +753,10 @@ debian-12-riscv64-gcc: CONFIG_VM_EVENT=n CONFIG_XSM=n -debian-12-riscv64-gcc-randconfig: +debian-13-riscv64-gcc-randconfig:
Are we going to have randconfig build test only for Debian-13?
Quoted 12 lines
automation/gitlab-ci/build.yaml +1
-1extends: .gcc-riscv64-cross-build variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig RANDCONFIG: y <<: *riscv-fixed-randconfigautomation/gitlab-ci/test.yaml +0
-0
automation/gitlab-ci/test.yaml qemu-smoke-riscv64-gcc: · line 708
Quoted 5 lines
automation/gitlab-ci/test.yaml +1
-1@@ -705,7 +705,7 @@ qemu-smoke-riscv64-gcc: script: - ./automation/scripts/qemu-smoke-riscv64.sh 2>&1 | tee ${LOGFILE} needs: - - debian-12-riscv64-gcc-debug + - debian-13-riscv64-gcc-debug
The same as above, are we going to run smoke tests only for Debian-13?
If the answer to this and the question above is “yes,” then (probably keeping the order — first debian-12, then debian-13 — for the jobs):
Thanks.
~ Oleksii
Quoted 3 lines
automation/gitlab-ci/test.yaml +0
-0qemu-smoke-ppc64le-powernv9-gcc: extends: .qemu-ppc64le
Re: [PATCH 3/5] CI: Update riscv64 to use Debian Trixie
Quoted 47 lines · Oleksii Kurochko
Quoted 44 lines · Andrew Cooper
Everything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975929387
--- automation/gitlab-ci/build.yaml | 22 ++++++++++++++++++---- automation/gitlab-ci/test.yaml | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-)automation/gitlab-ci/build.yaml +2
-2@@ -329,10 +329,10 @@ debian-13-ppc64le-gcc-debug: CONFIG_UBSAN=y CONFIG_UBSAN_FATAL=y -debian-12-riscv64-gcc-debug: +debian-13-riscv64-gcc-debug: extends: .gcc-riscv64-cross-build-debug variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |@@ -727,6 +727,20 @@ debian-12-riscv64-gcc: KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y
Quoted 11 lines
automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 735
Quoted 6 lines
automation/gitlab-ci/build.yaml +6
-0+debian-12-riscv64-gcc-debug: + extends: .gcc-riscv64-cross-build-debug + variables: + CONTAINER: debian:12-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: yDon't you mind to keep an order? So:
debian-12-riscv64-gcc-debug:
...
debian-13-riscv64-gcc-debug:
...
Notice how those 2 hunks are 400 lines apart in the file.
This is deliberate so debian-13-riscv64-gcc-debug (the one needed for tests) is scheduled with higher priority than the others.
The diff certainly isn't great, but this is necessary to shorten the pipeline.
Quoted 18 lines
Also, it will make a diff a little bit better.
Quoted 15 lines
automation/gitlab-ci/build.yaml +8
-0+ +debian-13-riscv64-gcc: + extends: .gcc-riscv64-cross-build + variables: + CONTAINER: debian:13-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y + .riscv-fixed-randconfig: variables: &riscv-fixed-randconfig EXTRA_FIXED_RANDCONFIG: |@@ -739,10 +753,10 @@ debian-12-riscv64-gcc: CONFIG_VM_EVENT=n CONFIG_XSM=n
Quoted 3 lines
automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 756
Quoted 2 lines
automation/gitlab-ci/build.yaml +1
-1-debian-12-riscv64-gcc-randconfig: +debian-13-riscv64-gcc-randconfig:Are we going to have randconfig build test only for Debian-13?
We only have finite test capacity.
Quoted 11 lines
Quoted 11 lines
automation/gitlab-ci/build.yaml +1
-1extends: .gcc-riscv64-cross-build variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig RANDCONFIG: y <<: *riscv-fixed-randconfigautomation/gitlab-ci/test.yaml +0
-1--- a/automation/gitlab-ci/test.yaml
Quoted 8 lines
automation/gitlab-ci/test.yaml qemu-smoke-riscv64-gcc: · line 708
Quoted 7 lines
+++
b/automation/gitlab-ci/test.yamlautomation/gitlab-ci/test.yaml +1
-1@@ -705,7 +705,7 @@ qemu-smoke-riscv64-gcc: script: - ./automation/scripts/qemu-smoke-riscv64.sh 2>&1 | tee ${LOGFILE} needs: - - debian-12-riscv64-gcc-debug + - debian-13-riscv64-gcc-debugThe same as above, are we going to run smoke tests only for Debian-13?
Again, test capacity. Even for x86 and ARM, we only have one main build under test.
Quoted 4 lines
If the answer to this and the question above is “yes,” then (probably keeping the order — first debian-12, then debian-13 — for the jobs):
Reviewed-by Oleksii Kurochko <[email protected]>
Sorry, but rearranging is one thing that can't really happen. Are you happy with my justification?
~Andrew
Re: [PATCH 3/5] CI: Update riscv64 to use Debian Trixie
Quoted 106 lines · Andrew Cooper
Quoted 53 lines · Oleksii Kurochko
Quoted 41 lines · Andrew Cooper
Everything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs.
Signed-off-by Andrew Cooper<[email protected]>---
CC: Anthony PERARD<[email protected]>
CC: Michal Orzel<[email protected]>
CC: Jan Beulich<[email protected]>
CC: Julien Grall<[email protected]>
CC: Roger Pau Monné<[email protected]>
CC: Stefano Stabellini<[email protected]>
CC: Shawn Anastasio<[email protected]>
CC: Oleksii Kurochko<[email protected]>
CC: Doug Goldstein<[email protected]>
CC: Marek Marczykowski-Górecki<[email protected]>
CC: Victor Lira<[email protected]>https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975929387
--- automation/gitlab-ci/build.yaml | 22 ++++++++++++++++++---- automation/gitlab-ci/test.yaml | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-)automation/gitlab-ci/build.yaml +2
-2@@ -329,10 +329,10 @@ debian-13-ppc64le-gcc-debug: CONFIG_UBSAN=y CONFIG_UBSAN_FATAL=y -debian-12-riscv64-gcc-debug: +debian-13-riscv64-gcc-debug: extends: .gcc-riscv64-cross-build-debug variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: |automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 735
Quoted 9 lines
automation/gitlab-ci/build.yaml +6
-0@@ -727,6 +727,20 @@ debian-12-riscv64-gcc: KBUILD_DEFCONFIG: tiny64_defconfig HYPERVISOR_ONLY: y +debian-12-riscv64-gcc-debug: + extends: .gcc-riscv64-cross-build-debug + variables: + CONTAINER: debian:12-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: yDon't you mind to keep an order? So:
Quoted 4 lines
debian-12-riscv64-gcc-debug: ... debian-13-riscv64-gcc-debug: ...Notice how those 2 hunks are 400 lines apart in the file.
This is deliberate so debian-13-riscv64-gcc-debug (the one needed for tests) is scheduled with higher priority than the others.
The diff certainly isn't great, but this is necessary to shorten the pipeline.
Quoted 17 lines
Also, it will make a diff a little bit better.
Quoted 15 lines
automation/gitlab-ci/build.yaml +8
-0+ +debian-13-riscv64-gcc: + extends: .gcc-riscv64-cross-build + variables: + CONTAINER: debian:13-riscv64 + KBUILD_DEFCONFIG: tiny64_defconfig + HYPERVISOR_ONLY: y + .riscv-fixed-randconfig: variables: &riscv-fixed-randconfig EXTRA_FIXED_RANDCONFIG: |@@ -739,10 +753,10 @@ debian-12-riscv64-gcc: CONFIG_VM_EVENT=n CONFIG_XSM=nQuoted 3 lines
automation/gitlab-ci/build.yaml debian-12-riscv64-gcc: · line 756
Quoted 2 lines
automation/gitlab-ci/build.yaml +1
-1-debian-12-riscv64-gcc-randconfig: +debian-13-riscv64-gcc-randconfig:Are we going to have randconfig build test only for Debian-13?
We only have finite test capacity.
Quoted 10 lines
Quoted 10 lines
automation/gitlab-ci/build.yaml +1
-1extends: .gcc-riscv64-cross-build variables: - CONTAINER: debian:12-riscv64 + CONTAINER: debian:13-riscv64 KBUILD_DEFCONFIG: tiny64_defconfig RANDCONFIG: y <<: *riscv-fixed-randconfigautomation/gitlab-ci/test.yaml +0
-1--- a/automation/gitlab-ci/test.yamlQuoted 8 lines
automation/gitlab-ci/test.yaml qemu-smoke-riscv64-gcc: · line 708
Quoted 7 lines
+++
b/automation/gitlab-ci/test.yamlautomation/gitlab-ci/test.yaml +1
-1@@ -705,7 +705,7 @@ qemu-smoke-riscv64-gcc: script: - ./automation/scripts/qemu-smoke-riscv64.sh 2>&1 | tee ${LOGFILE} needs: - - debian-12-riscv64-gcc-debug + - debian-13-riscv64-gcc-debugThe same as above, are we going to run smoke tests only for Debian-13?
Quoted 8 lines
Again, test capacity. Even for x86 and ARM, we only have one main build under test.
Quoted 3 lines
If the answer to this and the question above is “yes,” then (probably keeping the order — first debian-12, then debian-13 — for the jobs):
Reviewed-by Oleksii Kurochko<[email protected]>Sorry, but rearranging is one thing that can't really happen. Are you happy with my justification?
Yes, I am happy with that. Feel free to add my Reviewed-by.
Thanks for an explanation.
~ Oleksii
PATCH 4/5 stubdom: Fix -Wimplicit-int in newlib
In reply to Andrew CooperThis is an error now Debian Trixie's gcc-14
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Samuel Thibault <[email protected]>
CC: Juergen Gross <[email protected]>
I really think we need to move onto Unikraft as a maintained base...
--- stubdom/Makefile | 1 + stubdom/newlib-fix-etext.patch | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 stubdom/newlib-fix-etext.patch
stubdom/Makefile +1 -0
@@ -94,6 +94,7 @@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz patch -d $@ -p1 < newlib-cygmon-gmon.patch patch -d $@ -p1 < newlib-makedoc.patch patch -d $@ -p1 < newlib-fix-copy_past_newline.patch + patch -d $@ -p1 < newlib-fix-etext.patch find $@ -type f | xargs perl -i.bak \ -pe 's/\b_(tzname|daylight|timezone)\b/$$1/g' touch $@
stubdom/newlib-fix-etext.patch new file +23 -0
@@ -0,0 +1,23 @@ +GCC-14 in Debian Trixie i386 complains: + +../../../../newlib-1.16.0/libgloss/i386/cygmon-gmon.c: In function '_mcount': +../../../../newlib-1.16.0/libgloss/i386/cygmon-gmon.c:227:14: error: type defaults to 'int' in declaration of '_etext' [-Wimplicit-int] + 227 | extern _etext(); + | ^~~~~~ +../../../../newlib-1.16.0/libgloss/i386/cygmon-gmon.c:228:14: error: type defaults to 'int' in declaration of '_ftext' [-Wimplicit-int] + 228 | extern _ftext(); + | ^~~~~~ + +--- newlib-1.16.0/libgloss/i386/cygmon-gmon.c.orig 2025-08-09 22:48:09.864068481 +0100 ++++ newlib-1.16.0/libgloss/i386/cygmon-gmon.c 2025-08-09 22:52:18.458393484 +0100 +@@ -224,8 +224,8 @@ + + if (! already_setup) + { +- extern _etext(); +- extern _ftext(); ++ extern char _etext[]; ++ extern char _ftext[]; + already_setup = 1; + monstartup(_ftext, _etext); + atexit(_mcleanup);
Signature · 1 line
2.39.5
Re: [PATCH 4/5] stubdom: Fix -Wimplicit-int in newlib
Quoted 3 lines · Andrew Cooper
This is an error now Debian Trixie's gcc-14
Signed-off-by Andrew Cooper <[email protected]>
Quoted 11 lines
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Samuel Thibault <[email protected]>
CC: Juergen Gross <[email protected]>I really think we need to move onto Unikraft as a maintained base...
This would require a _lot_ of work to reach feature parity (ballooning, kexec come to my mind immediately).
I'm not sure when Unikraft took Mini-OS as the base, but it seems to have happened before I added ballooning, so 4.7 or earlier.
It probably would be easier to "just" take an up-to-date newlib for Mini-OS (btw, Unikraft is based on newlib 2.5, which isn't up-to-date either).
OTOH using Unikraft would give us Arm support "for free", which wouldn't be a minor effort to add to Mini-OS.
So I'm not opposed to switch to Unikraft, but before starting this adventure I'd like to discuss a path to feature parity compared to Mini-OS with the Unikraft community (especially looking at Xenstore support including live update).
Juergen
PATCH 5/5 CI: Update x86 to use Debian Trixie
In reply to Andrew CooperWith the exception of the custom IBT job, copy all Debian 12 jobs making Debian 13 versions, then trim the Debian 12 ranconfig jobs. Update the test jobs.
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Shawn Anastasio <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Victor Lira <[email protected]>
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975958452
We may want to trim a few more jobs, but I'm not sure where the right balance is.
--- automation/gitlab-ci/build.yaml | 54 +++++++++++++++++++++++++-------- automation/gitlab-ci/test.yaml | 10 +++--- 2 files changed, 47 insertions(+), 17 deletions(-)
automation/gitlab-ci/build.yaml +42 -12
@@ -309,15 +309,15 @@ alpine-3.18-gcc-debug: CONFIG_UCODE_SCAN_DEFAULT=y CONFIG_XHCI=y -debian-12-x86_64-gcc-debug: +debian-13-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug variables: - CONTAINER: debian:12-x86_64 + CONTAINER: debian:13-x86_64 -debian-12-x86_64-clang-debug: +debian-13-x86_64-clang-debug: extends: .clang-x86-64-build-debug variables: - CONTAINER: debian:12-x86_64 + CONTAINER: debian:13-x86_64 debian-13-ppc64le-gcc-debug: extends: .gcc-ppc64le-cross-build-debug
@@ -545,24 +545,20 @@ debian-12-x86_64-clang: variables: CONTAINER: debian:12-x86_64 -debian-12-x86_64-clang-randconfig: - extends: .clang-x86-64-build +debian-12-x86_64-clang-debug: + extends: .clang-x86-64-build-debug variables: CONTAINER: debian:12-x86_64 - RANDCONFIG: y - EXTRA_FIXED_RANDCONFIG: | - CONFIG_COVERAGE=n # Disable coverage otherwise build times out. debian-12-x86_64-gcc: extends: .gcc-x86-64-build variables: CONTAINER: debian:12-x86_64 -debian-12-x86_64-gcc-randconfig: - extends: .gcc-x86-64-build +debian-12-x86_64-gcc-debug: + extends: .gcc-x86-64-build-debug variables: CONTAINER: debian:12-x86_64 - RANDCONFIG: y debian-12-x86_32-clang-debug: extends: .clang-x86-32-build-debug
@@ -574,6 +570,40 @@ debian-12-x86_32-gcc-debug: variables: CONTAINER: debian:12-x86_32 +debian-13-x86_64-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: debian:13-x86_64 + +debian-13-x86_64-clang-randconfig: + extends: .clang-x86-64-build + variables: + CONTAINER: debian:13-x86_64 + RANDCONFIG: y + EXTRA_FIXED_RANDCONFIG: | + CONFIG_COVERAGE=n # Disable coverage otherwise build times out. + +debian-13-x86_64-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:13-x86_64 + +debian-13-x86_64-gcc-randconfig: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:13-x86_64 + RANDCONFIG: y + +debian-13-x86_32-clang-debug: + extends: .clang-x86-32-build-debug + variables: + CONTAINER: debian:13-x86_32 + +debian-13-x86_32-gcc-debug: + extends: .gcc-x86-32-build-debug + variables: + CONTAINER: debian:13-x86_32 + fedora-41-x86_64-gcc: extends: .gcc-x86-64-build variables:
automation/gitlab-ci/test.yaml +5 -5
@@ -661,35 +661,35 @@ qemu-smoke-x86-64-gcc: script: - ./automation/scripts/qemu-xtf.sh x86-64 pv64 example 2>&1 | tee ${LOGFILE} needs: - - debian-12-x86_64-gcc-debug + - debian-13-x86_64-gcc-debug qemu-smoke-x86-64-clang: extends: .qemu-smoke-x86-64 script: - ./automation/scripts/qemu-xtf.sh x86-64 pv64 example 2>&1 | tee ${LOGFILE} needs: - - debian-12-x86_64-clang-debug + - debian-13-x86_64-clang-debug qemu-smoke-x86-64-gcc-pvh: extends: .qemu-smoke-x86-64 script: - ./automation/scripts/qemu-xtf.sh x86-64 hvm64 example 2>&1 | tee ${LOGFILE} needs: - - debian-12-x86_64-gcc-debug + - debian-13-x86_64-gcc-debug qemu-smoke-x86-64-clang-pvh: extends: .qemu-smoke-x86-64 script: - ./automation/scripts/qemu-xtf.sh x86-64 hvm64 example 2>&1 | tee ${LOGFILE} needs: - - debian-12-x86_64-clang-debug + - debian-13-x86_64-clang-debug qemu-smoke-x86-64-gcc-efi: extends: .qemu-smoke-x86-64 script: - ./automation/scripts/qemu-xtf.sh x86-64-efi pv64 example 2>&1 | tee ${LOGFILE} needs: - - debian-12-x86_64-gcc-debug + - debian-13-x86_64-gcc-debug qemu-xtf-argo-x86_64-gcc-debug: extends: .qemu-smoke-x86-64
Signature · 1 line
2.39.5
Quoted 1 line · Andrew Cooper
I know it's past the last-post deadline, but Trixie was only released today.
Lets consider it for 4.21:
Thanks.
~ Oleksii
Quoted 25 lines
In terms of backports, we should at least go back to the bugfix branches.
Andrew Cooper (5):
CI: Trixie containers
CI: Update ppc64 to use Debian Trixie
CI: Update riscv64 to use Debian Trixie
stubdom: Fix -Wimplicit-int in newlib
CI: Update x86 to use Debian Trixieautomation/build/debian/13-ppc64le.dockerfile | 37 ++++++++ automation/build/debian/13-riscv64.dockerfile | 37 ++++++++ automation/build/debian/13-x86_32.dockerfile | 51 ++++++++++ automation/build/debian/13-x86_64.dockerfile | 74 +++++++++++++++ automation/gitlab-ci/build.yaml | 94 +++++++++++++++---- automation/gitlab-ci/test.yaml | 14 +-- stubdom/Makefile | 1 + stubdom/newlib-fix-etext.patch | 23 +++++ 8 files changed, 306 insertions(+), 25 deletions(-)create mode 100644 automation/build/debian/13-ppc64le.dockerfile create mode 100644 automation/build/debian/13-riscv64.dockerfile create mode 100644 automation/build/debian/13-x86_32.dockerfile create mode 100644 automation/build/debian/13-x86_64.dockerfile create mode 100644
stubdom/newlib-fix-etext.patch
Quoted 3 lines · Andrew Cooper
I know it's past the last-post deadline, but Trixie was only released today.
In terms of backports, we should at least go back to the bugfix branches.
What is the state of this series? I'm preparing refresh of my various CI series and some add more jobs on debian-12 - I wonder if I should make them debian-13 already - but for this I need this series committed...
Quoted 26 lines
Andrew Cooper (5):
CI: Trixie containers
CI: Update ppc64 to use Debian Trixie
CI: Update riscv64 to use Debian Trixie
stubdom: Fix -Wimplicit-int in newlib
CI: Update x86 to use Debian Trixieautomation/build/debian/13-ppc64le.dockerfile | 37 ++++++++ automation/build/debian/13-riscv64.dockerfile | 37 ++++++++ automation/build/debian/13-x86_32.dockerfile | 51 ++++++++++ automation/build/debian/13-x86_64.dockerfile | 74 +++++++++++++++ automation/gitlab-ci/build.yaml | 94 +++++++++++++++---- automation/gitlab-ci/test.yaml | 14 +-- stubdom/Makefile | 1 + stubdom/newlib-fix-etext.patch | 23 +++++ 8 files changed, 306 insertions(+), 25 deletions(-) create mode 100644 automation/build/debian/13-ppc64le.dockerfile create mode 100644 automation/build/debian/13-riscv64.dockerfile create mode 100644 automation/build/debian/13-x86_32.dockerfile create mode 100644 automation/build/debian/13-x86_64.dockerfile create mode 100644 stubdom/newlib-fix-etext.patchSignature · 1 line
2.39.5
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
Quoted 8 lines · Marek Marczykowski-Górecki
Quoted 3 lines · Andrew Cooper
I know it's past the last-post deadline, but Trixie was only released today.
In terms of backports, we should at least go back to the bugfix branches.
What is the state of this series? I'm preparing refresh of my various CI series and some add more jobs on debian-12 - I wonder if I should make them debian-13 already - but for this I need this series committed...
I have been too busy reviewing the non-gitlab patch series for the feature freeze last Friday and we have a couple of series still to process.
Maybe gitlab-related series could be committed also past the feature freeze.
Quoted 8 lines · Stefano Stabellini
Quoted 7 lines · Marek Marczykowski-Górecki
Quoted 3 lines · Andrew Cooper
I know it's past the last-post deadline, but Trixie was only released today.
In terms of backports, we should at least go back to the bugfix branches.
What is the state of this series? I'm preparing refresh of my various CI series and some add more jobs on debian-12 - I wonder if I should make them debian-13 already - but for this I need this series committed...
Quoted 6 lines
I have been too busy reviewing the non-gitlab patch series for the feature freeze last Friday and we have a couple of series still to process.
Maybe gitlab-related series could be committed also past the feature freeze.
It makes sense to me. And I think we had such conversation somewhere else.
~ Oleksii