aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-07 15:36:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-07 16:11:14 +0100
commit4ccef5543649262a1630bff586ef9048fe164016 (patch)
tree36165bdcc29c693d9ba27f566dc0cc95da12bc04
parent414a5256d6f00d5682ce226ee4bc49674ee6c614 (diff)
downloadopenembedded-core-contrib-4ccef5543649262a1630bff586ef9048fe164016.tar.gz
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@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 2d485379e8..a137b11f40 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()