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: Error while amending options: Invalid argument
362 qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
363 qemu-img: Error while amending options: Invalid argument
364 qemu-img: Unknown compatibility level 0.42
365 qemu-img: Error while amending options: Invalid argument
366 qemu-img: Invalid parameter 'foo'
367 qemu-img: Changing the cluster size is not supported
368 qemu-img: Error while amending options: Operation not supported
369 qemu-img: Changing the encryption flag is not supported
370 qemu-img: Error while amending options: Operation not supported
371 qemu-img: Cannot change preallocation mode
372 qemu-img: Error while amending options: Operation not supported
374 === Testing correct handling of unset value ===
376 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
379 qemu-img: Changing the cluster size is not supported
380 qemu-img: Error while amending options: Operation not supported
382 === Testing zero expansion on inactive clusters ===
384 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
385 wrote 131072/131072 bytes at offset 0
386 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
387 wrote 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)
392 No errors were found on the image.
393 read 131072/131072 bytes at offset 0
394 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
396 === Testing zero expansion on shared L2 table ===
398 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
399 wrote 131072/131072 bytes at offset 0
400 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
401 No errors were found on the image.
402 read 131072/131072 bytes at offset 0
403 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
404 No errors were found on the image.
405 read 131072/131072 bytes at offset 0
406 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
408 === Testing zero expansion on backed image ===
410 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
411 wrote 131072/131072 bytes at offset 0
412 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
413 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
414 read 131072/131072 bytes at offset 0
415 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
416 wrote 65536/65536 bytes at offset 0
417 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
418 No errors were found on the image.
419 read 65536/65536 bytes at offset 0
420 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
421 read 65536/65536 bytes at offset 65536
422 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
424 === Testing zero expansion on backed inactive clusters ===
426 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
427 wrote 131072/131072 bytes at offset 0
428 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
429 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
430 wrote 65536/65536 bytes at offset 0
431 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
432 wrote 131072/131072 bytes at offset 0
433 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
434 No errors were found on the image.
435 read 131072/131072 bytes at offset 0
436 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
437 No errors were found on the image.
438 read 65536/65536 bytes at offset 0
439 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
440 read 65536/65536 bytes at offset 65536
441 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
443 === Testing zero expansion on backed image with shared L2 table ===
445 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
446 wrote 131072/131072 bytes at offset 0
447 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
448 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
449 wrote 131072/131072 bytes at offset 0
450 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
451 No errors were found on the image.
452 read 131072/131072 bytes at offset 0
453 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
454 No errors were found on the image.
455 read 131072/131072 bytes at offset 0
456 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
458 === Testing preallocated zero expansion on full image ===
460 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
461 wrote 67108864/67108864 bytes at offset 0
462 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
463 wrote 67108864/67108864 bytes at offset 0
464 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
465 No errors were found on the image.
466 read 67108864/67108864 bytes at offset 0
467 64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
469 === Testing progress report without 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 (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%)
482 No errors were found on the image.
484 === Testing progress report with snapshot ===
486 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
487 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
488 wrote 65536/65536 bytes at offset 0
489 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
490 wrote 65536/65536 bytes at offset 1073741824
491 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
492 wrote 65536/65536 bytes at offset 2147483648
493 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
494 wrote 65536/65536 bytes at offset 3221225472
495 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
496 (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%)
497 No errors were found on the image.