qemu/tests/qemu-iotests
Alex Bennée 002375895c tests/iotests: be a little more forgiving on the size test
At least on ZFS this was failing as 512 was less than or equal to 512.
I suspect the reason is additional compression done by ZFS and however
qemu-img gets the actual size.

Loosen the criteria to make sure after is not bigger than before and
also dump the values in the report.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200225124710.14152-9-alex.bennee@linaro.org>
2020-02-25 20:20:09 +00:00
..
sample_images
.gitignore
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
022.out
023
023.out
024
024.out
025
025.out
026
026.out
026.out.nocache
027
027.out
028 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
028.out
029
029.out
030 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
030.out
031
031.out
032
032.out
033
033.out
034
034.out
035
035.out
036
036.out
037
037.out
038
038.out
039
039.out
040 iotests: Test error handling policies with block-commit 2020-02-18 10:53:56 +01:00
040.out iotests: Test error handling policies with block-commit 2020-02-18 10:53:56 +01:00
041 iotests: Check that @replaces can replace filters 2020-02-18 14:52:16 +01:00
041.out iotests: Check that @replaces can replace filters 2020-02-18 14:52:16 +01:00
042
042.out
043
043.out
044 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
044.out
045 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
045.out
046
046.out
047
047.out
048
048.out
049
049.out
050
050.out
051
051.out
051.pc.out
052
052.out
053
053.out
054
054.out
055 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
055.out
056 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
056.out
057 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
057.out
058 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
058.out
059
059.out
060
060.out
061
061.out
062
062.out
063
063.out
064
064.out
065 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
065.out
066
066.out
067
067.out
068
068.out
069
069.out
070
070.out
071
071.out
072
072.out
073
073.out
074
074.out
075
075.out
076
076.out
077
077.out
078
078.out
079
079.out
080
080.out
081
081.out
082
082.out
083
083.out
084
084.out
085
085.out
086
086.out
087
087.out
088
088.out
089 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
089.out
090
090.out
091 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
091.out
092
092.out
093 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
093.out
094
094.out
095
095.out
096 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
096.out
097
097.out
098
098.out
099
099.out
101
101.out
102
102.out
103
103.out
104
104.out
105
105.out
106
106.out
107
107.out
108
108.out
109 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
109.out
110
110.out
111
111.out
112
112.out
113
113.out
114
114.out
115
115.out
116
116.out
117
117.out
118 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
118.out
119
119.out
120
120.out
121
121.out
122 iotests: Test convert -n -B to backing-less target 2020-02-20 16:43:42 +01:00
122.out iotests: Test convert -n -B to backing-less target 2020-02-20 16:43:42 +01:00
123
123.out
124 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
124.out
125
125.out
126
126.out
127 iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47:45 +01:00
127.out
128
128.out
129 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
129.out
130
130.out
131
131.out
132 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
132.out
133
133.out
134
134.out
135
135.out
136 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
136.out
137
137.out
138
138.out
139 iotests: Remove the superfluous 2nd check for the availability of quorum 2020-02-20 16:43:42 +01:00
139.out
140
140.out
141
141.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
142
142.out
143
143.out
144
144.out
145
145.out
146
146.out
147 iotests/147: Fix drive parameters 2020-02-20 16:43:42 +01:00
147.out
148 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
148.out
149 drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
149.out
150
150.out.qcow2
150.out.raw
151 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
151.out
152 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
152.out
153
153.out
154
154.out
155 iotests: Use complete_and_wait() in 155 2020-02-18 11:55:40 +01:00
155.out
156
156.out
157
157.out
158
158.out
159
159.out
160
160.out
161
161.out
162
162.out
163 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
163.out
165 drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
165.out
169 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
169.out
170
170.out
171
171.out
172
172.out
173
173.out
174
174.out
175
175.out
176
176.out
177
177.out
178
178.out.qcow2
178.out.raw
179
179.out
181 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
181.out
182
182.out
183 iotests: Test 183 does not work on macOS and OpenBSD 2020-02-06 13:47:45 +01:00
183.out
184
184.out
185 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
185.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
186
186.out
187
187.out
188
188.out
189
189.out
190
190.out
191
191.out
192
192.out
194 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
194.out
195
195.out
196 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
196.out
197
197.out
198
198.out
199 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
199.out
200 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
200.out
201 tests/qemu-iotests: use AIOMODE with various tests 2020-01-30 21:01:40 +00:00
201.out
202 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
202.out
203 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
203.out
204
204.out
205 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
205.out
206 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
206.out
207 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
207.out
208 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
208.out
209 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
209.out
210 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
210.out
211 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
211.out
212 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
212.out
213 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
213.out
214 tests/iotests: be a little more forgiving on the size test 2020-02-25 20:20:09 +00:00
214.out
215
215.out
216 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
216.out
217
217.out
218 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
218.out
219 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
219.out blockdev: unify qmp_drive_backup and drive-backup transaction paths 2020-01-27 17:19:53 +01:00
220
220.out
221
221.out
222 make all Python scripts executable 2020-02-07 15:15:16 +01:00
222.out
223 nbd: Allow description when creating NBD blockdev 2020-02-05 17:22:13 -06:00
223.out nbd: Allow description when creating NBD blockdev 2020-02-05 17:22:13 -06:00
224 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
224.out
225
225.out
226
226.out
227
227.out
228 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
228.out
229
229.out
231
231.out
232
232.out
233
233.out
234 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
234.out
235 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
235.out
236 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
236.out
237 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
237.out
238 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
238.out
239
239.out
240
240.out
241
241.out
242 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
242.out
243
243.out
244 iotests: Test copy offloading with external data file 2020-02-18 10:53:56 +01:00
244.out iotests: Test copy offloading with external data file 2020-02-18 10:53:56 +01:00
245 make all Python scripts executable 2020-02-07 15:15:16 +01:00
245.out
246 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
246.out
247
247.out
248 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
248.out
249
249.out
250
250.out
251
251.out
252
252.out
253
253.out
254 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
254.out
255 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
255.out
256 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
256.out
257 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
257.out
258 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
258.out
259 iotests: Add test for image creation fallback 2020-02-20 16:43:42 +01:00
259.out iotests: Add test for image creation fallback 2020-02-20 16:43:42 +01:00
260 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
260.out
261
261.out
262 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
262.out
263
263.out
264 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
264.out
265
265.out
266 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
266.out
267 iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47:45 +01:00
267.out
268
268.out
270
270.out
272
272.out
273
273.out
277 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
277.out
279 iotests/279: Fix for non-qcow2 formats 2020-02-20 16:43:42 +01:00
279.out
280 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
280.out
281 tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
281.out iotests: Test handling of AioContexts with some blockdev actions 2020-01-27 17:19:53 +01:00
283 tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
283.out iotests: add test for backup-top failure on permission activation 2020-02-06 13:47:45 +01:00
284 block: always fill entire LUKS header space with zeros 2020-02-20 16:43:42 +01:00
284.out block: always fill entire LUKS header space with zeros 2020-02-20 16:43:42 +01:00
286 iotests: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
286.out iotests: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
check tests/qemu-iotests/check: Only check for Python 3 interpreter 2020-02-07 15:15:16 +01:00
common.config
common.filter
common.nbd
common.pattern
common.qemu
common.rc iotests: Check for the availability of the required devices in 267 and 127 2020-02-06 13:47:45 +01:00
common.tls
group iotests: Test snapshot -l field separation 2020-02-20 16:43:42 +01:00
iotests.py iotests: Add VM.assert_block_path() 2020-02-18 11:55:41 +01:00
Makefile
nbd-fault-injector.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
qcow2.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
qed.py drop "from __future__ import print_function" 2020-02-07 15:15:16 +01:00
README
socket_scm_helper.c

=== 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.