xref: /openbmc/qemu/tests/qemu-iotests/061.out (revision 98979cdc)
1QA output created by 061
2
3=== Testing version downgrade with zero expansion ===
4
5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6wrote 131072/131072 bytes at offset 0
7128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8magic                     0x514649fb
9version                   3
10backing_file_offset       0x0
11backing_file_size         0x0
12cluster_bits              16
13size                      67108864
14crypt_method              0
15l1_size                   1
16l1_table_offset           0x30000
17refcount_table_offset     0x10000
18refcount_table_clusters   1
19nb_snapshots              0
20snapshot_offset           0x0
21incompatible_features     0x0
22compatible_features       0x1
23autoclear_features        0x0
24refcount_order            4
25header_length             104
26
27Header extension:
28magic                     0x6803f857
29length                    144
30data                      <binary>
31
32magic                     0x514649fb
33version                   2
34backing_file_offset       0x0
35backing_file_size         0x0
36cluster_bits              16
37size                      67108864
38crypt_method              0
39l1_size                   1
40l1_table_offset           0x30000
41refcount_table_offset     0x10000
42refcount_table_clusters   1
43nb_snapshots              0
44snapshot_offset           0x0
45incompatible_features     0x0
46compatible_features       0x0
47autoclear_features        0x0
48refcount_order            4
49header_length             72
50
51read 131072/131072 bytes at offset 0
52128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53No errors were found on the image.
54
55=== Testing dirty version downgrade ===
56
57Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
58wrote 131072/131072 bytes at offset 0
59128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60./common.rc: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
61    exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
62else
63    exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
64fi )
65magic                     0x514649fb
66version                   3
67backing_file_offset       0x0
68backing_file_size         0x0
69cluster_bits              16
70size                      67108864
71crypt_method              0
72l1_size                   1
73l1_table_offset           0x30000
74refcount_table_offset     0x10000
75refcount_table_clusters   1
76nb_snapshots              0
77snapshot_offset           0x0
78incompatible_features     0x1
79compatible_features       0x1
80autoclear_features        0x0
81refcount_order            4
82header_length             104
83
84Header extension:
85magic                     0x6803f857
86length                    144
87data                      <binary>
88
89ERROR cluster 5 refcount=0 reference=1
90ERROR cluster 6 refcount=0 reference=1
91Rebuilding refcount structure
92Repairing cluster 1 refcount=1 reference=0
93Repairing cluster 2 refcount=1 reference=0
94magic                     0x514649fb
95version                   2
96backing_file_offset       0x0
97backing_file_size         0x0
98cluster_bits              16
99size                      67108864
100crypt_method              0
101l1_size                   1
102l1_table_offset           0x30000
103refcount_table_offset     0x80000
104refcount_table_clusters   1
105nb_snapshots              0
106snapshot_offset           0x0
107incompatible_features     0x0
108compatible_features       0x0
109autoclear_features        0x0
110refcount_order            4
111header_length             72
112
113read 131072/131072 bytes at offset 0
114128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115No errors were found on the image.
116
117=== Testing version downgrade with unknown compat/autoclear flags ===
118
119Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
120magic                     0x514649fb
121version                   3
122backing_file_offset       0x0
123backing_file_size         0x0
124cluster_bits              16
125size                      67108864
126crypt_method              0
127l1_size                   1
128l1_table_offset           0x30000
129refcount_table_offset     0x10000
130refcount_table_clusters   1
131nb_snapshots              0
132snapshot_offset           0x0
133incompatible_features     0x0
134compatible_features       0x40000000000
135autoclear_features        0x40000000000
136refcount_order            4
137header_length             104
138
139Header extension:
140magic                     0x6803f857
141length                    144
142data                      <binary>
143
144magic                     0x514649fb
145version                   2
146backing_file_offset       0x0
147backing_file_size         0x0
148cluster_bits              16
149size                      67108864
150crypt_method              0
151l1_size                   1
152l1_table_offset           0x30000
153refcount_table_offset     0x10000
154refcount_table_clusters   1
155nb_snapshots              0
156snapshot_offset           0x0
157incompatible_features     0x0
158compatible_features       0x0
159autoclear_features        0x0
160refcount_order            4
161header_length             72
162
163No errors were found on the image.
164
165=== Testing version upgrade and resize ===
166
167Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
168wrote 65536/65536 bytes at offset 44040192
16964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170magic                     0x514649fb
171version                   2
172backing_file_offset       0x0
173backing_file_size         0x0
174cluster_bits              16
175size                      67108864
176crypt_method              0
177l1_size                   1
178l1_table_offset           0x30000
179refcount_table_offset     0x10000
180refcount_table_clusters   1
181nb_snapshots              0
182snapshot_offset           0x0
183incompatible_features     0x0
184compatible_features       0x0
185autoclear_features        0x0
186refcount_order            4
187header_length             72
188
189magic                     0x514649fb
190version                   3
191backing_file_offset       0x0
192backing_file_size         0x0
193cluster_bits              16
194size                      134217728
195crypt_method              0
196l1_size                   1
197l1_table_offset           0x30000
198refcount_table_offset     0x10000
199refcount_table_clusters   1
200nb_snapshots              0
201snapshot_offset           0x0
202incompatible_features     0x0
203compatible_features       0x1
204autoclear_features        0x0
205refcount_order            4
206header_length             104
207
208Header extension:
209magic                     0x6803f857
210length                    144
211data                      <binary>
212
213read 65536/65536 bytes at offset 44040192
21464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
215No errors were found on the image.
216
217=== Testing dirty lazy_refcounts=off ===
218
219Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
220wrote 131072/131072 bytes at offset 0
221128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
222./common.rc: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
223    exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
224else
225    exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
226fi )
227magic                     0x514649fb
228version                   3
229backing_file_offset       0x0
230backing_file_size         0x0
231cluster_bits              16
232size                      67108864
233crypt_method              0
234l1_size                   1
235l1_table_offset           0x30000
236refcount_table_offset     0x10000
237refcount_table_clusters   1
238nb_snapshots              0
239snapshot_offset           0x0
240incompatible_features     0x1
241compatible_features       0x1
242autoclear_features        0x0
243refcount_order            4
244header_length             104
245
246Header extension:
247magic                     0x6803f857
248length                    144
249data                      <binary>
250
251ERROR cluster 5 refcount=0 reference=1
252ERROR cluster 6 refcount=0 reference=1
253Rebuilding refcount structure
254Repairing cluster 1 refcount=1 reference=0
255Repairing cluster 2 refcount=1 reference=0
256magic                     0x514649fb
257version                   3
258backing_file_offset       0x0
259backing_file_size         0x0
260cluster_bits              16
261size                      67108864
262crypt_method              0
263l1_size                   1
264l1_table_offset           0x30000
265refcount_table_offset     0x80000
266refcount_table_clusters   1
267nb_snapshots              0
268snapshot_offset           0x0
269incompatible_features     0x0
270compatible_features       0x0
271autoclear_features        0x0
272refcount_order            4
273header_length             104
274
275Header extension:
276magic                     0x6803f857
277length                    144
278data                      <binary>
279
280read 131072/131072 bytes at offset 0
281128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282No errors were found on the image.
283
284=== Testing backing file ===
285
286Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
287Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
288wrote 131072/131072 bytes at offset 0
289128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
290read 131072/131072 bytes at offset 0
291128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
292read 131072/131072 bytes at offset 0
293128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
294No errors were found on the image.
295
296=== Testing invalid configurations ===
297
298Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
299qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
300qemu-img: Error while amending options: Invalid argument
301qemu-img: Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
302qemu-img: Error while amending options: Invalid argument
303qemu-img: Unknown compatibility level 0.42
304qemu-img: Error while amending options: Invalid argument
305qemu-img: Invalid parameter 'foo'
306qemu-img: Changing the cluster size is not supported
307qemu-img: Error while amending options: Operation not supported
308qemu-img: Changing the encryption flag is not supported
309qemu-img: Error while amending options: Operation not supported
310qemu-img: Cannot change preallocation mode
311qemu-img: Error while amending options: Operation not supported
312
313=== Testing correct handling of unset value ===
314
315Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
316Should work:
317Should not work:
318qemu-img: Changing the cluster size is not supported
319qemu-img: Error while amending options: Operation not supported
320
321=== Testing zero expansion on inactive clusters ===
322
323Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
324wrote 131072/131072 bytes at offset 0
325128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
326wrote 131072/131072 bytes at offset 0
327128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
328No errors were found on the image.
329read 131072/131072 bytes at offset 0
330128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
331No errors were found on the image.
332read 131072/131072 bytes at offset 0
333128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
334
335=== Testing zero expansion on shared L2 table ===
336
337Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
338wrote 131072/131072 bytes at offset 0
339128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
340No errors were found on the image.
341read 131072/131072 bytes at offset 0
342128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343No errors were found on the image.
344read 131072/131072 bytes at offset 0
345128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
346
347=== Testing zero expansion on backed image ===
348
349Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
350wrote 131072/131072 bytes at offset 0
351128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
352Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
353read 131072/131072 bytes at offset 0
354128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
355wrote 65536/65536 bytes at offset 0
35664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357No errors were found on the image.
358read 65536/65536 bytes at offset 0
35964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
360read 65536/65536 bytes at offset 65536
36164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
362
363=== Testing zero expansion on backed inactive clusters ===
364
365Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
366wrote 131072/131072 bytes at offset 0
367128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
368Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
369wrote 65536/65536 bytes at offset 0
37064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
371wrote 131072/131072 bytes at offset 0
372128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
373No errors were found on the image.
374read 131072/131072 bytes at offset 0
375128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
376No errors were found on the image.
377read 65536/65536 bytes at offset 0
37864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
379read 65536/65536 bytes at offset 65536
38064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381
382=== Testing zero expansion on backed image with shared L2 table ===
383
384Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
385wrote 131072/131072 bytes at offset 0
386128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
387Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
388wrote 131072/131072 bytes at offset 0
389128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
390No errors were found on the image.
391read 131072/131072 bytes at offset 0
392128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393No errors were found on the image.
394read 131072/131072 bytes at offset 0
395128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
396
397=== Testing preallocated zero expansion on full image ===
398
399Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
400wrote 67108864/67108864 bytes at offset 0
40164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
402wrote 67108864/67108864 bytes at offset 0
40364 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
404No errors were found on the image.
405read 67108864/67108864 bytes at offset 0
40664 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
407
408=== Testing progress report without snapshot ===
409
410Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
411Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
412wrote 65536/65536 bytes at offset 0
41364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414wrote 65536/65536 bytes at offset 1073741824
41564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
416wrote 65536/65536 bytes at offset 2147483648
41764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
418wrote 65536/65536 bytes at offset 3221225472
41964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
420    (0.00/100%)
421    (12.50/100%)
422    (25.00/100%)
423    (37.50/100%)
424    (50.00/100%)
425    (62.50/100%)
426    (75.00/100%)
427    (87.50/100%)
428    (100.00/100%)
429    (100.00/100%)
430No errors were found on the image.
431
432=== Testing progress report with snapshot ===
433
434Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
435Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
436wrote 65536/65536 bytes at offset 0
43764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
438wrote 65536/65536 bytes at offset 1073741824
43964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
440wrote 65536/65536 bytes at offset 2147483648
44164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
442wrote 65536/65536 bytes at offset 3221225472
44364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
444    (0.00/100%)
445    (6.25/100%)
446    (12.50/100%)
447    (18.75/100%)
448    (25.00/100%)
449    (31.25/100%)
450    (37.50/100%)
451    (43.75/100%)
452    (50.00/100%)
453    (56.25/100%)
454    (62.50/100%)
455    (68.75/100%)
456    (75.00/100%)
457    (81.25/100%)
458    (87.50/100%)
459    (93.75/100%)
460    (100.00/100%)
461    (100.00/100%)
462No errors were found on the image.
463*** done
464