qemu-e2k/tests/qemu-iotests
Peter Maydell b73f417aae Python queue:
* migration acceptance test fix
 * introduce pylintrc & flake8 config
 * various cleanups (Python3, style)
 * vm-test can set QEMU_LOCAL=1 to use locally built binaries
 * refactored BootLinuxBase & LinuxKernelTest acceptance classes
 
 https://gitlab.com/philmd/qemu/pipelines/151323210
 https://travis-ci.org/github/philmd/qemu/builds/693157969
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAl7T3U8ACgkQ4+MsLN6t
 wN4JnhAAif0Lw06lEl+ZksD0d4YLyBp079BNJEUWvflsivHY9RIn4e+eXdL3Q8m9
 roBzlsV71C7Ufbp26LFthcnvLaq0JH7RhBUVUoQAI7XZ46HAr3KRyOBJQP7LCr5N
 4Z97y8hqfSdchwpYbxkEbPy58caCRIneqIvg0sp8XuyXpDpVDqP11rXTg4fgqi7i
 1+D1yjr+wgaa7Vvf4sYzOw4D5zD2Mh+zMyDFI9d7yajs/4RH9k+iZteV7baLRQ5Q
 xkC0yqHDGp+uzEF4mk+5VUiZDvDUUxnkuFYKc6mFcahKzhrxLpEsvhnPFZ+vr4ib
 1DDmSr6ihf37wBzowHgAkmTwAiGmVEobu/2h93JXJesWw0TKRT74w1ftZKEIY1v4
 1Hka38gV0LULOAOjiy+aKNJqpJ/eipds94MvllRLHCgbB4H9VKBd4ts6linn+xsM
 CUebvUOgiVzH+hYbLJ1EBLFhbsmQ+yvopbQtLIlyFpKTFhdE1dA3vfb9NV0iqfOL
 fxaP/WaibKEFF5H40H7Ro+H7cT2+hF8MyByBT6q/UzoDURkZxeswqd2ww2VcUw2M
 X6h3/Hzek8PtZ+md3G6Hb1mJccfBHElrSgXAjrZ0WLOy4ZV7Y+/QrE8ooJwIKGKZ
 NinXrUocDl8xfRNWjynImzqma5TdaLW5tOmx6yTSK1R3lQh2z7A=
 =7xHS
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/philmd-gitlab/tags/python-next-20200531' into staging

Python queue:

* migration acceptance test fix
* introduce pylintrc & flake8 config
* various cleanups (Python3, style)
* vm-test can set QEMU_LOCAL=1 to use locally built binaries
* refactored BootLinuxBase & LinuxKernelTest acceptance classes

https://gitlab.com/philmd/qemu/pipelines/151323210
https://travis-ci.org/github/philmd/qemu/builds/693157969

# gpg: Signature made Sun 31 May 2020 17:37:35 BST
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* remotes/philmd-gitlab/tags/python-next-20200531: (25 commits)
  tests/acceptance: refactor boot_linux to allow code reuse
  tests/acceptance: refactor boot_linux_console test to allow code reuse
  tests/acceptance: allow console interaction with specific VMs
  tests/acceptance/migration.py: Wait for both sides
  tests/migration/guestperf: Use Python 3 interpreter
  tests/vm: allow wait_ssh() to specify command
  tests/vm: Add ability to select QEMU from current build
  tests/vm: Pass --debug through for vm-boot-ssh
  python/qemu/qtest: Check before accessing _qtest
  python/qemu/qmp: assert sockfile is not None
  python/qemu/qmp: use True/False for non/blocking modes
  python/qemu: Adjust traceback typing
  python/qemu: fix socket.makefile() typing
  python/qemu: remove Python2 style super() calls
  python/qemu: delint; add flake8 config
  python/qemu: delint and add pylintrc
  python/qemu/machine: remove logging configuration
  python/qemu/machine: add kill() method
  python: remove more instances of sys.version_info
  scripts/qmp: Fix shebang and imports
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-05-31 21:49:07 +01:00
..
sample_images
.gitignore
001 block: Comment cleanups 2020-05-05 13:17:36 +02:00
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 iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
026.out iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
026.out.nocache iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
027
027.out
028
028.out
029
029.out
030 iotests/030: Reduce run time by unthrottling job earlier 2020-05-18 19:05:25 +02:00
030.out
031
031.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
032
032.out
033
033.out
034
034.out
035
035.out
036 qcow2: Avoid feature name extension on small cluster size 2020-03-26 14:44:33 +01:00
036.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
037
037.out
038
038.out
039
039.out
040
040.out
041 iotests: Mirror with different source/target size 2020-05-18 19:05:25 +02:00
041.out iotests: Mirror with different source/target size 2020-05-18 19:05:25 +02:00
042
042.out
043
043.out
044
044.out
045
045.out
046 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
046.out qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
047
047.out
048
048.out
049
049.out qemu_img: add cvtnum_full to print error reports 2020-05-18 11:02:05 -05:00
050
050.out
051
051.out
051.pc.out
052 block: Comment cleanups 2020-05-05 13:17:36 +02:00
052.out
053
053.out
054
054.out
055 iotests/055: Use cache.no-flush for vmdk target 2020-05-08 13:26:35 +02:00
055.out iotests: Backup with different source/target size 2020-05-08 13:26:35 +02:00
056
056.out
057
057.out
058
058.out
059 iotests: vmdk: Enable zeroed_grained=on by default 2020-05-08 13:26:35 +02:00
059.out
060 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
060.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
061 qcow2: Allow resize of images with internal snapshots 2020-05-05 13:17:36 +02:00
061.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
062
062.out
063
063.out
064
064.out
065 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02: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 qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
080.out
081
081.out
082 iotests/082: require bochs 2020-05-08 13:26:35 +02:00
082.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
083
083.out
084
084.out
085 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
085.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
086
086.out
087 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
087.out
088
088.out
089
089.out
090
090.out
091 iotests: handle tmpfs 2020-05-08 13:26:35 +02:00
091.out
092
092.out
093
093.out
094
094.out
095
095.out
096
096.out
097
097.out
098
098.out block: Use blk_make_empty() after commits 2020-05-18 19:05:25 +02:00
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 iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02:00
109.out iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02:00
110
110.out
111
111.out
112
112.out
113 iotests/113: mark bochs as required to support whitelisting 2020-05-08 13:26:35 +02:00
113.out
114
114.out
115
115.out
116
116.out
117
117.out
118
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
124.out
125
125.out
126
126.out
127
127.out
128
128.out
129
129.out
130
130.out
131
131.out
132
132.out
133
133.out
134 block: Comment cleanups 2020-05-05 13:17:36 +02:00
134.out
135
135.out
136
136.out
137
137.out
138 iotests/138: Test leaks/corruptions fixed report 2020-03-26 14:52:43 +01:00
138.out iotests/138: Test leaks/corruptions fixed report 2020-03-26 14:52:43 +01:00
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
142
142.out
143
143.out
144
144.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
145
145.out
146
146.out
147 iotests/147: Fix drive parameters 2020-02-20 16:43:42 +01:00
147.out
148 iotests/148: use skip_if_unsupported 2020-05-08 13:26:35 +02:00
148.out
149 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
149.out
150
150.out.qcow2
150.out.raw
151
151.out
152
152.out
153 Fix iotest 153 2020-05-05 13:17:36 +02:00
153.out Fix iotest 153 2020-05-05 13:17:36 +02:00
154
154.out
155 iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
155.out iotests: Add iothread cases to 155 2020-03-11 15:54:38 +01:00
156
156.out
157
157.out
158
158.out
159
159.out
160
160.out
161
161.out
162
162.out
163
163.out
165
165.out
169
169.out
170
170.out
171
171.out
172
172.out
173
173.out
174
174.out
175
175.out
176
176.out
177 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
177.out
178 qemu-img: allow qemu-img measure --object without a filename 2020-03-11 12:42:29 +01:00
178.out.qcow2 qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
178.out.raw iotests: Fix test 178 2020-05-28 13:15:23 -05:00
179
179.out
181
181.out
182
182.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
183
183.out
184
184.out
185
185.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
186
186.out
187
187.out
188 block: Comment cleanups 2020-05-05 13:17:36 +02:00
188.out
189
189.out
190 qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
190.out qcow2: Expose bitmaps' size during measure 2020-05-28 13:16:16 -05:00
191
191.out
192
192.out
194 iotests: 194: test also migration of dirty bitmap 2020-05-28 13:15:22 -05:00
194.out iotests: 194: test also migration of dirty bitmap 2020-05-28 13:15:22 -05:00
195
195.out
196
196.out
197
197.out
198
198.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
199
199.out
200
200.out
201
201.out
202 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
202.out
203 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
203.out
204
204.out
205
205.out
206 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
206.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
207 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
207.out
208 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
208.out
209 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
209.out
210 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
210.out
211 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
211.out
212 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
212.out
213 iotests: add script_initialize 2020-05-05 13:17:36 +02: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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
216.out
217
217.out
218 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
218.out
219 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
219.out
220
220.out
221
221.out
222 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
222.out
223 iotests: Enhance 223 to cover qemu-img map improvements 2020-05-18 11:02:05 -05:00
223.out iotests: Enhance 223 to cover qemu-img map improvements 2020-05-18 11:02:05 -05:00
224 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
224.out
225
225.out
226
226.out
227
227.out
228 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
228.out
229 iotests/229: Use blkdebug to inject an error 2020-05-18 19:05:24 +02:00
229.out iotests/229: Use blkdebug to inject an error 2020-05-18 19:05:24 +02:00
231
231.out
232
232.out
233
233.out
234 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
234.out
235 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
235.out
236 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
236.out
237 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
237.out
238 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
238.out
239
239.out
240
240.out
241
241.out
242 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
242.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
243
243.out
244 qemu-iotests: allow qcow2 external discarded clusters to contain stale data 2020-04-30 17:51:06 +02:00
244.out qemu-iotests: allow qcow2 external discarded clusters to contain stale data 2020-04-30 17:51:06 +02:00
245 iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
245.out iotests: use python logging for iotests.log() 2020-05-05 13:17:36 +02:00
246 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
246.out
247
247.out
248 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
248.out
249
249.out
250
250.out
251
251.out
252
252.out
253
253.out
254 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
254.out
255 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
255.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
256 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
256.out
257
257.out
258 iotest 258: use script_main 2020-05-05 13:17:36 +02: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 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
260.out
261
261.out
262 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
262.out
263
263.out
264 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
264.out
265
265.out
266
266.out
267
267.out
268
268.out
270
270.out
272
272.out
273
273.out
274 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
274.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
277 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
277.out
279 iotests: Fix cleanup path in some tests 2020-03-24 11:57:38 +01:00
279.out
280 iotests: add script_initialize 2020-05-05 13:17:36 +02:00
280.out qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
281
281.out
282 qemu-iotests: adding LUKS cleanup for non-UTF8 secret error 2020-03-11 15:54:38 +01:00
282.out qemu-iotests: adding LUKS cleanup for non-UTF8 secret error 2020-03-11 15:54:38 +01:00
283 iotests/283: Use consistent size for source and target 2020-05-08 13:26:35 +02:00
283.out iotests/283: Use consistent size for source and target 2020-05-08 13:26:35 +02: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
287 iotests: 287: add qcow2 compression type test 2020-05-13 14:20:31 +02:00
287.out iotests: 287: add qcow2 compression type test 2020-05-13 14:20:31 +02:00
288 iotests: add 288 luks qemu-img measure test 2020-03-11 12:42:29 +01:00
288.out iotests: add 288 luks qemu-img measure test 2020-03-11 12:42:29 +01:00
289 iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
289.out iotests/026: Move v3-exclusive test to new file 2020-03-24 12:05:31 +01:00
290 qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
290.out qcow2: Forbid discard in qcow2 v2 images with backing files 2020-04-07 13:51:09 +02:00
291 iotests: Add test 291 to for qemu-img bitmap coverage 2020-05-28 13:16:30 -05:00
291.out iotests: Add test 291 to for qemu-img bitmap coverage 2020-05-28 13:16:30 -05:00
292 qcow2: Avoid integer wraparound in qcow2_co_truncate() 2020-05-08 13:26:35 +02:00
292.out qcow2: Avoid integer wraparound in qcow2_co_truncate() 2020-05-08 13:26:35 +02:00
297 iotests: Run pylint and mypy in a testcase 2020-05-18 19:05:25 +02:00
297.out iotests: Run pylint and mypy in a testcase 2020-05-18 19:05:25 +02:00
check iotests: vmdk: Enable zeroed_grained=on by default 2020-05-08 13:26:35 +02:00
common.config
common.filter iotests/109: Don't mirror with mismatched size 2020-05-18 19:05:24 +02:00
common.nbd
common.pattern iotests/common.pattern: Quote echos 2020-04-07 13:51:09 +02:00
common.qemu
common.rc iotests: handle tmpfs 2020-05-08 13:26:35 +02:00
common.tls
group iotests: Add test 291 to for qemu-img bitmap coverage 2020-05-28 13:16:30 -05:00
iotests.py iotests: log messages from notrun() 2020-05-18 19:05:25 +02:00
Makefile
nbd-fault-injector.py python: remove more instances of sys.version_info 2020-05-31 18:25:07 +02:00
pylintrc iotests: limit line length to 79 chars 2020-05-05 13:17:36 +02:00
qcow2.py
qed.py
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.