diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-23 17:15:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-24 16:39:37 +0000 |
commit | 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e (patch) | |
tree | 845a116437a6f532e16cbdf198d9ab9139e83dc3 /meta/lib | |
parent | 17b44d51eaf71ae6d04034454dcb68f508b85258 (diff) | |
download | openembedded-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/lib')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 3 |
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() |