xref: /openbmc/qemu/tests/qemu-iotests/024.out (revision 2df1eb27)
1QA output created by 024
2Creating backing file
3
4Formatting 'TEST_DIR/t.IMGFMT.base_old', fmt=IMGFMT size=1073741824
5=== IO: pattern 0x11
6wrote 65536/65536 bytes at offset 0
764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8wrote 65536/65536 bytes at offset 131072
964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10wrote 65536/65536 bytes at offset 262144
1164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12wrote 65536/65536 bytes at offset 393216
1364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14wrote 65536/65536 bytes at offset 524288
1564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16wrote 65536/65536 bytes at offset 655360
1764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18wrote 65536/65536 bytes at offset 786432
1964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20wrote 65536/65536 bytes at offset 917504
2164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22Creating new backing file
23
24Formatting 'TEST_DIR/t.IMGFMT.base_new', fmt=IMGFMT size=1073741824
25=== IO: pattern 0x22
26wrote 131072/131072 bytes at offset 0
27128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28wrote 131072/131072 bytes at offset 262144
29128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
30wrote 131072/131072 bytes at offset 524288
31128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
32wrote 131072/131072 bytes at offset 786432
33128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
34Creating COW image
35
36Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 backing_file=TEST_DIR/t.IMGFMT.base_old backing_fmt=IMGFMT
37=== IO: pattern 0x33
38wrote 262144/262144 bytes at offset 0
39256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40=== IO: pattern 0x33
41wrote 262144/262144 bytes at offset 524288
42256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
43Read before the rebase to make sure everything is set up correctly
44
45=== IO: pattern 0x33
46read 65536/65536 bytes at offset 0
4764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48=== IO: pattern 0x33
49read 65536/65536 bytes at offset 65536
5064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51=== IO: pattern 0x33
52read 65536/65536 bytes at offset 131072
5364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54=== IO: pattern 0x33
55read 65536/65536 bytes at offset 196608
5664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
57=== IO: pattern 0x11
58read 65536/65536 bytes at offset 262144
5964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60=== IO: pattern 0x00
61read 65536/65536 bytes at offset 327680
6264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
63=== IO: pattern 0x11
64read 65536/65536 bytes at offset 393216
6564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66=== IO: pattern 0x00
67read 65536/65536 bytes at offset 458752
6864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
69=== IO: pattern 0x33
70read 65536/65536 bytes at offset 524288
7164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72=== IO: pattern 0x33
73read 65536/65536 bytes at offset 589824
7464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75=== IO: pattern 0x33
76read 65536/65536 bytes at offset 655360
7764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78=== IO: pattern 0x33
79read 65536/65536 bytes at offset 720896
8064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
81=== IO: pattern 0x11
82read 65536/65536 bytes at offset 786432
8364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
84=== IO: pattern 0x00
85read 65536/65536 bytes at offset 851968
8664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
87=== IO: pattern 0x11
88read 65536/65536 bytes at offset 917504
8964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
90=== IO: pattern 0x00
91read 65536/65536 bytes at offset 983040
9264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93
94Rebase and test again
95
96=== IO: pattern 0x33
97read 65536/65536 bytes at offset 0
9864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
99=== IO: pattern 0x33
100read 65536/65536 bytes at offset 65536
10164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
102=== IO: pattern 0x33
103read 65536/65536 bytes at offset 131072
10464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105=== IO: pattern 0x33
106read 65536/65536 bytes at offset 196608
10764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
108=== IO: pattern 0x11
109read 65536/65536 bytes at offset 262144
11064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111=== IO: pattern 0x00
112read 65536/65536 bytes at offset 327680
11364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
114=== IO: pattern 0x11
115read 65536/65536 bytes at offset 393216
11664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117=== IO: pattern 0x00
118read 65536/65536 bytes at offset 458752
11964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
120=== IO: pattern 0x33
121read 65536/65536 bytes at offset 524288
12264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
123=== IO: pattern 0x33
124read 65536/65536 bytes at offset 589824
12564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
126=== IO: pattern 0x33
127read 65536/65536 bytes at offset 655360
12864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
129=== IO: pattern 0x33
130read 65536/65536 bytes at offset 720896
13164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
132=== IO: pattern 0x11
133read 65536/65536 bytes at offset 786432
13464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
135=== IO: pattern 0x00
136read 65536/65536 bytes at offset 851968
13764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
138=== IO: pattern 0x11
139read 65536/65536 bytes at offset 917504
14064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
141=== IO: pattern 0x00
142read 65536/65536 bytes at offset 983040
14364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
144
145=== Test rebase in a subdirectory of the working directory ===
146
147Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=1048576
148Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=1048576
149Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=t.IMGFMT.base_old backing_fmt=IMGFMT
150
151wrote 131072/131072 bytes at offset 0
152128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153wrote 65536/65536 bytes at offset 196608
15464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
155wrote 131072/131072 bytes at offset 65536
156128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
157wrote 65536/65536 bytes at offset 196608
15864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
159
160backing file: t.IMGFMT.base_new (actual path: TEST_DIR/subdir/t.IMGFMT.base_new)
161
162read 65536/65536 bytes at offset 0
16364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164read 65536/65536 bytes at offset 65536
16564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
166read 65536/65536 bytes at offset 131072
16764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
168read 65536/65536 bytes at offset 196608
16964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170
171Offset          Length          File
1720               0x30000         TEST_DIR/subdir/t.IMGFMT
1730x30000         0x10000         TEST_DIR/subdir/t.IMGFMT.base_new
174
175=== Test rebase within one backing chain ===
176
177Creating backing chain
178
179Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=327680
180Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=262144 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
181Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=327680 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
182
183Fill backing files with data
184
185wrote 327680/327680 bytes at offset 0
186320 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
187wrote 262144/262144 bytes at offset 0
188256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
189
190Check the last cluster is zeroed in overlay before the rebase
191
192read 65536/65536 bytes at offset 262144
19364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
194
195Rebase onto another image in the same chain
196
197Verify that data is read the same before and after rebase
198
199read 262144/262144 bytes at offset 0
200256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201read 65536/65536 bytes at offset 262144
20264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
203
204
205=== Test rebase with different cluster sizes ===
206
207Creating backing chain
208
209Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=393216
210Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
211Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
212image: TEST_DIR/subdir/t.IMGFMT
213file format: IMGFMT
214virtual size: 384 KiB (393216 bytes)
215cluster_size: 131072
216backing file: TEST_DIR/subdir/t.IMGFMT.base_old
217backing file format: IMGFMT
218
219Fill backing files with data
220
221wrote 65536/65536 bytes at offset 65536
22264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
223wrote 65536/65536 bytes at offset 262144
22464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
225
226Rebase onto another image in the same chain
227
228Verify that data is read the same before and after rebase
229
230read 65536/65536 bytes at offset 0
23164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
232read 65536/65536 bytes at offset 65536
23364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
234read 131072/131072 bytes at offset 131072
235128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
236read 65536/65536 bytes at offset 262144
23764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
238read 65536/65536 bytes at offset 327680
23964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
240
241Verify that untouched cluster remains unallocated
242
243Offset          Length          File
2440               0x20000         TEST_DIR/subdir/t.IMGFMT
2450x40000         0x20000         TEST_DIR/subdir/t.IMGFMT
246
247*** done
248