]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa qemurunner.py: add timeout to QMP calls
authorMikko Rapeli <mikko.rapeli@linaro.org>
Thu, 9 Feb 2023 08:09:34 +0000 (10:09 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Feb 2023 09:25:41 +0000 (09:25 +0000)
commit3a07bdf77dc6ecbf4c620b051dd032abaaf1e4ff
tree72e52af19287d62402d9a018e4a0909cd56bc431
parentcafe65d8cf7544edbd387f7f5f6d77c64c6b18fa
oeqa qemurunner.py: add timeout to QMP calls

When a qemu machine hangs, the QMP calls can hang for ever
too, and when this happens any failing test commands from ssh
runner may be followed by dump_monitor() calls which
then also hang. Hangs followed by hangs.

Use runqemutime at setup and run_monitor() specific timeout
for later calls.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/lib/oeqa/utils/qemurunner.py