qemu/tests/qemu-iotests/tests
Kevin Wolf 8f37120383 iotests: Test two stream jobs in a single iothread
This tests two parallel stream jobs that will complete around the same
time and run on two different disks in the same iothreads. It is loosely
based on the bug report at https://issues.redhat.com/browse/RHEL-1761.

For me, this test hangs reliably with the originally reported bug in
blk_remove_bs(). After fixing it, it intermittently hangs for the bugs
fixed after it, missing AioContext unlocking in bdrv_graph_wrunlock()
and in stream_prepare(). The deadlocks seem to happen more frequently
when the test directory is on tmpfs.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231115172012.112727-5-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-11-21 12:45:21 +01:00
..
backing-file-invalidation python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
backing-file-invalidation.out iotests/backing-file-invalidation: Add new test 2022-09-30 18:43:44 +02:00
block-status-cache iotests: add qemu_img_map() function 2022-03-22 10:14:34 +01:00
block-status-cache.out iotests/block-status-cache: New test 2022-01-28 16:55:23 -06:00
copy-before-write python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
copy-before-write.out iotests: copy-before-write: add cases for cbw-timeout option 2022-06-29 10:57:02 +03:00
detect-zeroes-registered-buf iotests/detect-zeroes-registered-buf: add new test 2023-02-09 10:22:30 -05:00
detect-zeroes-registered-buf.out iotests/detect-zeroes-registered-buf: add new test 2023-02-09 10:22:30 -05:00
export-incoming-iothread python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
export-incoming-iothread.out iotests: Add regression test for issue 945 2022-05-04 15:55:23 +02:00
file-io-error tests/file-io-error: New test 2023-08-29 13:01:24 +02:00
file-io-error.out tests/file-io-error: New test 2023-08-29 13:01:24 +02:00
fuse-allow-other iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
fuse-allow-other.out iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
graph-changes-while-io python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
graph-changes-while-io.out iotests: Test commit with iothreads and ongoing I/O 2023-05-19 19:16:53 +02:00
image-fleecing python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
image-fleecing.out iotests/image-fleecing: test push backup with fleecing 2022-03-07 09:33:31 +01:00
iothreads-commit-active iotests: Test active commit with iothread and background I/O 2023-06-28 08:45:46 +02:00
iothreads-commit-active.out iotests: Test active commit with iothread and background I/O 2023-06-28 08:45:46 +02:00
iothreads-create iotests: Test blockdev-create in iothread 2023-05-30 17:29:44 +02:00
iothreads-create.out iotests: Test blockdev-create in iothread 2023-05-30 17:29:44 +02:00
iothreads-resize iotests: Test resizing image attached to an iothread 2023-05-10 14:16:53 +02:00
iothreads-resize.out iotests: Test resizing image attached to an iothread 2023-05-10 14:16:53 +02:00
iothreads-stream iotests: Test two stream jobs in a single iothread 2023-11-21 12:45:21 +01:00
iothreads-stream.out iotests: Test two stream jobs in a single iothread 2023-11-21 12:45:21 +01:00
iov-padding iotests/iov-padding: New test 2023-06-05 13:11:26 +02:00
iov-padding.out iotests/iov-padding: New test 2023-06-05 13:11:26 +02:00
migrate-bitmaps-postcopy-test python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migrate-bitmaps-postcopy-test.out
migrate-bitmaps-test python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migrate-bitmaps-test.out
migrate-during-backup python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migrate-during-backup.out tests: add migrate-during-backup 2021-09-15 15:54:07 +02:00
migration-permissions python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migration-permissions.out iotests/migration-permissions: New test 2022-02-01 10:51:39 +01:00
mirror-change-copy-mode iotests: add test for changing mirror's copy_mode 2023-10-31 19:46:51 +01:00
mirror-change-copy-mode.out iotests: add test for changing mirror's copy_mode 2023-10-31 19:46:51 +01:00
mirror-ready-cancel-error python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
mirror-ready-cancel-error.out iotests: Add mirror-ready-cancel-error test 2021-10-07 10:42:50 +02:00
mirror-top-perms python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
mirror-top-perms.out iotests: Test mirror-top filter permissions 2021-04-09 18:00:29 +02:00
nbd-multiconn python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
nbd-multiconn.out nbd/server: Allow MULTI_CONN for shared writable exports 2022-05-12 13:10:52 +02:00
nbd-qemu-allocation iotests: Improve and rename test 309 to nbd-qemu-allocation 2021-07-12 10:56:41 -05:00
nbd-qemu-allocation.out nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS 2023-10-05 11:02:08 -05:00
nbd-reconnect-on-open iotests/nbd-reconnect-on-open: Fix NBD socket path 2023-05-10 14:16:53 +02:00
nbd-reconnect-on-open.out iotests/nbd-reconnect-on-open: Fix NBD socket path 2023-05-10 14:16:53 +02:00
parallels-checks tests: test self-cure of parallels image with duplicated clusters 2023-09-21 08:47:58 +02:00
parallels-checks.out tests: test self-cure of parallels image with duplicated clusters 2023-09-21 08:47:58 +02:00
parallels-read-bitmap iotests: add qemu_img_map() function 2022-03-22 10:14:34 +01:00
parallels-read-bitmap.out
qemu-img-bitmaps qemu-img: Add --skip-broken-bitmaps for 'convert --bitmaps' 2021-07-21 14:14:41 -05:00
qemu-img-bitmaps.out qemu-img: map: report compressed data blocks 2023-09-20 17:46:01 +02:00
qemu-img-close-errors qemu-iotests: Test qemu-img bitmap/commit exit code on error 2023-02-01 16:52:15 +01:00
qemu-img-close-errors.out qemu-iotests: Test qemu-img bitmap/commit exit code on error 2023-02-01 16:52:15 +01:00
qsd-jobs iotests/qsd-jobs: Filter events in the first test 2021-04-09 18:00:29 +02:00
qsd-jobs.out job: @force parameter for job_cancel_sync() 2021-10-07 10:42:09 +02:00
regression-vhdx-log iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
regression-vhdx-log.out iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
remove-bitmap-from-backing iotests/remove-bitmap-from-backing: use qemu_img_info() 2022-03-22 10:14:32 +01:00
remove-bitmap-from-backing.out iotests: add test for removing persistent bitmap from backing file 2021-04-09 18:00:29 +02:00
reopen-file python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
reopen-file.out iotests/reopen-file: Test reopening file child 2022-05-04 15:55:23 +02:00
stream-error-on-reset python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
stream-error-on-reset.out iotests/stream-error-on-reset: New test 2022-01-14 12:03:16 +01:00
stream-under-throttle python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
stream-under-throttle.out tests/stream-under-throttle: New test 2022-11-14 11:31:52 +01:00
zoned qemu-iotests: test zone append operation 2023-05-15 08:18:10 -04:00
zoned.out qemu-iotests: test zone append operation 2023-05-15 08:18:10 -04:00