summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 49020c1e63..1abb2c1b6c 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -329,7 +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 bootlog = bootlog.decode("utf-8")
333 # 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
334 lines = tail(bootlog if bootlog else self.msg) 334 lines = tail(bootlog if bootlog else self.msg)
335 self.logger.debug("Last 25 lines of text:\n%s" % lines) 335 self.logger.debug("Last 25 lines of text:\n%s" % lines)