Skip to contentSkip to conversation

qemurunner: change warning to info

PATCH New Saul Wold 1 participant 2 messages May 6, 2021

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 qemurunner: change warning to info

This information is useful, but should not be a warning level.

[YOCTO #14382]

---
 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/utils/qemurunner.py +1 -1
index 3d3213d3d31..69fee27511f 100644
@@ -304,7 +304,7 @@ class QemuRunner:
                 self.logger.debug("QMP Port does not exist waiting for it to be created")
                 endtime = time.time() + self.runqemutime
                 while not os.path.exists(qmp_port) and self.is_alive() and time.time() < endtime:
-                   self.logger.warning("QMP port does not exist yet!")
+                   self.logger.info("QMP port does not exist yet!")
                    time.sleep(0.5)
                 if not os.path.exists(qmp_port) and self.is_alive():
                     self.logger.warning("QMP Port still does not exist but QEMU is alive")
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/1 qemurunner: change warning to info

This information is useful, but should not be a warning level.

[YOCTO #14382]

---
 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/utils/qemurunner.py +1 -1
index 3d3213d3d31..69fee27511f 100644
@@ -304,7 +304,7 @@ class QemuRunner:
                 self.logger.debug("QMP Port does not exist waiting for it to be created")
                 endtime = time.time() + self.runqemutime
                 while not os.path.exists(qmp_port) and self.is_alive() and time.time() < endtime:
-                   self.logger.warning("QMP port does not exist yet!")
+                   self.logger.info("QMP port does not exist yet!")
                    time.sleep(0.5)
                 if not os.path.exists(qmp_port) and self.is_alive():
                     self.logger.warning("QMP Port still does not exist but QEMU is alive")
Signature · 1 line
2.25.1