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