]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemurunner: Drop error to a warning to improve user feedback
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 14:36:49 +0000 (15:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:11:14 +0000 (16:11 +0100)
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@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py

index 2d485379e8230e7314d2aa2fdcf405137ed199e8..a137b11f402f0535def9463136a9586fddab9c0a 100644 (file)
@@ -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()