]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/qemurunner: Handle rare shutdown race
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jan 2024 22:52:26 +0000 (22:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Jan 2024 15:15:26 +0000 (15:15 +0000)
commit8c07aac9d55f92fe5fbe3cab9f006efecf266328
tree0340c83342eab5df57cf93476101b3cd48aee9e3
parent952c94988cf1cf093668e9ac7020485c51cf3a58
oeqa/qemurunner: Handle rare shutdown race

The pid file can disappear when qemu is shutting down leading to a
file not found race before it is read.

Tweak the code to handle this and fix a rare but annoying race error
case.

[YOCTO #15036]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py