xref: /openbmc/qemu/tests/qemu-iotests/060.out (revision 81b07353c5e7ae9ae9360c357b7b4732b1cb03b4)
1QA output created by 060
2
3=== Testing L2 reference into L1 ===
4
5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6ERROR cluster 3 refcount=1 reference=3
7
81 errors were found on the image.
9Data may be corrupted, or further writes to the image may corrupt it.
10incompatible_features     0x0
11qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
12write failed: Input/output error
13incompatible_features     0x2
14image: TEST_DIR/t.IMGFMT
15file format: IMGFMT
16virtual size: 64M (67108864 bytes)
17cluster_size: 65536
18Format specific information:
19    compat: 1.1
20    lazy refcounts: false
21    corrupt: true
22qemu-io: can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
23read 512/512 bytes at offset 0
24512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
25
26=== Testing cluster data reference into refcount block ===
27
28Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
29ERROR refcount block 0 refcount=2
30ERROR cluster 2 refcount=1 reference=2
31
322 errors were found on the image.
33Data may be corrupted, or further writes to the image may corrupt it.
34incompatible_features     0x0
35qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
36write failed: Input/output error
37incompatible_features     0x2
38ERROR refcount block 0 refcount=2
39ERROR cluster 2 refcount=1 reference=2
40Rebuilding refcount structure
41Repairing cluster 1 refcount=1 reference=0
42Repairing cluster 2 refcount=2 reference=1
43The following inconsistencies were found and repaired:
44
45    0 leaked clusters
46    2 corruptions
47
48Double checking the fixed image now...
49No errors were found on the image.
50incompatible_features     0x0
51wrote 512/512 bytes at offset 0
52512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53incompatible_features     0x0
54
55=== Testing cluster data reference into inactive L2 table ===
56
57Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
58wrote 512/512 bytes at offset 0
59512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60wrote 512/512 bytes at offset 0
61512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62ERROR cluster 4 refcount=1 reference=2
63Leaked cluster 9 refcount=1 reference=0
64
651 errors were found on the image.
66Data may be corrupted, or further writes to the image may corrupt it.
67
681 leaked clusters were found on the image.
69This means waste of disk space, but no harm to data.
70incompatible_features     0x0
71qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
72write failed: Input/output error
73incompatible_features     0x2
74ERROR cluster 4 refcount=1 reference=2
75Leaked cluster 9 refcount=1 reference=0
76Repairing cluster 4 refcount=1 reference=2
77Repairing cluster 9 refcount=1 reference=0
78Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
79The following inconsistencies were found and repaired:
80
81    1 leaked clusters
82    2 corruptions
83
84Double checking the fixed image now...
85No errors were found on the image.
86incompatible_features     0x0
87wrote 512/512 bytes at offset 0
88512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
89incompatible_features     0x0
90read 512/512 bytes at offset 0
91512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92No errors were found on the image.
93read 512/512 bytes at offset 0
94512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
95
96=== Testing overlap while COW is in flight ===
97
98Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
99wrote 65536/65536 bytes at offset 0
10064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
101wrote 65536/65536 bytes at offset 536870912
10264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103discard 65536/65536 bytes at offset 0
10464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
106blkdebug: Suspended request '0'
107write failed: Input/output error
108blkdebug: Resuming request '0'
109aio_write failed: No medium found
110
111=== Testing unallocated image header ===
112
113Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
114wrote 65536/65536 bytes at offset 0
11564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
116qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
117write failed: Input/output error
118
119=== Testing unaligned L1 entry ===
120
121Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
122wrote 65536/65536 bytes at offset 0
12364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
124qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
125read failed: Input/output error
126Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
127wrote 65536/65536 bytes at offset 0
12864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
129qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
130qemu-img: Error while amending options: Input/output error
131
132=== Testing unaligned L2 entry ===
133
134Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
135wrote 65536/65536 bytes at offset 0
13664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
137qcow2: Marking image as corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
138read failed: Input/output error
139
140=== Testing unaligned pre-allocated zero cluster ===
141
142Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
143wrote 65536/65536 bytes at offset 0
14464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
145qcow2: Marking image as corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
146qemu-img: Error while amending options: Input/output error
147
148=== Testing unaligned reftable entry ===
149
150Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
151qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
152write failed: Input/output error
153
154=== Testing non-fatal corruption on freeing ===
155
156Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
157wrote 65536/65536 bytes at offset 0
15864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
159qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
160discard 65536/65536 bytes at offset 0
16164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
162
163=== Testing read-only corruption report ===
164
165Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
166wrote 65536/65536 bytes at offset 0
16764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
168qcow2: Image is corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
169read failed: Input/output error
170read failed: Input/output error
171
172=== Testing non-fatal and then fatal corruption report ===
173
174Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
175wrote 131072/131072 bytes at offset 0
176128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
177qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
178qcow2: Marking image as corrupt: Data cluster offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
179discard 65536/65536 bytes at offset 0
18064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
181read failed: Input/output error
182*** done
183