xref: /openbmc/qemu/tests/qemu-iotests/108.out (revision cb8ded0f)
1QA output created by 108
2
3=== Repairing an image without any refcount table ===
4
5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6wrote 65536/65536 bytes at offset 0
764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8ERROR cluster 0 refcount=0 reference=1
9ERROR cluster 3 refcount=0 reference=1
10ERROR cluster 4 refcount=0 reference=1
11ERROR cluster 5 refcount=0 reference=1
12Rebuilding refcount structure
13The following inconsistencies were found and repaired:
14
15    0 leaked clusters
16    4 corruptions
17
18Double checking the fixed image now...
19No errors were found on the image.
20read 65536/65536 bytes at offset 0
2164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22
23=== Repairing unreferenced data cluster in new refblock area ===
24
25Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
26wrote 111104/111104 bytes at offset 0
27108.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28131072
29wrote 512/512 bytes at offset 131072
30512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
31read 512/512 bytes at offset 111104
32512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
33ERROR cluster 256 refcount=0 reference=1
34Rebuilding refcount structure
35Repairing cluster 1 refcount=1 reference=0
36Repairing cluster 2 refcount=1 reference=0
37The following inconsistencies were found and repaired:
38
39    0 leaked clusters
40    1 corruptions
41
42Double checking the fixed image now...
43No errors were found on the image.
44read 512/512 bytes at offset 111104
45512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46
47=== Repairing refblock beyond the image end ===
48
49
50--- Otherwise clean ---
51
52Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
53Repairing refcount block 1 is outside image
54The following inconsistencies were found and repaired:
55
56    0 leaked clusters
57    1 corruptions
58
59Double checking the fixed image now...
60No errors were found on the image.
61
62--- Refblock is unallocated ---
63
64Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
65Repairing refcount block 1 is outside image
66ERROR cluster 16 refcount=0 reference=1
67Rebuilding refcount structure
68Repairing cluster 1 refcount=1 reference=0
69Repairing cluster 2 refcount=1 reference=0
70Repairing cluster 16 refcount=1 reference=0
71The following inconsistencies were found and repaired:
72
73    0 leaked clusters
74    2 corruptions
75
76Double checking the fixed image now...
77No errors were found on the image.
78
79--- Signed overflow after the refblock ---
80
81Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
82Repairing refcount block 1 is outside image
83ERROR could not resize image: Invalid argument
84Rebuilding refcount structure
85Repairing cluster 1 refcount=1 reference=0
86Repairing cluster 2 refcount=1 reference=0
87The following inconsistencies were found and repaired:
88
89    0 leaked clusters
90    1 corruptions
91
92Double checking the fixed image now...
93No errors were found on the image.
94
95--- Unsigned overflow after the refblock ---
96
97Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
98Repairing refcount block 1 is outside image
99ERROR could not resize image: Invalid argument
100Rebuilding refcount structure
101Repairing cluster 1 refcount=1 reference=0
102Repairing cluster 2 refcount=1 reference=0
103The following inconsistencies were found and repaired:
104
105    0 leaked clusters
106    1 corruptions
107
108Double checking the fixed image now...
109No errors were found on the image.
110
111=== Check rebuilt reftable location ===
112
113--- Does the image size increase? ---
114
115Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
116wrote 65536/65536 bytes at offset 0
11764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
118
119ERROR cluster 0 refcount=0 reference=1
120Rebuilding refcount structure
121The following inconsistencies were found and repaired:
122
123    0 leaked clusters
124    1 corruptions
125
126Double checking the fixed image now...
127No errors were found on the image.
128
129OK: Image size did not change
130
131--- Will the reftable occupy a hole specifically left for it?  ---
132
133Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=9437184
134wrote 8388608/8388608 bytes at offset 0
1358 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
136discard 512/512 bytes at offset 0
137512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
138discard 1024/1024 bytes at offset 4096
1391 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
140
141ERROR cluster 0 refcount=0 reference=1
142Rebuilding refcount structure
143The following inconsistencies were found and repaired:
144
145    0 leaked clusters
146    1 corruptions
147
148Double checking the fixed image now...
149No errors were found on the image.
150
151OK: Reftable is where we expect it
152
153--- Rebuilding refcount structures on block devices ---
154
155{ "execute": "qmp_capabilities" }
156{"return": {}}
157{ "execute": "blockdev-create",
158       "arguments": {
159           "job-id": "create",
160           "options": {
161               "driver": "IMGFMT",
162               "file": "file",
163               "size": 67108864,
164               "cluster-size": 512
165           } } }
166{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "create"}}
167{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "create"}}
168{"return": {}}
169{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "create"}}
170{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "create"}}
171{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "create"}}
172{ "execute": "job-dismiss", "arguments": { "id": "create" } }
173{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "create"}}
174{"return": {}}
175{ "execute": "quit" }
176{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
177{"return": {}}
178
179wrote 65536/65536 bytes at offset 0
18064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
181
182ERROR cluster 0 refcount=0 reference=1
183Rebuilding refcount structure
184The following inconsistencies were found and repaired:
185
186    0 leaked clusters
187    1 corruptions
188
189Double checking the fixed image now...
190No errors were found on the image.
191*** done
192