summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
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:40 +0000
commit3aba12edbbe376d39cf1b108cb988f0549aac64e (patch)
tree867ec07a45b94d47e673f52d57c6c25b40299cd6 /meta/lib/oeqa/utils/qemurunner.py
parentf29451282d09dda6e28bc3fec7cce36979d55acd (diff)
downloadpoky-3aba12edbbe376d39cf1b108cb988f0549aac64e.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. (From OE-Core rev: 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-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:
430 try: 430 try:
431 os.remove(self.qemu_pidfile) 431 os.remove(self.qemu_pidfile)
432 except FileNotFoundError as e: 432 except FileNotFoundError as e:
433 self.logger.warning('qemu pidfile is no longer present') 433 # We raced, ignore
434 pass
434 if self.monitorpipe: 435 if self.monitorpipe:
435 self.monitorpipe.close() 436 self.monitorpipe.close()
436 437