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.

(From OE-Core rev: 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2020-03-23 17:15:32 +00:00
parent f29451282d
commit 3aba12edbb

View File

@@ -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()