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 7A55F606A334 for ; Thu, 3 Dec 2026 02:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Dea5+rye Received: from list by lists.xenproject.org with outflank-mailman.1511469.1703897 (Exim 4.92) (envelope-from ) id 1xYwUq-0006kH-VG; Thu, 03 Dec 2026 02:24:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1511469.1703897; Thu, 03 Dec 2026 02:24:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYwUq-0006kA-SZ; Thu, 03 Dec 2026 02:24:32 +0000 Received: by outflank-mailman (input) for mailman id 1511469; Thu, 03 Dec 2026 02:24:31 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYwUp-0006k4-Oq for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 02:24:31 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xYwUp-002LRJ-5S for xen-devel@lists.xenproject.org; Thu, 03 Dec 2026 03:24:31 +0100 Received: from [10.42.69.9] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b10d265-bab6-0a2a0a5309dd-0a2a4509db28-38 for ; Thu, 03 Dec 2026 03:24:31 +0100 Received: from [172.234.252.31] (helo=sea.source.kernel.org) by tlsNG-bad1c0.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b10d2dd-be1a-0a2a45090019-aceafc1fd5b4-3 for ; Thu, 03 Dec 2026 03:24:30 +0100 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id CC64540760; Thu, 3 Dec 2026 02:24:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A00B1F00893; Thu, 3 Dec 2026 02:24:27 +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=1796264668; bh=u+CIfoHEsnEIc+0ahEchC7Xu5IUTvYVE85KvOTU5Fm4=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Dea5+ryexq3dIFkUOUNs9WojD98umjCCoDAPr9XfwQVSe8OtBRUeLVHbivUQNS157 yNuAj/L/Re1lkJLX249oWerS28mviEv2ZJqdRleJnvbhEPUrovBjaI2akmnCc5mN1A 5qxDOHWsEe4D8sBkzLiFLLjm/xRaD7b4dVospx8dZi+J0NeffgFe9uXMMZfkQJdVs3 axdlo5Uk6iuaxCl81dU8Dz8+v5c2hBtW2qxPtdAdIS4cqWr6QJAZunJNBUW88UY465 9AKBTNFrXjQGdf+BNiufBJLIUtDmTp60lilUS+4x57/VufoZYzO+ZopfnIvGQgD3+R ViJE36P2Is1sg== Date: Wed, 2 Dec 2026 18:24:26 -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 08/13] CI: enable on-demand XTF on qubes runners In-Reply-To: <20261105013701.719658-9-dmukhin@ford.com> Message-ID: <50e08e51-e304-60d2-4405-53d01a2ebb8c@kernel.org> References: <20261105013701.719658-1-dmukhin@ford.com> <20261105013701.719658-9-dmukhin@ford.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-purgate-ID: tlsNG-bad1c0/1796264671-3BCD7034-D1E538ED/0/0 X-purgate-type: clean X-purgate-size: 5362 X-Spam-Status: No, score=-15.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,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 > > Currently, public CI infra has no job to run an XTF on the hardware > runner. > > This change enables running XTFs on hardware runners on demand, such > as test job on a development branch. very nice!! > Signed-off-by: Denis Mukhin > --- > automation/gitlab-ci/test.yaml | 2 + > automation/scripts/include/xtf/qubes-hw1 | 1 + > automation/scripts/include/xtf/qubes-hw11 | 1 + > automation/scripts/include/xtf/qubes-hw2 | 1 + > automation/scripts/include/xtf/qubes-hw22 | 1 + > automation/scripts/include/xtf/qubes-hw3 | 1 + > automation/scripts/include/xtf/qubes-x86_64 | 54 +++++++++++++++++++++ > 7 files changed, 61 insertions(+) > create mode 120000 automation/scripts/include/xtf/qubes-hw1 > create mode 120000 automation/scripts/include/xtf/qubes-hw11 > create mode 120000 automation/scripts/include/xtf/qubes-hw2 > create mode 120000 automation/scripts/include/xtf/qubes-hw22 > create mode 120000 automation/scripts/include/xtf/qubes-hw3 > create mode 100644 automation/scripts/include/xtf/qubes-x86_64 > > diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml > index 9ca93842dfe7..4d7d5e3d9a11 100644 > --- a/automation/gitlab-ci/test.yaml > +++ b/automation/gitlab-ci/test.yaml > @@ -244,6 +244,7 @@ > PCIDEV_INTR: "MSI-X" > XEN_CONSOLE: "console=com1 com1=115200,8n1,pci,msi,04:00.0" > SUT_ADDR: test-1.testnet > + XTF_TARGET: qubes-hw1 > tags: > - qubes-hw1 > > @@ -255,6 +256,7 @@ > PCIDEV_INTR: "MSI-X" > XEN_CONSOLE: "console=com1 com1=115200,8n1,pci,msi" > SUT_ADDR: test-11.testnet > + XTF_TARGET: qubes-hw11 > tags: > - qubes-hw11 > > diff --git a/automation/scripts/include/xtf/qubes-hw1 b/automation/scripts/include/xtf/qubes-hw1 > new file mode 120000 > index 000000000000..c6b7de7308b6 > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-hw1 > @@ -0,0 +1 @@ > +qubes-x86_64 > \ No newline at end of file > diff --git a/automation/scripts/include/xtf/qubes-hw11 b/automation/scripts/include/xtf/qubes-hw11 > new file mode 120000 > index 000000000000..c6b7de7308b6 > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-hw11 > @@ -0,0 +1 @@ > +qubes-x86_64 > \ No newline at end of file > diff --git a/automation/scripts/include/xtf/qubes-hw2 b/automation/scripts/include/xtf/qubes-hw2 > new file mode 120000 > index 000000000000..c6b7de7308b6 > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-hw2 > @@ -0,0 +1 @@ > +qubes-x86_64 > \ No newline at end of file > diff --git a/automation/scripts/include/xtf/qubes-hw22 b/automation/scripts/include/xtf/qubes-hw22 > new file mode 120000 > index 000000000000..c6b7de7308b6 > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-hw22 > @@ -0,0 +1 @@ > +qubes-x86_64 > \ No newline at end of file > diff --git a/automation/scripts/include/xtf/qubes-hw3 b/automation/scripts/include/xtf/qubes-hw3 > new file mode 120000 > index 000000000000..c6b7de7308b6 > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-hw3 > @@ -0,0 +1 @@ > +qubes-x86_64 > \ No newline at end of file Setting XTF_TARGET: qubes-x86_64 once in .adl-x86_64 would cover every Qubes runner, including zen5, without any symlinks. > diff --git a/automation/scripts/include/xtf/qubes-x86_64 b/automation/scripts/include/xtf/qubes-x86_64 > new file mode 100644 > index 000000000000..d183dd33e4af > --- /dev/null > +++ b/automation/scripts/include/xtf/qubes-x86_64 > @@ -0,0 +1,54 @@ > +#!/bin/bash > +# > +# XTF test utilities (qubes-* hardware x86_64 runners). > +# > + > +# Target-specific environment overrides. > +function xtf_init() > +{ > + export XEN_BINARY="${XEN_BINARY:-${WORKDIR}/xen}" > + > + XEN_CMDLINE="${XEN_CMDLINE:-loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot}" > + export EXTRA_XEN_CMDLINE="${XEN_CMDLINE} ${XEN_CONSOLE}" this overwrites the job's EXTRA_XEN_CMDLINE, for example "fred" would be dropped > + export TFTP="/scratch/gitlab-runner/tftp" > + export CONTROLLER="control@thor.testnet" > +} > + > +# Perform target-specific XTF environment setup. > +function xtf_setup_host() > +{ > + cat > "$TFTP/grub.cfg" < +serial --port=auto --speed=115200 --word=8 --parity=no --stop=1 > +terminal_input serial > +terminal_output serial > + > +insmod multiboot2 > + > +echo Loading Xen... > +multiboot2 (http)/gitlab-ci/xen $XEN_CMDLINE > + > +echo Loading XTF... > +module2 (http)/gitlab-ci/xtf > + > +echo Booting Xen... > +boot > + EOF EOF is indented and does not end the heredoc > + > + cat > $TFTP/boot.ipxe < +#!ipxe > +kernel /gitlab-ci/xen $XEN_CMDLINE || reboot > +module /gitlab-ci/xtf || reboot > +boot > +EOF > + > + cp ${XEN_BINARY} $TFTP/xen > + cp ${XTF_BINARY} $TFTP/xtf > + > + export TEST_CMD="ssh $CONTROLLER console" > + > + trap "ssh $CONTROLLER poweroff" EXIT > + > + # Boot the system > + ssh $CONTROLLER gitlabci poweron As this powercycle the board once per test, do you have an estimate for how long it takes to run this? > +} > -- > 2.55.0 >