The only clue is this:

WARNING: core-image-minimal-1.0-r0 do_testimage: Couldn't login into serial 
console as root using blank password
WARNING: core-image-minimal-1.0-r0 do_testimage: The output:
root
Login incorrect
qemux86 login:
Login timed out after 60 seconds

Poky (Yocto Project Reference Distro) 
3.3+snapshot-65e75bd5d40c10509a3416026e551b7b7111c42a qemux86 /dev/ttyS1

qemux86 login: <<< run_serial(): command timed out after 120 seconds without 
output >>>

Hangs here....

We should issue a error and quit.

Signed-off-by: Armin Kuster <akuster...@gmail.com>
---
 meta/classes/testimage.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 43de9d4d767..18ebbf90ec5 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -142,6 +142,10 @@ do_testimage[depends] += "${TESTIMAGEDEPENDS}"
 do_testimage[lockfiles] += "${TESTIMAGELOCK}"
 
 def testimage_sanity(d):
+    if (bb.utils.contains("IMAGE_FEATURES", [ 'debug-tweaks'], False, True, 
d)):
+        bb.fatal('testimage requires a blank root password'
+                'Please check if debug-tweaks is IMAGE_FEATURES.')
+
     if (d.getVar('TEST_TARGET') == 'simpleremote'
         and (not d.getVar('TEST_TARGET_IP')
              or not d.getVar('TEST_SERVER_IP'))):
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151174): 
https://lists.openembedded.org/g/openembedded-core/message/151174
Mute This Topic: https://lists.openembedded.org/mt/82536316/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to