diff mbox series

[13/14] oeqa qemurunner.py: add debug output to run_serial()

Message ID 20230120144450.2913935-14-mikko.rapeli@linaro.org
State New
Headers show
Series oeqa runtime tests when qemu hangs | expand

Commit Message

Mikko Rapeli Jan. 20, 2023, 2:44 p.m. UTC
Add debug output which is useful if qemu system hangs and
doesn't respond in time.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta/lib/oeqa/utils/qemurunner.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 494b4e03da..0e720ef5f0 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -657,6 +657,7 @@  class QemuRunner:
         # Returns (status, output) where status is 1 on success and 0 on error
 
         # We assume target system have echo to get command status
+        self.logger.debug("run_serial() called: command = %s, raw = %s, timeout = %d" % (command, raw, timeout))
         if not raw:
             command = "%s; echo $?\n" % command