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>2019-02-06 16:38:30 +0000
commitfc6d6411aa7a4a779ed9cb5dac13e8a7cf396153 (patch)
treefea7fefa9a332ec0ac4f650486820c038005dede /meta/lib/oeqa
parentda340150edac3350b9a0704cf713d9312016d948 (diff)
downloadpoky-fc6d6411aa7a4a779ed9cb5dac13e8a7cf396153.tar.gz
oeqa/utils/qemurunner: Print output when failed to login
This is useful for debugging. (From OE-Core rev: da527d73f5eeae0f29b5f99aab757491d3f87ec7) (From OE-Core rev: b09f261867fbdf206afc1059fc5a84a52d49a97a) 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> 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 c7442a2573..f7fbe1bb04 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -345,6 +345,7 @@ class QemuRunner:
345 else: 345 else:
346 self.logger.debug("Couldn't login into serial console" 346 self.logger.debug("Couldn't login into serial console"
347 " as root using blank password") 347 " as root using blank password")
348 self.logger.debug("The output:\n%s" % output)
348 except: 349 except:
349 self.logger.debug("Serial console failed while trying to login") 350 self.logger.debug("Serial console failed while trying to login")
350 return True 351 return True