summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-12-27 00:59:43 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-27 22:52:57 +0000
commitffae6c9e6c3a20ae72b9dcc7b1b2eb4cdb629574 (patch)
tree5a35bc974d5e445387014c7cd78ae956a8ee56ac /meta/lib/oeqa
parent8615d47a3a39e78fb7cf29ee92203d18a2439a3b (diff)
downloadpoky-ffae6c9e6c3a20ae72b9dcc7b1b2eb4cdb629574.tar.gz
oeqa/utils/qemurunner: Print output when failed to login
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 3a9ba024a9..cce95e13f4 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -354,6 +354,7 @@ class QemuRunner:
354 else: 354 else:
355 self.logger.debug("Couldn't login into serial console" 355 self.logger.debug("Couldn't login into serial console"
356 " as root using blank password") 356 " as root using blank password")
357 self.logger.debug("The output:\n%s" % output)
357 except: 358 except:
358 self.logger.debug("Serial console failed while trying to login") 359 self.logger.debug("Serial console failed while trying to login")
359 return True 360 return True