On 2026-09-30 08:04, Mathieu Dubois-Briand wrote:
Thanks for the new version. It looks better, except for a test fail:

Traceback (most recent call last):
   File 
"/srv/pokybuild/yocto-worker/qemux86-64-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/qemux86-64-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/qemux86-64-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
x systemd-coredumpd.service - Listen Kernel Core Dump Socket
      Loaded: loaded (/usr/lib/systemd/system/systemd-coredumpd.service; 
enabled; preset: enabled)
      Active: failed (Result: start-limit-hit) since Tue 2026-09-29 15:04:12 
UTC; 6s ago
  Invocation: 14d841285f64478290e42885757aee13
        Docs: man:systemd-coredump(8)
     Process: 841 ExecCondition=/usr/lib/systemd/systemd-coredump 
--check-requirements (code=exited, status=1/FAILURE)
    FD Store: 0 (limit: 512)
    Mem peak: 2.1M
         CPU: 43ms

...
RESULTS - systemd.SystemdBasicTests.test_systemd_failed: FAILED (1.69s)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/95/builds/4667

Hi Mathieu,

failure from the 262 upgrade related to kernel version.

I built both, systemd as init, and checked directly:

  6.18.52:
    # systemd-coredump --check-requirements; echo $?
    ioctl(PIDFD_GET_INFO) does not support PIDFD_INFO_COREDUMP and/or PIDFD_INFO_COREDUMP_SIGNAL.
    1
    -> coredumpd goes to failed (start-limit-hit), test_systemd_failed fails

  7.2.6:
    # systemd-coredump --check-requirements; echo $?
    0
    -> coredumpd is active (running), test passes

But PIDFD_INFO_COREDUMP_SIGNAL is available from kernel version 6.19.

But below NEWS doesn't say anything about version requirements.


NEWS (https://github.com/systemd/systemd/blob/v262-stable/NEWS#L370) says

        * systemd-coredump now supports the kernel coredump socket protocol
          available since Linux 6.17. On supported kernels,
          systemd-coredumpd.service listens on /run/systemd/coredumpd/kernel,           and systemd-coredump-register.service registers the socket through           kernel.core_pattern. Older kernels continue to use the per-coredump
          [email protected] path. Changes to coredump.conf require
          reloading systemd-coredumpd.service, and deployments that set a
          custom kernel.core_pattern should stop and disable that service.

But looks like older kernel logic is not working as expected.

One solution is use ConditionKernelVersion and skip that test on versions less than 6.19


https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#ConditionKernelVersion=


Regards,

Jaipaul

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246976): 
https://lists.openembedded.org/g/openembedded-core/message/246976
Mute This Topic: https://lists.openembedded.org/mt/121486446/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to