Bug 14559 - qemumips systemd dropbear failure
Summary: qemumips systemd dropbear failure
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 0.0.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-09-23 10:18 UTC by Richard Purdie
Modified: 2022-04-14 15:03 UTC (History)
5 users (show)

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


Attachments
Boot log from qemu (24.26 KB, application/octet-stream)
2021-09-23 10:18 UTC, Richard Purdie
no flags Details
Test image log (61.30 KB, application/octet-stream)
2021-09-23 10:19 UTC, Richard Purdie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.