]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/qemurunner: Ensure we retry after BrokenPipeError
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Oct 2023 13:31:20 +0000 (14:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Oct 2023 08:37:36 +0000 (09:37 +0100)
commitea9e6ba0ab31a0b20012c283aa768496a50b527a
tree7ae5bfc1cdac2f2b847f632a89367496d350a5dc
parent6ae62259afbbe861ed74211dab18a27b8c8d8b7a
oeqa/qemurunner: Ensure we retry after BrokenPipeError

If the BrokenPipeError occurs when writing to the serial port to wake it
up, defer the write and try again (which will happen on the 5s timeout
of the select call). Why it should return ESHUTDOWN and then work later
I'm not sure but it does appear to make it work. For now we need 'working'
QA tests whilst the issue is debugged.

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