2012-07-27 12:05:24 +04:00
|
|
|
QA output created by 039
|
|
|
|
|
|
|
|
== Checking that image is clean on shutdown ==
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 12:05:24 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
2012-07-27 12:05:24 +04:00
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
== Creating a dirty image file ==
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 12:05:24 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 12:11:19 +03:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features [0]
|
2012-07-27 12:05:24 +04:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
2013-09-02 18:36:15 +04:00
|
|
|
ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0
|
2012-07-27 12:05:24 +04:00
|
|
|
|
|
|
|
2 errors were found on the image.
|
|
|
|
Data may be corrupted, or further writes to the image may corrupt it.
|
|
|
|
|
|
|
|
== Read-only access must still work ==
|
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features [0]
|
2012-07-27 12:05:24 +04:00
|
|
|
|
|
|
|
== Repairing the image file must succeed ==
|
2014-10-22 16:09:42 +04:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
|
|
|
Rebuilding refcount structure
|
|
|
|
Repairing cluster 1 refcount=1 reference=0
|
|
|
|
Repairing cluster 2 refcount=1 reference=0
|
2012-08-09 16:05:56 +04:00
|
|
|
The following inconsistencies were found and repaired:
|
|
|
|
|
|
|
|
0 leaked clusters
|
|
|
|
1 corruptions
|
|
|
|
|
|
|
|
Double checking the fixed image now...
|
2012-07-27 12:05:24 +04:00
|
|
|
No errors were found on the image.
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
2012-07-27 12:05:24 +04:00
|
|
|
|
|
|
|
== Data should still be accessible after repair ==
|
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
|
|
|
== Opening a dirty image read/write should repair it ==
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 12:05:24 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 12:11:19 +03:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features [0]
|
2014-10-22 16:09:42 +04:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
|
|
|
Rebuilding refcount structure
|
|
|
|
Repairing cluster 1 refcount=1 reference=0
|
|
|
|
Repairing cluster 2 refcount=1 reference=0
|
2012-07-27 12:05:24 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
2012-07-27 12:05:24 +04:00
|
|
|
|
|
|
|
== Creating an image file with lazy_refcounts=off ==
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 12:05:24 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 12:11:19 +03:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
2012-07-27 12:05:24 +04:00
|
|
|
No errors were found on the image.
|
2014-04-03 15:47:50 +04:00
|
|
|
|
|
|
|
== Committing to a backing file with lazy_refcounts=on ==
|
2014-12-09 10:38:03 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728
|
2015-07-07 17:42:10 +03:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base
|
2014-04-03 15:47:50 +04:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
Image committed.
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
|
|
|
incompatible_features []
|
2014-04-03 15:47:50 +04:00
|
|
|
No errors were found on the image.
|
|
|
|
No errors were found on the image.
|
2015-09-04 19:26:09 +03:00
|
|
|
|
|
|
|
== Changing lazy_refcounts setting at runtime ==
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 12:11:19 +03:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features [0]
|
2015-09-04 19:26:09 +03:00
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
|
|
|
ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0
|
|
|
|
|
|
|
|
2 errors were found on the image.
|
|
|
|
Data may be corrupted, or further writes to the image may corrupt it.
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2019-09-04 12:11:19 +03:00
|
|
|
./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" )
|
2019-11-07 19:36:49 +03:00
|
|
|
incompatible_features []
|
2015-09-04 19:26:09 +03:00
|
|
|
No errors were found on the image.
|
2012-07-27 12:05:24 +04:00
|
|
|
*** done
|