xref: /openbmc/qemu/tests/qemu-iotests/061.out (revision 10500ce2)
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'
291Changing the cluster size is not supported.
292qemu-img: Error while amending options: Operation not supported
293Changing the encryption flag is not supported.
294qemu-img: Error while amending options: Operation not supported
295Cannot change preallocation mode.
296qemu-img: Error while amending options: Operation not supported
297
298=== Testing correct handling of unset value ===
299
300Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
301Should work:
302Should not work:
303Changing the cluster size is not supported.
304qemu-img: Error while amending options: Operation not supported
305
306=== Testing zero expansion on inactive clusters ===
307
308Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
309wrote 131072/131072 bytes at offset 0
310128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
311wrote 131072/131072 bytes at offset 0
312128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
313No errors were found on the image.
314read 131072/131072 bytes at offset 0
315128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
316No errors were found on the image.
317read 131072/131072 bytes at offset 0
318128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
319
320=== Testing zero expansion on shared L2 table ===
321
322Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
323wrote 131072/131072 bytes at offset 0
324128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
325No errors were found on the image.
326read 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)
331
332=== Testing zero expansion on backed image ===
333
334Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
335wrote 131072/131072 bytes at offset 0
336128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
337Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
338read 131072/131072 bytes at offset 0
339128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
340wrote 65536/65536 bytes at offset 0
34164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
342No errors were found on the image.
343read 65536/65536 bytes at offset 0
34464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
345read 65536/65536 bytes at offset 65536
34664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
347
348=== Testing zero expansion on backed inactive clusters ===
349
350Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
351wrote 131072/131072 bytes at offset 0
352128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
353Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
354wrote 65536/65536 bytes at offset 0
35564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
356wrote 131072/131072 bytes at offset 0
357128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
358No errors were found on the image.
359read 131072/131072 bytes at offset 0
360128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
361No errors were found on the image.
362read 65536/65536 bytes at offset 0
36364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
364read 65536/65536 bytes at offset 65536
36564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
366
367=== Testing zero expansion on backed image with shared L2 table ===
368
369Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
370wrote 131072/131072 bytes at offset 0
371128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
372Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file='TEST_DIR/t.IMGFMT.base'
373wrote 131072/131072 bytes at offset 0
374128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
375No errors were found on the image.
376read 131072/131072 bytes at offset 0
377128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
378No errors were found on the image.
379read 131072/131072 bytes at offset 0
380128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381
382=== Testing preallocated zero expansion on full image ===
383
384Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
385wrote 67108864/67108864 bytes at offset 0
38664 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
387wrote 67108864/67108864 bytes at offset 0
38864 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
389No errors were found on the image.
390read 67108864/67108864 bytes at offset 0
39164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
392
393=== Testing progress report without snapshot ===
394
395Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
396Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file='TEST_DIR/t.IMGFMT.base'
397wrote 65536/65536 bytes at offset 0
39864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
399wrote 65536/65536 bytes at offset 1073741824
40064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
401wrote 65536/65536 bytes at offset 2147483648
40264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
403wrote 65536/65536 bytes at offset 3221225472
40464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
405    (0.00/100%)
406    (12.50/100%)
407    (25.00/100%)
408    (37.50/100%)
409    (50.00/100%)
410    (62.50/100%)
411    (75.00/100%)
412    (87.50/100%)
413    (100.00/100%)
414    (100.00/100%)
415No errors were found on the image.
416
417=== Testing progress report with snapshot ===
418
419Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=4294967296
420Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 backing_file='TEST_DIR/t.IMGFMT.base'
421wrote 65536/65536 bytes at offset 0
42264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
423wrote 65536/65536 bytes at offset 1073741824
42464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
425wrote 65536/65536 bytes at offset 2147483648
42664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
427wrote 65536/65536 bytes at offset 3221225472
42864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
429    (0.00/100%)
430    (6.25/100%)
431    (12.50/100%)
432    (18.75/100%)
433    (25.00/100%)
434    (31.25/100%)
435    (37.50/100%)
436    (43.75/100%)
437    (50.00/100%)
438    (56.25/100%)
439    (62.50/100%)
440    (68.75/100%)
441    (75.00/100%)
442    (81.25/100%)
443    (87.50/100%)
444    (93.75/100%)
445    (100.00/100%)
446    (100.00/100%)
447No errors were found on the image.
448*** done
449