1 QA output created by 061
3 === Testing version downgrade with zero expansion ===
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6 wrote 131072/131072 bytes at offset 0
7 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10 backing_file_offset 0x0
16 l1_table_offset 0x30000
17 refcount_table_offset 0x10000
18 refcount_table_clusters 1
21 incompatible_features 0x0
22 compatible_features 0x1
23 autoclear_features 0x0
29 backing_file_offset 0x0
35 l1_table_offset 0x30000
36 refcount_table_offset 0x10000
37 refcount_table_clusters 1
40 incompatible_features 0x0
41 compatible_features 0x0
42 autoclear_features 0x0
51 read 131072/131072 bytes at offset 0
52 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53 No errors were found on the image.
55 === Testing dirty version downgrade ===
57 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
58 wrote 131072/131072 bytes at offset 0
59 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 backing_file_offset 0x0
68 l1_table_offset 0x30000
69 refcount_table_offset 0x10000
70 refcount_table_clusters 1
73 incompatible_features 0x1
74 compatible_features 0x1
75 autoclear_features 0x0
79 ERROR cluster 5 refcount=0 reference=1
80 ERROR cluster 6 refcount=0 reference=1
81 Rebuilding refcount structure
82 Repairing cluster 1 refcount=1 reference=0
83 Repairing cluster 2 refcount=1 reference=0
86 backing_file_offset 0x0
92 l1_table_offset 0x30000
93 refcount_table_offset 0x80000
94 refcount_table_clusters 1
97 incompatible_features 0x0
98 compatible_features 0x0
99 autoclear_features 0x0
108 read 131072/131072 bytes at offset 0
109 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
110 No errors were found on the image.
112 === Testing version downgrade with unknown compat/autoclear flags ===
114 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
117 backing_file_offset 0x0
118 backing_file_size 0x0
123 l1_table_offset 0x30000
124 refcount_table_offset 0x10000
125 refcount_table_clusters 1
128 incompatible_features 0x0
129 compatible_features 0x40000000000
130 autoclear_features 0x40000000000
136 backing_file_offset 0x0
137 backing_file_size 0x0
142 l1_table_offset 0x30000
143 refcount_table_offset 0x10000
144 refcount_table_clusters 1
147 incompatible_features 0x0
148 compatible_features 0x0
149 autoclear_features 0x0
158 No errors were found on the image.
160 === Testing version upgrade and resize ===
162 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
163 wrote 65536/65536 bytes at offset 44040192
164 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
167 backing_file_offset 0x0
168 backing_file_size 0x0
173 l1_table_offset 0x30000
174 refcount_table_offset 0x10000
175 refcount_table_clusters 1
178 incompatible_features 0x0
179 compatible_features 0x0
180 autoclear_features 0x0
186 backing_file_offset 0x0
187 backing_file_size 0x0
192 l1_table_offset 0x30000
193 refcount_table_offset 0x10000
194 refcount_table_clusters 1
197 incompatible_features 0x0
198 compatible_features 0x1
199 autoclear_features 0x0
208 read 65536/65536 bytes at offset 44040192
209 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
210 No errors were found on the image.
212 === Testing dirty lazy_refcounts=off ===
214 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
215 wrote 131072/131072 bytes at offset 0
216 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
219 backing_file_offset 0x0
220 backing_file_size 0x0
225 l1_table_offset 0x30000
226 refcount_table_offset 0x10000
227 refcount_table_clusters 1
230 incompatible_features 0x1
231 compatible_features 0x1
232 autoclear_features 0x0
236 ERROR cluster 5 refcount=0 reference=1
237 ERROR cluster 6 refcount=0 reference=1
238 Rebuilding refcount structure
239 Repairing cluster 1 refcount=1 reference=0
240 Repairing cluster 2 refcount=1 reference=0
243 backing_file_offset 0x0
244 backing_file_size 0x0
249 l1_table_offset 0x30000
250 refcount_table_offset 0x80000
251 refcount_table_clusters 1
254 incompatible_features 0x0
255 compatible_features 0x0
256 autoclear_features 0x0
265 read 131072/131072 bytes at offset 0
266 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
267 No errors were found on the image.
269 === Testing backing file ===
271 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
272 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
273 wrote 131072/131072 bytes at offset 0
274 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
275 read 131072/131072 bytes at offset 0
276 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
277 read 131072/131072 bytes at offset 0
278 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
279 No errors were found on the image.
281 === Testing invalid configurations ===
283 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
284 Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
285 qemu-img: Error while amending options: Invalid argument
286 Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
287 qemu-img: Error while amending options: Invalid argument
288 Unknown compatibility level 0.42.
289 qemu-img: Error while amending options: Invalid argument
290 qemu-img: Invalid parameter 'foo'
291 qemu-img: Invalid options for file format 'qcow2'
292 Changing the cluster size is not supported.
293 qemu-img: Error while amending options: Operation not supported
294 Changing the encryption flag is not supported.
295 qemu-img: Error while amending options: Operation not supported
296 Cannot change preallocation mode.
297 qemu-img: Error while amending options: Operation not supported
299 === Testing correct handling of unset value ===
301 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
304 Changing the cluster size is not supported.
305 qemu-img: Error while amending options: Operation not supported
307 === Testing zero expansion on inactive clusters ===
309 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
310 wrote 131072/131072 bytes at offset 0
311 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
312 wrote 131072/131072 bytes at offset 0
313 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
314 No errors were found on the image.
315 read 131072/131072 bytes at offset 0
316 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
317 No errors were found on the image.
318 read 131072/131072 bytes at offset 0
319 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
321 === Testing zero expansion on shared L2 table ===
323 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
324 wrote 131072/131072 bytes at offset 0
325 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
326 No errors were found on the image.
327 read 131072/131072 bytes at offset 0
328 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
329 No errors were found on the image.
330 read 131072/131072 bytes at offset 0
331 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
333 === Testing zero expansion on backed image ===
335 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
336 wrote 131072/131072 bytes at offset 0
337 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
338 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
339 read 131072/131072 bytes at offset 0
340 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
341 wrote 65536/65536 bytes at offset 0
342 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343 No errors were found on the image.
344 read 65536/65536 bytes at offset 0
345 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
346 read 65536/65536 bytes at offset 65536
347 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
349 === Testing zero expansion on backed inactive clusters ===
351 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
352 wrote 131072/131072 bytes at offset 0
353 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
354 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
355 wrote 65536/65536 bytes at offset 0
356 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357 wrote 131072/131072 bytes at offset 0
358 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
359 No errors were found on the image.
360 read 131072/131072 bytes at offset 0
361 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
362 No errors were found on the image.
363 read 65536/65536 bytes at offset 0
364 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
365 read 65536/65536 bytes at offset 65536
366 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
368 === Testing zero expansion on backed image with shared L2 table ===
370 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
371 wrote 131072/131072 bytes at offset 0
372 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
373 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
374 wrote 131072/131072 bytes at offset 0
375 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
376 No errors were found on the image.
377 read 131072/131072 bytes at offset 0
378 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
379 No errors were found on the image.
380 read 131072/131072 bytes at offset 0
381 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
383 === Testing preallocated zero expansion on full image ===
385 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
386 wrote 67108864/67108864 bytes at offset 0
387 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
388 wrote 67108864/67108864 bytes at offset 0
389 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
390 No errors were found on the image.
391 read 67108864/67108864 bytes at offset 0
392 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)