qemu/tests
Kevin Wolf d5bc76fa20 iotests: Make 144 deterministic again
Since commit effd60c8 changed how QMP commands are processed, the order
of the block-commit return value and job events in iotests 144 wasn't
fixed and more and caused the test to fail intermittently.

Change the test to cache events first and then print them in a
predefined order.

Waiting three times for JOB_STATUS_CHANGE is a bit uglier than just
waiting for the JOB_STATUS_CHANGE that has "status": "ready", but the
tooling we have doesn't seem to allow the latter easily.

Fixes: effd60c878
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2126
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20240209173103.239994-1-kwolf@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit cc29c12ec6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-02-16 14:28:18 +03:00
..
avocado acpi/tests/avocado/bits: wait for 200 seconds for SHUTDOWN event from bits VM 2024-01-24 11:39:00 +03:00
bench
data tests/acpi: Update DSDT.cxl to reflect change _STA return value. 2024-02-15 11:29:04 +03:00
decode
docker tests/docker: Add sqlite3 module to openSUSE Leap container 2024-02-13 08:48:56 +03:00
fp
guest-debug
image-fuzzer
include
keys
lcitool tests/docker: Add sqlite3 module to openSUSE Leap container 2024-02-13 08:48:56 +03:00
migration tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
multiboot
perf/block/qcow2
plugin plugins: fix win plugin tests on cross compile 2023-11-23 14:10:04 +00:00
qapi-schema tests/qapi-schema: Tidy up pylint warnings and advice 2023-11-13 10:36:51 +01:00
qemu-iotests iotests: Make 144 deterministic again 2024-02-16 14:28:18 +03:00
qtest tests/acpi: Update DSDT.cxl to reflect change _STA return value. 2024-02-15 11:29:04 +03:00
rocker
tcg target/arm: Handle overflow in calculation of next timer tick 2023-11-27 15:27:36 +00:00
tsan tests/tsan: Rename the file with the entries that should be ignored 2023-11-13 11:35:47 +01:00
uefi-test-tools
unit block: Fix deadlocks in bdrv_graph_wrunlock() 2023-11-21 12:45:21 +01:00
vm tests/vm/netbsd: Use Python v3.11 2023-11-13 11:35:47 +01:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests: respect --enable/--disable-download for Avocado 2023-11-24 12:07:47 +01:00
meson.build
test-qht-par.c
vhost-user-bridge.c