Bug 14250 - core-image-sato.bb:do_testimage failure at systemd.SystemdBasicTests.test_systemd_failed
Summary: core-image-sato.bb:do_testimage failure at systemd.SystemdBasicTests.test_sys...
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.3
Hardware: x86 arm
: Medium normal
Target Milestone: 4.2
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
: 14568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-23 16:49 UTC by Leonardo Sandoval
Modified: 2023-03-16 15:02 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Full do_testimage log (1.02 MB, text/plain)
2022-10-06 20:39 UTC, Luca Ceresoli
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval 2021-02-23 16:49:38 UTC
AB collection [1], build [2] is failing with


Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm-alt/build/meta/lib/oeqa/runtime/cases/systemd.py", line 98, in test_systemd_failed
    self.assertTrue(match, msg='Some systemd units failed:\n%s' % output)
AssertionError: None is not true : Some systemd units failed:
  UNIT                      LOAD   ACTIVE SUB    DESCRIPTION     
● systemd-hostnamed.service loaded failed failed Hostname Service

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
1 loaded units listed.● qemuarm
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Tue 2021-02-23 10:35:53 UTC; 17min ago
   CGroup: /
           ├─user.slice 
           │ └─user-0.slice 
           │   ├─session-c1.scope 
           │   │ ├─208 /bin/login --
           │   │ └─255 -sh
           │   └─user@0.service …
           │     └─init.scope 
           │       ├─232 /lib/systemd/systemd --user
           │       └─233 (sd-pam)
           ├─init.scope 
           │ └─1 /sbin/init
           └─system.slice 
             ├─systemd-timesyncd.service 
             │ └─362 /lib/systemd/systemd-timesyncd
             ├─system-dropbear.slice 
             │ └─dropbear@134-192.168.7.6:22-192.168.7.5:51268.service 
             │   ├─6220 /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -B
             │   └─6221 systemctl status --full --failed
             ├─dbus.service 
             │ └─181 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
             ├─avahi-daemon.service 
             │ ├─201 avahi-daemon: running [qemuarm.local]
             │ └─203 avahi-daemon: chroot helper
             ├─system-serial\x2dgetty.slice 
             │ └─serial-getty@hvc0.service 
             │   └─206 /sbin/agetty -8 -L hvc0 115200 linux
             ├─system-getty.slice 
             │ └─getty@tty1.service 
             │   └─204 /sbin/agetty -o -p -- \u --noclear tty1 linux
             ├─wpa_supplicant.service 
             │ └─211 /usr/sbin/wpa_supplicant -u
             ├─connman.service 
             │ └─197 /usr/sbin/connmand -n
             ├─rpcbind.service 
             │ └─132 /usr/sbin/rpcbind -w -f
             ├─systemd-logind.service 
             │ └─185 /lib/systemd/systemd-logind
             ├─systemd-udevd.service 
             │ └─149 /lib/systemd/systemd-udevd
             ├─ofono.service 
             │ └─184 /usr/sbin/ofonod -n
             ├─busybox-syslog.service 
             │ └─5885 /sbin/syslogd -n
             ├─systemd-journald.service 
             │ └─133 /lib/systemd/systemd-journald
             ├─busybox-klogd.service 
             │ └─179 /sbin/klogd -n
             ├─xserver-nodm.service 
             │ ├─214 xinit /etc/X11/Xsession -- /usr/bin/Xorg :0 -br -pn
             │ ├─216 /usr/bin/Xorg :0 -br -pn
             │ ├─225 matchbox-window-manager -theme Sato -use_cursor no
             │ ├─231 dbus-launch --sh-syntax --exit-with-session
             │ ├─234 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
             │ ├─246 /usr/libexec/at-spi-bus-launcher --launch-immediately
             │ ├─250 connman-applet
             │ ├─275 matchbox-desktop
             │ ├─276 matchbox-panel --start-applets showdesktop,windowselector --end-applets clock,,systray,startup-notify,notify
             │ ├─279 /usr/bin/pulseaudio --start --log-target=syslog
             │ ├─283 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
             │ ├─285 /usr/libexec/gconfd-2
             │ ├─286 /usr/bin/settings-daemon
             │ └─290 /usr/libexec/at-spi2-registryd --use-gnome-session
             ├─systemd-networkd.service 
             │ └─193 /lib/systemd/systemd-networkd
             └─systemd-userdbd.service 
               ├─218 /lib/systemd/systemd-userdbd
               ├─613 systemd-userwork
               ├─615 systemd-userwork
               └─627 systemd-userwork

[1] https://swatbot.yoctoproject.org/collection/543/
[2] https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/1997/steps/13/logs/stdio
Comment 2 Oleksiy Obitotskyy 2021-09-30 06:43:49 UTC
*** Bug 14568 has been marked as a duplicate of this bug. ***
Comment 5 Alexandre Belloni 2021-12-09 10:44:01 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/3249/steps/13/logs/stdio

dropbearkey.service loaded failed failed SSH Key Generation

qemuarm-alt debian11-ty-1
Comment 6 Alexandre Belloni 2021-12-09 10:55:45 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/4409/steps/15/logs/stdio
no-x11 ubuntu1804-ty-1

weston.service loaded failed failed Weston, a Wayland compositor, as a system service
Comment 7 Alexandre Belloni 2021-12-09 11:35:47 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2357/steps/13/logs/stdio

qemuarm-alt tumbleweed-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/3238/steps/13/logs/stdio

qemuppc-alt centos8-ty-2 

dropbearkey.service loaded failed failed SSH Key Generation
Comment 8 Randy MacLeod 2022-04-14 15:06:09 UTC
Seems to be similar to:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=14559
neither are happening now.
Comment 9 Luca Ceresoli 2022-10-06 20:38:33 UTC
Happened again:

  AssertionError: None is not true : Some systemd units failed:
    UNIT          LOAD   ACTIVE SUB    DESCRIPTION
  * ofono.service loaded failed failed Telephony service

https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/3621/steps/12/logs/stdio

qemuppc-alt on debian11-ty-3
Comment 10 Luca Ceresoli 2022-10-06 20:39:09 UTC
Created attachment 4907 [details]
Full do_testimage log
Comment 11 Randy MacLeod 2023-03-16 15:02:17 UTC
Symptom has disappeared.