xref: /openbmc/qemu/tests/qemu-iotests/060.out (revision 228aa992)
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.qcow2
15file format: qcow2
16virtual size: 64M (67108864 bytes)
17disk size: 196K
18cluster_size: 65536
19Format specific information:
20    compat: 1.1
21    lazy refcounts: false
22    corrupt: true
23qemu-io: can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
24read 512/512 bytes at offset 0
25512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
26
27=== Testing cluster data reference into refcount block ===
28
29Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
30ERROR refcount block 0 refcount=2
31ERROR cluster 2 refcount=1 reference=2
32
332 errors were found on the image.
34Data may be corrupted, or further writes to the image may corrupt it.
35incompatible_features     0x0
36qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
37write failed: Input/output error
38incompatible_features     0x2
39ERROR refcount block 0 refcount=2
40ERROR cluster 2 refcount=1 reference=2
41Rebuilding refcount structure
42Repairing cluster 1 refcount=1 reference=0
43Repairing cluster 2 refcount=2 reference=1
44The following inconsistencies were found and repaired:
45
46    0 leaked clusters
47    2 corruptions
48
49Double checking the fixed image now...
50No errors were found on the image.
51incompatible_features     0x0
52wrote 512/512 bytes at offset 0
53512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54incompatible_features     0x0
55
56=== Testing cluster data reference into inactive L2 table ===
57
58Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
59wrote 512/512 bytes at offset 0
60512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61wrote 512/512 bytes at offset 0
62512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
63ERROR cluster 4 refcount=1 reference=2
64Leaked cluster 9 refcount=1 reference=0
65
661 errors were found on the image.
67Data may be corrupted, or further writes to the image may corrupt it.
68
691 leaked clusters were found on the image.
70This means waste of disk space, but no harm to data.
71incompatible_features     0x0
72qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
73write failed: Input/output error
74incompatible_features     0x2
75ERROR cluster 4 refcount=1 reference=2
76Leaked cluster 9 refcount=1 reference=0
77Repairing cluster 4 refcount=1 reference=2
78Repairing cluster 9 refcount=1 reference=0
79Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
80The following inconsistencies were found and repaired:
81
82    1 leaked clusters
83    2 corruptions
84
85Double checking the fixed image now...
86No errors were found on the image.
87incompatible_features     0x0
88wrote 512/512 bytes at offset 0
89512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
90incompatible_features     0x0
91read 512/512 bytes at offset 0
92512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93No errors were found on the image.
94read 512/512 bytes at offset 0
95512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
96
97=== Testing overlap while COW is in flight ===
98
99Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
100wrote 65536/65536 bytes at offset 0
10164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
102wrote 65536/65536 bytes at offset 536870912
10364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
104discard 65536/65536 bytes at offset 0
10564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
106qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
107blkdebug: Suspended request '0'
108write failed: Input/output error
109blkdebug: Resuming request '0'
110aio_write failed: No medium found
111
112=== Testing unallocated image header ===
113
114Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
115wrote 65536/65536 bytes at offset 0
11664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
118write failed: Input/output error
119
120=== Testing unaligned L1 entry ===
121
122Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
123wrote 65536/65536 bytes at offset 0
12464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
125qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
126read failed: Input/output error
127
128=== Testing unaligned L2 entry ===
129
130Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
131wrote 65536/65536 bytes at offset 0
13264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
133qcow2: Marking image as corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
134read failed: Input/output error
135
136=== Testing unaligned reftable entry ===
137
138Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
139qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
140write failed: Input/output error
141
142=== Testing non-fatal corruption on freeing ===
143
144Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
145wrote 65536/65536 bytes at offset 0
14664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
147qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
148discard 65536/65536 bytes at offset 0
14964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
150
151=== Testing read-only corruption report ===
152
153Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
154wrote 65536/65536 bytes at offset 0
15564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
156qcow2: Image is corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
157read failed: Input/output error
158read failed: Input/output error
159
160=== Testing non-fatal and then fatal corruption report ===
161
162Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
163wrote 131072/131072 bytes at offset 0
164128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
165qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
166qcow2: Marking image as corrupt: Data cluster offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
167discard 65536/65536 bytes at offset 0
16864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
169read failed: Input/output error
170*** done
171