xref: /openbmc/qemu/tests/qemu-iotests/061.out (revision 61b9251a)
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
27magic                     0x514649fb
28version                   2
29backing_file_offset       0x0
30backing_file_size         0x0
31cluster_bits              16
32size                      67108864
33crypt_method              0
34l1_size                   1
35l1_table_offset           0x30000
36refcount_table_offset     0x10000
37refcount_table_clusters   1
38nb_snapshots              0
39snapshot_offset           0x0
40incompatible_features     0x0
41compatible_features       0x0
42autoclear_features        0x0
43refcount_order            4
44header_length             72
45
46Header extension:
47magic                     0x6803f857
48length                    144
49data                      <binary>
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.config: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
61    exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
62else
63    exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
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
84ERROR cluster 5 refcount=0 reference=1
85ERROR cluster 6 refcount=0 reference=1
86Rebuilding refcount structure
87Repairing cluster 1 refcount=1 reference=0
88Repairing cluster 2 refcount=1 reference=0
89magic                     0x514649fb
90version                   2
91backing_file_offset       0x0
92backing_file_size         0x0
93cluster_bits              16
94size                      67108864
95crypt_method              0
96l1_size                   1
97l1_table_offset           0x30000
98refcount_table_offset     0x80000
99refcount_table_clusters   1
100nb_snapshots              0
101snapshot_offset           0x0
102incompatible_features     0x0
103compatible_features       0x0
104autoclear_features        0x0
105refcount_order            4
106header_length             72
107
108Header extension:
109magic                     0x6803f857
110length                    144
111data                      <binary>
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
139magic                     0x514649fb
140version                   2
141backing_file_offset       0x0
142backing_file_size         0x0
143cluster_bits              16
144size                      67108864
145crypt_method              0
146l1_size                   1
147l1_table_offset           0x30000
148refcount_table_offset     0x10000
149refcount_table_clusters   1
150nb_snapshots              0
151snapshot_offset           0x0
152incompatible_features     0x0
153compatible_features       0x0
154autoclear_features        0x0
155refcount_order            4
156header_length             72
157
158Header extension:
159magic                     0x6803f857
160length                    144
161data                      <binary>
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.config: Killed                  ( if [ "${VALGRIND_QEMU}" == "y" ]; then
223    exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
224else
225    exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@";
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
246ERROR cluster 5 refcount=0 reference=1
247ERROR cluster 6 refcount=0 reference=1
248Rebuilding refcount structure
249Repairing cluster 1 refcount=1 reference=0
250Repairing cluster 2 refcount=1 reference=0
251magic                     0x514649fb
252version                   3
253backing_file_offset       0x0
254backing_file_size         0x0
255cluster_bits              16
256size                      67108864
257crypt_method              0
258l1_size                   1
259l1_table_offset           0x30000
260refcount_table_offset     0x80000
261refcount_table_clusters   1
262nb_snapshots              0
263snapshot_offset           0x0
264incompatible_features     0x0
265compatible_features       0x0
266autoclear_features        0x0
267refcount_order            4
268header_length             104
269
270Header extension:
271magic                     0x6803f857
272length                    144
273data                      <binary>
274
275read 131072/131072 bytes at offset 0
276128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
277No errors were found on the image.
278
279=== Testing backing file ===
280
281Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
282Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
283wrote 131072/131072 bytes at offset 0
284128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
285read 131072/131072 bytes at offset 0
286128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
287read 131072/131072 bytes at offset 0
288128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
289No errors were found on the image.
290
291=== Testing invalid configurations ===
292
293Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
294Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
295qemu-img: Error while amending options: Invalid argument
296Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
297qemu-img: Error while amending options: Invalid argument
298Unknown compatibility level 0.42.
299qemu-img: Error while amending options: Invalid argument
300qemu-img: Invalid parameter 'foo'
301Changing the cluster size is not supported.
302qemu-img: Error while amending options: Operation not supported
303Changing the encryption flag is not supported.
304qemu-img: Error while amending options: Operation not supported
305Cannot change preallocation mode.
306qemu-img: Error while amending options: Operation not supported
307
308=== Testing correct handling of unset value ===
309
310Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
311Should work:
312Should not work:
313Changing the cluster size is not supported.
314qemu-img: Error while amending options: Operation not supported
315
316=== Testing zero expansion on inactive clusters ===
317
318Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
319wrote 131072/131072 bytes at offset 0
320128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
321wrote 131072/131072 bytes at offset 0
322128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
323No errors were found on the image.
324read 131072/131072 bytes at offset 0
325128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
326No errors were found on the image.
327read 131072/131072 bytes at offset 0
328128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
329
330=== Testing zero expansion on shared L2 table ===
331
332Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
333wrote 131072/131072 bytes at offset 0
334128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
335No errors were found on the image.
336read 131072/131072 bytes at offset 0
337128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
338No errors were found on the image.
339read 131072/131072 bytes at offset 0
340128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
341
342=== Testing zero expansion on backed image ===
343
344Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
345wrote 131072/131072 bytes at offset 0
346128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
347Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
348read 131072/131072 bytes at offset 0
349128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
350wrote 65536/65536 bytes at offset 0
35164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
352No errors were found on the image.
353read 65536/65536 bytes at offset 0
35464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
355read 65536/65536 bytes at offset 65536
35664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357
358=== Testing zero expansion on backed inactive clusters ===
359
360Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
361wrote 131072/131072 bytes at offset 0
362128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
363Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
364wrote 65536/65536 bytes at offset 0
36564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
366wrote 131072/131072 bytes at offset 0
367128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
368No errors were found on the image.
369read 131072/131072 bytes at offset 0
370128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
371No errors were found on the image.
372read 65536/65536 bytes at offset 0
37364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
374read 65536/65536 bytes at offset 65536
37564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
376
377=== Testing zero expansion on backed image with shared L2 table ===
378
379Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
380wrote 131072/131072 bytes at offset 0
381128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
382Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
383wrote 131072/131072 bytes at offset 0
384128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
385No errors were found on the image.
386read 131072/131072 bytes at offset 0
387128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
388No errors were found on the image.
389read 131072/131072 bytes at offset 0
390128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
391
392=== Testing preallocated zero expansion on full image ===
393
394Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
395wrote 67108864/67108864 bytes at offset 0
39664 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
397wrote 67108864/67108864 bytes at offset 0
39864 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
399No errors were found on the image.
400read 67108864/67108864 bytes at offset 0
40164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
402
403=== Testing progress report without snapshot ===
404
405Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
406Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
407wrote 65536/65536 bytes at offset 0
40864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
409wrote 65536/65536 bytes at offset 1073741824
41064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
411wrote 65536/65536 bytes at offset 2147483648
41264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
413wrote 65536/65536 bytes at offset 3221225472
41464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
415    (0.00/100%)
416    (12.50/100%)
417    (25.00/100%)
418    (37.50/100%)
419    (50.00/100%)
420    (62.50/100%)
421    (75.00/100%)
422    (87.50/100%)
423    (100.00/100%)
424    (100.00/100%)
425No errors were found on the image.
426
427=== Testing progress report with snapshot ===
428
429Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
430Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file=TEST_DIR/t.IMGFMT.base
431wrote 65536/65536 bytes at offset 0
43264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
433wrote 65536/65536 bytes at offset 1073741824
43464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
435wrote 65536/65536 bytes at offset 2147483648
43664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
437wrote 65536/65536 bytes at offset 3221225472
43864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
439    (0.00/100%)
440    (6.25/100%)
441    (12.50/100%)
442    (18.75/100%)
443    (25.00/100%)
444    (31.25/100%)
445    (37.50/100%)
446    (43.75/100%)
447    (50.00/100%)
448    (56.25/100%)
449    (62.50/100%)
450    (68.75/100%)
451    (75.00/100%)
452    (81.25/100%)
453    (87.50/100%)
454    (93.75/100%)
455    (100.00/100%)
456    (100.00/100%)
457No errors were found on the image.
458*** done
459