Rather than open-coding our own read/write-all functions, we can make use of the recently-added qio code. It slightly changes the error message in one of the iotests. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20170905191114.5959-4-eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
225 lines
4.7 KiB
Plaintext
225 lines
4.7 KiB
Plaintext
QA output created by 083
|
|
=== Check disconnect before neg1 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect after neg1 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 8 neg1 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 16 neg1 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect before export ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect after export ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 4 export ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 12 export ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 16 export ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect before neg2 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect after neg2 ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 8 neg2 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect 10 neg2 ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/foo
|
|
|
|
=== Check disconnect before request ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after request ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect before reply ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after reply ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 4 reply ===
|
|
|
|
Unexpected end-of-file before all bytes were read
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 8 reply ===
|
|
|
|
Unexpected end-of-file before all bytes were read
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect before data ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after data ===
|
|
|
|
read 512/512 bytes at offset 0
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
=== Check disconnect before neg-classic ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/
|
|
|
|
=== Check disconnect 8 neg-classic ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/
|
|
|
|
=== Check disconnect 16 neg-classic ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/
|
|
|
|
=== Check disconnect 24 neg-classic ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/
|
|
|
|
=== Check disconnect 28 neg-classic ===
|
|
|
|
can't open device nbd+tcp://127.0.0.1:PORT/
|
|
|
|
=== Check disconnect after neg-classic ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect before neg1 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect after neg1 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 8 neg1 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 16 neg1 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect before export ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect after export ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 4 export ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 12 export ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 16 export ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect before neg2 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect after neg2 ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 8 neg2 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 10 neg2 ===
|
|
|
|
can't open device nbd+unix:///foo?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect before request ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after request ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect before reply ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after reply ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 4 reply ===
|
|
|
|
Unexpected end-of-file before all bytes were read
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect 8 reply ===
|
|
|
|
Unexpected end-of-file before all bytes were read
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect before data ===
|
|
|
|
read failed: Input/output error
|
|
|
|
=== Check disconnect after data ===
|
|
|
|
read 512/512 bytes at offset 0
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
=== Check disconnect before neg-classic ===
|
|
|
|
can't open device nbd+unix:///?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 8 neg-classic ===
|
|
|
|
can't open device nbd+unix:///?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 16 neg-classic ===
|
|
|
|
can't open device nbd+unix:///?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 24 neg-classic ===
|
|
|
|
can't open device nbd+unix:///?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect 28 neg-classic ===
|
|
|
|
can't open device nbd+unix:///?socket=TEST_DIR/nbd.sock
|
|
|
|
=== Check disconnect after neg-classic ===
|
|
|
|
read failed: Input/output error
|
|
|
|
*** done
|