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
34 backing_file_offset 0x0
40 l1_table_offset 0x30000
41 refcount_table_offset 0x10000
42 refcount_table_clusters 1
45 incompatible_features 0x0
46 compatible_features 0x0
47 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 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 0x0
80 compatible_features 0x1
81 autoclear_features 0x0
92 backing_file_offset 0x0
98 l1_table_offset 0x30000
99 refcount_table_offset 0x10000
100 refcount_table_clusters 1
103 incompatible_features 0x0
104 compatible_features 0x0
105 autoclear_features 0x0
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 ( if [ "${VALGRIND_QEMU}" == "y" ]; then
122 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
124 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
128 backing_file_offset 0x0
129 backing_file_size 0x0
134 l1_table_offset 0x30000
135 refcount_table_offset 0x10000
136 refcount_table_clusters 1
139 incompatible_features 0x1
140 compatible_features 0x1
141 autoclear_features 0x0
150 ERROR cluster 5 refcount=0 reference=1
151 ERROR cluster 6 refcount=0 reference=1
152 Rebuilding refcount structure
153 Repairing cluster 1 refcount=1 reference=0
154 Repairing cluster 2 refcount=1 reference=0
157 backing_file_offset 0x0
158 backing_file_size 0x0
163 l1_table_offset 0x30000
164 refcount_table_offset 0x80000
165 refcount_table_clusters 1
168 incompatible_features 0x0
169 compatible_features 0x0
170 autoclear_features 0x0
174 read 131072/131072 bytes at offset 0
175 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
176 No errors were found on the image.
178 === Testing version downgrade with unknown compat/autoclear flags ===
180 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
183 backing_file_offset 0x0
184 backing_file_size 0x0
189 l1_table_offset 0x30000
190 refcount_table_offset 0x10000
191 refcount_table_clusters 1
194 incompatible_features 0x0
195 compatible_features 0x40000000000
196 autoclear_features 0x40000000000
207 backing_file_offset 0x0
208 backing_file_size 0x0
213 l1_table_offset 0x30000
214 refcount_table_offset 0x10000
215 refcount_table_clusters 1
218 incompatible_features 0x0
219 compatible_features 0x0
220 autoclear_features 0x0
224 No errors were found on the image.
226 === Testing version upgrade and resize ===
228 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
229 wrote 65536/65536 bytes at offset 44040192
230 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
233 backing_file_offset 0x0
234 backing_file_size 0x0
239 l1_table_offset 0x30000
240 refcount_table_offset 0x10000
241 refcount_table_clusters 1
244 incompatible_features 0x0
245 compatible_features 0x0
246 autoclear_features 0x0
252 backing_file_offset 0x0
253 backing_file_size 0x0
258 l1_table_offset 0x30000
259 refcount_table_offset 0x10000
260 refcount_table_clusters 1
263 incompatible_features 0x0
264 compatible_features 0x1
265 autoclear_features 0x0
274 read 65536/65536 bytes at offset 44040192
275 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
276 No errors were found on the image.
278 === Testing dirty lazy_refcounts=off ===
280 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
281 wrote 131072/131072 bytes at offset 0
282 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
283 ./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
284 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
286 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
290 backing_file_offset 0x0
291 backing_file_size 0x0
296 l1_table_offset 0x30000
297 refcount_table_offset 0x10000
298 refcount_table_clusters 1
301 incompatible_features 0x1
302 compatible_features 0x1
303 autoclear_features 0x0
312 ERROR cluster 5 refcount=0 reference=1
313 ERROR cluster 6 refcount=0 reference=1
314 Rebuilding refcount structure
315 Repairing cluster 1 refcount=1 reference=0
316 Repairing cluster 2 refcount=1 reference=0
319 backing_file_offset 0x0
320 backing_file_size 0x0
325 l1_table_offset 0x30000
326 refcount_table_offset 0x80000
327 refcount_table_clusters 1
330 incompatible_features 0x0
331 compatible_features 0x0
332 autoclear_features 0x0
341 read 131072/131072 bytes at offset 0
342 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343 No errors were found on the image.
345 === Testing backing file ===
347 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
348 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
349 wrote 131072/131072 bytes at offset 0
350 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
351 read 131072/131072 bytes at offset 0
352 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
353 read 131072/131072 bytes at offset 0
354 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
355 No errors were found on the image.
357 === Testing invalid configurations ===
359 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
360 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
361 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
362 qemu-img: Unknown compatibility level 0.42
363 qemu-img: Invalid parameter 'foo'
364 qemu-img: Changing the cluster size is not supported
365 qemu-img: Changing the encryption flag is not supported
366 qemu-img: Cannot change preallocation mode
368 === Testing correct handling of unset value ===
370 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
373 qemu-img: Changing the cluster size is not supported
375 === Testing zero expansion on inactive clusters ===
377 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
378 wrote 131072/131072 bytes at offset 0
379 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
380 wrote 131072/131072 bytes at offset 0
381 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
382 No errors were found on the image.
383 read 131072/131072 bytes at offset 0
384 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
385 No errors were found on the image.
386 read 131072/131072 bytes at offset 0
387 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
389 === Testing zero expansion on shared L2 table ===
391 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
392 wrote 131072/131072 bytes at offset 0
393 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
394 No errors were found on the image.
395 read 131072/131072 bytes at offset 0
396 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
397 No errors were found on the image.
398 read 131072/131072 bytes at offset 0
399 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
401 === Testing zero expansion on backed image ===
403 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
404 wrote 131072/131072 bytes at offset 0
405 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
406 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
407 read 131072/131072 bytes at offset 0
408 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
409 wrote 65536/65536 bytes at offset 0
410 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
411 No errors were found on the image.
412 read 65536/65536 bytes at offset 0
413 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414 read 65536/65536 bytes at offset 65536
415 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
417 === Testing zero expansion on backed inactive clusters ===
419 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
420 wrote 131072/131072 bytes at offset 0
421 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
422 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
423 wrote 65536/65536 bytes at offset 0
424 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
425 wrote 131072/131072 bytes at offset 0
426 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
427 No errors were found on the image.
428 read 131072/131072 bytes at offset 0
429 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
430 No errors were found on the image.
431 read 65536/65536 bytes at offset 0
432 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
433 read 65536/65536 bytes at offset 65536
434 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
436 === Testing zero expansion on backed image with shared L2 table ===
438 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
439 wrote 131072/131072 bytes at offset 0
440 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
441 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
442 wrote 131072/131072 bytes at offset 0
443 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
444 No errors were found on the image.
445 read 131072/131072 bytes at offset 0
446 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
447 No errors were found on the image.
448 read 131072/131072 bytes at offset 0
449 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
451 === Testing preallocated zero expansion on full image ===
453 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
454 wrote 67108864/67108864 bytes at offset 0
455 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
456 wrote 67108864/67108864 bytes at offset 0
457 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
458 No errors were found on the image.
459 read 67108864/67108864 bytes at offset 0
460 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
462 === Testing progress report without snapshot ===
464 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
465 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
466 wrote 65536/65536 bytes at offset 0
467 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
468 wrote 65536/65536 bytes at offset 1073741824
469 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
470 wrote 65536/65536 bytes at offset 2147483648
471 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
472 wrote 65536/65536 bytes at offset 3221225472
473 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
474 (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%)
475 No errors were found on the image.
477 === Testing progress report with snapshot ===
479 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
480 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
481 wrote 65536/65536 bytes at offset 0
482 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
483 wrote 65536/65536 bytes at offset 1073741824
484 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
485 wrote 65536/65536 bytes at offset 2147483648
486 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
487 wrote 65536/65536 bytes at offset 3221225472
488 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
489 (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%)
490 No errors were found on the image.
492 === Testing version downgrade with external data file ===
494 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
495 qemu-img: Cannot downgrade an image with a data file
496 image: TEST_DIR/t.IMGFMT
498 virtual size: 64M (67108864 bytes)
500 Format specific information:
502 lazy refcounts: false
504 data file: TEST_DIR/t.IMGFMT.data
507 No errors were found on the image.
509 === Try changing the external data file ===
511 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
512 qemu-img: data-file can only be set for images that use an external data file
514 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
515 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Could not open 'foo': No such file or directory
516 image: TEST_DIR/t.IMGFMT
518 virtual size: 64M (67108864 bytes)
520 Format specific information:
522 lazy refcounts: false
528 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': 'data-file' is required for this image
529 image: TEST_DIR/t.IMGFMT
531 virtual size: 64M (67108864 bytes)
533 Format specific information:
535 lazy refcounts: false
540 === Clearing and setting data-file-raw ===
542 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data data_file_raw=on
543 image: TEST_DIR/t.IMGFMT
545 virtual size: 64M (67108864 bytes)
547 Format specific information:
549 lazy refcounts: false
551 data file: TEST_DIR/t.IMGFMT.data
554 No errors were found on the image.
555 image: TEST_DIR/t.IMGFMT
557 virtual size: 64M (67108864 bytes)
559 Format specific information:
561 lazy refcounts: false
563 data file: TEST_DIR/t.IMGFMT.data
566 No errors were found on the image.
567 qemu-img: data-file-raw cannot be set on existing images
568 image: TEST_DIR/t.IMGFMT
570 virtual size: 64M (67108864 bytes)
572 Format specific information:
574 lazy refcounts: false
576 data file: TEST_DIR/t.IMGFMT.data
579 No errors were found on the image.