xref: /openbmc/qemu/tests/qemu-iotests/061.out (revision 2822c1b6)
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)
60magic                     0x514649fb
61version                   3
62backing_file_offset       0x0
63backing_file_size         0x0
64cluster_bits              16
65size                      67108864
66crypt_method              0
67l1_size                   1
68l1_table_offset           0x30000
69refcount_table_offset     0x10000
70refcount_table_clusters   1
71nb_snapshots              0
72snapshot_offset           0x0
73incompatible_features     0x1
74compatible_features       0x1
75autoclear_features        0x0
76refcount_order            4
77header_length             104
78
79ERROR cluster 5 refcount=0 reference=1
80ERROR cluster 6 refcount=0 reference=1
81Rebuilding refcount structure
82Repairing cluster 1 refcount=1 reference=0
83Repairing cluster 2 refcount=1 reference=0
84magic                     0x514649fb
85version                   2
86backing_file_offset       0x0
87backing_file_size         0x0
88cluster_bits              16
89size                      67108864
90crypt_method              0
91l1_size                   1
92l1_table_offset           0x30000
93refcount_table_offset     0x80000
94refcount_table_clusters   1
95nb_snapshots              0
96snapshot_offset           0x0
97incompatible_features     0x0
98compatible_features       0x0
99autoclear_features        0x0
100refcount_order            4
101header_length             72
102
103Header extension:
104magic                     0x6803f857
105length                    144
106data                      <binary>
107
108read 131072/131072 bytes at offset 0
109128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
110No errors were found on the image.
111
112=== Testing version downgrade with unknown compat/autoclear flags ===
113
114Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
115magic                     0x514649fb
116version                   3
117backing_file_offset       0x0
118backing_file_size         0x0
119cluster_bits              16
120size                      67108864
121crypt_method              0
122l1_size                   1
123l1_table_offset           0x30000
124refcount_table_offset     0x10000
125refcount_table_clusters   1
126nb_snapshots              0
127snapshot_offset           0x0
128incompatible_features     0x0
129compatible_features       0x40000000000
130autoclear_features        0x40000000000
131refcount_order            4
132header_length             104
133
134magic                     0x514649fb
135version                   2
136backing_file_offset       0x0
137backing_file_size         0x0
138cluster_bits              16
139size                      67108864
140crypt_method              0
141l1_size                   1
142l1_table_offset           0x30000
143refcount_table_offset     0x10000
144refcount_table_clusters   1
145nb_snapshots              0
146snapshot_offset           0x0
147incompatible_features     0x0
148compatible_features       0x0
149autoclear_features        0x0
150refcount_order            4
151header_length             72
152
153Header extension:
154magic                     0x6803f857
155length                    144
156data                      <binary>
157
158No errors were found on the image.
159
160=== Testing version upgrade and resize ===
161
162Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
163wrote 65536/65536 bytes at offset 44040192
16464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
165magic                     0x514649fb
166version                   2
167backing_file_offset       0x0
168backing_file_size         0x0
169cluster_bits              16
170size                      67108864
171crypt_method              0
172l1_size                   1
173l1_table_offset           0x30000
174refcount_table_offset     0x10000
175refcount_table_clusters   1
176nb_snapshots              0
177snapshot_offset           0x0
178incompatible_features     0x0
179compatible_features       0x0
180autoclear_features        0x0
181refcount_order            4
182header_length             72
183
184magic                     0x514649fb
185version                   3
186backing_file_offset       0x0
187backing_file_size         0x0
188cluster_bits              16
189size                      134217728
190crypt_method              0
191l1_size                   1
192l1_table_offset           0x30000
193refcount_table_offset     0x10000
194refcount_table_clusters   1
195nb_snapshots              0
196snapshot_offset           0x0
197incompatible_features     0x0
198compatible_features       0x1
199autoclear_features        0x0
200refcount_order            4
201header_length             104
202
203Header extension:
204magic                     0x6803f857
205length                    144
206data                      <binary>
207
208read 65536/65536 bytes at offset 44040192
20964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
210No errors were found on the image.
211
212=== Testing dirty lazy_refcounts=off ===
213
214Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
215wrote 131072/131072 bytes at offset 0
216128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
217magic                     0x514649fb
218version                   3
219backing_file_offset       0x0
220backing_file_size         0x0
221cluster_bits              16
222size                      67108864
223crypt_method              0
224l1_size                   1
225l1_table_offset           0x30000
226refcount_table_offset     0x10000
227refcount_table_clusters   1
228nb_snapshots              0
229snapshot_offset           0x0
230incompatible_features     0x1
231compatible_features       0x1
232autoclear_features        0x0
233refcount_order            4
234header_length             104
235
236ERROR cluster 5 refcount=0 reference=1
237ERROR cluster 6 refcount=0 reference=1
238Rebuilding refcount structure
239Repairing cluster 1 refcount=1 reference=0
240Repairing cluster 2 refcount=1 reference=0
241magic                     0x514649fb
242version                   3
243backing_file_offset       0x0
244backing_file_size         0x0
245cluster_bits              16
246size                      67108864
247crypt_method              0
248l1_size                   1
249l1_table_offset           0x30000
250refcount_table_offset     0x80000
251refcount_table_clusters   1
252nb_snapshots              0
253snapshot_offset           0x0
254incompatible_features     0x0
255compatible_features       0x0
256autoclear_features        0x0
257refcount_order            4
258header_length             104
259
260Header extension:
261magic                     0x6803f857
262length                    144
263data                      <binary>
264
265read 131072/131072 bytes at offset 0
266128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
267No errors were found on the image.
268
269=== Testing backing file ===
270
271Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
272Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
273wrote 131072/131072 bytes at offset 0
274128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
275read 131072/131072 bytes at offset 0
276128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
277read 131072/131072 bytes at offset 0
278128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
279No errors were found on the image.
280
281=== Testing invalid configurations ===
282
283Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
284Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
285qemu-img: Error while amending options: Invalid argument
286Lazy refcounts only supported with compatibility level 1.1 and above (use compat=1.1 or greater)
287qemu-img: Error while amending options: Invalid argument
288Unknown compatibility level 0.42.
289qemu-img: Error while amending options: Invalid argument
290qemu-img: Invalid parameter 'foo'
291qemu-img: Invalid options for file format 'qcow2'
292Changing the cluster size is not supported.
293qemu-img: Error while amending options: Operation not supported
294Changing the encryption flag is not supported.
295qemu-img: Error while amending options: Operation not supported
296Cannot change preallocation mode.
297qemu-img: Error while amending options: Operation not supported
298
299=== Testing correct handling of unset value ===
300
301Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
302Should work:
303Should not work:
304Changing the cluster size is not supported.
305qemu-img: Error while amending options: Operation not supported
306
307=== Testing zero expansion on inactive clusters ===
308
309Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
310wrote 131072/131072 bytes at offset 0
311128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
312wrote 131072/131072 bytes at offset 0
313128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
314No errors were found on the image.
315read 131072/131072 bytes at offset 0
316128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
317No errors were found on the image.
318read 131072/131072 bytes at offset 0
319128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
320
321=== Testing zero expansion on shared L2 table ===
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)
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)
329No errors were found on the image.
330read 131072/131072 bytes at offset 0
331128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
332
333=== Testing zero expansion on backed image ===
334
335Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
336wrote 131072/131072 bytes at offset 0
337128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
338Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
339read 131072/131072 bytes at offset 0
340128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
341wrote 65536/65536 bytes at offset 0
34264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
343No errors were found on the image.
344read 65536/65536 bytes at offset 0
34564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
346read 65536/65536 bytes at offset 65536
34764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
348
349=== Testing zero expansion on backed inactive clusters ===
350
351Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
352wrote 131072/131072 bytes at offset 0
353128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
354Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
355wrote 65536/65536 bytes at offset 0
35664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
357wrote 131072/131072 bytes at offset 0
358128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
359No errors were found on the image.
360read 131072/131072 bytes at offset 0
361128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
362No errors were found on the image.
363read 65536/65536 bytes at offset 0
36464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
365read 65536/65536 bytes at offset 65536
36664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
367
368=== Testing zero expansion on backed image with shared L2 table ===
369
370Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
371wrote 131072/131072 bytes at offset 0
372128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
373Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
374wrote 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 131072/131072 bytes at offset 0
378128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
379No errors were found on the image.
380read 131072/131072 bytes at offset 0
381128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
382
383=== Testing preallocated zero expansion on full image ===
384
385Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
386wrote 67108864/67108864 bytes at offset 0
38764 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
388wrote 67108864/67108864 bytes at offset 0
38964 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
390No errors were found on the image.
391read 67108864/67108864 bytes at offset 0
39264 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393
394=== Testing progress report without snapshot ===
395
396Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
397Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file='TEST_DIR/t.IMGFMT.base'
398wrote 65536/65536 bytes at offset 0
39964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
400wrote 65536/65536 bytes at offset 1073741824
40164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
402wrote 65536/65536 bytes at offset 2147483648
40364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
404wrote 65536/65536 bytes at offset 3221225472
40564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
406    (0.00/100%)
407    (12.50/100%)
408    (25.00/100%)
409    (37.50/100%)
410    (50.00/100%)
411    (62.50/100%)
412    (75.00/100%)
413    (87.50/100%)
414    (100.00/100%)
415    (100.00/100%)
416No errors were found on the image.
417
418=== Testing progress report with snapshot ===
419
420Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
421Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file='TEST_DIR/t.IMGFMT.base'
422wrote 65536/65536 bytes at offset 0
42364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
424wrote 65536/65536 bytes at offset 1073741824
42564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
426wrote 65536/65536 bytes at offset 2147483648
42764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
428wrote 65536/65536 bytes at offset 3221225472
42964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
430    (0.00/100%)
431    (6.25/100%)
432    (12.50/100%)
433    (18.75/100%)
434    (25.00/100%)
435    (31.25/100%)
436    (37.50/100%)
437    (43.75/100%)
438    (50.00/100%)
439    (56.25/100%)
440    (62.50/100%)
441    (68.75/100%)
442    (75.00/100%)
443    (81.25/100%)
444    (87.50/100%)
445    (93.75/100%)
446    (100.00/100%)
447    (100.00/100%)
448No errors were found on the image.
449*** done
450