qemu/tests/qemu-iotests/251.out
Max Reitz 0b1eb0ce7d iotests: Test qemu-img convert --salvage
This test converts a simple image to another, but blkdebug injects
block_status and read faults at some offsets.  The resulting image
should be the same as the input image, except that sectors that could
not be read have to be 0.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190507203508.18026-7-mreitz@redhat.com
Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
[mreitz: Dropped superfluous printf from _filter_offsets, as suggested
         by Vladimir; disable test for VDI and IMGOPTSSYNTAX]
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-06-14 15:09:27 +02:00

44 lines
2.5 KiB
Plaintext

QA output created by 251
Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
wrote 67108864/67108864 bytes at offset 0
64 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
qemu-img: warning: error while reading block status at offset status_fail_offset_0: Input/output error
qemu-img: warning: error while reading block status at offset status_fail_offset_1: Input/output error
qemu-img: warning: error while reading block status at offset status_fail_offset_0: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_0: Input/output error
qemu-img: warning: error while reading block status at offset status_fail_offset_1: Input/output error
qemu-img: warning: error while reading offset status_fail_offset_1: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_2: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_3: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_4: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_5: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_6: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_7: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_8: Input/output error
qemu-img: warning: error while reading offset read_fail_offset_9: Input/output error
wrote 512/512 bytes at offset read_fail_offset_0
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_1
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_2
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_3
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_4
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_5
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_6
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_7
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_8
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
wrote 512/512 bytes at offset read_fail_offset_9
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Images are identical.
*** done