summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-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 cc95dc2990..5d1d0cceca 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -320,6 +320,7 @@ class QemuRunner:
320 self.logger.debug("Target didn't reach login banner in %d seconds (%s)" % 320 self.logger.debug("Target didn't reach login banner in %d seconds (%s)" %
321 (self.boottime, time.strftime("%D %H:%M:%S"))) 321 (self.boottime, time.strftime("%D %H:%M:%S")))
322 tail = lambda l: "\n".join(l.splitlines()[-25:]) 322 tail = lambda l: "\n".join(l.splitlines()[-25:])
323 bootlog = boolog.decode("utf-8")
323 # in case bootlog is empty, use tail qemu log store at self.msg 324 # in case bootlog is empty, use tail qemu log store at self.msg
324 lines = tail(bootlog if bootlog else self.msg) 325 lines = tail(bootlog if bootlog else self.msg)
325 self.logger.debug("Last 25 lines of text:\n%s" % lines) 326 self.logger.debug("Last 25 lines of text:\n%s" % lines)