1QA output created by 039 2 3== Checking that image is clean on shutdown == 4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 5wrote 512/512 bytes at offset 0 6512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 7incompatible_features 0x0 8No errors were found on the image. 9 10== Creating a dirty image file == 11Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 12wrote 512/512 bytes at offset 0 13512 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_ARGS "$@"; 16else 17 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; 18fi ) 19incompatible_features 0x1 20ERROR cluster 5 refcount=0 reference=1 21ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 22 232 errors were found on the image. 24Data may be corrupted, or further writes to the image may corrupt it. 25 26== Read-only access must still work == 27read 512/512 bytes at offset 0 28512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 29incompatible_features 0x1 30 31== Repairing the image file must succeed == 32ERROR cluster 5 refcount=0 reference=1 33Rebuilding refcount structure 34Repairing cluster 1 refcount=1 reference=0 35Repairing cluster 2 refcount=1 reference=0 36The following inconsistencies were found and repaired: 37 38 0 leaked clusters 39 1 corruptions 40 41Double checking the fixed image now... 42No errors were found on the image. 43incompatible_features 0x0 44 45== Data should still be accessible after repair == 46read 512/512 bytes at offset 0 47512 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 == 50Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 51wrote 512/512 bytes at offset 0 52512 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_ARGS "$@"; 55else 56 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; 57fi ) 58incompatible_features 0x1 59ERROR cluster 5 refcount=0 reference=1 60Rebuilding refcount structure 61Repairing cluster 1 refcount=1 reference=0 62Repairing cluster 2 refcount=1 reference=0 63wrote 512/512 bytes at offset 0 64512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 65incompatible_features 0x0 66 67== Creating an image file with lazy_refcounts=off == 68Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 69wrote 512/512 bytes at offset 0 70512 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_ARGS "$@"; 73else 74 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; 75fi ) 76incompatible_features 0x0 77No errors were found on the image. 78 79== Committing to a backing file with lazy_refcounts=on == 80Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 81Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base 82wrote 512/512 bytes at offset 0 83512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 84Image committed. 85incompatible_features 0x0 86incompatible_features 0x0 87No errors were found on the image. 88No errors were found on the image. 89 90== Changing lazy_refcounts setting at runtime == 91Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 92wrote 512/512 bytes at offset 0 93512 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_ARGS "$@"; 96else 97 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; 98fi ) 99incompatible_features 0x1 100ERROR cluster 5 refcount=0 reference=1 101ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 102 1032 errors were found on the image. 104Data may be corrupted, or further writes to the image may corrupt it. 105Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 106wrote 512/512 bytes at offset 0 107512 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_ARGS "$@"; 110else 111 exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@"; 112fi ) 113incompatible_features 0x0 114No errors were found on the image. 115*** done 116