|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 5/6] CI: add a riscv64 smoke test job using the QTB console-test
On Tue, Nov 03, 2026 at 03:08:13PM +0100, Baptiste Le Duc wrote:
> Add QTB console-test in CI next to the existing qemu-smoke-riscv64-gcc
> job, which is left unchanged.
>
> Add .qemu-qtb-riscv64, a template running the pytest module named by
> QTB_TEST in the debian:13-riscv64-qtb container. --binaries-dir points
> at the artifacts of the job, Xen from the build job. The per-test logs
> are collected under qtb-logs, kept on failure and on success, and the
> JUnit report is uploaded so GitLab shows per-test results.
>
> Add qemu-smoke-qtb-riscv64-gcc job on top of it, running test_console.py:
> its test boots Xen alone on one pCPU and waits for "All set up" on
> Xen's console, the same string as the existing qemu-smoke-riscv64-gcc.
>
> Both jobs use Debian's QEMU and its bundled OpenSBI.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>
Reviewed-by: Hiago De Franco <hfranco@xxxxxxxxxxxx>
> ---
> Changes in v3:
> - Add the QTB job next to qemu-smoke-riscv64-gcc instead of replacing it,
> the drop moves to its own patch.
> - Rename the template and job with "qtb".
> - Run pytest and upload its JUnit report.
> - Use the container from xen.git, drop ARTIFACTS_REGISTRY.
> ---
> automation/gitlab-ci/test.yaml | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
> index 96127995d7..dcf75e4674 100644
> --- a/automation/gitlab-ci/test.yaml
> +++ b/automation/gitlab-ci/test.yaml
> @@ -84,6 +84,26 @@
> tags:
> - x86_64
>
> +.qemu-qtb-riscv64:
> + extends: .test-jobs-common
> + variables:
> + CONTAINER: debian:13-riscv64-qtb
> + script:
> + - python3 -m pytest
> + "automation/scripts/qtb/riscv/tests/${QTB_TEST}"
> + -p no:cacheprovider
> + --log-dir qtb-logs
> + --binaries-dir "${CI_PROJECT_DIR}/binaries"
> + --junitxml tests-junit.xml
> + artifacts:
> + paths:
> + - qtb-logs
> + reports:
> + junit: tests-junit.xml
> + when: always
> + tags:
> + - x86_64
> +
> .qemu-ppc64le:
> extends: .test-jobs-common
> variables:
> @@ -792,6 +812,13 @@ qemu-smoke-riscv64-gcc:
> needs:
> - debian-13-riscv64-gcc-debug
>
> +qemu-smoke-qtb-riscv64-gcc:
> + extends: .qemu-qtb-riscv64
> + variables:
> + QTB_TEST: test_console.py
> + needs:
> + - debian-13-riscv64-gcc-debug
> +
> qemu-smoke-ppc64le-powernv9-gcc:
> extends: .qemu-ppc64le
> script:
>
> --
> 2.56.0
>
>
--
Hiago
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |