From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 044EC606A32F for ; Thu, 3 Dec 2026 01:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bdk0cvGL Received: from list by lists.xenproject.org with outflank-mailman.1511416.1703852 (Exim 4.92) (envelope-from ) id 1xYvsf-0005cq-33; Thu, 03 Dec 2026 01:45:05 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1511416.1703852; Thu, 03 Dec 2026 01:45:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYvsf-0005cj-0L; Thu, 03 Dec 2026 01:45:05 +0000 Received: by outflank-mailman (input) for mailman id 1511416; Thu, 03 Dec 2026 01:45:04 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYvse-0005cd-3I for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 01:45:04 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xYvsd-00ASUh-8T for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 02:45:03 +0100 Received: from [10.42.69.3] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b10c8fd-bab6-0a2a0a5309dd-0a2a450381fa-32 for ; Thu, 03 Dec 2026 02:45:03 +0100 Received: from [172.234.252.31] (helo=sea.source.kernel.org) by tlsNG-33051d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b10c99d-fae8-0a2a45030019-aceafc1fa1fa-3 for ; Thu, 03 Dec 2026 02:45:02 +0100 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id BB5BC441ED; Thu, 3 Dec 2026 01:45:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 155D81F000C1; Thu, 3 Dec 2026 01:44:58 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Post: List-Help: List-Subscribe: , Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=k20260515 header.d=kernel.org header.i="@kernel.org" header.h="Date:From:To:cc:Subject:In-Reply-To:References" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796262300; bh=yv6xP8PG3B/U4KUXfreAYbGqfX2jRsveVrHc1CQyoDs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=bdk0cvGLyo1cEENeSj8s3WCylVMMAgo9w55e0nlLA2Tv8XFvw/S/unYP9oTUqIGZj sBOUuAQM5eq+KlkIHqsKOEnQaHSdBUrblq33T/teDWtB9bQdzopcPyYp5Q925Ywz6G r8cb23q3KgDqQawHMecHHYmMAsL/XOJxh0MyDLdLZBbkFa6bSD/fDkPy/zxLb0eVmt Uhafv9D71SSTEhmXonWmBmnPubVOCZZD8f5KcZTKO0Zldy5tC2ivVQBcNu+eqriN99 6+e0AuNQbyVHh/NGXr5JvecOxnEZGcHGd3kswyUDGaZfSLlBTkf/eFdTVSuFMw1fM8 PMXQWvC1Xt7Rw== Date: Wed, 2 Dec 2026 17:44:58 -0800 (PST) From: Stefano Stabellini To: Denis Mukhin cc: xen-devel@lists.xenproject.org, andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org Subject: Re: [PATCH v1 04/13] CI: enable XTF build jobs In-Reply-To: <20261105013701.719658-5-dmukhin@ford.com> Message-ID: References: <20261105013701.719658-1-dmukhin@ford.com> <20261105013701.719658-5-dmukhin@ford.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-purgate-ID: tlsNG-33051d/1796262303-6C4DF4E9-4C3E8CB4/0/0 X-purgate-type: clean X-purgate-size: 3242 X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, 4 Nov 2026, dmukhin@ford.com wrote: > From: Denis Mukhin > > Build and publish XTF binaries to be consumed by test jobs. > > Signed-off-by: Denis Mukhin > --- > automation/gitlab-ci/build.yaml | 56 +++++++++++++++++++++++++++++++++ > 1 file changed, 56 insertions(+) > > diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml > index 3d37e0b572d0..1f6228ba74ff 100644 > --- a/automation/gitlab-ci/build.yaml > +++ b/automation/gitlab-ci/build.yaml > @@ -288,6 +288,7 @@ alpine-3.24-x86_64-gcc-debug: > CONFIG_ARGO=y > CONFIG_UBSAN=y > CONFIG_UBSAN_FATAL=y > + CONFIG_SHADOW_PAGING=y > CONFIG_MICROCODE_SCAN_DEFAULT=y > CONFIG_XHCI=y CONFIG_SHADOW_PAGING=y is not needed to run XTF > @@ -297,6 +298,9 @@ debian-13-x86_64-gcc-debug: > variables: > CONTAINER: debian:13-x86_64 > EXTRA_XEN_CONFIG: | > + CONFIG_EXPERT=y > + CONFIG_UNSUPPORTED=y > + CONFIG_ARGO=y > CONFIG_SHADOW_PAGING=y I see that you added this because some XTF tests require ARGO but I'd prefer it in a separate patch > debian-13-x86_64-clang-debug: > @@ -305,6 +309,9 @@ debian-13-x86_64-clang-debug: > variables: > CONTAINER: debian:13-x86_64 > EXTRA_XEN_CONFIG: | > + CONFIG_EXPERT=y > + CONFIG_UNSUPPORTED=y > + CONFIG_ARGO=y > CONFIG_SHADOW_PAGING=y > > debian-13-ppc64le-gcc-debug: > @@ -840,3 +847,52 @@ macos-26-arm64: > variables: > XEN_TARGET_ARCH: arm64 > CROSS_COMPILE: aarch64-elf- > + > +.xtf-common: > + variables: > + BUILD_QEMU_XEN: y > + script: > + - git clone ${XTF_URI} xtf-${ARCH} -b ${XTF_BRANCH} > + - make -C xtf-${ARCH} -j$(nproc) ${XTF_CONFIG} It is better to use a variable name other than ARCH such as XTF_ARCH because ARCH is also used by the XTF build system and the string needs to match exactly, for instance x86_64 doesn't work, only x86 works. > + - DESTDIR=$(pwd) xtfdir=/binaries make -C xtf-${ARCH} ${XTF_CONFIG} install > + artifacts: > + paths: > + - binaries/* > + > +xtf-arm64-gcc-debug: > + extends: > + - .gcc-arm64-build-debug > + - .xtf-common > + <<: *build-test > + variables: > + CONTAINER: alpine:3.24-arm64v8 > + ARCH: arm64 > + XTF_URI: https://gitlab.com/xen-project/fusa/xtf.git > + XTF_BRANCH: xtf-arm > + XTF_CONFIG: | > + CONFIG_GICV2=y > + CONFIG_SBSA_UART=y > + > +xtf-x86_64-gcc-debug: > + extends: > + - .gcc-x86_64-build-debug > + - .xtf-common > + <<: *build-test > + variables: > + CONTAINER: alpine:3.24-x86_64 > + ARCH: x86_64 > + XTF_URI: https://xenbits.xen.org/git-http/xtf.git > + XTF_BRANCH: master > + XTF_CONFIG: > + > +xtf-x86_64-clang-debug: > + extends: > + - .clang-x86_64-build-debug > + - .xtf-common > + <<: *build-test > + variables: > + CONTAINER: debian:13-x86_64 > + ARCH: x86_64 > + XTF_URI: https://xenbits.xen.org/git-http/xtf.git > + XTF_BRANCH: master > + XTF_CONFIG: I think we need to pass LLVM= so that XTF actually builds with clang > -- > 2.55.0 >