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 []
22 compatible_features [0]
34 backing_file_offset 0x0
40 l1_table_offset 0x30000
41 refcount_table_offset 0x10000
42 refcount_table_clusters 1
45 incompatible_features []
46 compatible_features []
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 version downgrade with zero expansion and 4K cache entries ===
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)
60 wrote 131072/131072 bytes at offset 33554432
61 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 128 KiB (0x20000) bytes allocated at offset 0 bytes (0x0)
63 31.875 MiB (0x1fe0000) bytes not allocated at offset 128 KiB (0x20000)
64 128 KiB (0x20000) bytes allocated at offset 32 MiB (0x2000000)
65 31.875 MiB (0x1fe0000) bytes not allocated at offset 32.125 MiB (0x2020000)
68 backing_file_offset 0x0
74 l1_table_offset 0x30000
75 refcount_table_offset 0x10000
76 refcount_table_clusters 1
79 incompatible_features []
80 compatible_features [0]
92 backing_file_offset 0x0
98 l1_table_offset 0x30000
99 refcount_table_offset 0x10000
100 refcount_table_clusters 1
103 incompatible_features []
104 compatible_features []
105 autoclear_features []
109 read 131072/131072 bytes at offset 0
110 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111 read 131072/131072 bytes at offset 33554432
112 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
113 64 MiB (0x4000000) bytes not allocated at offset 0 bytes (0x0)
114 No errors were found on the image.
116 === Testing dirty version downgrade ===
118 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
119 wrote 131072/131072 bytes at offset 0
120 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
121 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
124 backing_file_offset 0x0
125 backing_file_size 0x0
130 l1_table_offset 0x30000
131 refcount_table_offset 0x10000
132 refcount_table_clusters 1
135 incompatible_features [0]
136 compatible_features [0]
137 autoclear_features []
146 ERROR cluster 5 refcount=0 reference=1
147 ERROR cluster 6 refcount=0 reference=1
148 Rebuilding refcount structure
149 Repairing cluster 1 refcount=1 reference=0
150 Repairing cluster 2 refcount=1 reference=0
153 backing_file_offset 0x0
154 backing_file_size 0x0
159 l1_table_offset 0x30000
160 refcount_table_offset 0x80000
161 refcount_table_clusters 1
164 incompatible_features []
165 compatible_features []
166 autoclear_features []
170 read 131072/131072 bytes at offset 0
171 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
172 No errors were found on the image.
174 === Testing version downgrade with unknown compat/autoclear flags ===
176 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
179 backing_file_offset 0x0
180 backing_file_size 0x0
185 l1_table_offset 0x30000
186 refcount_table_offset 0x10000
187 refcount_table_clusters 1
190 incompatible_features []
191 compatible_features [42]
192 autoclear_features [42]
203 backing_file_offset 0x0
204 backing_file_size 0x0
209 l1_table_offset 0x30000
210 refcount_table_offset 0x10000
211 refcount_table_clusters 1
214 incompatible_features []
215 compatible_features []
216 autoclear_features []
220 No errors were found on the image.
222 === Testing version upgrade and resize ===
224 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
225 wrote 65536/65536 bytes at offset 44040192
226 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
229 backing_file_offset 0x0
230 backing_file_size 0x0
235 l1_table_offset 0x30000
236 refcount_table_offset 0x10000
237 refcount_table_clusters 1
240 incompatible_features []
241 compatible_features []
242 autoclear_features []
248 backing_file_offset 0x0
249 backing_file_size 0x0
254 l1_table_offset 0x30000
255 refcount_table_offset 0x10000
256 refcount_table_clusters 1
259 incompatible_features []
260 compatible_features [0]
261 autoclear_features []
270 read 65536/65536 bytes at offset 44040192
271 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
272 No errors were found on the image.
274 === Testing dirty lazy_refcounts=off ===
276 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
277 wrote 131072/131072 bytes at offset 0
278 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
279 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
282 backing_file_offset 0x0
283 backing_file_size 0x0
288 l1_table_offset 0x30000
289 refcount_table_offset 0x10000
290 refcount_table_clusters 1
293 incompatible_features [0]
294 compatible_features [0]
295 autoclear_features []
304 ERROR cluster 5 refcount=0 reference=1
305 ERROR cluster 6 refcount=0 reference=1
306 Rebuilding refcount structure
307 Repairing cluster 1 refcount=1 reference=0
308 Repairing cluster 2 refcount=1 reference=0
311 backing_file_offset 0x0
312 backing_file_size 0x0
317 l1_table_offset 0x30000
318 refcount_table_offset 0x80000
319 refcount_table_clusters 1
322 incompatible_features []
323 compatible_features []
324 autoclear_features []
333 read 131072/131072 bytes at offset 0
334 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
335 No errors were found on the image.
337 === Testing backing file ===
339 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
340 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
341 wrote 131072/131072 bytes at offset 0
342 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343 read 131072/131072 bytes at offset 0
344 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
345 read 131072/131072 bytes at offset 0
346 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
347 No errors were found on the image.
349 === Testing invalid configurations ===
351 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
352 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
353 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
354 qemu-img: Unknown compatibility level 0.42
355 qemu-img: Invalid parameter 'foo'
356 qemu-img: Changing the cluster size is not supported
357 qemu-img: Changing the encryption flag is not supported
358 qemu-img: Cannot change preallocation mode
360 === Testing correct handling of unset value ===
362 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
365 qemu-img: Changing the cluster size is not supported
367 === Testing zero expansion on inactive clusters ===
369 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
370 wrote 131072/131072 bytes at offset 0
371 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
372 wrote 131072/131072 bytes at offset 0
373 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
374 No errors were found on the image.
375 read 131072/131072 bytes at offset 0
376 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
377 No errors were found on the image.
378 read 131072/131072 bytes at offset 0
379 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381 === Testing zero expansion on shared L2 table ===
383 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
384 wrote 131072/131072 bytes at offset 0
385 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
386 No errors were found on the image.
387 read 131072/131072 bytes at offset 0
388 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
389 No errors were found on the image.
390 read 131072/131072 bytes at offset 0
391 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393 === Testing zero expansion on backed image ===
395 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
396 wrote 131072/131072 bytes at offset 0
397 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
398 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
399 read 131072/131072 bytes at offset 0
400 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
401 wrote 65536/65536 bytes at offset 0
402 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
403 No errors were found on the image.
404 read 65536/65536 bytes at offset 0
405 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
406 read 65536/65536 bytes at offset 65536
407 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
409 === Testing zero expansion on backed inactive clusters ===
411 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
412 wrote 131072/131072 bytes at offset 0
413 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
415 wrote 65536/65536 bytes at offset 0
416 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
417 wrote 131072/131072 bytes at offset 0
418 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
419 No errors were found on the image.
420 read 131072/131072 bytes at offset 0
421 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
422 No errors were found on the image.
423 read 65536/65536 bytes at offset 0
424 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
425 read 65536/65536 bytes at offset 65536
426 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
428 === Testing zero expansion on backed image with shared L2 table ===
430 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
431 wrote 131072/131072 bytes at offset 0
432 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
433 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
434 wrote 131072/131072 bytes at offset 0
435 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
436 No errors were found on the image.
437 read 131072/131072 bytes at offset 0
438 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
439 No errors were found on the image.
440 read 131072/131072 bytes at offset 0
441 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
443 === Testing preallocated zero expansion on full image ===
445 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
446 wrote 67108864/67108864 bytes at offset 0
447 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
448 wrote 67108864/67108864 bytes at offset 0
449 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
450 No errors were found on the image.
451 read 67108864/67108864 bytes at offset 0
452 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
454 === Testing progress report without snapshot ===
456 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
457 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
458 wrote 65536/65536 bytes at offset 0
459 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
460 wrote 65536/65536 bytes at offset 1073741824
461 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
462 wrote 65536/65536 bytes at offset 2147483648
463 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
464 wrote 65536/65536 bytes at offset 3221225472
465 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
466 (0.00/100%)
\r (12.50/100%)
\r (25.00/100%)
\r (37.50/100%)
\r (50.00/100%)
\r (62.50/100%)
\r (75.00/100%)
\r (87.50/100%)
\r (100.00/100%)
\r (100.00/100%)
467 No errors were found on the image.
469 === Testing progress report with snapshot ===
471 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
472 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
473 wrote 65536/65536 bytes at offset 0
474 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
475 wrote 65536/65536 bytes at offset 1073741824
476 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
477 wrote 65536/65536 bytes at offset 2147483648
478 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
479 wrote 65536/65536 bytes at offset 3221225472
480 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
481 (0.00/100%)
\r (6.25/100%)
\r (12.50/100%)
\r (18.75/100%)
\r (25.00/100%)
\r (31.25/100%)
\r (37.50/100%)
\r (43.75/100%)
\r (50.00/100%)
\r (56.25/100%)
\r (62.50/100%)
\r (68.75/100%)
\r (75.00/100%)
\r (81.25/100%)
\r (87.50/100%)
\r (93.75/100%)
\r (100.00/100%)
\r (100.00/100%)
482 No errors were found on the image.
484 === Testing version downgrade with external data file ===
486 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
487 qemu-img: Cannot downgrade an image with a data file
488 image: TEST_DIR/t.IMGFMT
490 virtual size: 64 MiB (67108864 bytes)
492 Format specific information:
494 lazy refcounts: false
496 data file: TEST_DIR/t.IMGFMT.data
499 No errors were found on the image.
501 === Try changing the external data file ===
503 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
504 qemu-img: data-file can only be set for images that use an external data file
506 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
507 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Could not open 'foo': No such file or directory
508 image: TEST_DIR/t.IMGFMT
510 virtual size: 64 MiB (67108864 bytes)
512 Format specific information:
514 lazy refcounts: false
520 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': 'data-file' is required for this image
521 image: TEST_DIR/t.IMGFMT
523 virtual size: 64 MiB (67108864 bytes)
525 Format specific information:
527 lazy refcounts: false
532 === Clearing and setting data-file-raw ===
534 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
535 image: TEST_DIR/t.IMGFMT
537 virtual size: 64 MiB (67108864 bytes)
539 Format specific information:
541 lazy refcounts: false
543 data file: TEST_DIR/t.IMGFMT.data
546 No errors were found on the image.
547 image: TEST_DIR/t.IMGFMT
549 virtual size: 64 MiB (67108864 bytes)
551 Format specific information:
553 lazy refcounts: false
555 data file: TEST_DIR/t.IMGFMT.data
558 No errors were found on the image.
559 qemu-img: data-file-raw cannot be set on existing images
560 image: TEST_DIR/t.IMGFMT
562 virtual size: 64 MiB (67108864 bytes)
564 Format specific information:
566 lazy refcounts: false
568 data file: TEST_DIR/t.IMGFMT.data
571 No errors were found on the image.