From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205573; cv=none; d=zohomail.com; s=zohoarc; b=cx+hv+di1DJgpZJr0uj3/JkvOjFg45npYhCT1d3pavXQw8QkkDeE4IIDsQIWjwxKjjRaofQu4FHhtrcNZi+QSUScpwRVOfpSVrDZps1yV4jqDcxcLMK3obwibPOne/ZKw5Bfe4Sg/mCi+db/CBeMr7ch2zDml2TV48ufeIv2XOI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205573; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Gdbp7cCfKPN88niQvYSNW+Fatzs8R/gyPaadw4SxJ5w=; b=a/gmO8iGghW8Xsy5TXs5kI8bWW6yQLE7TUaLtV9J4UeQZ5zX+xrDL6LfxPwGndOSxkd21681NKd3BVxChVuzTSEk61pWSg/O+wp8N5XrK4dUahObYM9OIUUxYqslhmQim5ptKWJpCtMCLtnzQpMj7ImCP59tsqOivnQGMiNlqK4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205573609844.6686830017535; Fri, 27 Feb 2026 07:19:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzba-0000Lt-DZ; Fri, 27 Feb 2026 10:18:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbY-0000LD-Mr for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:12 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbW-0005kR-6T for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:12 -0500 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-65fac0b51baso4028133a12.0 for ; Fri, 27 Feb 2026 07:18:09 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-65fac07c06csm1329368a12.33.2026.02.27.07.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:05 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 366EF5F7F6; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205488; x=1772810288; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Gdbp7cCfKPN88niQvYSNW+Fatzs8R/gyPaadw4SxJ5w=; b=UNkFJLt/4WUrnVRKp+PV0dwH2M99PYV69QHyXSgjrfEHmhligDjmxv078K47C5PFoG FAlOgpKVjHEwHvvgSZJYScVL03zjNrdAIAwaPQT8vk0ETJfl0P0L1lgh6rSY2ejkpcL5 bgHjYUimqFuEW128fB8Ae0tih2wcjaW6RIOXcNUuDdU8lB/vcgxC1q2WL4DSA9UVf65Q uEtVFbpdU5cqptiO62AJybzviSQ6GFZLohAJo2Df+l0H3Y5RQHj+OstUlqw2126ALKo7 Z/1awmaiS5achx3RGm/LRDwsIPWhhd5jAu8eFPCPvSF33wuGLycfk8HzjO5HFm0Y3r+C hdnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205488; x=1772810288; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Gdbp7cCfKPN88niQvYSNW+Fatzs8R/gyPaadw4SxJ5w=; b=oYe56b6MA+Z2byp2iqsAGMdh6U2uaQp7nMsctWiAAgF4gi144qLXj3MSoy4VhoEWh1 ceisEWy+Csl1cWmPzck/tMILZtUGl/2hyYIVnWT/U6U0NqxTI2HwuyRXtpmJkX9S3F3b 5M++0uDyy/X3SHTq4n9JHnUaJe8sZCd11rwenr8Hq+xfeBhi7n9B1EEsKHcMZGbrHZN0 Xt/+pPxnVMdAW+Aehenm44+TTCBB7GhCpU1zKugpvehHldflf60JdsgTB+dkfxrHZIi9 lzSGhMKDQXA1YhH7MDLD6+Dux7LN0bfj25sBmXHnV6h16gew4jGOfUyGwbW56ip99Q2W kxcg== X-Gm-Message-State: AOJu0Yy0T5LUNFWqJfRYgsxUO1YYPq3CQ1xOhpl0Ac/J0L4kO8ouiihm Q3NNTY7XYU72qI5WNBfdaYIWh24gTnNLnbPeirgCSumy8UbdipIrefBdte6SqkEySC1+w6njNgR HncHo X-Gm-Gg: ATEYQzx8JuS0+wlUcLhqEGWUCU+nm+g29TcKyLg6SoS62QtbhrwE7Q3Eafw62seuBf3 RJarsudoUaPnP7G7mPEZhsN8zwqcZJSzAxQQC2hbfLWZw0MzKoWkeAopt7IPuXAH4kNBZyxzuBh QzGFxFS/3M2nYL0Fubno6V1I9JWif7p7OlN+ubM9JXZ29hgH4ssYLExezIlmJvxx/a8V9Q3qjNA Nmi+4D3Nhis7TnIiad7CYJaBcVZgaI5s9Fy1epoZImjRwZM//heTsfoTSAUX/sa3gcwlnpE/jwu 4S0rTlXA5o3aliOCS74uwIt428B28Zj3NXst8CNZe6xYE6d6XyX00pgFsv4IF0Ij9wYrdM5APCa 9HzRiuJ8Fs45Rsxs2T3sJNlWppn1bC5bve4NDQElRDoTfFdde7z9z9MT3KH4v4Lv2XOHwFx8FOq KWrXcJGhkDGI/6oeqAxv+LoSU= X-Received: by 2002:a05:6402:354d:b0:658:bf9f:75be with SMTP id 4fb4d7f45d1cf-65fe2d730bbmr1848193a12.16.1772205488211; Fri, 27 Feb 2026 07:18:08 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: John Snow , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PULL 1/7] tests/docker: upgrade most non-lcitool debian tests to debian 13 Date: Fri, 27 Feb 2026 15:17:58 +0000 Message-ID: <20260227151805.2335641-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205574380158501 From: John Snow 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. Signed-off-by: John Snow Reviewed-by: Daniel P. Berrang=C3=A9 [AJB: tweak summary line] Message-ID: <20260226185303.1920021-2-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker b/tests/d= ocker/dockerfiles/debian-hexagon-cross.docker index 23152b4918b..91d4b71ac95 100644 --- a/tests/docker/dockerfiles/debian-hexagon-cross.docker +++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker @@ -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 =20 -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sourc= es.list RUN apt-get update && \ DEBIAN_FRONTEND=3Dnoninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=3Dnoninteractive 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' --sh= ow > /packages.txt =20 -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-unkn= own-linux-musl" diff --git a/tests/docker/dockerfiles/debian-loongarch-cross.docker b/tests= /docker/dockerfiles/debian-loongarch-cross.docker index 538ab534902..55b3dbe4510 100644 --- a/tests/docker/dockerfiles/debian-loongarch-cross.docker +++ b/tests/docker/dockerfiles/debian-loongarch-cross.docker @@ -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 =20 -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sourc= es.list +# Add deb-src repository sources +RUN sed -i "s/^Types: deb$/Types: deb deb-src/" \ + /etc/apt/sources.list.d/debian.sources =20 RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ 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 =20 -RUN /usr/bin/pip3 install tomli - RUN curl -#SL https://github.com/loongson/build-tools/releases/download/20= 23.08.08/CLFS-loongarch64-8.1-x86_64-cross-tools-gcc-glibc.tar.xz \ | tar -xJC /opt =20 diff --git a/tests/docker/dockerfiles/debian-toolchain.docker b/tests/docke= r/dockerfiles/debian-toolchain.docker index ab4ce29533d..9a256209a78 100644 --- a/tests/docker/dockerfiles/debian-toolchain.docker +++ b/tests/docker/dockerfiles/debian-toolchain.docker @@ -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 =20 # Install build utilities for building gcc and glibc. # ??? The build-dep isn't working, missing a number of # minimal build dependiencies, e.g. libmpc. =20 -RUN sed 's/^deb /deb-src /' /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 =20 RUN apt update && \ DEBIAN_FRONTEND=3Dnoninteractive 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=3Dnoninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/d= ocker/dockerfiles/debian-tricore-cross.docker index 7e00e870ceb..fd797dc7ee4 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -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 =20 RUN apt update && \ DEBIAN_FRONTEND=3Dnoninteractive 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 =20 -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/ =20 diff --git a/tests/docker/dockerfiles/debian-xtensa-cross.docker b/tests/do= cker/dockerfiles/debian-xtensa-cross.docker index d011eee2ad3..ef63e44e2ef 100644 --- a/tests/docker/dockerfiles/debian-xtensa-cross.docker +++ b/tests/docker/dockerfiles/debian-xtensa-cross.docker @@ -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 =20 RUN apt-get update && \ DEBIAN_FRONTEND=3Dnoninteractive apt install -yy eatmydata && \ --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205565; cv=none; d=zohomail.com; s=zohoarc; b=PdUYkAMc+j+MqAGYEneSQr1Aso84goY0fdAvuy0hQBYyWVHx8Wb5a0sMg52o8PbjuFkCo8KjwMFeY4VnopebMJr8t9EDWAb8Z+qnBoXP2iP0zQu0St83JekJv+Q8WW6NdyO+6NryGdxToiLXLmcInHJCjEaFB4CjCWpFjLhFJ6I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205565; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=/lRLMJwcavPCngc4gcpwE1HUqI3iRCO8dOjTLFyK4Xo=; b=MOEXfx4m4XUyURDtD2KBCOySyVHn7xQLxQUUEh17mWx14/zDKomaYkRYNhbhNaSczA8YRHssrzV5ZJTUvBqeuhouUlflyqZ2Pqpan9AuNRe1mAodeq+kKhGChnRL/h8zlmrEd2TgnuFQf63vDUfYABUD/mfzkVbD70QuJj/q6YM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205565347900.5781250680737; Fri, 27 Feb 2026 07:19:25 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbe-0000Nb-LI; Fri, 27 Feb 2026 10:18:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbZ-0000Le-Uc for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:13 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbW-0005kW-W8 for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:13 -0500 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-65c187dfc82so3503698a12.2 for ; Fri, 27 Feb 2026 07:18:10 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-65fabd466d7sm1306610a12.13.2026.02.27.07.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:06 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 53E4A5F8AB; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205489; x=1772810289; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/lRLMJwcavPCngc4gcpwE1HUqI3iRCO8dOjTLFyK4Xo=; b=mEtHStkrTqkm9vJ4tWKIzNmqS8WqxPrl1IHJKaRWXKciL3MQxNkv3eVfgFiYSkezm7 Mn/e6JPLQpl9/8+zomtYycvpEhJnXe9DAqIOnDaa2LqAkYK+xc6vZauldA6foPHTpNeB Yi6iuVo61fI9m2vp1SkGEjdC8GDhUEa6VzfPbkI/lrBkGiBu6kHhq+Tc4+V9seeUKwaZ wqXT37/qtPcWTzwobmG7hyb2q0ELZxdre9KgywSK94k3xSJNtxvwYHzV++iGhtYdVqoH 5JGRwjdxHn9Gt0Ro5EmTpD0EKASuRHfuftYNItIckI7etqd9jv+rr7GW0suSiWyNxJm8 WuqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205489; x=1772810289; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/lRLMJwcavPCngc4gcpwE1HUqI3iRCO8dOjTLFyK4Xo=; b=NQD0XUQCBi+ZFwpIqDBaeeecH/mNzSKyRPUbQUZuf6NYnw0UzldROmvIodjUbnzgj9 IVN1SHU/vFS8XSf4wL9uag0hm8D0/lksIPZTuRcrtw9IAM7jGpLBcUy2Fmu//JRdO9ph ZtdEki4gFYdGgDwsFsAfBR3tl29JcPUX0WKNNj0e7mf03xuBQiNfqKzL06KM9ttLWzyM lM5giKcz0wX+oSnMpqDqGD2XROpZQtgYwgFWqdM/h/X7II1C7AiWsfYN9M1o+hI815V9 JCqp04ZTX7AgjQlIaannM8pyaP5UqHWWsmeI3Wo0sLQZJhECeg+5+T23MM7NpkhgP5Jx aX4w== X-Gm-Message-State: AOJu0YzEOWwxFNOj0kGHMgiq5wH6kJEI0rK7r2wOAZES1+6xbBseP2YF 3ghEb1KZNa2rw95enEe2ePG4khss9j7A4nBHa6fKwDN0Hp7SP1R10dWTnIX7QHu3cKo= X-Gm-Gg: ATEYQzxtDPn7xQX+5I4iP1vUaOFM7dbdG0iPpPiIYbJcg8nbZdZdb4m7bB9ypTiDgIg 2+gvVGPbT+E58iVjC3vH8JxMAPxznia1zVbEnnLHZ0vPdRzog18aphyawoGNwzhIzf3NCoBKP43 8YfusDFI4OE6IUfmUshEPzaqSbrgpDQLU4xTFWlakU08nSXYegunULXxeFbJX576Kd9gIkF48r1 82ibghyOHFHMbr/oMp0t8sdGyNpeWe3fihrYttEUggoDSze7DG5xq9fcaXz4BQDd0y1FDrZJd6x 2LFiZDF1GcyP6HTTztALFmmJewsiDHQAhHejiwmI6oSenlcSwrxS7axG1zyHlTkwxgUELbVn2bB 15IM0uq0V4JOjBV+F7vopkUW6fj4/KNqSx9LbxE9Z42omRbtV9sU8cS6ih7KyzhoowHJgJ/1GB1 Xf9ZuCfk6l1oClnXcH52TeBgE= X-Received: by 2002:a05:6402:444c:b0:65f:8d21:68df with SMTP id 4fb4d7f45d1cf-65fddcecec2mr1597171a12.19.1772205489158; Fri, 27 Feb 2026 07:18:09 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , John Snow , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini Subject: [PULL 2/7] tests/docker: migrate legacy-test-cross compilers to trixie Date: Fri, 27 Feb 2026 15:17:59 +0000 Message-ID: <20260227151805.2335641-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205565943158500 The 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. Suggested-by: John Snow Reviewed-by: Thomas Huth Message-ID: <20260226185303.1920021-3-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/configure b/configure index 090579bf236..5e114acea28 100755 --- a/configure +++ b/configure @@ -1458,7 +1458,7 @@ probe_target_compiler() { container_image=3Ddebian-all-test-cross container_cross_prefix=3Daarch64-linux-gnu- ;; - hppa|m68k|mips|riscv64|sparc64) + alpha|hppa|m68k|mips|riscv64|sh4|sparc64) container_image=3Ddebian-all-test-cross ;; mips64) @@ -1470,14 +1470,6 @@ probe_target_compiler() { container_cross_prefix=3Dpowerpc${target_arch#ppc}-linux-gnu- ;; =20 - # debian-legacy-test-cross architectures (need Debian 11) - # - libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugrepo= rt.cgi?bug=3D1054412 - # - sh4-linux-user: binaries don't run with bookworm compiler - - alpha|sh4) - container_image=3Ddebian-legacy-test-cross - ;; - # architectures with individual containers =20 aarch64) diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 1b656b9eb08..fef19c2d5da 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -376,18 +376,6 @@ build-user-static: variables: IMAGE: debian-all-test-cross CONFIGURE_ARGS: --disable-tools --disable-system --static - --target-list-exclude=3Dalpha-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 =20 build-user-hexagon: diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cros= s.yml index 2a0cea6ce1a..92a7f1c1b47 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -10,12 +10,6 @@ amd64-debian-user-cross-container: variables: NAME: debian-all-test-cross =20 -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 diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index 6aeccf8be0c..c8b8e44ad86 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -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 diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/= docker/dockerfiles/debian-all-test-cross.docker index 1823233438a..b73776d95b5 100644 --- a/tests/docker/dockerfiles/debian-all-test-cross.docker +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker @@ -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=3D"${AVAILABLE_COMPILERS} gcc-hppa-linux-gnu = libc6-dev-hppa-cross"; \ export AVAILABLE_COMPILERS=3D"${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-linu= x-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,hpp= a-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-u= ser,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,p= pc64le-linux-user,riscv64-linux-user,s390x-linux-user,sh4-linux-user,sparc6= 4-linux-user # As a final step configure the user (if env is defined) ARG USER ARG UID diff --git a/tests/docker/dockerfiles/debian-legacy-test-cross.docker b/tes= ts/docker/dockerfiles/debian-legacy-test-cross.docker deleted file mode 100644 index 5a6616b7d39..00000000000 --- a/tests/docker/dockerfiles/debian-legacy-test-cross.docker +++ /dev/null @@ -1,51 +0,0 @@ -# Docker legacy cross-compiler target (tests and minimal qemu) -# -# Compilers for some of our older targets which we cant currently -# upgrade. Currently: -# -# libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi= ?bug=3D1054412 -# sh4-linux-user: binaries don't run with bookworm compiler -# -# As we are targeting check-tcg here we only need minimal qemu -# dependencies and the relevant cross compilers. - -FROM docker.io/library/debian:11-slim - -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sourc= es.list - -RUN export DEBIAN_FRONTEND=3Dnoninteractive && \ - apt-get update && \ - apt-get install -y eatmydata && \ - eatmydata apt-get dist-upgrade -y && \ - apt build-dep -yy qemu - -# Add extra build tools and as many cross compilers as we can for testing -RUN DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ - apt install -y --no-install-recommends \ - bison \ - ccache \ - clang \ - flex \ - git \ - ninja-build \ - gcc-alpha-linux-gnu \ - libc6.1-dev-alpha-cross \ - gcc-sh4-linux-gnu \ - libc6-dev-sh4-cross \ - python3-pip \ - python3-setuptools \ - python3-venv \ - python3-wheel && \ - dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' = --show > /packages.txt - -RUN /usr/bin/pip3 install tomli - -ENV QEMU_CONFIGURE_OPTS --disable-system --disable-docs --disable-tools -ENV DEF_TARGET_LIST alpha-linux-user,sh4-linux-user -ENV MAKE /usr/bin/make -# As a final step configure the user (if env is defined) -ARG USER -ARG UID -RUN if [ "${USER}" ]; then \ - id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh index 8f0aa3fa343..c74345e03d0 100755 --- a/tests/lcitool/refresh +++ b/tests/lcitool/refresh @@ -172,6 +172,8 @@ debian_all_test_cross_compilers =3D [ " 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 =3D [ " 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=3D\"${AVAILABLE_COMPILERS} gcc-hppa-linu= x-gnu libc6-dev-hppa-cross\"; \\\n", " export AVAILABLE_COMPILERS=3D\"${AVAILABLE_COMPILERS} gcc-m68k-linu= x-gnu libc6-dev-m68k-cross\"; \\\n", @@ -198,7 +202,7 @@ debian_all_test_cross_compilers =3D [ "${AVAILABLE_COMPILERS} && \\\n", "dpkg-query --showformat '${Package}_${Version}_${Architecture}' --sho= w > /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-use= r,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-li= nux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-u= ser,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sh4-linux-user,s= parc64-linux-user\n", ] =20 def cross_build(prefix, targets): --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205578; cv=none; d=zohomail.com; s=zohoarc; b=K5s/L05xZG/C+6wiNFoHhKb1A9ZWYFQ+TXIcid4f0jLrGimRSp0kJFdfRp6cd0QqW6yHwTF9J6sdkWL3IjY39m8flAz1d5JufgI6+EI5xB2FIfe8kZoyiCSlpMtBn/FkABWLkQkpF2cjIGthedpFCpLmwuntyj5XiLuc6mfcaFQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205578; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=59eiI6npbSEHoSIPmne/fFwXd4gpVLw2rM2Kjlt50WI=; b=PoWVPPofg9at8zT5QqQzvflQB90WoVnJEYfSry+iNM/wQbW+9sDtEQGy3YVvqTyjkoIkBqQa+UQZYzqU8cVzlHZyAna3PHPs5JxOg5z0pgWY42m1MNQrFeZhlrVWp7e3YOkjrpt7FCOqlCrSEPVCrjcIBfkV1nJVjKVCED2Xve0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205578162325.7886913059277; Fri, 27 Feb 2026 07:19:38 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbi-0000OI-3Q; Fri, 27 Feb 2026 10:18:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbb-0000MP-Tc for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:16 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbZ-0005l0-VU for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:15 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-65c01595082so3649460a12.3 for ; Fri, 27 Feb 2026 07:18:13 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-65fabf6d068sm1363738a12.21.2026.02.27.07.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:09 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 6CBCB5F8C7; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205492; x=1772810292; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=59eiI6npbSEHoSIPmne/fFwXd4gpVLw2rM2Kjlt50WI=; b=YJynN4VGvp16r97+a+xKXF9x8dDw9xc7dwCRZ+ddGLYsn6FJm7MlikOLixhXJM70yx XHAnOBxJd7C5yBuWhY8MS5UeNGvmsiSMQUkrcKnbEyKBNurhQbl2NLL9q94t5dCv8dPc 3iCMz/ja2Z3aUDo6eDOQu+YaRAL1qL6Mvo53kC61WB7g36ozUHyOv3Z774MMz9k5vtsR 9+b2WOrTm6R/VFzHQ2NKhMRB8/NKGqt/V83ZxSpd3oN8ZKEkAU3FUqotlqpYQX9eFJb0 mmljK8/Rqzn415bohauXlcSZAIeJ9fYBJxKHm3cmXZSxyiiXul4b2pgREF2Kmc14S7Hq FMlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205492; x=1772810292; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=59eiI6npbSEHoSIPmne/fFwXd4gpVLw2rM2Kjlt50WI=; b=FrVIdd3qeHy4WH0HxmDOa//jiZkS0+bxLELPlR4nCxKtJw4+MKhYoi5+pQcVKg/KiK q1t8bYIpNtAPff0vv0svVZaL7kWH19ERe7uSz0ZTNzHxc3POvTDdxfbatDilbHXjEu02 wmFY12BAMFz1h0N0NnlN9ttNOaNgkNHB282RHUY2UZnNlSECVAnELHc4rkqa87+8mV8o XHoR29ddqXnQcbk7mzeN18vL2ChfqaQIU3yQPz5OpMH7n+f1hNw7P6afrcUs4L/ZlRBT TGSeNtg+PMZZV5drLAwB7khmYK5VqpCvXh0EVDQCjouMa7hmTLXQlE5Sv9VTcYYV1I69 qVVQ== X-Gm-Message-State: AOJu0Yzsqi2cxoILXllqfri1/a9zUx0bsG2yA9bS2nGKGunEEuQjTlnU LN+4tkqxlZ+bttWft35kEf5ewYzOVzeltCiwYqVqKf5zZ/HfMyu2LjRXfZCPN4ngWGo= X-Gm-Gg: ATEYQzxTVy+FzJyqIx9GVyycHr0K9oKqTYYiXdTM/W8XJ2j9dCPhThyV4WWORDb4LKc aqmHZQVW+96Ny0Q3m/nvkH1d+Re94irZOYH9UYwAVU480TVPxNNz+jDpURlVTDOypOO2nzvvP5v pbsl6eL9tQTcv0cmnDF+TulZtos9pcR5LiEjnL0jE3r/GxBxl1um/2vHTzSLgMQBZy+r8AbxVIZ Ro3834GlmSLvny4DOhC/sjQYgA1WT5F04urlNxC4Rb+ZIAo5GnRY0JfoH91B5Z1rWcewv4vHl7k NqTMQkG4QRSpbLFhlzV9tbu/lDA/LOMlhDAJEg9I4SKGWB5cBS8Xa6VUoS8m2HD9nFVpFUr6U2C bA5mAxgVSJwyMfVCqBD59B/geh88/2jM4Gid8NYHa3+tuqjMuFwmkYRgnqMdRt8IxHVVP/CdV4P NuxJiTzY55n7+PoP7YjWVVEdY= X-Received: by 2002:a05:6402:40cd:b0:65b:a2b5:5320 with SMTP id 4fb4d7f45d1cf-65fddcf1734mr2110102a12.26.1772205492163; Fri, 27 Feb 2026 07:18:12 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier , Warner Losh , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Brad Smith Subject: [PULL 3/7] tests/vm: bump OpenBSD to the current 7.8 release Date: Fri, 27 Feb 2026 15:18:00 +0000 Message-ID: <20260227151805.2335641-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205580018158500 Reviewed-by: Pierrick Bouvier Message-ID: <20260226185303.1920021-4-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 5222041b855..d1289d78d24 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM): name =3D "openbsd" arch =3D "x86_64" =20 - link =3D "https://cdn.openbsd.org/pub/OpenBSD/7.7/amd64/install77.iso" - csum =3D "da0106e39463f015524dca806f407c37a9bdd17e6dfffe533b06a2dd2edd= 8a27" + link =3D "https://cdn.openbsd.org/pub/OpenBSD/7.8/amd64/install78.iso" + csum =3D "a228d0a1ef558b4d9ec84c698f0d3ffd13cd38c64149487cba0f1ad873be= 07b2" size =3D "20G" pkgs =3D [ # tools --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205572; cv=none; d=zohomail.com; s=zohoarc; b=guLccRh1quEOk96fhZAX1LJce1zF7wAPC+XNMJoISXfpG1mV+iEQ9qv5WsQKB0XwNETnAqZthqCa3V5Mu5isfqgWOz094WxGz9spxtAFFl3SCdR2rSYnZIhNOZ6Mi5lLPDwSsg5KlPz1BkKNRGFSnrgcgrUcaVa1+DOYCV0N8TQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205572; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Qx6UauuEAtchW4d5VzAu9wKS8rEStNphyewNUDu7aIg=; b=UcUxhEyrkZ7fO583dwI8uFb8/FIb97JF92NIzhCj4feoEIkMckjTp/IhDniUlBxCPTnviitsXzD45Yu6PQyzQ7fr/9N1gzQALkm7Ib/d3EqVCEZ0pY/YLCnFXcMrs63S0n5URiw14z9TbQ8Z+6GVebFFq7W7h+6GUbko1oT3/G4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205572072269.04467453862014; Fri, 27 Feb 2026 07:19:32 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbe-0000MQ-2I; Fri, 27 Feb 2026 10:18:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbZ-0000LS-Kj for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:13 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbX-0005kb-JA for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:13 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-65b9d8d6b7dso3497776a12.2 for ; Fri, 27 Feb 2026 07:18:11 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-65fabd36367sm1400697a12.5.2026.02.27.07.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 8381A5F905; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205490; x=1772810290; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qx6UauuEAtchW4d5VzAu9wKS8rEStNphyewNUDu7aIg=; b=zFzbTv3bNGG9RvWXyioqmJxicwuyRfUEM94DuQx/ISfQBgUnk1PmqFc4MpBaISAJ+B pMdyo7HsOUTWDC70/S73SRyt9E2gvjOD28jHJc5l6WEgTY8f5wl/b3/lo51b+1nMu2lv 8CADPFVAaqUBRDBWl+K/rTCbv8hz/J3ASsaPyFNwZaZzqepBnPpt+V22+0hG3J0Q+ZLD v3xmw0LIh7qhRQ1J7anvPdMEvhixY26JjTw2GYYLfGxwHm5FNwKnjLqGYABGa7rV6JlV Nha6sKo8nssuxQioakQIdDRxfVP4dIitYoHrCRayjRc2r2qfO/2+sQSUmP+FKh1dtaXC P4kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205490; x=1772810290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Qx6UauuEAtchW4d5VzAu9wKS8rEStNphyewNUDu7aIg=; b=ntmX6eQ51OeIrSGrr0MvAY30/3mLAQpLwH2JIvW3DZpdf8Dx1BgprmbImn+NByXLUr 0+glUjgYjpsqJKSqux54QMH/0LDqAzJ0b0pnJP08vhpsZ4rC/1Dpv0DqBwN166VbHsnH lK49uIYs6RlWMJIqwUFhUagSuB0DqOhcq/NGDGry6Pxcdt/Z7Xnd5o+KNTGz64J6A0Qu GyQ87nKKXDZvQUBwl6fWJolOtzkjCbByduUlTdNWn/GNlegVTBKO//rflU00BuEbEcdM DEGVSSTRAShIj0RFjlEUZ94UYYvSK/VxnA+7Qy/9SFedmPpsnlMB9XDdRzV1pQQFmuyp B4bA== X-Gm-Message-State: AOJu0YwCTxd9U4OlVUH76jJnfCkKWgbcwTZYHOJoRrgxZA1wp5WW1w4Y fo6AR6rt3grrktVrPIymRsy4mlyXNGKZRuGZBAC/4PkQEsa2tpKPAUayPiW6cB/LMBc= X-Gm-Gg: ATEYQzwNfCGGVaEUFzr2lWXAQ3QCtkmjDnJW7RUYtyiyqvzQ6coIZM2feIXQeu4PrTf L2+FnEgKH2szLUQiKM3I9AcgR6cHfRnUxLsiZl2y09AbPpkG4j2P5rL+ALGRIIh7tMxE8bGig2J oIm0i5l2v1jDFRvCN2kdhJr/JdA2B7MWC8qY0d1K7c6qQg4dQBBwZwVwV6lprj6ZJYon8qEvWcB z/Jwd6izWPTN31vgkibDyOjp/qAcTMSEQS/KZYJtbM6dQv6lOJd5+Spyaehm7aAkC86l15xuMSV SIwSaRowajYtr6bgZUK62WYCVPJ65076YPRBfUS2yW6Jj5r16FA22NL3La0mzQfbelDIyGDlEsk swdeil57fGCb3YH7wNCEjPeGg3aiCMi8fLy3xWfYJrV7KNyvElPbDpia0GrkeozI+mKsX8PoXSQ jLXF4/kvyNBxpY1ywunXBa3lM= X-Received: by 2002:a05:6402:5245:b0:65a:382e:7254 with SMTP id 4fb4d7f45d1cf-65fdd6e2174mr2314065a12.13.1772205490026; Fri, 27 Feb 2026 07:18:10 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier , Warner Losh , Kyle Evans , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PULL 4/7] tests/vm: remove unused import Date: Fri, 27 Feb 2026 15:18:01 +0000 Message-ID: <20260227151805.2335641-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205574275158500 Reviewed-by: Pierrick Bouvier Message-ID: <20260226185303.1920021-5-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/vm/openbsd b/tests/vm/openbsd index d1289d78d24..9aabfeec963 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -14,7 +14,6 @@ =20 import os import sys -import socket import subprocess import basevm =20 --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205551; cv=none; d=zohomail.com; s=zohoarc; b=mOBKwycnfhTQO7F6gWtQaDrVvbdkiXzdCrz1jOwt+WMwOx1QRxP0eQEY4MLdBjx0sRhMhqLzeIoo67u8roEraGop/zpyTvGiXmlUHbFm13sL41m3mwcyLwptsjCfKTFP+YyDfn/QRNwWbfv8naudVqL0Jtplc5hJpCFzBiKkkZU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205551; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=iibMi4Z9nIixnxr3wd8tj43SzYsO1FrCgkGYHjlBSRo=; b=LGE1wocGa4IeO0URT/OHwGEoY7gRgsEOpkHpn7RtyrTx5F/RN5NqEzrlR42QHpqoj0lSdljgxJzPRDdZMSywlMYg2xoZ0qcBIZQbDdgfKV8RTYjR/hznR3trcmYbIrFoLItigvyqI/LDiFHZYcxj3SIorCa88QkBkhBfD/AoN6A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205551451493.64299736916894; Fri, 27 Feb 2026 07:19:11 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbg-0000Nj-Cm; Fri, 27 Feb 2026 10:18:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbb-0000MB-1h for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:15 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbZ-0005kh-Cf for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:14 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-65f71ed7c6cso3928709a12.0 for ; Fri, 27 Feb 2026 07:18:12 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-65fabd362basm1327474a12.4.2026.02.27.07.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:09 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 9B6745F94E; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205491; x=1772810291; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iibMi4Z9nIixnxr3wd8tj43SzYsO1FrCgkGYHjlBSRo=; b=fikCIeXdNhXi03/u8EmyWHC6u4v3BsJxwYtuo6/TJB06YqM4MIzszvCyIRjEnAe/mq k7q6rxwZl8qHXwftpXC/qLbTPKVKc/Sq/6/AuXRPdS1v8kurnDHKLxvGanyVPKQ3bL4L 06200HbNdoj/9eUA/2GWY2tZsl0JoF7KPISAgWNgaaAKkIL/h+qyqxsNOdork5XgMNT0 jV7kB9lj/rzPUSx7IMx1kVrBvoaOkyaNQGXntyl8VkRPsG8EJf7nKxgMExaLEWE8XGNO 0vuMb2bo+WO1f63VWYi/lkloB2lRxBySBAK9UPDWi0Jt/mq0G90FlonpwP5Trqky/SHP aUNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205491; x=1772810291; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=iibMi4Z9nIixnxr3wd8tj43SzYsO1FrCgkGYHjlBSRo=; b=Y6jpM3BUuNAmodmj8bCc+osKuwhr4+sXMpN/iBxmuY1aZEUvmmR8Fs26/xXQgW+DeH wGL+pqkZAjRaPkCCjog1S4rnBAM3FRgcR7z9uVtClIN3wyozVPvxBmO0Lbr++Vwb8DjY xL5zGYkaZcNWn1Nx7qmhGugwviPLn3IpRhSK6U07UjV4kzPp9exf43/P1dAsKzXNhsy9 mEX/BjYdYH/DYf+KJn91rxXYYCsh/1+lRvTobOKiPtSh3qvEztRWeu5oQng0shGW0jGs BGjKDZtLlVyWXfYV+zO3zz0gJzTpKEWcMlbBof/R5n0BCQQtL/QYy5tCLTicOoez4HOb OOsA== X-Gm-Message-State: AOJu0YyOOCnG/qbqw+Arfswz3d+vE2j6+GH96EOm/asoXEvBA39Cggyq r/MnO3cebcJWR90E95d9mf/QYmYkKo6UCZD1apAyRavMWH+blw0bdiI7CWjEWBylSaQ= X-Gm-Gg: ATEYQzzWURPs9x+5Vs6cMTd2/JAUyzqK2awsSee/33bCCkeMGXey4sLF/OCZEwMqjgC bHY2USm3mSLQdmtIhXQBvSX9+HhwzJcSEqABCJEtT/spOJTWL6xCDu6uaqhK5gWywz8RaCu2Kqu LNxKZL2sLIXY6f8d8YXMNGtByg16jezWxvfzK101/0nqEL6yhiV1suSK2X3EoxS7N+tH6rVsJXG eDSTKgG9tIw44sw2aUM5M+Hh8cpTOtpTFYAWT3O5002I29JTHIL4XbPsfAJwrbzgHMAZOKuACed jHXcn9L71yQzRFEbgh0FZuQUhVL+MhZQPXeo1Tp+2vOQkLWyoabkeY+1wxa0xwfsZ8pcNhcam83 SdjN357K8FDlT1b7YeCuuhhvwgEFn56PbQZUGZOtWso0yVLVtGCCxFswD55mL4CK4amkcQypVHG HmAk/1/hjish2uI+aeneDUTBY= X-Received: by 2002:a05:6402:2750:b0:64b:6e44:217 with SMTP id 4fb4d7f45d1cf-65fdce8f964mr2263317a12.0.1772205490943; Fri, 27 Feb 2026 07:18:10 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PULL 5/7] tests/vm: fix interactive boot Date: Fri, 27 Feb 2026 15:18:02 +0000 Message-ID: <20260227151805.2335641-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205551955158500 For 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. Reviewed-by: Pierrick Bouvier Message-ID: <20260226185303.1920021-6-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 8a5aaedce7a..0a53dc9fdd6 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -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 --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205551; cv=none; d=zohomail.com; s=zohoarc; b=DctlflgA4K4KM9M8Mxy8eX85PFBR0qhG/LWW558tcw0YaqXTVpdX/CskkwURnJ29SMN9obuuWqzJcDFL1Xcqt0Pavhp2ckji6i9fQeTHblhF5qTValiZp+2Vf3TT4hniJwyF2SVSxrDTDw77v+yOa76OZHI3MmUG+fODlSPl978= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205551; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=N1+HIMtYYnwLHf3LpJjM+zs2SRXXOL2pYkUhseMKnJA=; b=MVnU/j3BDI6zvnFM7x5krtnjUEaKqr/m82zkO74akg6qVATAFK+XDviU02DuBLLnHCl1o55qBEyL91ES8OZHzlWIECjlLrBC3QR+7vrnqEbxj1zxzya97jqkENPT2YKm9lMTzNu53VcjVtDWbM6J6UTfMx6JgQcce4HSnSv5rHA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205551514572.3461607839727; Fri, 27 Feb 2026 07:19:11 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbi-0000OL-EX; Fri, 27 Feb 2026 10:18:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbd-0000Ma-On for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:17 -0500 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzba-0005lA-RW for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:17 -0500 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-b9373af81cdso183127066b.2 for ; Fri, 27 Feb 2026 07:18:14 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b935aec7091sm156251166b.58.2026.02.27.07.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id B740C5FA02; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205493; x=1772810293; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=N1+HIMtYYnwLHf3LpJjM+zs2SRXXOL2pYkUhseMKnJA=; b=QCzPQk7qagzW3M5X+99pqDXFkRJdWNGwvbD+kTsjIx+880vRl2BIwL1bRkG9VAJFOc QLX0itPMrqljo04UNGTtkmbMHR7ck8v9mvOZ9JtrSjCRYn8kWjmyxsRxWlDeVYmbHq/P afb7TecsgiivC+2A9bGDdCmieEjYY+qzKiOn2c+e3ZD0bapaNF64wbQGkcWsVLB0FRmx 2gggZgLh364gAb1Pg7Gj3nTP3qEkFkHCM6JYB82PSWZGxq+o/H+elh3huwqnDPyxqs/X 5vF9aZI0PptbyPO1uwR3e93k3iyEct9Snso7g27emfVSbBl8EsyAl9hTyjTyLgAAcz/p XXbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205493; x=1772810293; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=N1+HIMtYYnwLHf3LpJjM+zs2SRXXOL2pYkUhseMKnJA=; b=bvrrm8gzmjclLFT3cP4iXTUSChVkrYyn8oEohxPgs8o9Cq1/mggyk8AaWgM4Vr41z9 hSnMXdNqg1WKqMqX0XBglcsAw5BSqCzxkKVYDYRReN0GpR9qMfj11bGv50ZbBC3qx6Xq JwBqgHGmd774eNH9gIHnFD5EqFaFWdhnW09gbTDayf7+ksTg7sAQQez4z1vTZXfoRJ1L 3LC+TPbu4WC44cGPxQ3+5EZL9dF6WHhhUkg+nR753gUBDcPWu6e8U6KwXS182bcQDsB+ dz729TA4cj6zryzMv8AYuhmljrHJ2/RfVnu04i/i6U5hJaA766R9xEr5ZT8OWVN+jD4a Q9Ew== X-Gm-Message-State: AOJu0YywBeqFEP+WjzNqsjQOm0iAPZE4t1jAj0P/IXhUZzWCNOXt+dXD 3APp70AsMPtJwT8a98mpvMZfnAUbCtNmwUVujENEN4V1j77hUxshPX+I/fhkcdgHfIUTFMnJEmI vNFmg X-Gm-Gg: ATEYQzzc8u92BCOWjK4v2ru07MB1jV139IdL0w/cai3V6AsJ3Lb9Ka22XOw3knuT88c 9HF55wAFJWx6Nu8zYWH88tyM0ic9tOJZRJZB9xlJ9pLR+Y7Jceu6zUHP82IEDEEvN+RdDegvSQ+ S67H9MWfFO5/GeYgPFAJftZaBig/4T9d/rXzx9zvCm8cSJOo+fRIRPNmZZjo/KNYu69YO6qyYQq awLT9PeWc4e0tlG0XMwyD5Z7xoTCUpRMzbPMUymdfrxfskhBWaCQW6spttpjWQKIN8uSGccQDyR SnF033nWJjttv+5qnGS3MCGEwuBGWKQV+CH5xszgOcQLmv/JHgmUHQM/iHI5AHLYOeOr1ONVZVu C2mFTUXvHHiyR6LpZjps4uq2+770uQLCBqHHG+oPVibsbDEaDxwG/iIgZY01Il3OinJ/e9TsTAI T28LpM29bXp2L+GKSfKXJyJ9g= X-Received: by 2002:a17:906:3d8:b0:b90:6a9a:e36 with SMTP id a640c23a62f3a-b9376583dc0mr140257466b.48.1772205492855; Fri, 27 Feb 2026 07:18:12 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Warner Losh , Kyle Evans , Brad Smith Subject: [PULL 6/7] tests/vm: build openbsd from lcitool data Date: Fri, 27 Feb 2026 15:18:03 +0000 Message-ID: <20260227151805.2335641-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205552250158500 For now only use the minimal decadency set until all the OpenBSD mappings can be divined. Reviewed-by: Pierrick Bouvier Message-ID: <20260226185303.1920021-7-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/lcitool/libvirt-ci b/tests/lcitool/libvirt-ci index 514b0cd7f63..5176e136ab1 160000 --- a/tests/lcitool/libvirt-ci +++ b/tests/lcitool/libvirt-ci @@ -1 +1 @@ -Subproject commit 514b0cd7f6375d0089f96e749079093906c532a8 +Subproject commit 5176e136ab11e275eb9f57c3d5c80e77af6507cb diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh index c74345e03d0..3e4b026035b 100755 --- a/tests/lcitool/refresh +++ b/tests/lcitool/refresh @@ -87,9 +87,9 @@ def generate_cirrus(target, trailer=3DNone): generate(filename, cmd, trailer) =20 =20 -def generate_pkglist(vm, target): +def generate_pkglist(vm, target, project=3D"qemu"): filename =3D Path(src_dir, "tests", "vm", "generated", vm + ".json") - cmd =3D lcitool_cmd + ["variables", "--format", "json", target, "qemu"] + cmd =3D lcitool_cmd + ["variables", "--format", "json", target, projec= t] generate(filename, cmd, None) =20 =20 @@ -316,6 +316,7 @@ try: # VM packages lists # generate_pkglist("freebsd", "freebsd-14") + generate_pkglist("openbsd", "openbsd-78", project=3D"qemu-minimal") =20 # # Ansible package lists diff --git a/tests/vm/generated/openbsd.json b/tests/vm/generated/openbsd.j= son new file mode 100644 index 00000000000..0886afd0d3d --- /dev/null +++ b/tests/vm/generated/openbsd.json @@ -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" +} diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 9aabfeec963..4f8eeb28e24 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -24,45 +24,6 @@ class OpenBSDVM(basevm.BaseVM): link =3D "https://cdn.openbsd.org/pub/OpenBSD/7.8/amd64/install78.iso" csum =3D "a228d0a1ef558b4d9ec84c698f0d3ffd13cd38c64149487cba0f1ad873be= 07b2" size =3D "20G" - pkgs =3D [ - # tools - "dtc", - "git", - "pkgconf", - "bzip2", "xz", - "ninja", - - # gnu tools - "bash", - "gmake", - "gsed", - "gettext-tools", - - # libs: usb - "libusb1--", - - # libs: crypto - "gnutls", - - # libs: images - "jpeg", - "png", - - # libs: ui - "capstone", - "sdl2", - "gtk+3", - "libxkbcommon", - - # libs: migration - "zstd", - - # libs: networking - "libslirp", - - # Python stuff - "py3-setuptools", - ] =20 BUILD_SCRIPT =3D """ set -e; @@ -198,8 +159,9 @@ class OpenBSDVM(basevm.BaseVM): self.console_wait("login:") self.wait_ssh() =20 + pkgs =3D self.get_qemu_packages_from_lcitool_json() self.print_step("Installing packages") - self.ssh_root_check("pkg_add %s\n" % " ".join(self.pkgs)) + self.ssh_root_check("pkg_add %s\n" % " ".join(pkgs)) =20 # shutdown self.ssh_root(self.poweroff) --=20 2.47.3 From nobody Mon Mar 2 08:51:01 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1772205550; cv=none; d=zohomail.com; s=zohoarc; b=jCSx/YopMtEz9DwLxJGvYhrTJGtwK8A8X4dERJprXwL/QTfdR7YSL9iObYD1xVtoA0kmpNxeIKbYUGRd6UU04oQA8FgG7Y/AsN8L0ZD1zIRk9mEU8McYGoBHisAicryf8kPTOAeB9IMHJYfkjVILVFLIN24VSAhZGE2fU7ZalKU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1772205550; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=whYwc363DlBWavn49nvRwmkQKGaamlvRPoo53Es7/go=; b=nXYbvONUD8i9MZAaj5d6hQ3AVidKIYZxP8yMplbbZkVx/oPuEExMIlEB2AGX1k3gb/8PVA7SBmMuJKZXh3xjT1QPhI17khVWUrHDW73rqVxwJqoLGxO/t1ULY/2FtPzbiCKVH3pD9682mDeBTetHBEEvWfbLV8Y9c/iSXLdoxOk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1772205550919438.95646246351487; Fri, 27 Feb 2026 07:19:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vvzbj-0000P0-H9; Fri, 27 Feb 2026 10:18:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vvzbf-0000Nh-5s for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:20 -0500 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vvzbb-0005lM-LZ for qemu-devel@nongnu.org; Fri, 27 Feb 2026 10:18:18 -0500 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-b8f992167dcso250062866b.1 for ; Fri, 27 Feb 2026 07:18:14 -0800 (PST) Received: from draig.lan ([185.124.0.126]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b9385836a84sm21349666b.59.2026.02.27.07.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 07:18:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id CEDA45FA8E; Fri, 27 Feb 2026 15:18:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772205494; x=1772810294; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=whYwc363DlBWavn49nvRwmkQKGaamlvRPoo53Es7/go=; b=G+GgLNBaDXi4nm1Wb04dMxb3m9skf5ozCsfQQ74d6u/h+YPKyrnTIcp1VJgZO8cNjd L5ThXBU/oEeuQugfYy/X7TgRV7nBWHlKDgpQoSSOgv63HRZvabGhrzaSuz4ZlauT2kST uJ0Q/2a3MUCKSOg5I6VxFHqPpWytlWG6jWCn7Bmhkadl1wi7dkFfa8k324Oa2KWs7zKA alZZ5VoBbKmd+le90/MkWQ5GHDlFkd3BGjxFm0DpkfHe8BZlgbtqrkoovHE6TEgTaHtt 5QOKYveYVTLh+28lWEDAL/MsQg2CE18jt6T4FIyA1vdpXBOwT8sv+cgKPOHpn6BR7K+d exnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772205494; x=1772810294; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=whYwc363DlBWavn49nvRwmkQKGaamlvRPoo53Es7/go=; b=i4kcQPVvIUmUprwp6LXmMUzo2LTDzw2N3SPLrz5rOMCrHe55KoCv+d1PzkjHo7Ivix imM2oNAcWW/MU/MOjKahZMGr5vaSoqg0M3x1wmc8MaJ5CS2UZFfM0aqf/UxpUGRbVT6u SwBEQztF8cPprVd9aiEAzr293FOJecYgofq2A0Jtak0H0Ky9WieADURwx6kGyAhFom8s LEFKTzwv9SygeI8Y0iAP1ehFQr8/zw2rKLAiI3QD/VwCQQ2FKsOHt8jj4AXpslJksdAO rBYynf5XrUpSQTiFEPLT0NlIBuzMiuBV6AbugWL2iNs6cWw0wYCCcd9CmM4HceYYdbLR y2og== X-Gm-Message-State: AOJu0YzKue54REsxWOLT7CgWAYO8emxda3+cKPiEfCnDSd44ObLPWfU1 noB5/5bnfPAIlgGNmwgowiqd820fYi8flbmMKIlfesaSw7nPmpcpN7YR0CbIqNXaavc= X-Gm-Gg: ATEYQzyDzyua5w+xgP+CxohIDL1w3dEsd1k56WLyIlEo3J53xe4SBYtbktRAZAU5qCM aUrBDMH/pW+f5LRP1V8e/baNcyIcVs4zyyRoc+OR1zjkm6gOhViTtt02yTCIRJ800/O5Ijxh2Ta VwFjXYf2X4z7aYE/vzCtIdKxqgNSzVTLfIY9q4g0+l85drLVXEZlBnDKxKWeW/1aHqUx3sHaVee BeZRuqQUNbgUfdujDehRZng1ndKzXQhdSUGPNpdsyB0IEE8ANHxyKpG4NgsnsA5xOg1CD7VbeiN gxHWQi9S+ENB3hnWWNfgaTU77CG/E4ymYkGBus8ntZmuVViqJsMLRCZYmOyIy5InCRJlvp0l81L vZcUYkK5GDf6ns+H+xWw9U1xbIds8SsGfieFYichfKHu3OeApc7FQFRSo9yj631O8O0wvf0l7Bp TCKKZo5NirhBoEvJh1dmPlow5T97iDQ4vd2Q== X-Received: by 2002:a17:906:26ca:b0:b87:3c4a:e68f with SMTP id a640c23a62f3a-b9376512748mr173471766b.36.1772205493562; Fri, 27 Feb 2026 07:18:13 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Mohamed Mediouni , Pierrick Bouvier , Peter Maydell , qemu-arm@nongnu.org (open list:ARM TCG CPUs) Subject: [PULL 7/7] tests/functional: add Arm VBSA uefi conformance test Date: Fri, 27 Feb 2026 15:18:04 +0000 Message-ID: <20260227151805.2335641-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260227151805.2335641-1-alex.bennee@linaro.org> References: <20260227151805.2335641-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1772205565082158500 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. Reviewed-by: Mohamed Mediouni Reviewed-by: Pierrick Bouvier Message-ID: <20260226185303.1920021-8-alex.bennee@linaro.org> Signed-off-by: Alex Benn=C3=A9e diff --git a/tests/functional/aarch64/meson.build b/tests/functional/aarch6= 4/meson.build index 49eca120589..7ea8c22b048 100644 --- a/tests/functional/aarch64/meson.build +++ b/tests/functional/aarch64/meson.build @@ -46,6 +46,7 @@ tests_aarch64_system_thorough =3D [ 'tuxrun', 'virt', 'virt_gpu', + 'virt_vbsa', 'xen', 'xlnx_versal', ] diff --git a/tests/functional/aarch64/test_virt_vbsa.py b/tests/functional/= aarch64/test_virt_vbsa.py new file mode 100755 index 00000000000..1dd4cecde1e --- /dev/null +++ b/tests/functional/aarch64/test_virt_vbsa.py @@ -0,0 +1,106 @@ +#!/usr/bin/env python3 +# +# Functional test that runs the Arm VBSA conformance tests. +# +# Copyright (c) 2026 Linaro Ltd. +# +# Author: +# Alex Benn=C3=A9e +# +# SPDX-License-Identifier: GPL-2.0-or-later + +import shutil +from subprocess import check_call, DEVNULL + +from qemu_test import QemuSystemTest, Asset +from qemu_test import get_qemu_img, skipIfMissingCommands +from qemu_test import wait_for_console_pattern +from qemu_test import exec_command_and_wait_for_pattern as ec_and_wait + + +@skipIfMissingCommands("mformat", "mcopy", "mmd") +class Aarch64VirtMachine(QemuSystemTest): + KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' + timeout =3D 360 + + def wait_for_console_pattern(self, success_message, vm=3DNone): + wait_for_console_pattern(self, success_message, + failure_message=3D'FAILED', + vm=3Dvm) + + ASSET_VBSA_EFI =3D Asset( + 'https://github.com/ARM-software/sysarch-acs/raw/refs/heads/main' + '/prebuilt_images/VBSA/v25.12_VBSA_0.7.0/Vbsa.efi', + '80f37d2fb86d152d95dec4d05ff099c9e47ee8a89314268e08056b0e1359e1fa') + + ASSET_BSA_SHELL =3D Asset( + 'https://github.com/ARM-software/sysarch-acs/raw/refs/heads/main' + '/prebuilt_images/VBSA/v25.12_VBSA_0.7.0/Shell.efi', + 'e526604f0d329b481c6a1f62f7a0db8ea24ce8178b2c6abda8e247425f38775c') + + def test_aarch64_vbsa_uefi_tests(self): + """ + Launch the UEFI based VBSA test from an EFI file-system + """ + + self.vm.set_console() + + # virt machine wi + self.set_machine('virt') + self.vm.add_args('-M', 'virt,gic-version=3Dmax,virtualization=3Don= ') + self.vm.add_args('-cpu', 'max', '-m', '1024') + + # We will use the QEMU firmware blobs to boot + code_path =3D self.build_file('pc-bios', 'edk2-aarch64-code.fd') + vars_source =3D self.build_file('pc-bios', 'edk2-arm-vars.fd') + vars_path =3D self.scratch_file('vars.fd') + shutil.copy(vars_source, vars_path) + + self.vm.add_args('-drive', + f'if=3Dpflash,format=3Draw,readonly=3Don,file=3D{= code_path}') + self.vm.add_args('-drive', f'if=3Dpflash,format=3Draw,file=3D{vars= _path}') + + # Build an EFI FAT32 file-system for the UEFI tests + vbsa_efi =3D self.ASSET_VBSA_EFI.fetch() + bsa_shell =3D self.ASSET_BSA_SHELL.fetch() + + img_path =3D self.scratch_file('vbsa.img') + qemu_img =3D get_qemu_img(self) + check_call([qemu_img, 'create', '-f', 'raw', img_path, '64M'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + check_call(['mformat', '-i', img_path, '-v', 'VBSA', '::'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + check_call(['mmd', '-i', img_path, '::/EFI'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + check_call(['mmd', '-i', img_path, '::/EFI/BOOT'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + check_call(['mcopy', '-i', img_path, bsa_shell, + '::/EFI/BOOT/BOOTAA64.EFI'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + check_call(['mcopy', '-i', img_path, vbsa_efi, '::/Vbsa.efi'], + stdout=3DDEVNULL, stderr=3DDEVNULL) + + self.vm.add_args('-drive', + f'file=3D{img_path},format=3Draw,if=3Dnone,id=3Dd= rive0') + self.vm.add_args('-device', 'virtio-blk-pci,drive=3Ddrive0') + + self.vm.launch() + + # wait for EFI prompt + self.wait_for_console_pattern('Shell>') + + # Start the VBSA tests + ec_and_wait(self, "FS0:Vbsa.efi", 'VBSA Architecture Compliance Su= ite') + + # could we parse the summary somehow? + + self.wait_for_console_pattern('VBSA tests complete. Reset the syst= em.') + + +if __name__ =3D=3D '__main__': + QemuSystemTest.main() --=20 2.47.3