2012-07-27 08:05:24 +00:00
|
|
|
QA output created by 039
|
|
|
|
|
|
|
|
== Checking that image is clean on shutdown ==
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 08:05:24 +00:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
incompatible_features 0x0
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
== Creating a dirty image file ==
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 08:05:24 +00:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-09-12 14:44:54 +00:00
|
|
|
./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
|
2016-05-10 16:11:27 +00:00
|
|
|
exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
else
|
2016-05-10 16:11:27 +00:00
|
|
|
exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
fi )
|
2012-07-27 08:05:24 +00:00
|
|
|
incompatible_features 0x1
|
|
|
|
ERROR cluster 5 refcount=0 reference=1
|
2013-09-02 14:36:15 +00:00
|
|
|
ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0
|
2012-07-27 08:05:24 +00: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)
|
|
|
|
incompatible_features 0x1
|
|
|
|
|
|
|
|
== Repairing the image file must succeed ==
|
2014-10-22 12:09:42 +00: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 12:05:56 +00:00
|
|
|
The following inconsistencies were found and repaired:
|
|
|
|
|
|
|
|
0 leaked clusters
|
|
|
|
1 corruptions
|
|
|
|
|
|
|
|
Double checking the fixed image now...
|
2012-07-27 08:05:24 +00:00
|
|
|
No errors were found on the image.
|
|
|
|
incompatible_features 0x0
|
|
|
|
|
|
|
|
== 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 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 08:05:24 +00:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-09-12 14:44:54 +00:00
|
|
|
./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
|
2016-05-10 16:11:27 +00:00
|
|
|
exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
else
|
2016-05-10 16:11:27 +00:00
|
|
|
exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
fi )
|
2012-07-27 08:05:24 +00:00
|
|
|
incompatible_features 0x1
|
2014-10-22 12:09:42 +00: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 08:05:24 +00:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
incompatible_features 0x0
|
|
|
|
|
|
|
|
== Creating an image file with lazy_refcounts=off ==
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
|
2012-07-27 08:05:24 +00:00
|
|
|
wrote 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2017-09-12 14:44:54 +00:00
|
|
|
./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
|
2016-05-10 16:11:27 +00:00
|
|
|
exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
else
|
2016-05-10 16:11:27 +00:00
|
|
|
exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
fi )
|
2012-07-27 08:05:24 +00:00
|
|
|
incompatible_features 0x0
|
|
|
|
No errors were found on the image.
|
2014-04-03 11:47:50 +00:00
|
|
|
|
|
|
|
== Committing to a backing file with lazy_refcounts=on ==
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728
|
2015-07-07 14:42:10 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base
|
2014-04-03 11:47:50 +00: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.
|
|
|
|
incompatible_features 0x0
|
|
|
|
incompatible_features 0x0
|
|
|
|
No errors were found on the image.
|
|
|
|
No errors were found on the image.
|
2015-09-04 16:26:09 +00: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)
|
2017-09-12 14:44:54 +00:00
|
|
|
./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
|
2016-05-10 16:11:27 +00:00
|
|
|
exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
else
|
2016-05-10 16:11:27 +00:00
|
|
|
exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
fi )
|
2015-09-04 16:26:09 +00:00
|
|
|
incompatible_features 0x1
|
|
|
|
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)
|
2017-09-12 14:44:54 +00:00
|
|
|
./common.rc: Killed ( if [ "${VALGRIND_QEMU}" == "y" ]; then
|
2016-05-10 16:11:27 +00:00
|
|
|
exec valgrind --log-file="${VALGRIND_LOGFILE}" --error-exitcode=99 "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
else
|
2016-05-10 16:11:27 +00:00
|
|
|
exec "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@";
|
2015-10-30 19:25:18 +00:00
|
|
|
fi )
|
2015-09-04 16:26:09 +00:00
|
|
|
incompatible_features 0x0
|
|
|
|
No errors were found on the image.
|
2012-07-27 08:05:24 +00:00
|
|
|
*** done
|