1 QA output created by 039 2 3 == Checking that image is clean on shutdown == 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 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 == 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 12 wrote 512/512 bytes at offset 0 13 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 14 ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then 15 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 16 else 17 exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 18 fi ) 19 incompatible_features 0x1 20 ERROR cluster 5 refcount=0 reference=1 21 ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 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 == 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 36 The following inconsistencies were found and repaired: 37 38 0 leaked clusters 39 1 corruptions 40 41 Double checking the fixed image now... 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 == 50 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 51 wrote 512/512 bytes at offset 0 52 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 53 ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then 54 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 55 else 56 exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 57 fi ) 58 incompatible_features 0x1 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 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 == 68 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 69 wrote 512/512 bytes at offset 0 70 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 71 ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then 72 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 73 else 74 exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 75 fi ) 76 incompatible_features 0x0 77 No errors were found on the image. 78 79 == Committing to a backing file with lazy_refcounts=on == 80 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 81 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base 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. 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) 94 ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then 95 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 96 else 97 exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 98 fi ) 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) 108 ./common.config: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then 109 exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 110 else 111 exec "$QEMU_IO_PROG" $QEMU_IO_OPTIONS "$@"; 112 fi ) 113 incompatible_features 0x0 114 No errors were found on the image. 115 *** done 116