[PATCH] testsuite: Add KFAIL to qemumipsel-bookworm

4 views
Skip to first unread message

Zhihang Wei

unread,
Jul 23, 2026, 9:33:18 AM (2 days ago) Jul 23
to isar-...@googlegroups.com
Currently the following error occurs when building qemumipsel-bookworm:
ERROR: Task (mc:qemumipsel-bookworm:./build/../meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb:do_rootfs_install) failed with exit code '1'
The task log shows:
Broken libc6-dev:amd64 Depends on linux-libc-dev:amd64 < none @un pH >
<snip>
The following packages have unmet dependencies:
libc6-dev : Depends: linux-libc-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

Allow this target to fail for now so that the remaining cross tests can
continue to run.

Signed-off-by: Zhihang Wei <w...@ilbers.de>
---
testsuite/citest.py | 49 +++++++++++++++++++++++++++++++--------------
1 file changed, 34 insertions(+), 15 deletions(-)

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 5e7fd20a..e8e5a342 100644
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -897,7 +897,6 @@ class NoCrossTest(CIBaseTest):
'mc:qemuamd64-bookworm:isar-image-ci',
'mc:qemuamd64-iso-bookworm:isar-image-ci',
'mc:qemui386-bookworm:isar-image-base',
- 'mc:qemumipsel-bookworm:isar-image-ci',
'mc:qemuamd64-trixie:isar-image-base',
'mc:qemuarm64-trixie:isar-image-base',
'mc:qemuarm-trixie:isar-image-base',
@@ -915,6 +914,17 @@ class NoCrossTest(CIBaseTest):
self.init()
self.perform_build_test(targets, cross=False)

+ def test_nocross_mipsel_bookworm(self):
+ targets = [
+ 'mc:qemumipsel-bookworm:isar-image-ci',
+ ]
+
+ self.init()
+ try:
+ self.perform_build_test(targets, cross=False)
+ except exceptions.TestFail:
+ self.cancel('KFAIL')
+
def test_run_arm_bullseye(self):
"""
:avocado: tags=startvm
@@ -1081,32 +1091,41 @@ class NoCrossTest(CIBaseTest):
:avocado: tags=startvm
"""
self.init()
- self.vm_start('mipsel', 'bookworm', image='isar-image-ci', keep=True)
+ try:
+ self.vm_start('mipsel', 'bookworm', image='isar-image-ci', keep=True)
+ except exceptions.TestFail:
+ self.cancel('KFAIL')

def test_run_mipsel_bookworm_getty_target(self):
"""
:avocado: tags=startvm
"""
self.init()
- self.vm_start(
- 'mipsel',
- 'bookworm',
- image='isar-image-ci',
- cmd='systemctl is-active getty.target',
- keep=True,
- )
+ try:
+ self.vm_start(
+ 'mipsel',
+ 'bookworm',
+ image='isar-image-ci',
+ cmd='systemctl is-active getty.target',
+ keep=True,
+ )
+ except exceptions.TestFail:
+ self.cancel('KFAIL')

def test_run_mipsel_bookworm_example_module(self):
"""
:avocado: tags=startvm
"""
self.init()
- self.vm_start(
- 'mipsel',
- 'bookworm',
- image='isar-image-ci',
- script='test_kernel_module.sh example_module',
- )
+ try:
+ self.vm_start(
+ 'mipsel',
+ 'bookworm',
+ image='isar-image-ci',
+ script='test_kernel_module.sh example_module',
+ )
+ except exceptions.TestFail:
+ self.cancel('KFAIL')

def test_run_arm_trixie(self):
"""
--
2.39.5

MOESSBAUER, Felix

unread,
Jul 23, 2026, 11:28:55 AM (2 days ago) Jul 23
to Zhihang Wei, isar-...@googlegroups.com
On Thu, 2026-07-23 at 15:33 +0200, Zhihang Wei wrote:
> Currently the following error occurs when building qemumipsel-bookworm:
> ERROR: Task (mc:qemumipsel-bookworm:./build/../meta/recipes-devtools/sbuild-chroot/sbuild-chroot-host.bb:do_rootfs_install) failed with exit code '1'
> The task log shows:
> Broken libc6-dev:amd64 Depends on linux-libc-dev:amd64 < none @un pH >
> <snip>
> The following packages have unmet dependencies:
> libc6-dev : Depends: linux-libc-dev but it is not installable
> E: Unable to correct problems, you have held broken packages.

Hi, I noticed this as well, but on my side this is a sporadic issue.
I did not investigate this further, though.

Felix

Zhihang Wei

unread,
Jul 24, 2026, 4:00:02 AM (yesterday) Jul 24
to MOESSBAUER, Felix, isar-...@googlegroups.com
On my side this occurs consistently. It's not caused by recent changes. I
tested on the old master branch and the problem occurred there as well.

Zhihang

Zhihang Wei

unread,
Jul 24, 2026, 4:48:44 AM (yesterday) Jul 24
to MOESSBAUER, Felix, isar-...@googlegroups.com
I was just summarizing recent CI failures and found this error occurs
with other targets as well, such as qemuarm64-bookworm and
qemuamd64-bookworm, but only sporadically. On qemumipsel-bookworm the
error occurs consistently.

Zhihang

MOESSBAUER, Felix

unread,
Jul 24, 2026, 5:33:42 AM (yesterday) Jul 24
to Zhihang Wei, isar-...@googlegroups.com, Kiszka, Jan

The root-cause of this is the manually modeled dependency chain in
sbuild-chroot.inc around libgcc-<...> and libstd++-<...>. The
assumptions made there are not universally valid, especially not when
packages are taken from debian security (which explains the late
breakage). This was introduced by Jan to reduce the sbuild install
times in 2be866677 and d90f75bd00f. Reverting the changes fixes the
build.

Still I don't fully understand why this breaks non-deterministically.

Best regards,
Felix

>
> Zhihang

MOESSBAUER, Felix

unread,
Jul 24, 2026, 8:05:37 AM (23 hours ago) Jul 24
to Zhihang Wei, isar-...@googlegroups.com, Kiszka, Jan
On Fri, 2026-07-24 at 09:33 +0000, 'MOESSBAUER, Felix' via isar-users

I did some further investigation, which revealed a couple of things:

- the DPKG_ARCH=all packages are always build in the sbuild-chroot-host
(even on ISAR_CROSS_COMPILE=0). That makes sense, as Debian does it
like that. However, it also means the sbuild-chroot-host must be
installable on ISAR_CROSS_COMPILE=0
- the sbuild-chroot-host unconditionally installs a cross-compiling
environment (crossbuild-essential-<arch>). That is unnecessary on
global ISAR_CROSS_COMPILE=0 but unproblematic
- the optimization 2be866677 and d90f75bd00f is also applied
unconditionally, breaking the build

I will send a patch that fixes this by only installing the cross
dependencies in sbuild-chroot-host on ISAR_CROSS_COMPILE=1.

This should fix all issues related to "libc6-dev : Depends: linux-libc-
dev".

Felix

>
> Still I don't fully understand why this breaks non-deterministically.
>
> Best regards,
> Felix
>
> >
> > Zhihang
>

> --
> 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+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/6d581c3f0fc04a4a0d28b38cdd48538c1d8775e8.camel%40siemens.com.

Reply all
Reply to author
Forward
0 new messages