Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EEE4CD3445 for ; Fri, 8 May 2026 21:29:30 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1304251.1577344 (Exim 4.92) (envelope-from ) id 1wLSl0-0005C8-1b; Fri, 08 May 2026 21:29:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1304251.1577344; Fri, 08 May 2026 21:29:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wLSkz-0005C1-Ts; Fri, 08 May 2026 21:29:13 +0000 Received: by outflank-mailman (input) for mailman id 1304251; Fri, 08 May 2026 21:29:12 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) id 1wLSky-0004lM-8S for xen-devel@lists.xenproject.org; Fri, 08 May 2026 21:29:12 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wLSkx-00E1Ak-Lx for xen-devel@lists.xenproject.org; Fri, 08 May 2026 23:29:11 +0200 Received: from [10.42.69.7] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 69fe5538-bab6-0a2a0a5309dd-0a2a4507b2e6-32 for ; Fri, 08 May 2026 23:29:11 +0200 Received: from [209.85.221.54] (helo=mail-wr1-f54.google.com) by tlsNG-ef75cf.mxtls.expurgate.net with ESMTPS (eXpurgate 4.56.1) (envelope-from ) id 69fe55a7-229c-0a2a45070019-d155dd36acc1-3 for ; Fri, 08 May 2026 23:29:11 +0200 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-44e1860558fso1643891f8f.0 for ; Fri, 08 May 2026 14:29:11 -0700 (PDT) Received: from localhost.localdomain (host-78-146-242-105.as13285.net. [78.146.242.105]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45491ca383asm7548608f8f.28.2026.05.08.14.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2026 14:29:09 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=google header.d=citrix.com header.i="@citrix.com" header.h="Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1778275751; x=1778880551; darn=lists.xenproject.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=nOnPZ71Y6QNC+1FR8zvXZiIznnQQDmHT9JY/KOQdFvo=; b=X7BqLKEy4gXZAv3KT3EqIDF3wIHyYSK95tl53WVDgMMWPfPY17jOxMsl+ZwwFtytkv JjNxa/Jpg4BFzPmfA2B4wqOCMEZoUVNIZQrpORdTHCxFey+hRjAzHYnrxueam/cZpGK9 ZvANm2BIxV7Rmy18wAYiLSFkgimPOfxrBrDj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778275751; x=1778880551; 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=nOnPZ71Y6QNC+1FR8zvXZiIznnQQDmHT9JY/KOQdFvo=; b=RdVOCPpmKH2cG7hjrkctJV3A4ZmIu2zQOUujhDOaiAVruviX0GL4BUbfm9yBc4JV6R CcSyK/qLVJHnXFW4U3rFhB9RBeighRAOTAGzmRpo3FdrgpnpYUgzYP+yZR/1QUZJqWPr hvBL20C7PBjraFjfKUWWrBkWwwNabUFMYxcyW1BRJakv5ObiAO1pLaMg0ByTiURG1+a7 uFzdkqiTbEYfs2P9OZzjTx8DlDesG1tGDt0PV86LPAgwsWdkwLN4EltYxDyrje3eTBk1 ScIpWq7k8g89L5Rs6o7zyN1Y+FLGYrmn78u33TjzypKrnrD4RSkdRFsQjy+qI/4Q591L fs3Q== X-Gm-Message-State: AOJu0YyjKTIP8f+jbkReqS2k75KkBMYs4Dh/IQoejZbyvODgc2Mh0MHC YWCibyXHh4RTQb8JdBIFND2vqkIl18W7dBMupWLYZLBKbqV0WBAn8eiFGcN2H8QeGTOmnvOoLGu is6GAJFw= X-Gm-Gg: Acq92OHoaps9N/wvCAlEelm4YHzzc4tFTjK1oOMMZVEVw313i7kNfjEJuhm8+oJt/qn AowirBr9Rm/jLKnIah/K4xFnt6ueoAdgtIUJFVb7vZeuBCCNX0XGzEnJsh4JVU0LRwT17LW5a0r eW+KSpSURtUhFQFcLbNfCIVHjy9+CqKQBtw/7vB4nN0xe4+kQy8BnCOrPMizUlULT8bOniEDlvA C9ltmPimuy420PgAbBWc7ICAVlFF2ApByV3wAObHH4CdCbHmZ8RDdb4k3BrfF9TITikuV7FQx6C +4oxgk/zGbbYy5vugi+7/XpK7T7tEmeUSefY3gRfMdOZh53YMOAFKMzk3W04DboUWdPLl7kCRBI dWEgQAmHfMvM9PCOUFl/rVYjUtj0nTw45l74fUpYEEobsx70lUmoZzviNfXLpHTzPmNhBORkTCC r7kA7PtRz+vksHDnG+utJA0QgH1c7vgmEjE0iHt/7r3bpKJ0fU+uZDj6JoEDuNt6EgoBiqTJJK4 amc X-Received: by 2002:a05:6000:4027:b0:455:7c9f:a49e with SMTP id ffacd0b85a97d-4557c9fa4c8mr1759641f8f.25.1778275750617; Fri, 08 May 2026 14:29:10 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Anthony PERARD , Stefano Stabellini , Michal Orzel , Doug Goldstein Subject: [PATCH 2/5] CI: Refresh the Debian 12 arm32 cross compile container Date: Fri, 8 May 2026 22:29:04 +0100 Message-Id: <20260508212907.1643761-3-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260508212907.1643761-1-andrew.cooper3@citrix.com> References: <20260508212907.1643761-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-purgate-ID: tlsNG-ef75cf/1778275751-23F7EC48-A60DC4E8/10/63158204843 X-purgate-type: spam X-purgate-size: 8770 From: Javi Merino Rework the container to user heredocs for readability, derive from bookworm-slim and use apt-get --no-install-recommends to keep the size down. Convert it to being a non-root container. Add checkpolicy as FLASK is an available build option for arm32 under Randconfig testing. Rename the CI jobs to debian-12-arm32-* to follow the naming scheme of all the other CI jobs. No functional change. Signed-off-by: Javi Merino Signed-off-by: Andrew Cooper --- CC: Anthony PERARD CC: Stefano Stabellini CC: Michal Orzel CC: Doug Goldstein --- .../build/debian/12-arm64v8-arm32.dockerfile | 32 +++++++++++++++++++ .../bookworm-arm64v8-arm32-gcc.dockerfile | 24 -------------- automation/gitlab-ci/build.yaml | 24 +++++++------- automation/gitlab-ci/test.yaml | 14 ++++---- automation/scripts/containerize | 2 +- 5 files changed, 52 insertions(+), 44 deletions(-) create mode 100644 automation/build/debian/12-arm64v8-arm32.dockerfile delete mode 100644 automation/build/debian/bookworm-arm64v8-arm32-gcc.dockerfile diff --git a/automation/build/debian/12-arm64v8-arm32.dockerfile b/automation/build/debian/12-arm64v8-arm32.dockerfile new file mode 100644 index 000000000000..a4d70f1111ed --- /dev/null +++ b/automation/build/debian/12-arm64v8-arm32.dockerfile @@ -0,0 +1,32 @@ +# syntax=docker/dockerfile:1 +FROM --platform=linux/arm64/v8 debian:bookworm-slim +LABEL maintainer.name="The Xen Project" +LABEL maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive +ENV CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- + +RUN <&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32 + - debian-12-arm32-gcc qemu-smoke-dom0less-arm32-gcc-debug: extends: .qemu-arm32 @@ -608,7 +608,7 @@ qemu-smoke-dom0less-arm32-gcc-debug: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32-debug + - debian-12-arm32-gcc-debug qemu-smoke-dom0less-arm32-gcc-debug-staticmem: extends: .qemu-arm32 @@ -616,7 +616,7 @@ qemu-smoke-dom0less-arm32-gcc-debug-staticmem: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh static-mem 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32-debug-staticmem + - debian-12-arm32-gcc-debug-staticmem qemu-smoke-dom0less-arm32-gcc-debug-gzip: extends: .qemu-arm32 @@ -624,7 +624,7 @@ qemu-smoke-dom0less-arm32-gcc-debug-gzip: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh gzip 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32-debug + - debian-12-arm32-gcc-debug qemu-smoke-dom0less-arm32-gcc-without-dom0: extends: .qemu-arm32 @@ -632,7 +632,7 @@ qemu-smoke-dom0less-arm32-gcc-without-dom0: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh without-dom0 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32 + - debian-12-arm32-gcc qemu-smoke-dom0less-arm32-gcc-debug-without-dom0: extends: .qemu-arm32 @@ -640,7 +640,7 @@ qemu-smoke-dom0less-arm32-gcc-debug-without-dom0: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh without-dom0 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32-debug + - debian-12-arm32-gcc-debug qemu-smoke-dom0less-arm32-gcc-debug-earlyprintk: extends: .qemu-arm32 @@ -648,7 +648,7 @@ qemu-smoke-dom0less-arm32-gcc-debug-earlyprintk: - ./automation/scripts/qemu-smoke-dom0less-arm32.sh earlyprintk 2>&1 | tee ${LOGFILE} needs: - *arm32-test-needs - - debian-bookworm-gcc-arm32-debug-earlyprintk + - debian-12-arm32-gcc-debug-earlyprintk qemu-alpine-x86_64-gcc: extends: .qemu-x86-64 diff --git a/automation/scripts/containerize b/automation/scripts/containerize index ad3e2372703f..ef3b97b65578 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -38,7 +38,7 @@ case "_${CONTAINER}" in _bookworm|_bookworm-x86_64) CONTAINER="${BASE}/debian:12-x86_64" ;; _trixie-x86_64|_) CONTAINER="${BASE}/debian:13-x86_64" ;; _bookworm-i386|_bookworm-x86_32) CONTAINER="${BASE}/debian:12-x86_32" ;; - _bookworm-arm64v8-arm32-gcc) CONTAINER="${BASE}/debian:bookworm-arm64v8-arm32-gcc" ;; + _bookworm-arm64v8-arm32) CONTAINER="${BASE}/debian:12-arm64v8-arm32" ;; _bookworm-arm64v8) CONTAINER="${BASE}/debian:bookworm-arm64v8" ;; _bookworm-cppcheck) CONTAINER="${BASE}/debian:12-arm64v8-cppcheck" ;; _opensuse-leap|_leap) CONTAINER="${BASE}/opensuse:leap-15.6-x86_64" ;; -- 2.39.5