[oe-commits] Richard Purdie : qemurunner: Drop error to a warning to improve user feedback

git at git.openembedded.org git at git.openembedded.org
Mon Sep 7 16:02:09 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 4ccef5543649262a1630bff586ef9048fe164016
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4ccef5543649262a1630bff586ef9048fe164016

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Sep  7 15:36:49 2015 +0100

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oeqa/utils/qemurunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 2d48537..a137b11 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -361,7 +361,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()
 



More information about the Openembedded-commits mailing list