You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/qemu-iotests
Daniel P. Berrangé 9a494d8353 iotests/check: always enable all python warnings
Of most importance is that this gives us a heads-up if anything
we rely on has been deprecated. The default python behaviour
only emits a warning if triggered from __main__ which is very
limited.

Setting the env variable further ensures that any python child
processes will also display warnings.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2 weeks ago
..
sample_images
tests tests/qemu-iotests/tests/mirror-sparse: actually require O_DIRECT 2 months ago
001
001.out
002
002.out
003
003.out
004
004.out
005
005.out
007
007.out
008
008.out
009
009.out
010
010.out
011
011.out
012
012.out
013
013.out
014
014.out
015
015.out
017
017.out
018
018.out
019
019.out
020
020.out
021
021.out
022 Updated the FSF address to <https://www.gnu.org/licenses/> 3 years ago
022.out
023
023.out
024 iotests/024: exclude 'backing file format' field from the output 1 year ago
024.out iotests/024: exclude 'backing file format' field from the output 1 year ago
025 iotests: update test owner contact information 4 years ago
025.out
026
026.out
026.out.nocache
027 iotests: update test owner contact information 4 years ago
027.out
028 iotests: update test owner contact information 4 years ago
028.out
029 tests/: spelling fixes 2 years ago
029.out
030 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
030.out
031
031.out
032
032.out
033 tests/qemu-iotests: Fix test 033 for running with non-file protocols 2 years ago
033.out
034
034.out
035
035.out
036 iotests: update test owner contact information 4 years ago
036.out
037
037.out
038
038.out
039 iotests: update test owner contact information 4 years ago
039.out qemu-iotests: Ignore indentation in Killed messages 2 months ago
040 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
040.out
041 iotests: Add filter_qtest() 8 months ago
041.out
042
042.out
043
043.out
044
044.out
045 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
045.out
046 tests/: spelling fixes 2 years ago
046.out
047
047.out
048
048.out
049
049.out qemu-img: extend cvtnum() and use it in more places 3 months ago
050
050.out
051 block: Refactor get_tmp_filename() 3 years ago
051.out monitor: do not use mb_read/mb_set for suspend_cnt 2 years ago
051.pc.out virtio-scsi: add iothread-vq-mapping parameter 7 months ago
052
052.out
053
053.out
054
054.out
055 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
055.out
056 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
056.out
057
057.out
058
058.out
059 vmdk: Don't corrupt desc file in vmdk_write_cid 2 years ago
059.out vmdk: Don't corrupt desc file in vmdk_write_cid 2 years ago
060 iotests: update test owner contact information 4 years ago
060.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
061 qcow2: Don't open data_file with BDRV_O_NO_IO 1 year ago
061.out qemu-iotests: Ignore indentation in Killed messages 2 months ago
062 iotests: update test owner contact information 4 years ago
062.out
063
063.out
064 iotests: update test owner contact information 4 years ago
064.out
065 qemu-img: Let info print block graph 3 years ago
065.out
066 tests/qemu-iotests: Restrict test 066 to the 'file' protocol 2 years ago
066.out
068 iotests: update test owner contact information 4 years ago
068.out
069 iotests: update test owner contact information 4 years ago
069.out
070 iotests: update test owner contact information 4 years ago
070.out
071 tests/: spelling fixes 2 years ago
071.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
072 iotests: update test owner contact information 4 years ago
072.out
073
073.out
074 iotests: update test owner contact information 4 years ago
074.out
075
075.out
076
076.out
077
077.out
078
078.out
079
079.out
080
080.out qemu-img: omit errno value in error message 2 years ago
081
081.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
082
082.out
083
083.out
084 iotests: update test owner contact information 4 years ago
084.out
085 iotests: update test owner contact information 4 years ago
085.out
086
086.out
087
087.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
088
088.out
089 iotests: update test owner contact information 4 years ago
089.out
090 iotests: update test owner contact information 4 years ago
090.out
091 iotests: update test owner contact information 4 years ago
091.out
092
092.out
093 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
093.out
094 iotests: update test owner contact information 4 years ago
094.out
095 iotests: update test owner contact information 4 years ago
095.out
096
096.out
097 iotests: update test owner contact information 4 years ago
097.out
098 iotests: update test owner contact information 4 years ago
098.out
099 iotests: update test owner contact information 4 years ago
099.out
101
101.out
102 iotests: update test owner contact information 4 years ago
102.out
103 iotests: update test owner contact information 4 years ago
103.out
104
104.out
105 iotests: update test owner contact information 4 years ago
105.out
106 iotests: Filter out ZFS in several tests 4 months ago
106.out
107 iotests: update test owner contact information 4 years ago
107.out
108 tests/qemu-iotests: skip 108 when FUSE is not loaded 3 years ago
108.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
109 monitor: only run coroutine commands in qemu_aio_context 2 years ago
109.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
110 iotests: update test owner contact information 4 years ago
110.out
111 iotests: update test owner contact information 4 years ago
111.out
112 iotests: update test owner contact information 4 years ago
112.out qemu-img: omit errno value in error message 2 years ago
113 iotests: update test owner contact information 4 years ago
113.out
114 tests/qemu-iotests: Restrict test 114 to the 'file' protocol 2 years ago
114.out
115 iotests: update test owner contact information 4 years ago
115.out
116
116.out
117 iotests: update test owner contact information 4 years ago
117.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
118 iotests: Test media change with iothreads 2 years ago
118.out
119 iotests: update test owner contact information 4 years ago
119.out
120 iotests: update test owner contact information 4 years ago
120.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
121 iotests: update test owner contact information 4 years ago
121.out
122
122.out qemu-img: map: report compressed data blocks 2 years ago
123 iotests: update test owner contact information 4 years ago
123.out
124 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
124.out
125 iotests: Use disk_usage in more places 4 months ago
125.out
126 iotests: update test owner contact information 4 years ago
126.out
127 iotests: update test owner contact information 4 years ago
127.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
128
128.out
129 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
129.out
130 tests/qemu-iotests: Restrict test 130 to the 'file' protocol 2 years ago
130.out
131 tests: extend test 131 to cover availability of the write-zeroes 2 years ago
131.out tests: extend test 131 to cover availability of the write-zeroes 2 years ago
132 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
132.out
133
133.out
134 tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol 2 years ago
134.out
135 iotests: update test owner contact information 4 years ago
135.out
136
136.out
137
137.out qemu-iotests: Ignore indentation in Killed messages 2 months ago
138 iotests: update test owner contact information 4 years ago
138.out
139 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
139.out
140 iotests: update test owner contact information 4 years ago
140.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
141 iotests: port 141 to Python for reliable QMP testing 2 years ago
141.out iotests: port 141 to Python for reliable QMP testing 2 years ago
142
142.out
143 iotests: update test owner contact information 4 years ago
143.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
144 iotests: Make 144 deterministic again 2 years ago
144.out iotests: Make 144 deterministic again 2 years ago
145
145.out
146 iotests: update test owner contact information 4 years ago
146.out qemu-img: map: report compressed data blocks 2 years ago
147 iotests/147: ensure temporary sockets are closed before exiting 2 weeks ago
147.out
148
148.out
149 tests/qemu-iotests/149: Use more inclusive language in this test 2 years ago
149.out tests/qemu-iotests/149: Use more inclusive language in this test 2 years ago
150 iotests: update test owner contact information 4 years ago
150.out.qcow2
150.out.raw
151 iotests/151: ensure subprocesses are cleaned up 2 weeks ago
151.out iotests/151: Test active requests on mirror start 3 years ago
152 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
152.out
153 qemu-img: commit: refresh options/--help 3 months ago
153.out qemu-img: amend: refresh options/--help 3 months ago
154
154.out qemu-img: map: report compressed data blocks 2 years ago
155 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
155.out
156 tests/qemu-iotests: Restrict test 156 to the 'file' protocol 2 years ago
156.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
157 tests/qemu-iotests: Test 157 and 227 require virtio-blk 2 years ago
157.out
158 tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol 2 years ago
158.out
159
159.out
160
160.out
161
161.out
162 Revert "iotests: Stop NBD server in test 162 before starting the next one" 6 months ago
162.out
163 iotests/163: Fix broken qemu-io invocation 3 years ago
163.out
165 iotests: Add filter_qtest() 8 months ago
165.out
170
170.out
171
171.out
172 tests/qemu-iotests/172: Run QEMU with -vga none and -nic none 2 years ago
172.out hw/boards: Do not create unusable default if=sd drives 8 months ago
173 iotests: update test owner contact information 4 years ago
173.out
174
174.out
175 iotests: Filter out ZFS in several tests 4 months ago
175.out
176 iotests: update test owner contact information 4 years ago
176.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 2 years ago
177
177.out
178 qemu-img: factor out parse_output_format() and use it in the code 3 months ago
178.out.qcow2 qemu-img: factor out parse_output_format() and use it in the code 3 months ago
178.out.raw qemu-img: factor out parse_output_format() and use it in the code 3 months ago
179
179.out qemu-img: map: report compressed data blocks 2 years ago
181 docs tests: Fix use of migrate_set_parameter 2 years ago
181.out
182 iotests: update test owner contact information 4 years ago
182.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
184
184.out block/qapi: include child references in block device info 3 months ago
185 monitor: only run coroutine commands in qemu_aio_context 2 years ago
185.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
186 tests/qemu-iotests: Require virtio-scsi-pci 3 years ago
186.out
187
187.out
188 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 2 years ago
188.out
189 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 2 years ago
189.out
190
190.out
191
191.out block: Add 'active' field to BlockDeviceInfo 8 months ago
192 iotests: update test owner contact information 4 years ago
192.out
194 mirror: Skip pre-zeroing destination if it is already zero 5 months ago
194.out mirror: Skip pre-zeroing destination if it is already zero 5 months ago
195
195.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
196 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
196.out
197 trivial patches for 2023-09-08 2 years ago
197.out qemu-iotests/197: use more generic commands for formats other than qcow2 2 years ago
198 tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol 2 years ago
198.out iotests: adapt to output change for recently introduced 'detached header' field 2 years ago
200 iotests: update test owner contact information 4 years ago
200.out
201
201.out
202 block: remove outdated AioContext locking comments 2 years ago
202.out
203 block: remove outdated AioContext locking comments 2 years ago
203.out migration: Always set DEVICE state 8 months ago
204
204.out
205 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
205.out
206
206.out iotests: adapt to output change for recently introduced 'detached header' field 2 years ago
207 iotests/207: Filter host fingerprint 4 years ago
207.out iotests/207: Filter host fingerprint 4 years ago
208
208.out
209
209.out qemu-img: map: report compressed data blocks 2 years ago
210
210.out crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS 2 years ago
211 iotests: add qemu_img_map() function 4 years ago
211.out tests/qemu-iotests/211.out: Update to expect MapEntry 'compressed' field 12 months ago
212
212.out
213
213.out
214 iotests/106, 214, 308: Read only one size line 3 years ago
214.out
215 tests/: spelling fixes 2 years ago
215.out
216 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
216.out
217
217.out
218 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
218.out
219
219.out
220
220.out
221 iotests: Filter out ZFS in several tests 4 months ago
221.out qemu-img: map: report compressed data blocks 2 years ago
223 iotests/223: check new possibility of exporting bitmaps by node/name 3 years ago
223.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
224 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
224.out
225 iotests: update test owner contact information 4 years ago
225.out
226
226.out
227 tests/qemu-iotests: Test 157 and 227 require virtio-blk 2 years ago
227.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
228 iotests: update test owner contact information 4 years ago
228.out
229 iotests: update test owner contact information 4 years ago
229.out
231 iotests: update test owner contact information 4 years ago
231.out
232
232.out
233 tests/qemu-iotests: validate NBD TLS with UNIX sockets and PSK 4 years ago
233.out iotests: fix expected output from gnutls 1 year ago
234 iotests: replace unchecked calls to qemu_img_pipe() 4 years ago
234.out migration: Always set DEVICE state 8 months ago
235
235.out
236
236.out
237 iotests: remove remaining calls to qemu_img_pipe() 4 years ago
237.out iotests: remove remaining calls to qemu_img_pipe() 4 years ago
238
238.out
239
239.out
240 iotests: fix 240 4 months ago
240.out iotests: fix 240 4 months ago
241 tests/qemu-iotests: introduce filter for qemu-nbd export list 4 years ago
241.out nbd/client: Request extended headers during negotiation 2 years ago
242 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
242.out
243
243.out
244 iotests/244: Don't store data-file with protocol in image 1 year ago
244.out qemu-img: map: report compressed data blocks 2 years ago
245 qemu-iotest/245: Add missing discard=unmap 1 year ago
245.out iotests/245: Check if 'compress' driver is available 2 years ago
246
246.out
247
247.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
248
248.out
249
249.out
250 iotests/common.rc: add disk_usage function 5 months ago
250.out
251 iotests: update test owner contact information 4 years ago
251.out
252 iotests: update test owner contact information 4 years ago
252.out qemu-img: map: report compressed data blocks 2 years ago
253 iotests: Filter out ZFS in several tests 4 months ago
253.out qemu-img: map: report compressed data blocks 2 years ago
254
254.out
255 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
255.out iotests: replace qemu_img_log('create', ...) calls 4 years ago
256 python/qemu: rename command() to cmd() 2 years ago
256.out
257 python/qemu: rename command() to cmd() 2 years ago
257.out block/copy-before-write: create block_copy bitmap in filter node 1 year ago
258 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
258.out
259 iotests: update test owner contact information 4 years ago
259.out
260
260.out
261 qemu-img: Fix Column Width and Improve Formatting in snapshot list 2 years ago
261.out
262 tests/qemu-iotests/262: Check for availability of "blkverify" first 3 years ago
262.out migration: Always set DEVICE state 8 months ago
263 tests/qemu-iotests: Fix some tests that use --image-opts for other protocols 2 years ago
263.out
264 iotests/264: Use iotests.sock_dir for socket creation 2 years ago
264.out
265
265.out
266 iotests: make qemu_img_log and img_info_log raise on error 4 years ago
266.out
267
267.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 2 years ago
268
268.out
270 iotests/270: Don't store data-file with json: prefix in image 1 year ago
270.out
271 iotests: add tests for "qemu-img rebase" with compression 2 years ago
271.out iotests: add tests for "qemu-img rebase" with compression 2 years ago
272
272.out
273
273.out block: Add 'active' field to BlockDeviceInfo 8 months ago
274 iotests: replace qemu_img_log('create', ...) calls 4 years ago
274.out qemu-img: map: report compressed data blocks 2 years ago
277 iotests/277: Use iotests.sock_dir for socket creation 2 years ago
277.out
279
279.out
280 iotests: replace qemu_img_log('create', ...) calls 4 years ago
280.out migration: Always set DEVICE state 8 months ago
281 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
281.out
282
282.out
283
283.out
284 tests/qemu-iotests: Fix some tests that use --image-opts for other protocols 2 years ago
284.out
286 qemu-img: Fix Column Width and Improve Formatting in snapshot list 2 years ago
286.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 2 years ago
287
287.out
288
288.out
289
289.out
290
290.out
292
292.out
293
293.out
294
294.out
295 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
295.out
296 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
296.out
297
297.out
298 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
298.out
299
299.out
300 python: use vm.cmd() instead of vm.qmp() where appropriate 2 years ago
300.out
301
301.out
302 iotest: Unbreak 302 with python 3.13 7 months ago
302.out qemu-img: Change info key names for protocol nodes 3 years ago
303 iotests: replace calls to log(qemu_io(...)) with qemu_io_log() 3 years ago
303.out
304
304.out
305
305.out
307
307.out nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS 2 years ago
308 iotests: Filter out ZFS in several tests 4 months ago
308.out monitor: only run coroutine commands in qemu_aio_context 2 years ago
310 iotests: remove qemu_io_silent() and qemu_io_silent_check(). 3 years ago
310.out
312 tests/qemu-iotests/312: Mark "quorum" as required driver 3 years ago
312.out
313
313.out
314 iotests: add tests for "qemu-img rebase" with compression 2 years ago
314.out iotests: add tests for "qemu-img rebase" with compression 2 years ago
Makefile
README
check iotests/check: always enable all python warnings 2 weeks ago
common.filter qemu-iotests: Ignore indentation in Killed messages 2 months ago
common.nbd
common.pattern
common.qemu
common.rc iotests: Filter out ZFS in several tests 4 months ago
common.tls tests/qemu-iotests: validate NBD TLS with UNIX sockets and PSK 4 years ago
fat16.py iotests: Add `vvfat` tests 1 year ago
findtests.py
iotests.py mirror: Skip pre-zeroing destination if it is already zero 5 months ago
linters.py iotests: use the correct python to run linters 2 years ago
meson.build configure, meson: rename targetos to host_os 2 years ago
mypy.ini iotests/297: Have mypy ignore unused ignores 3 years ago
nbd-fault-injector.py
pylintrc python: disable too-many-positional-arguments warning 10 months ago
qcow2.py
qcow2_format.py
qed.py
testenv.py iotests: drop compat for old version context manager 2 weeks ago
testrunner.py iotests: drop compat for old version context manager 2 weeks ago

README

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.