1 QA output created by 060
3 === Testing L2 reference into L1 ===
5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
6 ERROR cluster 3 refcount=1 reference=3
8 1 errors were found on the image.
9 Data may be corrupted, or further writes to the image may corrupt it.
10 incompatible_features 0x0
11 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
12 write failed: Input/output error
13 incompatible_features 0x2
14 image: TEST_DIR/t.IMGFMT
16 virtual size: 64M (67108864 bytes)
18 Format specific information:
23 can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
24 no file open, try 'help open'
25 read 512/512 bytes at offset 0
26 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28 === Testing cluster data reference into refcount block ===
30 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
31 ERROR refcount block 0 refcount=2
32 ERROR cluster 2 refcount=1 reference=2
34 2 errors were found on the image.
35 Data may be corrupted, or further writes to the image may corrupt it.
36 incompatible_features 0x0
37 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
38 write failed: Input/output error
39 incompatible_features 0x2
40 ERROR refcount block 0 refcount=2
41 ERROR cluster 2 refcount=1 reference=2
42 Rebuilding refcount structure
43 Repairing cluster 1 refcount=1 reference=0
44 Repairing cluster 2 refcount=2 reference=1
45 The following inconsistencies were found and repaired:
50 Double checking the fixed image now...
51 No errors were found on the image.
52 incompatible_features 0x0
53 wrote 512/512 bytes at offset 0
54 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55 incompatible_features 0x0
57 === Testing cluster data reference into inactive L2 table ===
59 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
60 wrote 512/512 bytes at offset 0
61 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 wrote 512/512 bytes at offset 0
63 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64 ERROR cluster 4 refcount=1 reference=2
65 Leaked cluster 9 refcount=1 reference=0
67 1 errors were found on the image.
68 Data may be corrupted, or further writes to the image may corrupt it.
70 1 leaked clusters were found on the image.
71 This means waste of disk space, but no harm to data.
72 incompatible_features 0x0
73 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
74 write failed: Input/output error
75 incompatible_features 0x2
76 ERROR cluster 4 refcount=1 reference=2
77 Leaked cluster 9 refcount=1 reference=0
78 Repairing cluster 4 refcount=1 reference=2
79 Repairing cluster 9 refcount=1 reference=0
80 Repairing OFLAG_COPIED data cluster: l2_entry=8000000000040000 refcount=2
81 The following inconsistencies were found and repaired:
86 Double checking the fixed image now...
87 No errors were found on the image.
88 incompatible_features 0x0
89 wrote 512/512 bytes at offset 0
90 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91 incompatible_features 0x0
92 read 512/512 bytes at offset 0
93 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
94 No errors were found on the image.
95 read 512/512 bytes at offset 0
96 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
98 === Testing overlap while COW is in flight ===
100 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
101 wrote 65536/65536 bytes at offset 0
102 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103 wrote 65536/65536 bytes at offset 536870912
104 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105 discard 65536/65536 bytes at offset 0
106 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
107 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
108 blkdebug: Suspended request '0'
109 write failed: Input/output error
110 blkdebug: Resuming request '0'
111 aio_write failed: No medium found
113 === Testing unallocated image header ===
115 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
116 wrote 65536/65536 bytes at offset 0
117 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
118 qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
119 write failed: Input/output error
121 === Testing unaligned L1 entry ===
123 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
124 wrote 65536/65536 bytes at offset 0
125 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
126 qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
127 read failed: Input/output error
128 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
129 wrote 65536/65536 bytes at offset 0
130 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131 qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
132 qemu-img: Error while amending options: Input/output error
134 === Testing unaligned L2 entry ===
136 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
137 wrote 65536/65536 bytes at offset 0
138 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
139 qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
140 read failed: Input/output error
142 === Testing unaligned pre-allocated zero cluster ===
144 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
145 wrote 65536/65536 bytes at offset 0
146 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
147 qcow2: Marking image as corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
148 qemu-img: Error while amending options: Input/output error
150 === Testing unaligned reftable entry ===
152 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
153 qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
154 write failed: Input/output error
156 === Testing non-fatal corruption on freeing ===
158 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
159 wrote 65536/65536 bytes at offset 0
160 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
161 qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
162 discard 65536/65536 bytes at offset 0
163 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
165 === Testing read-only corruption report ===
167 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
168 wrote 65536/65536 bytes at offset 0
169 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170 qcow2: Image is corrupt: Cluster allocation offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
171 read failed: Input/output error
172 read failed: Input/output error
174 === Testing non-fatal and then fatal corruption report ===
176 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
177 wrote 131072/131072 bytes at offset 0
178 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
179 qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
180 qcow2: Marking image as corrupt: Cluster allocation offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
181 discard 65536/65536 bytes at offset 0
182 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
183 read failed: Input/output error