Remove empty dummy file "loaders.cache" during uninstall (bug #1766841)
[qemu/ar7.git] / tests / qemu-iotests / 061.out
blobe857ef9a7d34f9b62ad2398dc070622939aa6b78
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)
8 magic                     0x514649fb
9 version                   3
10 backing_file_offset       0x0
11 backing_file_size         0x0
12 cluster_bits              16
13 size                      67108864
14 crypt_method              0
15 l1_size                   1
16 l1_table_offset           0x30000
17 refcount_table_offset     0x10000
18 refcount_table_clusters   1
19 nb_snapshots              0
20 snapshot_offset           0x0
21 incompatible_features     0x0
22 compatible_features       0x1
23 autoclear_features        0x0
24 refcount_order            4
25 header_length             104
27 Header extension:
28 magic                     0x6803f857
29 length                    144
30 data                      <binary>
32 magic                     0x514649fb
33 version                   2
34 backing_file_offset       0x0
35 backing_file_size         0x0
36 cluster_bits              16
37 size                      67108864
38 crypt_method              0
39 l1_size                   1
40 l1_table_offset           0x30000
41 refcount_table_offset     0x10000
42 refcount_table_clusters   1
43 nb_snapshots              0
44 snapshot_offset           0x0
45 incompatible_features     0x0
46 compatible_features       0x0
47 autoclear_features        0x0
48 refcount_order            4
49 header_length             72
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)
66 magic                     0x514649fb
67 version                   3
68 backing_file_offset       0x0
69 backing_file_size         0x0
70 cluster_bits              16
71 size                      67108864
72 crypt_method              0
73 l1_size                   1
74 l1_table_offset           0x30000
75 refcount_table_offset     0x10000
76 refcount_table_clusters   1
77 nb_snapshots              0
78 snapshot_offset           0x0
79 incompatible_features     0x0
80 compatible_features       0x1
81 autoclear_features        0x0
82 refcount_order            4
83 header_length             104
85 Header extension:
86 magic                     0x6803f857
87 length                    144
88 data                      <binary>
90 magic                     0x514649fb
91 version                   2
92 backing_file_offset       0x0
93 backing_file_size         0x0
94 cluster_bits              16
95 size                      67108864
96 crypt_method              0
97 l1_size                   1
98 l1_table_offset           0x30000
99 refcount_table_offset     0x10000
100 refcount_table_clusters   1
101 nb_snapshots              0
102 snapshot_offset           0x0
103 incompatible_features     0x0
104 compatible_features       0x0
105 autoclear_features        0x0
106 refcount_order            4
107 header_length             72
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 "$@";
123 else
124     exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
125 fi )
126 magic                     0x514649fb
127 version                   3
128 backing_file_offset       0x0
129 backing_file_size         0x0
130 cluster_bits              16
131 size                      67108864
132 crypt_method              0
133 l1_size                   1
134 l1_table_offset           0x30000
135 refcount_table_offset     0x10000
136 refcount_table_clusters   1
137 nb_snapshots              0
138 snapshot_offset           0x0
139 incompatible_features     0x1
140 compatible_features       0x1
141 autoclear_features        0x0
142 refcount_order            4
143 header_length             104
145 Header extension:
146 magic                     0x6803f857
147 length                    144
148 data                      <binary>
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
155 magic                     0x514649fb
156 version                   2
157 backing_file_offset       0x0
158 backing_file_size         0x0
159 cluster_bits              16
160 size                      67108864
161 crypt_method              0
162 l1_size                   1
163 l1_table_offset           0x30000
164 refcount_table_offset     0x80000
165 refcount_table_clusters   1
166 nb_snapshots              0
167 snapshot_offset           0x0
168 incompatible_features     0x0
169 compatible_features       0x0
170 autoclear_features        0x0
171 refcount_order            4
172 header_length             72
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
181 magic                     0x514649fb
182 version                   3
183 backing_file_offset       0x0
184 backing_file_size         0x0
185 cluster_bits              16
186 size                      67108864
187 crypt_method              0
188 l1_size                   1
189 l1_table_offset           0x30000
190 refcount_table_offset     0x10000
191 refcount_table_clusters   1
192 nb_snapshots              0
193 snapshot_offset           0x0
194 incompatible_features     0x0
195 compatible_features       0x40000000000
196 autoclear_features        0x40000000000
197 refcount_order            4
198 header_length             104
200 Header extension:
201 magic                     0x6803f857
202 length                    144
203 data                      <binary>
205 magic                     0x514649fb
206 version                   2
207 backing_file_offset       0x0
208 backing_file_size         0x0
209 cluster_bits              16
210 size                      67108864
211 crypt_method              0
212 l1_size                   1
213 l1_table_offset           0x30000
214 refcount_table_offset     0x10000
215 refcount_table_clusters   1
216 nb_snapshots              0
217 snapshot_offset           0x0
218 incompatible_features     0x0
219 compatible_features       0x0
220 autoclear_features        0x0
221 refcount_order            4
222 header_length             72
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)
231 magic                     0x514649fb
232 version                   2
233 backing_file_offset       0x0
234 backing_file_size         0x0
235 cluster_bits              16
236 size                      67108864
237 crypt_method              0
238 l1_size                   1
239 l1_table_offset           0x30000
240 refcount_table_offset     0x10000
241 refcount_table_clusters   1
242 nb_snapshots              0
243 snapshot_offset           0x0
244 incompatible_features     0x0
245 compatible_features       0x0
246 autoclear_features        0x0
247 refcount_order            4
248 header_length             72
250 magic                     0x514649fb
251 version                   3
252 backing_file_offset       0x0
253 backing_file_size         0x0
254 cluster_bits              16
255 size                      134217728
256 crypt_method              0
257 l1_size                   1
258 l1_table_offset           0x30000
259 refcount_table_offset     0x10000
260 refcount_table_clusters   1
261 nb_snapshots              0
262 snapshot_offset           0x0
263 incompatible_features     0x0
264 compatible_features       0x1
265 autoclear_features        0x0
266 refcount_order            4
267 header_length             104
269 Header extension:
270 magic                     0x6803f857
271 length                    144
272 data                      <binary>
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 "$@";
285 else
286     exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
287 fi )
288 magic                     0x514649fb
289 version                   3
290 backing_file_offset       0x0
291 backing_file_size         0x0
292 cluster_bits              16
293 size                      67108864
294 crypt_method              0
295 l1_size                   1
296 l1_table_offset           0x30000
297 refcount_table_offset     0x10000
298 refcount_table_clusters   1
299 nb_snapshots              0
300 snapshot_offset           0x0
301 incompatible_features     0x1
302 compatible_features       0x1
303 autoclear_features        0x0
304 refcount_order            4
305 header_length             104
307 Header extension:
308 magic                     0x6803f857
309 length                    144
310 data                      <binary>
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
317 magic                     0x514649fb
318 version                   3
319 backing_file_offset       0x0
320 backing_file_size         0x0
321 cluster_bits              16
322 size                      67108864
323 crypt_method              0
324 l1_size                   1
325 l1_table_offset           0x30000
326 refcount_table_offset     0x80000
327 refcount_table_clusters   1
328 nb_snapshots              0
329 snapshot_offset           0x0
330 incompatible_features     0x0
331 compatible_features       0x0
332 autoclear_features        0x0
333 refcount_order            4
334 header_length             104
336 Header extension:
337 magic                     0x6803f857
338 length                    144
339 data                      <binary>
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
377 Should work:
378 Should not work:
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.
498 *** done