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