]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/060.out
qemu-io qemu-nbd: Use error_report() etc. instead of fprintf()
[mirror_qemu.git] / tests / qemu-iotests / 060.out
CommitLineData
ca0eca91
HR
1QA output created by 060
2
3=== Testing L2 reference into L1 ===
4
7486458c 5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
ca0eca91
HR
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
adb43552 11qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
ca0eca91
HR
12write failed: Input/output error
13incompatible_features 0x2
e800e5d4
KW
14image: TEST_DIR/t.IMGFMT
15file format: IMGFMT
f383611a 16virtual size: 64M (67108864 bytes)
f383611a
HR
17cluster_size: 65536
18Format specific information:
19 compat: 1.1
20 lazy refcounts: false
0709c5a1 21 refcount bits: 16
f383611a 22 corrupt: true
b9884681 23can't open device TEST_DIR/t.IMGFMT: IMGFMT: Image is corrupt; cannot be opened read/write
ca0eca91
HR
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
7486458c 29Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
ca0eca91
HR
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
adb43552 36qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with refcount block); further corruption events will be suppressed
ca0eca91
HR
37write failed: Input/output error
38incompatible_features 0x2
d26e6ec0
HR
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
ca0eca91
HR
44The following inconsistencies were found and repaired:
45
46 0 leaked clusters
d26e6ec0 47 2 corruptions
ca0eca91
HR
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
34eeb82d
HR
55
56=== Testing cluster data reference into inactive L2 table ===
57
7486458c 58Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
34eeb82d
HR
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
adb43552 72qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with inactive L2 table); further corruption events will be suppressed
34eeb82d
HR
73write failed: Input/output error
74incompatible_features 0x2
d26e6ec0
HR
75ERROR cluster 4 refcount=1 reference=2
76Leaked cluster 9 refcount=1 reference=0
34eeb82d
HR
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)
98d39e34
HR
96
97=== Testing overlap while COW is in flight ===
98
7486458c 99Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
98d39e34
HR
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)
adb43552 106qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L2 table); further corruption events will be suppressed
98d39e34
HR
107blkdebug: Suspended request '0'
108write failed: Input/output error
109blkdebug: Resuming request '0'
110aio_write failed: No medium found
a42f8a3d
HR
111
112=== Testing unallocated image header ===
113
7486458c 114Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
a42f8a3d
HR
115wrote 65536/65536 bytes at offset 0
11664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
adb43552 117qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with qcow2_header); further corruption events will be suppressed
a42f8a3d 118write failed: Input/output error
5b0ed2be
HR
119
120=== Testing unaligned L1 entry ===
121
7486458c 122Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
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
f30136b3
HR
127Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
128wrote 65536/65536 bytes at offset 0
12964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
130qcow2: Marking image as corrupt: L2 table offset 0x42a00 unaligned (L1 index: 0); further corruption events will be suppressed
131qemu-img: Error while amending options: Input/output error
5b0ed2be
HR
132
133=== Testing unaligned L2 entry ===
134
7486458c 135Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
136wrote 65536/65536 bytes at offset 0
13764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
138qcow2: Marking image as corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
139read failed: Input/output error
140
f30136b3
HR
141=== Testing unaligned pre-allocated zero cluster ===
142
143Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
144wrote 65536/65536 bytes at offset 0
14564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
146qcow2: Marking image as corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further corruption events will be suppressed
147qemu-img: Error while amending options: Input/output error
148
5b0ed2be
HR
149=== Testing unaligned reftable entry ===
150
7486458c 151Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
152qcow2: Marking image as corrupt: Refblock offset 0x22a00 unaligned (reftable index: 0); further corruption events will be suppressed
153write failed: Input/output error
154
155=== Testing non-fatal corruption on freeing ===
156
7486458c 157Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
158wrote 65536/65536 bytes at offset 0
15964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
160qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
161discard 65536/65536 bytes at offset 0
16264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
163
164=== Testing read-only corruption report ===
165
7486458c 166Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
167wrote 65536/65536 bytes at offset 0
16864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
169qcow2: Image is corrupt: Data cluster offset 0x52a00 unaligned (L2 offset: 0x40000, L2 index: 0); further non-fatal corruption events will be suppressed
170read failed: Input/output error
171read failed: Input/output error
172
173=== Testing non-fatal and then fatal corruption report ===
174
7486458c 175Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
5b0ed2be
HR
176wrote 131072/131072 bytes at offset 0
177128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
178qcow2: Image is corrupt: Cannot free unaligned cluster 0x52a00; further non-fatal corruption events will be suppressed
179qcow2: Marking image as corrupt: Data cluster offset 0x62a00 unaligned (L2 offset: 0x40000, L2 index: 0x1); further corruption events will be suppressed
180discard 65536/65536 bytes at offset 0
18164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
182read failed: Input/output error
ca0eca91 183*** done