From 3aba12edbbe376d39cf1b108cb988f0549aac64e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 23 Mar 2020 17:15:32 +0000 Subject: 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 --- meta/lib/oeqa/utils/qemurunner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/lib') 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() -- cgit v1.2.3-54-g00ecf