]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/utils/qemurunner: Print output when failed to login
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 27 Dec 2018 08:59:43 +0000 (00:59 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:13:03 +0000 (22:13 +0000)
This is useful for debugging.

(From OE-Core rev: da527d73f5eeae0f29b5f99aab757491d3f87ec7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/utils/qemurunner.py

index b87d7765e7e2cfaeb89f4caa4cb0403b8cd6491d..f0d98410d1d1daea079c144301fae0c41e1d648c 100644 (file)
@@ -345,6 +345,7 @@ class QemuRunner:
             else:
                 self.logger.debug("Couldn't login into serial console"
                             " as root using blank password")
+                self.logger.debug("The output:\n%s" % output)
         except:
             self.logger.debug("Serial console failed while trying to login")
         return True