testing updates (vm, docker, arm functional)
The following changes since commit d8a9d97317d03190b34498741f98f22e2a9afe3e:
Merge tag 'pull-target-arm-20260226' of https://gitlab.com/pm215/qemu into staging (2026-02-26 16:00:07 +0000)
are available in the Git repository at:
https://gitlab.com/stsquad/qemu.git tags/pull-11.0-testing-updates-270226-2
for you to fetch changes up to 49105fa01059c100332a583816ba97562e181586:
tests/functional: add Arm VBSA uefi conformance test (2026-02-27 12:54:17 +0000)
----------------------------------------------------------------
testing updates (vm, docker, arm functional)
- migrate non-lcitool Debian containers to Trixie (13)
- remove legacy-test-cross hacks
- fix some minor make vm- Makefile issues
- bump OpenBSD to 7.8
- add VBSA EFI functional test for Arm
----------------------------------------------------------------
Alex Bennée (6):
tests/docker: migrate legacy-test-cross compilers to trixie tests/vm: bump OpenBSD to the current 7.8 release tests/vm: remove unused import
tests/vm: fix interactive boot
tests/vm: build openbsd from lcitool data tests/functional: add Arm VBSA uefi conformance test
John Snow (1):
tests/docker: upgrade most non-lcitool debian tests to debian 13
configure | 10 +- .gitlab-ci.d/buildtest.yml | 12 --- .gitlab-ci.d/container-cross.yml | 6 -- .gitlab-ci.d/containers.yml | 1 - .../dockerfiles/debian-all-test-cross.docker | 8 +- .../docker/dockerfiles/debian-hexagon-cross.docker | 11 ++- .../dockerfiles/debian-legacy-test-cross.docker | 51 ---------- .../dockerfiles/debian-loongarch-cross.docker | 10 +- tests/docker/dockerfiles/debian-toolchain.docker | 8 +- .../docker/dockerfiles/debian-tricore-cross.docker | 5 +- .../docker/dockerfiles/debian-xtensa-cross.docker | 2 +- tests/functional/aarch64/meson.build | 1 + tests/functional/aarch64/test_virt_vbsa.py | 106 +++++++++++++++++++++ tests/lcitool/libvirt-ci | 2 +- tests/lcitool/refresh | 13 ++- tests/vm/Makefile.include | 2 +- tests/vm/generated/openbsd.json | 27 ++++++ tests/vm/openbsd | 47 +-------- 18 files changed, 175 insertions(+), 147 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian-legacy-test-cross.docker create mode 100755 tests/functional/aarch64/test_virt_vbsa.py create mode 100644 tests/vm/generated/openbsd.json
Signature · 1 line
2.47.3
[PULL 7/7] tests/functional: add Arm VBSA uefi conformance test
The VBSA test is a subset of the wider Arm architecture compliance suites (ACS) which validate machines meet particular minimum set of requirements. The VBSA is for virtual machines so it makes sense we should check the -M virt machine is compliant.
Fortunately there are prebuilt binaries published via github so all we need to do is build an EFI partition and place things in the right place.
There are some additional Linux based tests which are left for later.
Message-ID: <[email protected]>
tests/functional/aarch64/meson.build +1 -0
@@ -46,6 +46,7 @@ tests_aarch64_system_thorough = [ 'tuxrun', 'virt', 'virt_gpu', + 'virt_vbsa', 'xen', 'xlnx_versal', ]
tests/functional/aarch64/test_virt_vbsa.py new file +106 -0
106 lines not on this page · raw message
Signature · 1 line
2.47.3
[PULL 5/7] tests/vm: fix interactive boot
In reply to Alex BennéeFor reasons still not clear to me passing the single dashed -interactive would confuse the argument parsing enough we tried to pass "nterative" as a string to the launch command causing failure and head scratching.
Message-ID: <[email protected]>
tests/vm/Makefile.include +1 -1
@@ -154,6 +154,6 @@ vm-boot-ssh-%: $(IMAGES_DIR)/%.img $(VM_VENV) $(if $(EFI_AARCH64),--efi-aarch64 $(EFI_AARCH64)) \ $(if $(LOG_CONSOLE),--log-console) \ --image "$<" \ - $(if $(ROOT_USER),--interactive-root,-interactive) \ + $(if $(ROOT_USER),--interactive-root,--interactive) \ false, \ " VM-BOOT-SSH $*") || true
Signature · 1 line
2.47.3
[PULL 6/7] tests/vm: build openbsd from lcitool data
In reply to Alex BennéeFor now only use the minimal decadency set until all the OpenBSD mappings can be divined.
Message-ID: <[email protected]>
tests/lcitool/libvirt-ci +1 -1
@@ -1 +1 @@ -Subproject commit 514b0cd7f6375d0089f96e749079093906c532a8 +Subproject commit 5176e136ab11e275eb9f57c3d5c80e77af6507cb
tests/lcitool/refresh +3 -2
@@ -87,9 +87,9 @@ def generate_cirrus(target, trailer=None): generate(filename, cmd, trailer) -def generate_pkglist(vm, target): +def generate_pkglist(vm, target, project="qemu"): filename = Path(src_dir, "tests", "vm", "generated", vm + ".json") - cmd = lcitool_cmd + ["variables", "--format", "json", target, "qemu"] + cmd = lcitool_cmd + ["variables", "--format", "json", target, project] generate(filename, cmd, None)
@@ -316,6 +316,7 @@ try: # VM packages lists # generate_pkglist("freebsd", "freebsd-14") + generate_pkglist("openbsd", "openbsd-78", project="qemu-minimal") # # Ansible package lists
tests/vm/generated/openbsd.json new file +27 -0
@@ -0,0 +1,27 @@ +{ + "ccache": "/usr/local/bin/ccache", + "cpan_pkgs": [], + "cross_pkgs": [], + "make": "/usr/local/bin/gmake", + "ninja": "/usr/local/bin/ninja", + "packaging_command": "pkg_add", + "pip3": "/usr/local/bin/pip3", + "pkgs": [ + "bash", + "bison", + "bzip2", + "ccache", + "dtc", + "git", + "glib2", + "gmake", + "gsed", + "libffi", + "meson", + "ninja", + "pkgconf", + "python3" + ], + "pypi_pkgs": [], + "python": "/usr/local/bin/python3" +}
tests/vm/openbsd +2 -40
55 lines not on this page · raw message
Signature · 1 line
2.47.3
[PULL 2/7] tests/docker: migrate legacy-test-cross compilers to trixie
In reply to Alex BennéeThe bugs have evidently been fixed in the latest release so we can migrate the laggards into how all-test-cross container and remove the legacy hacks. They are also packaged for the main architectures so we don't need to jump through the amd64 hoops.
Message-ID: <[email protected]>
configure +1 -9
@@ -1458,7 +1458,7 @@ probe_target_compiler() { container_image=debian-all-test-cross container_cross_prefix=aarch64-linux-gnu- ;; - hppa|m68k|mips|riscv64|sparc64) + alpha|hppa|m68k|mips|riscv64|sh4|sparc64) container_image=debian-all-test-cross ;; mips64)
@@ -1470,14 +1470,6 @@ probe_target_compiler() { container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- ;; - # debian-legacy-test-cross architectures (need Debian 11) - # - libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412 - # - sh4-linux-user: binaries don't run with bookworm compiler - - alpha|sh4) - container_image=debian-legacy-test-cross - ;; - # architectures with individual containers aarch64)
.gitlab-ci.d/buildtest.yml +0 -12
@@ -376,18 +376,6 @@ build-user-static: variables: IMAGE: debian-all-test-cross CONFIGURE_ARGS: --disable-tools --disable-system --static - --target-list-exclude=alpha-linux-user,sh4-linux-user - MAKE_CHECK_ARGS: check-tcg - -# targets stuck on older compilers -build-legacy: - extends: .native_build_job_template - needs: - - job: amd64-debian-legacy-cross-container - variables: - IMAGE: debian-legacy-test-cross - TARGETS: alpha-linux-user alpha-softmmu sh4-linux-user - CONFIGURE_ARGS: --disable-tools MAKE_CHECK_ARGS: check-tcg build-user-hexagon:
.gitlab-ci.d/container-cross.yml +0 -6
@@ -10,12 +10,6 @@ amd64-debian-user-cross-container: variables: NAME: debian-all-test-cross -amd64-debian-legacy-cross-container: - extends: .container_job_template - stage: containers - variables: - NAME: debian-legacy-test-cross - arm64-debian-cross-container: extends: .container_job_template stage: containers
.gitlab-ci.d/containers.yml +0 -1
@@ -45,7 +45,6 @@ weekly-container-builds: # cross - amd64-debian-cross-container - amd64-debian-user-cross-container - - amd64-debian-legacy-cross-container - arm64-debian-cross-container - hexagon-cross-container - loongarch-debian-cross-container
tests/docker/dockerfiles/debian-all-test-cross.docker +6 -2
@@ -64,6 +64,8 @@ ENV AVAILABLE_COMPILERS gcc-aarch64-linux-gnu \ libc6-dev-arm64-cross \ gcc-arm-linux-gnueabihf \ libc6-dev-armhf-cross \ + gcc-alpha-linux-gnu \ + libc6.1-dev-alpha-cross \ gcc-mips-linux-gnu \ libc6-dev-mips-cross \ gcc-mips64-linux-gnuabi64 \
@@ -77,7 +79,9 @@ ENV AVAILABLE_COMPILERS gcc-aarch64-linux-gnu \ gcc-riscv64-linux-gnu \ libc6-dev-riscv64-cross \ gcc-s390x-linux-gnu \ - libc6-dev-s390x-cross + libc6-dev-s390x-cross\ + gcc-sh4-linux-gnu \ + libc6-dev-sh4-cross RUN if dpkg-architecture -e amd64; then \ export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-hppa-linux-gnu libc6-dev-hppa-cross"; \ export AVAILABLE_COMPILERS="${AVAILABLE_COMPILERS} gcc-m68k-linux-gnu libc6-dev-m68k-cross"; \
@@ -90,7 +94,7 @@ apt install -y --no-install-recommends \ ${AVAILABLE_COMPILERS} && \ dpkg-query --showformat '${Package}_${Version}_${Architecture}' --show > /packages.txt ENV QEMU_CONFIGURE_OPTS --disable-docs -ENV DEF_TARGET_LIST aarch64-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sparc64-linux-user +ENV DEF_TARGET_LIST aarch64-linux-user,alpha-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sh4-linux-user,sparc64-linux-user # As a final step configure the user (if env is defined) ARG USER ARG UID
tests/docker/dockerfiles/debian-legacy-test-cross.docker deleted +0 -51
51 lines not on this page · raw message
tests/lcitool/refresh +6 -2
@@ -172,6 +172,8 @@ debian_all_test_cross_compilers = [ " libc6-dev-arm64-cross \\\n", " gcc-arm-linux-gnueabihf \\\n", " libc6-dev-armhf-cross \\\n", + " gcc-alpha-linux-gnu \\\n" + " libc6.1-dev-alpha-cross \\\n" " gcc-mips-linux-gnu \\\n", " libc6-dev-mips-cross \\\n", " gcc-mips64-linux-gnuabi64 \\\n",
@@ -185,7 +187,9 @@ debian_all_test_cross_compilers = [ " gcc-riscv64-linux-gnu \\\n", " libc6-dev-riscv64-cross \\\n", " gcc-s390x-linux-gnu \\\n", - " libc6-dev-s390x-cross\n", + " libc6-dev-s390x-cross\\\n", + " gcc-sh4-linux-gnu \\\n", + " libc6-dev-sh4-cross\n", "RUN if dpkg-architecture -e amd64; then \\\n", " export AVAILABLE_COMPILERS=\"${AVAILABLE_COMPILERS} gcc-hppa-linux-gnu libc6-dev-hppa-cross\"; \\\n", " export AVAILABLE_COMPILERS=\"${AVAILABLE_COMPILERS} gcc-m68k-linux-gnu libc6-dev-m68k-cross\"; \\\n",
@@ -198,7 +202,7 @@ debian_all_test_cross_compilers = [ "${AVAILABLE_COMPILERS} && \\\n", "dpkg-query --showformat '${Package}_${Version}_${Architecture}' --show > /packages.txt\n", "ENV QEMU_CONFIGURE_OPTS --disable-docs\n", - "ENV DEF_TARGET_LIST aarch64-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sparc64-linux-user\n", + "ENV DEF_TARGET_LIST aarch64-linux-user,alpha-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sh4-linux-user,sparc64-linux-user\n", ] def cross_build(prefix, targets):
Signature · 1 line
2.47.3
[PULL 4/7] tests/vm: remove unused import
In reply to Alex BennéeMessage-ID: <[email protected]>
tests/vm/openbsd +0 -1
@@ -14,7 +14,6 @@ import os import sys -import socket import subprocess import basevm
Signature · 1 line
2.47.3
[PULL 1/7] tests/docker: upgrade most non-lcitool debian tests to debian 13
In reply to Alex BennéeFrom: John Snow <[email protected]>
Debian 11 was EOL in 2024, and Debian 12 will be EOL this June. This patch moves all but one of our tests, debian-legacy-test-cross, onto Debian 13.
This patch does the bare minimum to upgrade these tests and doesn't make any attempt at optimization or cleanup that may or may not be possible with this upgrade.
Message-ID: <[email protected]>
tests/docker/dockerfiles/debian-hexagon-cross.docker +6 -5
@@ -5,10 +5,12 @@ # needs to be able to build QEMU itself in CI we include its # build-deps. # -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim + +# Add deb-src repository sources +RUN sed -i "s/^Types: deb$/Types: deb deb-src/" \ + /etc/apt/sources.list.d/debian.sources -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=noninteractive eatmydata \
@@ -24,6 +26,7 @@ RUN apt-get update && \ ninja-build \ python3-pip \ python3-setuptools \ + python3-tomli \ python3-venv \ python3-wheel && \ # Install QEMU build deps for use in CI
@@ -36,8 +39,6 @@ RUN apt-get update && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc && \ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt -RUN /usr/bin/pip3 install tomli - ENV TOOLCHAIN_INSTALL /opt ENV TOOLCHAIN_RELEASE 12.Dec.2023 ENV TOOLCHAIN_BASENAME "clang+llvm-${TOOLCHAIN_RELEASE}-cross-hexagon-unknown-linux-musl"
tests/docker/dockerfiles/debian-loongarch-cross.docker +5 -5
@@ -4,10 +4,11 @@ # This docker target uses prebuilt toolchains for LoongArch64 from: # https://github.com/loongson/build-tools/releases # -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list +# Add deb-src repository sources +RUN sed -i "s/^Types: deb$/Types: deb deb-src/" \ + /etc/apt/sources.list.d/debian.sources RUN export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \
@@ -31,12 +32,11 @@ RUN apt-get update && \ ninja-build \ python3-pip \ python3-setuptools \ + python3-tomli \ python3-venv \ python3-wheel && \ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt -RUN /usr/bin/pip3 install tomli - RUN curl -#SL https://github.com/loongson/build-tools/releases/download/2023.08.08/CLFS-loongarch64-8.1-x86_64-cross-tools-gcc-glibc.tar.xz \ | tar -xJC /opt
tests/docker/dockerfiles/debian-toolchain.docker +5 -3
@@ -4,13 +4,15 @@ # This dockerfile is used for building a cross-compiler toolchain. # The script for building the toolchain is supplied via extra-files. # -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim # Install build utilities for building gcc and glibc. # ??? The build-dep isn't working, missing a number of # minimal build dependiencies, e.g. libmpc. -RUN sed 's/^deb /deb-src /' </etc/apt/sources.list >/etc/apt/sources.list.d/deb-src.list +# Add deb-src repository sources +RUN sed -i "s/^Types: deb$/Types: deb deb-src/" \ + /etc/apt/sources.list.d/debian.sources RUN apt update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
@@ -34,7 +36,7 @@ RUN cd /root && ./build-toolchain.sh # Throw away the extra toolchain build deps, the downloaded source, # and the build trees by restoring the original image, # then copying the built toolchain from stage 0. -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim RUN apt update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=noninteractive eatmydata \
tests/docker/dockerfiles/debian-tricore-cross.docker +2 -3
@@ -9,7 +9,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later # -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim RUN apt update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
@@ -31,12 +31,11 @@ RUN apt update && \ pkgconf \ python3-pip \ python3-setuptools \ + python3-tomli \ python3-wheel \ python3-venv && \ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt -RUN /usr/bin/pip3 install tomli - RUN curl -#SL https://github.com/bkoppelmann/package_940/releases/download/tricore-toolchain-9.40/tricore-toolchain-9.4.0.tar.gz \ | tar -xzC /usr/local/
tests/docker/dockerfiles/debian-xtensa-cross.docker +1 -1
@@ -5,7 +5,7 @@ # using a prebuilt toolchains for Xtensa cores from: # https://github.com/foss-xtensa/toolchain/releases # -FROM docker.io/library/debian:11-slim +FROM docker.io/library/debian:13-slim RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
Signature · 1 line
2.47.3
[PULL 3/7] tests/vm: bump OpenBSD to the current 7.8 release
In reply to Alex BennéeMessage-ID: <[email protected]>
tests/vm/openbsd +2 -2
@@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM): name = "openbsd" arch = "x86_64" - link = "https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/install77.iso" - csum = "da0106e39463f015524dca806f407c37a9bdd17e6dfffe533b06a2dd2edd8a27" + link = "https://cdn.openbsd.org/pub/OpenBSD/7.8/amd64/install78.iso" + csum = "a228d0a1ef558b4d9ec84c698f0d3ffd13cd38c64149487cba0f1ad873be07b2" size = "20G" pkgs = [ # tools
Signature · 1 line
2.47.3
Peter Maydell
AppliedQuoted 16 lines · Alex Bennée
The following changes since commit
d8a9d97317d03190b34498741f98f22e2a9afe3e:Merge tag 'pull-target-arm-20260226' of https://gitlab.com/pm215/qemu into staging (2026-02-26 16:00:07 +0000)
are available in the Git repository at:
https://gitlab.com/stsquad/qemu.git tags/pull-11.0-testing-updates-270226-2
for you to fetch changes up to
49105fa01059c100332a583816ba97562e181586:tests/functional: add Arm VBSA uefi conformance test (2026-02-27 12:54:17 +0000)
----------------------------------------------------------------
testing updates (vm, docker, arm functional)
Quoted 7 lines
- migrate non-lcitool Debian containers to Trixie (13)
- remove legacy-test-cross hacks
- fix some minor make vm-Makefileissues
- bump OpenBSD to 7.8
- add VBSA EFI functional test for Arm----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/11.0
for any user-visible changes.
-- PMM