diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-12-09 16:06:30 +1300 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2019-12-09 23:54:56 +1300 |
commit | 31a77c3b3fd7ce1098966975bae68569911ecb73 (patch) | |
tree | 54ebaadaef59107d8706c5910b8c3ce7c9633d31 | |
parent | 0c52b603369d48178844dbe2a9ebad170aaffd48 (diff) | |
download | openembedded-core-contrib-31a77c3b3fd7ce1098966975bae68569911ecb73.tar.gz |
oeqa: qemu: ensure we print runqemu output in the event of failure
If we get here in the code it's because runqemu has failed, this is not
a debug situation - we need to see the output, so print it as an error.
Fixes [YOCTO #13681].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 60e1cf8e08..2cada35d48 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py @@ -99,8 +99,8 @@ class QemuRunner: def handleSIGCHLD(self, signum, frame): if self.runqemu and self.runqemu.poll(): if self.runqemu.returncode: - self.logger.warning('runqemu exited with code %d' % self.runqemu.returncode) - self.logger.debug("Output from runqemu:\n%s" % self.getOutput(self.runqemu.stdout)) + self.logger.error('runqemu exited with code %d' % self.runqemu.returncode) + self.logger.error('Output from runqemu:\n%s' % self.getOutput(self.runqemu.stdout)) self.stop() self._dump_host() raise SystemExit |