All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <andrej.kozemcak@siemens.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 2/3] runqemu: support rootfs-dbg flag in QB_FSINFO
Date: Sat, 03 Oct 2026 18:53:52 +0200	[thread overview]
Message-ID: <DLVCZ02OB7VU.1BT53QY17WM3K@bootlin.com> (raw)
In-Reply-To: <20261002114848.1126256-2-andrej.kozemcak@siemens.com>

On Fri Oct 2, 2026 at 1:48 PM CEST, Andrej Kozemcak via lists.openembedded.org wrote:
> Add parsing for a new 'rootfs-dbg' flag on tar-based filesystem
> types in QB_FSINFO. When set, runqemu appends '-dbg' to the
> IMAGE_LINK_NAME used to locate the rootfs tarball for NFS
> extraction, allowing use of the debug rootfs variant.
>
> QB_FSINFO: additional filesystem metadata, as a space-separated list of
> "fstype:flag" entries, e.g., "wic:no-kernel-in-fs tar:rootfs-dbg"
> Supported flags include "wic:no-kernel-in-fs" or "wic:kernel-in-fs"
> to select whether a WIC image contains the kernel in the filesystem,
> and "tar:rootfs-dbg" to tell runqemu to use the debug rootfs image.
>
> Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
> ---

Hi Andrej,

It looks like one of the tests is failing:

2026-10-03 14:58:26,482 - oe-selftest - INFO - runtime_test.TestImage.test_testimage_nfs (subunit.RemotedTestCase)
2026-10-03 14:58:26,483 - oe-selftest - INFO -  ... FAIL
...
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/runqemu", line 1810, in main
    config.setup_rootfs()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/layers/openembedded-core/scripts/runqemu", line 1306, in setup_rootfs
    shutil.copyfile(self.rootfs, newrootfs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3336067/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0/recipe-sysroot-native/usr/lib/python3.14/shutil.py", line 313, in copyfile
    with open(src, 'rb') as fsrc:
         ~~~~^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/srv/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-3336067/tmp/deploy/images/qemux86-64/oe-selftest-image-qemux86-64.rootfs-dbg-nfsroot'

https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4994

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



      reply	other threads:[~2026-10-03 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 11:48 [PATCH 1/3] qemu: enable pseudo for nfs rootfs export Andrej Kozemcak
2026-10-02 11:48 ` [PATCH 2/3] runqemu: support rootfs-dbg flag in QB_FSINFO Andrej Kozemcak
2026-10-03 16:53   ` Mathieu Dubois-Briand [this message]

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=DLVCZ02OB7VU.1BT53QY17WM3K@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=andrej.kozemcak@siemens.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.