* [PATCH] iotests: Adjust nbd expected outputs to match current behavior
@ 2025-10-13 21:36 Eric Blake
2025-10-14 6:42 ` Kevin Wolf
0 siblings, 1 reply; 2+ messages in thread
From: Eric Blake @ 2025-10-13 21:36 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-block, Daniel P. Berrangé, Kevin Wolf, Hanna Reitz
'git bisect' confirms that the NBD iotests 94 and 119 have been broken
since commit effd60c8 in v9.0.0; but as Dan Berrange's efforts to
improve CI have proven, we haven't been reliably running them to
notice. The change was good (moving coroutine commands to run in the
right context), but it meant that "execute":"quit" now waits to
complete until the coroutines tearing down NBD have first reported the
SHUTDOWN event, in the opposite order of what happened pre-patch.
Signed-off-by: Eric Blake <eblake@redhat.com>
Fixes: effd60c8 ("monitor: only run coroutine commands in qemu_aio_context", v9.0.0)
Reported-by: Daniel P. Berrangé <berrange@redhat.com>
---
tests/qemu-iotests/094.out | 2 +-
tests/qemu-iotests/119.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/094.out b/tests/qemu-iotests/094.out
index 97f894cf8f0..9178474e79f 100644
--- a/tests/qemu-iotests/094.out
+++ b/tests/qemu-iotests/094.out
@@ -23,6 +23,6 @@ Formatting 'TEST_DIR/source.IMGFMT', fmt=IMGFMT size=67108864
{'execute': 'quit'}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "src"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "src"}}
-{"return": {}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
+{"return": {}}
*** done
diff --git a/tests/qemu-iotests/119.out b/tests/qemu-iotests/119.out
index 7b7f0f4bcc7..45f82a4faa9 100644
--- a/tests/qemu-iotests/119.out
+++ b/tests/qemu-iotests/119.out
@@ -5,7 +5,7 @@ QMP_VERSION
read 65536/65536 bytes at offset 0
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
{"return": ""}
-{"return": {}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
+{"return": {}}
*** done
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iotests: Adjust nbd expected outputs to match current behavior
2025-10-13 21:36 [PATCH] iotests: Adjust nbd expected outputs to match current behavior Eric Blake
@ 2025-10-14 6:42 ` Kevin Wolf
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2025-10-14 6:42 UTC (permalink / raw)
To: Eric Blake; +Cc: qemu-devel, qemu-block, Daniel P. Berrangé, Hanna Reitz
Am 13.10.2025 um 23:36 hat Eric Blake geschrieben:
> 'git bisect' confirms that the NBD iotests 94 and 119 have been broken
> since commit effd60c8 in v9.0.0; but as Dan Berrange's efforts to
> improve CI have proven, we haven't been reliably running them to
> notice. The change was good (moving coroutine commands to run in the
> right context), but it meant that "execute":"quit" now waits to
> complete until the coroutines tearing down NBD have first reported the
> SHUTDOWN event, in the opposite order of what happened pre-patch.
>
> Signed-off-by: Eric Blake <eblake@redhat.com>
> Fixes: effd60c8 ("monitor: only run coroutine commands in qemu_aio_context", v9.0.0)
> Reported-by: Daniel P. Berrangé <berrange@redhat.com>
Thanks, applied to the block branch.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-14 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 21:36 [PATCH] iotests: Adjust nbd expected outputs to match current behavior Eric Blake
2025-10-14 6:42 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).