summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-23 17:15:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-24 16:39:37 +0000
commit2246c8d2466d3876fd1b27fd1943aa4bbf28e14e (patch)
tree845a116437a6f532e16cbdf198d9ab9139e83dc3 /meta
parent17b44d51eaf71ae6d04034454dcb68f508b85258 (diff)
downloadopenembedded-core-contrib-2246c8d2466d3876fd1b27fd1943aa4bbf28e14e.tar.gz
oeqa/qemurunner: Don't print a warning for harmless exception
Printing a warning for something which is harmless just causes the people monitoring the autobuilder more work. Silently ignore this race. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index ed74ea8fad..7ae309845a 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -430,7 +430,8 @@ class QemuRunner:
try:
os.remove(self.qemu_pidfile)
except FileNotFoundError as e:
- self.logger.warning('qemu pidfile is no longer present')
+ # We raced, ignore
+ pass
if self.monitorpipe:
self.monitorpipe.close()