]> 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)
committerSteve Sakoman <steve@sakoman.com>
Sat, 18 Feb 2023 16:41:49 +0000 (06:41 -1000)
commitcd6bb88d98b1dc8d751cf75b9ddcca39c84738c6
tree1347a9972f98470eee163b533f2ee24b5f60e502
parent62df87d3544b7fc3717743b131a62c6092359ec5
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>
(cherry picked from commit 3a07bdf77dc6ecbf4c620b051dd032abaaf1e4ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/utils/qemurunner.py