Skip to contentSkip to conversation

qemurunner: Drop error to a warning to improve user feedback

PATCH New Richard Purdie 1 participant 1 message Sep 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemurunner: Drop error to a warning to improve user feedback

If a task shows an error, the full log is surpressed since bitbake assumes the user has been shown what is wrong. In this code path that isn't the case and its much more helpful to show the user the full error. Therefore show a warning instead to aid usability.

meta/lib/oeqa/utils/qemurunner.py +1 -1
index 838623f..c3b5c9f 100644
@@ -362,7 +362,7 @@ class QemuRunner:
 
     def _dump_host(self):
         self.host_dumper.create_dir("qemu")
-        logger.error("Qemu ended unexpectedly, dump data from host"
+        logger.warn("Qemu ended unexpectedly, dump data from host"
                 " is in %s" % self.host_dumper.dump_dir)
         self.host_dumper.dump_host()