* [PATCH] testsuite: Split test_nocross_trixie and drop KFAIL for QEMU targets
@ 2026-02-20 8:04 Zhihang Wei
2026-02-24 8:42 ` Zhihang Wei
0 siblings, 1 reply; 2+ messages in thread
From: Zhihang Wei @ 2026-02-20 8:04 UTC (permalink / raw)
To: isar-users
"test_nocross_trixie" was previously wrapped in KFAIL, even though it
produces QEMU artifacts which are later used by vm_start tests (not
marked as KFAIL). As a result, failed incomplete builds were not
reported directly and only only showed up later as failures in the
vm_start tests, making CI debugging difficult.
Recently, interrupted downloads have become more frequent when
starfive-visionfive2-trixie pulls a 200+ MB archive from GitHub. These
interruptions cause checksum mismatches, abort the test early, and
prevent other QEMU targets from completing their builds. With KFAIL in
place, this masked the actual root cause while breaking later tests.
As a workaround (until a proper mirror is added for the external
resource), split the test so that the QEMU targets are built first and
without KFAIL, and build the hardware board targets in a separate step.
This ensures that download issues from board-specific targets no longer
prevent QEMU artifacts from being built, and makes QEMU build failures
visible directly in CI.
Signed-off-by: Zhihang Wei <wzh@ilbers.de>
---
testsuite/citest.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index f11cd5af..115cdbaa 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -954,11 +954,16 @@ class NoCrossTest(CIBaseTest):
'mc:qemuarm64-trixie:isar-image-base',
'mc:qemuarm-trixie:isar-image-base',
'mc:qemuriscv64-trixie:isar-image-base',
+ ]
+
+ self.init()
+ self.perform_build_test(targets, cross=False)
+
+ targets = [
'mc:sifive-fu540-trixie:isar-image-base',
'mc:starfive-visionfive2-trixie:isar-image-base',
]
- self.init()
try:
self.perform_build_test(targets, cross=False)
except exceptions.TestFail:
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260220080456.45398-1-wzh%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] testsuite: Split test_nocross_trixie and drop KFAIL for QEMU targets
2026-02-20 8:04 [PATCH] testsuite: Split test_nocross_trixie and drop KFAIL for QEMU targets Zhihang Wei
@ 2026-02-24 8:42 ` Zhihang Wei
0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2026-02-24 8:42 UTC (permalink / raw)
To: isar-users
Applied to next.
Zhihang
On 2/20/26 09:04, Zhihang Wei wrote:
> "test_nocross_trixie" was previously wrapped in KFAIL, even though it
> produces QEMU artifacts which are later used by vm_start tests (not
> marked as KFAIL). As a result, failed incomplete builds were not
> reported directly and only only showed up later as failures in the
> vm_start tests, making CI debugging difficult.
>
> Recently, interrupted downloads have become more frequent when
> starfive-visionfive2-trixie pulls a 200+ MB archive from GitHub. These
> interruptions cause checksum mismatches, abort the test early, and
> prevent other QEMU targets from completing their builds. With KFAIL in
> place, this masked the actual root cause while breaking later tests.
>
> As a workaround (until a proper mirror is added for the external
> resource), split the test so that the QEMU targets are built first and
> without KFAIL, and build the hardware board targets in a separate step.
> This ensures that download issues from board-specific targets no longer
> prevent QEMU artifacts from being built, and makes QEMU build failures
> visible directly in CI.
>
> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
> ---
> testsuite/citest.py | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/testsuite/citest.py b/testsuite/citest.py
> index f11cd5af..115cdbaa 100755
> --- a/testsuite/citest.py
> +++ b/testsuite/citest.py
> @@ -954,11 +954,16 @@ class NoCrossTest(CIBaseTest):
> 'mc:qemuarm64-trixie:isar-image-base',
> 'mc:qemuarm-trixie:isar-image-base',
> 'mc:qemuriscv64-trixie:isar-image-base',
> + ]
> +
> + self.init()
> + self.perform_build_test(targets, cross=False)
> +
> + targets = [
> 'mc:sifive-fu540-trixie:isar-image-base',
> 'mc:starfive-visionfive2-trixie:isar-image-base',
> ]
>
> - self.init()
> try:
> self.perform_build_test(targets, cross=False)
> except exceptions.TestFail:
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/a7c7d186-2219-4a5a-9d73-edfc6cb58563%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-24 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-20 8:04 [PATCH] testsuite: Split test_nocross_trixie and drop KFAIL for QEMU targets Zhihang Wei
2026-02-24 8:42 ` Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox