xref: /openbmc/qemu/tests/qemu-iotests/171.out (revision 709395f8)
1QA output created by 171
2
3== test 'offset' option ==
4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
5
6write to image
7wrote 3584/3584 bytes at offset 0
83.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
9
10read the image
11read 3584/3584 bytes at offset 0
123.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
13
14check that offset is respected
15000001fe:  00 00 0a 0a  ....
16read 4/4 bytes at offset 510
174 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18
19write before image boundary
20wrote 1/1 bytes at offset 3583
211 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22
23write across image boundary
24write failed: Input/output error
25
26write at image boundary
27write failed: Input/output error
28
29write after image boundary
30write failed: Input/output error
31
32writev before/after image boundary
33writev failed: Input/output error
34
35read before image boundary
36read 1/1 bytes at offset 3583
371 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38
39read across image boundary
40read failed: Input/output error
41
42read at image boundary
43read failed: Input/output error
44
45read after image boundary
46read failed: Input/output error
47
48readv before/after image boundary
49readv failed: Input/output error
50
51fill image with pattern
52wrote 4096/4096 bytes at offset 0
534 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54
55write zeroes and check
56wrote 512/512 bytes at offset 0
57512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58000001fe:  0a 0a 00 00  ....
59read 4/4 bytes at offset 510
604 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61
62write zeroes across image boundary
63write failed: Input/output error
64
65write zeroes at image boundary and check
66wrote 2/2 bytes at offset 3582
672 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6800000ffe:  00 00  ..
69read 2/2 bytes at offset 4094
702 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
71read failed: Input/output error
72
73fill image with pattern
74wrote 4096/4096 bytes at offset 0
754 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
76
77discard and check
78discard 512/512 bytes at offset 0
79512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
80000001fe:  0a 0a 00 00  ....
81read 4/4 bytes at offset 510
824 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
83
84discard across image boundary
85discard failed: Input/output error
86
87discard at image boundary and check
88discard 2/2 bytes at offset 3582
892 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
9000000ffe:  00 00  ..
91read 2/2 bytes at offset 4094
922 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93read failed: Input/output error
94
95== test 'offset' and 'size' options ==
96Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
97
98write to image
99wrote 2048/2048 bytes at offset 0
1002 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
101
102read the image
103read 2048/2048 bytes at offset 0
1042 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105
106check that offset is respected
107000001fe:  00 00 0a 0a  ....
108read 4/4 bytes at offset 510
1094 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
110
111write before image boundary
112wrote 1/1 bytes at offset 2047
1131 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
114
115write across image boundary
116write failed: Input/output error
117
118write at image boundary
119write failed: Input/output error
120
121write after image boundary
122write failed: Input/output error
123
124writev before/after image boundary
125writev failed: Input/output error
126
127read before image boundary
128read 1/1 bytes at offset 2047
1291 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
130
131read across image boundary
132read failed: Input/output error
133
134read at image boundary
135read failed: Input/output error
136
137read after image boundary
138read failed: Input/output error
139
140readv before/after image boundary
141readv failed: Input/output error
142
143fill image with pattern
144wrote 4096/4096 bytes at offset 0
1454 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
146
147write zeroes and check
148wrote 512/512 bytes at offset 0
149512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
150000001fe:  0a 0a 00 00  ....
151read 4/4 bytes at offset 510
1524 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153
154write zeroes across image boundary
155write failed: Input/output error
156
157write zeroes at image boundary and check
158wrote 2/2 bytes at offset 2046
1592 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
160000009fe:  00 00  ..
161read 2/2 bytes at offset 2558
1622 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16300000a00:  0a 0a  ..
164read 2/2 bytes at offset 2560
1652 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
166
167fill image with pattern
168wrote 4096/4096 bytes at offset 0
1694 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170
171discard and check
172discard 512/512 bytes at offset 0
173512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
174000001fe:  0a 0a 00 00  ....
175read 4/4 bytes at offset 510
1764 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
177
178discard across image boundary
179discard failed: Input/output error
180
181discard at image boundary and check
182discard 2/2 bytes at offset 2046
1832 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
184000009fe:  00 00  ..
185read 2/2 bytes at offset 2558
1862 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18700000a00:  0a 0a  ..
188read 2/2 bytes at offset 2560
1892 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
190
191== test misaligned 'offset' ==
192Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
193
194write to image
195wrote 2048/2048 bytes at offset 0
1962 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
197
198read the image
199read 2048/2048 bytes at offset 0
2002 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201
202check that offset is respected
20300000008:  00 00 0a 0a  ....
204read 4/4 bytes at offset 8
2054 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
206
207write before image boundary
208wrote 1/1 bytes at offset 2047
2091 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
210
211write across image boundary
212write failed: Input/output error
213
214write at image boundary
215write failed: Input/output error
216
217write after image boundary
218write failed: Input/output error
219
220writev before/after image boundary
221writev failed: Input/output error
222
223read before image boundary
224read 1/1 bytes at offset 2047
2251 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
226
227read across image boundary
228read failed: Input/output error
229
230read at image boundary
231read failed: Input/output error
232
233read after image boundary
234read failed: Input/output error
235
236readv before/after image boundary
237readv failed: Input/output error
238
239fill image with pattern
240wrote 4096/4096 bytes at offset 0
2414 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
242
243write zeroes and check
244wrote 512/512 bytes at offset 0
245512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24600000008:  0a 0a 00 00  ....
247read 4/4 bytes at offset 8
2484 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
249
250write zeroes across image boundary
251write failed: Input/output error
252
253write zeroes at image boundary and check
254wrote 2/2 bytes at offset 2046
2552 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
25600000808:  00 00  ..
257read 2/2 bytes at offset 2056
2582 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2590000080a:  0a 0a  ..
260read 2/2 bytes at offset 2058
2612 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
262
263fill image with pattern
264wrote 4096/4096 bytes at offset 0
2654 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
266
267discard and check
268discard 512/512 bytes at offset 0
269512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
27000000008:  0a 0a 00 00  ....
271read 4/4 bytes at offset 8
2724 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
273
274discard across image boundary
275discard failed: Input/output error
276
277discard at image boundary and check
278discard 2/2 bytes at offset 2046
2792 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28000000808:  00 00  ..
281read 2/2 bytes at offset 2056
2822 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2830000080a:  0a 0a  ..
284read 2/2 bytes at offset 2058
2852 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
286
287== test reopen ==
288Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
289wrote 512/512 bytes at offset 0
290512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
291wrote 1/1 bytes at offset 511
2921 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
293write failed: Input/output error
294wrote 1024/1024 bytes at offset 0
2951 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
296wrote 1/1 bytes at offset 1023
2971 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
298write failed: Input/output error
299checking boundaries
300000001fe:  00 00 0a 0a  ....
301read 4/4 bytes at offset 510
3024 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
303000003fe:  0a 0a 00 00  ....
304read 4/4 bytes at offset 1022
3054 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
306000005fe:  00 00 0a 0a  ....
307read 4/4 bytes at offset 1534
3084 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
309000009fe:  0a 0a 00 00  ....
310read 4/4 bytes at offset 2558
3114 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
312
313*** done
314