xref: /openbmc/qemu/tests/qemu-iotests/122.out (revision 89854803)
1QA output created by 122
2Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
3wrote 67108864/67108864 bytes at offset 0
464 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5
6=== Check allocation status regression with -B ===
7
8Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
9wrote 3145728/3145728 bytes at offset 0
103 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
11Offset          Length          File
120               0x300000        TEST_DIR/t.IMGFMT.orig
130x300000        0x3d00000       TEST_DIR/t.IMGFMT.base
14
15=== Check that zero clusters are kept in overlay ===
16
17Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
18wrote 3145728/3145728 bytes at offset 0
193 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20read 3145728/3145728 bytes at offset 0
213 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22read 3145728/3145728 bytes at offset 0
233 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24wrote 3145728/3145728 bytes at offset 0
253 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
26read 3145728/3145728 bytes at offset 0
273 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28read 3145728/3145728 bytes at offset 0
293 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
30
31=== Concatenate multiple source images ===
32
33Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=4194304
34Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=4194304
35Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=4194304
36wrote 65536/65536 bytes at offset 0
3764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38wrote 65536/65536 bytes at offset 0
3964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40wrote 65536/65536 bytes at offset 0
4164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
42Offset          Length          File
430               0x10000         TEST_DIR/t.IMGFMT
440x400000        0x10000         TEST_DIR/t.IMGFMT
450x800000        0x10000         TEST_DIR/t.IMGFMT
46read 65536/65536 bytes at offset 0
4764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48read 65536/65536 bytes at offset 4194304
4964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
50read 65536/65536 bytes at offset 8388608
5164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
52[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true},
53{ "start": 65536, "length": 4128768, "depth": 0, "zero": true, "data": false},
54{ "start": 4194304, "length": 65536, "depth": 0, "zero": false, "data": true},
55{ "start": 4259840, "length": 4128768, "depth": 0, "zero": true, "data": false},
56{ "start": 8388608, "length": 65536, "depth": 0, "zero": false, "data": true},
57{ "start": 8454144, "length": 4128768, "depth": 0, "zero": true, "data": false}]
58read 65536/65536 bytes at offset 0
5964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60read 65536/65536 bytes at offset 4194304
6164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62read 65536/65536 bytes at offset 8388608
6364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images
65qemu-img: Having a backing file for the target makes no sense when concatenating multiple input images
66
67=== Compression with misaligned allocations and image sizes ===
68
69Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=1047552
70Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=1047552
71wrote 16384/16384 bytes at offset 16384
7216 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
73wrote 133120/133120 bytes at offset 133120
74130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75wrote 1024/1024 bytes at offset 1046528
761 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
77wrote 1024/1024 bytes at offset 0
781 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
79[{ "start": 0, "length": 65536, "depth": 0, "zero": false, "data": true},
80{ "start": 65536, "length": 65536, "depth": 0, "zero": true, "data": false},
81{ "start": 131072, "length": 196608, "depth": 0, "zero": false, "data": true},
82{ "start": 327680, "length": 655360, "depth": 0, "zero": true, "data": false},
83{ "start": 983040, "length": 65536, "depth": 0, "zero": false, "data": true},
84{ "start": 1048576, "length": 1046528, "depth": 0, "zero": true, "data": false}]
85read 16384/16384 bytes at offset 0
8616 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
87read 16384/16384 bytes at offset 16384
8816 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
89read 100352/100352 bytes at offset 32768
9098 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91read 133120/133120 bytes at offset 133120
92130 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93read 780288/780288 bytes at offset 266240
94762 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
95read 1024/1024 bytes at offset 1046528
961 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
97read 1024/1024 bytes at offset 1047552
981 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
99read 1046528/1046528 bytes at offset 1048576
1001022 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
101
102=== Corrupted size field in compressed cluster descriptor ===
103
104Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=8388608
105wrote 2097152/2097152 bytes at offset 0
1062 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
107wrote 2097152/2097152 bytes at offset 2097152
1082 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
109read failed: Input/output error
110No errors were found on the image.
111read 4194304/4194304 bytes at offset 0
1124 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
113wrote 4194304/4194304 bytes at offset 4194304
1144 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115read 4194304/4194304 bytes at offset 0
1164 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117ERROR cluster 6 refcount=1 reference=3
118ERROR cluster 7 refcount=1 reference=2
119Repairing cluster 6 refcount=1 reference=3
120Repairing cluster 7 refcount=1 reference=2
121Repairing OFLAG_COPIED data cluster: l2_entry=8000000000c00000 refcount=3
122Repairing OFLAG_COPIED data cluster: l2_entry=8000000000e00000 refcount=2
123The following inconsistencies were found and repaired:
124
125    0 leaked clusters
126    4 corruptions
127
128Double checking the fixed image now...
129No errors were found on the image.
130read 4194304/4194304 bytes at offset 0
1314 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
132read 4194304/4194304 bytes at offset 4194304
1334 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
134
135=== Full allocation with -S 0 ===
136
137Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
138wrote 3145728/3145728 bytes at offset 0
1393 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
140wrote 3145728/3145728 bytes at offset 3145728
1413 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
142
143convert -S 0:
144read 3145728/3145728 bytes at offset 0
1453 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
146read 63963136/63963136 bytes at offset 3145728
14761 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
149
150convert -c -S 0:
151read 3145728/3145728 bytes at offset 0
1523 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153read 63963136/63963136 bytes at offset 3145728
15461 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
155[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
156Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
157wrote 33554432/33554432 bytes at offset 0
15832 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
159Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
160wrote 3145728/3145728 bytes at offset 0
1613 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
162
163convert -S 0 with source backing file:
164read 3145728/3145728 bytes at offset 0
1653 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
166read 30408704/30408704 bytes at offset 3145728
16729 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
168read 33554432/33554432 bytes at offset 33554432
16932 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
171
172convert -c -S 0 with source backing file:
173read 3145728/3145728 bytes at offset 0
1743 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
175read 30408704/30408704 bytes at offset 3145728
17629 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
177read 33554432/33554432 bytes at offset 33554432
17832 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
179[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
180
181convert -S 0 -B ...
182read 3145728/3145728 bytes at offset 0
1833 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
184read 30408704/30408704 bytes at offset 3145728
18529 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
186read 33554432/33554432 bytes at offset 33554432
18732 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
188[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": OFFSET}]
189
190convert -c -S 0 -B ...
191read 3145728/3145728 bytes at offset 0
1923 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
193read 30408704/30408704 bytes at offset 3145728
19429 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
195read 33554432/33554432 bytes at offset 33554432
19632 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
197[{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true}]
198
199=== Non-zero -S ===
200
201Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
202wrote 65536/65536 bytes at offset 0
20364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
204wrote 1024/1024 bytes at offset 0
2051 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
206wrote 1024/1024 bytes at offset 8192
2071 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
208wrote 1024/1024 bytes at offset 17408
2091 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
210
211convert -S 4k
212[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
213{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false},
214{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
215{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
216{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
217{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
218
219convert -c -S 4k
220[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true},
221{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false},
222{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true},
223{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
224{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true},
225{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
226
227convert -S 8k
228[{ "start": 0, "length": 9216, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
229{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
230{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true, "offset": OFFSET},
231{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
232
233convert -c -S 8k
234[{ "start": 0, "length": 1024, "depth": 0, "zero": false, "data": true},
235{ "start": 1024, "length": 7168, "depth": 0, "zero": true, "data": false},
236{ "start": 8192, "length": 1024, "depth": 0, "zero": false, "data": true},
237{ "start": 9216, "length": 8192, "depth": 0, "zero": true, "data": false},
238{ "start": 17408, "length": 1024, "depth": 0, "zero": false, "data": true},
239{ "start": 18432, "length": 67090432, "depth": 0, "zero": true, "data": false}]
240*** done
241