mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: add argo x86 XTF test
Introduce new CI job to run x86 XTF argo test under QEMU to smoke test argo feature functionality in upstream CI. The new job lead time is ~30s, limit max job duration to 60s. Signed-off-by: Denis Mukhin <dmukhin@ford.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
23c4e82acd
commit
150c6ef459
2 files changed
+16
No files matched your search
@@ -691,6 +691,15 @@ qemu-smoke-x86-64-gcc-efi:
|
|||||||
needs:
|
needs:
|
||||||
- debian-12-x86_64-gcc-debug
|
- debian-12-x86_64-gcc-debug
|
||||||
|
|
||||||
|
qemu-xtf-argo-x86_64-gcc-debug:
|
||||||
|
extends: .qemu-smoke-x86-64
|
||||||
|
variables:
|
||||||
|
TEST_TIMEOUT_OVERRIDE: 60
|
||||||
|
script:
|
||||||
|
- ./automation/scripts/qemu-xtf.sh x86-64 pv64 argo 2>&1 | tee ${LOGFILE}
|
||||||
|
needs:
|
||||||
|
- alpine-3.18-gcc-debug
|
||||||
|
|
||||||
qemu-smoke-riscv64-gcc:
|
qemu-smoke-riscv64-gcc:
|
||||||
extends: .qemu-riscv64
|
extends: .qemu-riscv64
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -68,6 +68,9 @@ function xtf_build_cmdline()
|
|||||||
local xtf_variant=$1
|
local xtf_variant=$1
|
||||||
local xtf_name=$2
|
local xtf_name=$2
|
||||||
declare -a cmdline=()
|
declare -a cmdline=()
|
||||||
|
declare -A per_test_args=(
|
||||||
|
[argo]="argo=1 mac-permissive=1"
|
||||||
|
)
|
||||||
|
|
||||||
cmdline+=("${XEN_CMDLINE}")
|
cmdline+=("${XEN_CMDLINE}")
|
||||||
|
|
||||||
@@ -76,6 +79,10 @@ function xtf_build_cmdline()
|
|||||||
cmdline+=("dom0-iommu=none dom0=pvh")
|
cmdline+=("dom0-iommu=none dom0=pvh")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -v per_test_args[${xtf_name}] ]]; then
|
||||||
|
cmdline+=("${per_test_args[${xtf_name}]}")
|
||||||
|
fi
|
||||||
|
|
||||||
export XEN_CMDLINE="${cmdline[@]}"
|
export XEN_CMDLINE="${cmdline[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||