Bug 14559

Summary: qemumips systemd dropbear failure
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, chee.yang.lee, meta.mr.watcher, meta.watcher, randy.macleod
Version: 0.0.0   
Target Milestone: 4.1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Boot log from qemu
none
Test image log none

Description Richard Purdie 2021-09-23 10:18:16 UTC
Created attachment 4831 [details]
Boot log from qemu

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2123

qemumips ubuntu2004-ty-2

The testing shows no serial login and no ssh connection.

Looking at the boot log I can't see dropbear having started anywhere so this could be a dropbear startup issue.

Bootlog attached
Comment 1 Richard Purdie 2021-09-23 10:19:25 UTC
Created attachment 4832 [details]
Test image log
Comment 2 Richard Purdie 2021-09-23 10:21:34 UTC
Dropbear definitely in the image:

qemumips-poky-linux/core-image-sato/1.0-r0/rootfs$ find -name *dropbear*
./lib/systemd/system-preset/98-dropbear.preset
./lib/systemd/system/dropbearkey.service
./lib/systemd/system/dropbear.socket
./lib/systemd/system/dropbear@.service
./etc/pam.d/dropbear
./etc/default/dropbear
./etc/systemd/system/sockets.target.wants/dropbear.socket
./etc/dropbear
./etc/dropbear/dropbear_rsa_host_key
./usr/sbin/dropbearmulti
./usr/sbin/dropbearconvert
./usr/sbin/dropbearkey
./usr/sbin/dropbear

builddir placed in $HOME/saved on the AB
Comment 3 Chee Yang 2021-11-07 06:45:48 UTC
intermittent issue ?

https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/2289/steps/13/logs/stdio
debian9-ty-2
qemumips-alt
Comment 4 Chee Yang 2021-11-12 01:07:08 UTC
this could be the same issue, happen on arm

 dropbearkey.service loaded failed failed SSH Key Generation

this happened some time ago.
tumbleweed-ty-3 qemuarm-alt
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/3097/steps/12/logs/stdio

and happened again recently
debian11-ty-1 qemuarm-alt
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/3228/steps/13/logs/stdio
Comment 5 Randy MacLeod 2022-04-14 15:03:32 UTC
Hasn't happened for months.