039.out (4080B)
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 [] 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.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) 15 incompatible_features [0] 16 ERROR cluster 5 refcount=0 reference=1 17 ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 18 19 2 errors were found on the image. 20 Data may be corrupted, or further writes to the image may corrupt it. 21 22 == Read-only access must still work == 23 read 512/512 bytes at offset 0 24 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 25 incompatible_features [0] 26 27 == Repairing the image file must succeed == 28 ERROR cluster 5 refcount=0 reference=1 29 Rebuilding refcount structure 30 Repairing cluster 1 refcount=1 reference=0 31 Repairing cluster 2 refcount=1 reference=0 32 The following inconsistencies were found and repaired: 33 34 0 leaked clusters 35 1 corruptions 36 37 Double checking the fixed image now... 38 No errors were found on the image. 39 incompatible_features [] 40 41 == Data should still be accessible after repair == 42 read 512/512 bytes at offset 0 43 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 44 45 == Opening a dirty image read/write should repair it == 46 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 47 wrote 512/512 bytes at offset 0 48 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 49 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) 50 incompatible_features [0] 51 ERROR cluster 5 refcount=0 reference=1 52 Rebuilding refcount structure 53 Repairing cluster 1 refcount=1 reference=0 54 Repairing cluster 2 refcount=1 reference=0 55 wrote 512/512 bytes at offset 0 56 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 57 incompatible_features [] 58 59 == Creating an image file with lazy_refcounts=off == 60 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 61 wrote 512/512 bytes at offset 0 62 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 63 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) 64 incompatible_features [] 65 No errors were found on the image. 66 67 == Committing to a backing file with lazy_refcounts=on == 68 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 69 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT 70 wrote 512/512 bytes at offset 0 71 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 72 Image committed. 73 incompatible_features [] 74 incompatible_features [] 75 No errors were found on the image. 76 No errors were found on the image. 77 78 == Changing lazy_refcounts setting at runtime == 79 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 80 wrote 512/512 bytes at offset 0 81 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 82 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) 83 incompatible_features [0] 84 ERROR cluster 5 refcount=0 reference=1 85 ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 86 87 2 errors were found on the image. 88 Data may be corrupted, or further writes to the image may corrupt it. 89 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 90 wrote 512/512 bytes at offset 0 91 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 92 ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) 93 incompatible_features [] 94 No errors were found on the image. 95 *** done