public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'MOESSBAUER, Felix' via isar-users" <isar-users@googlegroups.com>
To: "amikan@ilbers.de" <amikan@ilbers.de>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH 2/3] testsuite: disable qemumipsel-bullseye tests in rootless mode
Date: Mon, 10 Aug 2026 07:59:47 +0000	[thread overview]
Message-ID: <698032ad9ba541853b0fec9398a9216107c83ec1.camel@siemens.com> (raw)
In-Reply-To: <73176bc8-3ef5-4711-b9df-5b52c2152e89@ilbers.de>

On Mon, 2026-08-10 at 10:31 +0300, Anton Mikanovich wrote:
> Hello Felix,
> 
> 06.08.2026 13:35, 'Felix Moessbauer' via isar-users wrote:
> > The pam + adduser combination of qemumipsel on bullseye does not work in
> > unprivileged user namespaces. By that, no users can be added to the
> > image. This results in the following error during do_rootfs_install:
> > 
> >   chfn: PAM: System error
> >   adduser: `/bin/chfn -f systemd Network Management systemd-network' returned error code 1. Exiting.
> >   dpkg: error processing package systemd (--configure):
> >    installed systemd package post-installation script subprocess returned error exit status 1
> > 
> > As this target and distro combination is exotic, we just remove it from
> > the testsuite if running in rootless mode.
> > 
> > Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> > ---
> >   testsuite/citest.py | 8 +++++++-
> >   1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > diff --git a/testsuite/citest.py b/testsuite/citest.py
> > index a41b77c8..211bc16d 100644
> > --- a/testsuite/citest.py
> > +++ b/testsuite/citest.py
> > @@ -928,7 +928,6 @@ class NoCrossTest(CIBaseTest):
> >               'mc:qemui386-bullseye:isar-image-base',
> >               'mc:qemuamd64-buster:isar-image-ci',
> >               'mc:qemuamd64-bullseye:isar-initramfs',
> > -            'mc:qemumipsel-bullseye:isar-image-base',
> >               'mc:phyboard-mira-bullseye:isar-image-base',
> >               'mc:hikey-bullseye:isar-image-base',
> >               'mc:virtualbox-bullseye:isar-image-base',
> > @@ -959,6 +958,11 @@ class NoCrossTest(CIBaseTest):
> >               'mc:x86-pc-bookworm:isar-image-base',
> >           ]
> >   
> > +        if not bool(int(self.params.get('rootless', default=0))):
> > +            # on bullseye mipsel, the pam + adduser combination does not
> > +            # work in unprivileged namespaces
> > +            targets.append('mc:qemumipsel-bullseye:isar-image-base')
> > +
> >           self.init()
> >           self.perform_build_test(targets, cross=False)
> >   
> > @@ -1120,6 +1124,8 @@ class NoCrossTest(CIBaseTest):
> >           """
> >           :avocado: tags=startvm
> >           """
> > +        if bool(int(self.params.get('rootless', default=0))):
> > +            self.cancel('mipsel bullseye not supported in rootless mode')
> >           self.init()
> >           self.vm_start('mipsel', 'bullseye')
> >   
> Can we maybe just move it into the separate test case, so we can use
> @skipUnless / @skipIf macros to just skip this test for rootless?

That should be possible. Will send a v2.

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

  reply	other threads:[~2026-08-10  7:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06 10:35 [PATCH 0/3] Various improvements of the Isar testsuite 'Felix Moessbauer' via isar-users
2026-08-06 10:35 ` [PATCH 1/3] testsuite: compress sdk with zstd to speedup dev test 'Felix Moessbauer' via isar-users
2026-08-06 10:35 ` [PATCH 2/3] testsuite: disable qemumipsel-bullseye tests in rootless mode 'Felix Moessbauer' via isar-users
2026-08-10  7:31   ` Anton Mikanovich
2026-08-10  7:59     ` 'MOESSBAUER, Felix' via isar-users [this message]
2026-08-06 10:35 ` [PATCH 3/3] testsuite: build all targets in cross mode 'Felix Moessbauer' via isar-users
2026-08-06 14:06   ` Zhihang Wei
2026-08-06 14:39     ` 'MOESSBAUER, Felix' via isar-users
2026-08-10  7:45     ` Anton Mikanovich
2026-08-10  7:57       ` 'MOESSBAUER, Felix' via isar-users
2026-08-10  8:08         ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=698032ad9ba541853b0fec9398a9216107c83ec1.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=amikan@ilbers.de \
    --cc=felix.moessbauer@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox