public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <yw.byun@lge.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] Fix create_merged_usr_symlinks in populate_sdk_base.bbclass and image.bbclass
Date: Wed, 07 Jan 2026 08:36:24 +0100	[thread overview]
Message-ID: <DFI6NN0QIZ3A.L7PFVIMU3NYH@bootlin.com> (raw)
In-Reply-To: <20260105025050.153889-1-yw.byun@lge.com>

On Mon Jan 5, 2026 at 3:50 AM CET, Yangwoo Byun via lists.openembedded.org wrote:
> Modifying FILESYSTEM_PERMS_TABLES does not change the UID and GID of
> /usr/bin.
> To change the UID and GID of /usr/bin in FILESYSTEM_PERMS_TABLES to
> something other than root:root, we need to modify
> the create_merged_usr_symlinks function.
> The ":append" method allows us to apply changes inserted in the middle
> by applying the create_merged_usr_symlinks function at the end of
> the execution order.
>
> Signed-off-by: Yangwoo Byun <yw.byun@lge.com>
> ---

Hi Yangwoo,

Thanks for your patch.

It looks like some image tests are broken by this patch. We get the
following error on the autobuilder:

RESULTS - parselogs.ParseLogsTest.test_parselogs: FAILED (9.86s)
RESULTS - systemd.SystemdBasicTests.test_systemd_failed: FAILED (3.69s)
...
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 185, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 6 != 0 : Log: /srv/pokybuild/yocto-worker/qemuarm64-alt/build/build/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/target_logs/dmesg_output.log
-----------------------
Central error: [    4.807586] systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
***********************
[    4.728367] EXT4-fs (vda): re-mounted 584f5c6c-2ed1-4b79-88be-411c0a82191d.
[    4.750313] systemd[1]: Mounted POSIX Message Queue File System.
[    4.757693] systemd[1]: Mounted Kernel Debug File System.
[    4.760539] systemd[1]: Mounted Kernel Trace File System.
[    4.762862] systemd[1]: Mounted Temporary Directory /tmp.
[    4.774041] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    4.788111] systemd[1]: Finished Load Kernel Module configfs.
[    4.796349] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    4.800731] systemd[1]: Finished Load Kernel Module fuse.
[    4.806094] systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited, status=32/n/a
[    4.807586] systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
[    4.809202] systemd-journald[129]: Collecting audit messages is disabled.
[    4.811318] systemd[1]: Failed to mount NFSD configuration filesystem.
[    4.813837] systemd[1]: Dependency failed for NFS Mount Daemon.
[    4.815101] systemd[1]: Dependency failed for NFS server and services.
[    4.818094] systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
[    4.819597] systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
[    4.825984] systemd[1]: Finished Generate network units from Kernel command line.
[    4.834216] systemd[1]: Finished Remount Root and Kernel File Systems.
[    4.838363] systemd[1]: Finished Apply Kernel Variables.
[    4.842779] systemd[1]: Finished Load udev Rules from Credentials.
...
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/systemd.py", line 100, in test_systemd_failed
    output += self.systemctl('status --full --failed')
              ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/systemd.py", line 26, in systemctl
    self.assertEqual(status, expected, message)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 3 != 0 : SYSTEMD_BUS_TIMEOUT=240s systemctl status --full --failed
× proc-fs-nfsd.mount - NFSD configuration filesystem
     Loaded: loaded (/usr/lib/systemd/system/proc-fs-nfsd.mount; static)
     Active: failed (Result: exit-code) since Tue 2026-01-06 10:14:07 UTC; 1min 19s ago
 Invocation: acc2ccd9d93947c9a38972cb1cf129f8
      Where: /proc/fs/nfsd
       What: nfsd
   Mem peak: 1M
        CPU: 91ms

https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/2958
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/2947

This can be reproduced adding `IMAGE_CLASSES += "testimage"` to your
configuration with qemux86 or qemuarm64 MACHINE and poky-altcfg DISTRO.
Then just `bitbake core-image-full-cmdline && bitbake
core-image-full-cmdline:do_testimage` should be enough.

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-01-07  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-05  2:50 [PATCH] Fix create_merged_usr_symlinks in populate_sdk_base.bbclass and image.bbclass Yangwoo Byun
2026-01-07  7:36 ` Mathieu Dubois-Briand [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-12-05  4:45 Yangwoo Byun
2025-12-05  8:30 ` [OE-core] " ChenQi

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=DFI6NN0QIZ3A.L7PFVIMU3NYH@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yw.byun@lge.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