]>
Commit | Line | Data |
---|---|---|
dc68afe0 SH |
1 | QA output created by 039 |
2 | ||
3 | == Checking that image is clean on shutdown == | |
7486458c | 4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
5 | wrote 512/512 bytes at offset 0 |
6 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
7 | incompatible_features 0x0 | |
8 | No errors were found on the image. | |
9 | ||
10 | == Creating a dirty image file == | |
7486458c | 11 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
12 | wrote 512/512 bytes at offset 0 |
13 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
e6c17669 | 14 | ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then |
076003f5 | 15 | exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 16 | else |
076003f5 | 17 | exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 18 | fi ) |
dc68afe0 | 19 | incompatible_features 0x1 |
dc68afe0 | 20 | ERROR cluster 5 refcount=0 reference=1 |
b3f3a30f | 21 | ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 |
dc68afe0 SH |
22 | |
23 | 2 errors were found on the image. | |
24 | Data may be corrupted, or further writes to the image may corrupt it. | |
25 | ||
26 | == Read-only access must still work == | |
27 | read 512/512 bytes at offset 0 | |
28 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
29 | incompatible_features 0x1 | |
30 | ||
31 | == Repairing the image file must succeed == | |
d26e6ec0 HR |
32 | ERROR cluster 5 refcount=0 reference=1 |
33 | Rebuilding refcount structure | |
34 | Repairing cluster 1 refcount=1 reference=0 | |
35 | Repairing cluster 2 refcount=1 reference=0 | |
058f8f16 SH |
36 | The following inconsistencies were found and repaired: |
37 | ||
38 | 0 leaked clusters | |
39 | 1 corruptions | |
40 | ||
41 | Double checking the fixed image now... | |
dc68afe0 SH |
42 | No errors were found on the image. |
43 | incompatible_features 0x0 | |
44 | ||
45 | == Data should still be accessible after repair == | |
46 | read 512/512 bytes at offset 0 | |
47 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
48 | ||
49 | == Opening a dirty image read/write should repair it == | |
7486458c | 50 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
51 | wrote 512/512 bytes at offset 0 |
52 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
e6c17669 | 53 | ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then |
076003f5 | 54 | exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 55 | else |
076003f5 | 56 | exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 57 | fi ) |
dc68afe0 | 58 | incompatible_features 0x1 |
d26e6ec0 HR |
59 | ERROR cluster 5 refcount=0 reference=1 |
60 | Rebuilding refcount structure | |
61 | Repairing cluster 1 refcount=1 reference=0 | |
62 | Repairing cluster 2 refcount=1 reference=0 | |
dc68afe0 SH |
63 | wrote 512/512 bytes at offset 0 |
64 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
65 | incompatible_features 0x0 | |
66 | ||
67 | == Creating an image file with lazy_refcounts=off == | |
7486458c | 68 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
69 | wrote 512/512 bytes at offset 0 |
70 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
e6c17669 | 71 | ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then |
076003f5 | 72 | exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 73 | else |
076003f5 | 74 | exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 75 | fi ) |
dc68afe0 SH |
76 | incompatible_features 0x0 |
77 | No errors were found on the image. | |
4c2e5f8f KW |
78 | |
79 | == Committing to a backing file with lazy_refcounts=on == | |
7486458c | 80 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 |
fe646693 | 81 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base |
4c2e5f8f KW |
82 | wrote 512/512 bytes at offset 0 |
83 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
84 | Image committed. | |
85 | incompatible_features 0x0 | |
86 | incompatible_features 0x0 | |
87 | No errors were found on the image. | |
88 | No errors were found on the image. | |
e615053b KW |
89 | |
90 | == Changing lazy_refcounts setting at runtime == | |
91 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
92 | wrote 512/512 bytes at offset 0 | |
93 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
e6c17669 | 94 | ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then |
076003f5 | 95 | exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 96 | else |
076003f5 | 97 | exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 98 | fi ) |
e615053b KW |
99 | incompatible_features 0x1 |
100 | ERROR cluster 5 refcount=0 reference=1 | |
101 | ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 | |
102 | ||
103 | 2 errors were found on the image. | |
104 | Data may be corrupted, or further writes to the image may corrupt it. | |
105 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
106 | wrote 512/512 bytes at offset 0 | |
107 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
e6c17669 | 108 | ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then |
076003f5 | 109 | exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 110 | else |
076003f5 | 111 | exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; |
e6c17669 | 112 | fi ) |
e615053b KW |
113 | incompatible_features 0x0 |
114 | No errors were found on the image. | |
dc68afe0 | 115 | *** done |