public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
@ 2026-07-23 13:33 Zhihang Wei
  2026-07-23 15:28 ` 'MOESSBAUER, Felix' via isar-users
  0 siblings, 1 reply; 6+ messages in thread
From: Zhihang Wei @ 2026-07-23 13:33 UTC (permalink / raw)
  To: isar-users

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 <wzh@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

-- 
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/20260723133314.1579323-1-wzh%40ilbers.de.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
  2026-07-23 13:33 [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm Zhihang Wei
@ 2026-07-23 15:28 ` 'MOESSBAUER, Felix' via isar-users
  2026-07-24  7:59   ` Zhihang Wei
  0 siblings, 1 reply; 6+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2026-07-23 15:28 UTC (permalink / raw)
  To: Zhihang Wei, isar-users

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

-- 
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/1dac0c701ef611288162c23759da06c28d5614d5.camel%40siemens.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
  2026-07-23 15:28 ` 'MOESSBAUER, Felix' via isar-users
@ 2026-07-24  7:59   ` Zhihang Wei
  2026-07-24  8:48     ` Zhihang Wei
  0 siblings, 1 reply; 6+ messages in thread
From: Zhihang Wei @ 2026-07-24  7:59 UTC (permalink / raw)
  To: MOESSBAUER, Felix, isar-users


On 7/23/26 17:28, 'MOESSBAUER, Felix' via isar-users wrote:
> 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
>

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

-- 
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/feacf7e3-6e46-4a8c-b763-a8fd834eee64%40ilbers.de.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
  2026-07-24  7:59   ` Zhihang Wei
@ 2026-07-24  8:48     ` Zhihang Wei
  2026-07-24  9:33       ` 'MOESSBAUER, Felix' via isar-users
  0 siblings, 1 reply; 6+ messages in thread
From: Zhihang Wei @ 2026-07-24  8:48 UTC (permalink / raw)
  To: MOESSBAUER, Felix, isar-users



On 7/24/26 09:59, Zhihang Wei wrote:
>
> On 7/23/26 17:28, 'MOESSBAUER, Felix' via isar-users wrote:
>> 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
>>
>
> 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
>

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

-- 
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/16bc3c16-d3f3-45bf-8018-d33fa71b3075%40ilbers.de.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
  2026-07-24  8:48     ` Zhihang Wei
@ 2026-07-24  9:33       ` 'MOESSBAUER, Felix' via isar-users
  2026-07-24 12:05         ` 'MOESSBAUER, Felix' via isar-users
  0 siblings, 1 reply; 6+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2026-07-24  9:33 UTC (permalink / raw)
  To: Zhihang Wei, isar-users; +Cc: Kiszka, Jan

On Fri, 2026-07-24 at 10:48 +0200, Zhihang Wei wrote:
> On 7/24/26 09:59, Zhihang Wei wrote:
> > 
> > On 7/23/26 17:28, 'MOESSBAUER, Felix' via isar-users wrote:
> > > 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
> > > 
> > 
> > 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
> > 
> 
> 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.

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

-- 
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/6d581c3f0fc04a4a0d28b38cdd48538c1d8775e8.camel%40siemens.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm
  2026-07-24  9:33       ` 'MOESSBAUER, Felix' via isar-users
@ 2026-07-24 12:05         ` 'MOESSBAUER, Felix' via isar-users
  0 siblings, 0 replies; 6+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2026-07-24 12:05 UTC (permalink / raw)
  To: Zhihang Wei, isar-users; +Cc: Kiszka, Jan

On Fri, 2026-07-24 at 09:33 +0000, 'MOESSBAUER, Felix' via isar-users
wrote:
> On Fri, 2026-07-24 at 10:48 +0200, Zhihang Wei wrote:
> > On 7/24/26 09:59, Zhihang Wei wrote:
> > > 
> > > On 7/23/26 17:28, 'MOESSBAUER, Felix' via isar-users wrote:
> > > > 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
> > > > 
> > > 
> > > 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
> > > 
> > 
> > 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.
> 
> 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.

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

-- 
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/ac019a095b262c2deba642618566c33b478fd1fb.camel%40siemens.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-24 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 13:33 [PATCH] testsuite: Add KFAIL to qemumipsel-bookworm Zhihang Wei
2026-07-23 15:28 ` 'MOESSBAUER, Felix' via isar-users
2026-07-24  7:59   ` Zhihang Wei
2026-07-24  8:48     ` Zhihang Wei
2026-07-24  9:33       ` 'MOESSBAUER, Felix' via isar-users
2026-07-24 12:05         ` 'MOESSBAUER, Felix' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox