]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/233.out
nbd/server: Advertise actual minimum block size
[mirror_qemu.git] / tests / qemu-iotests / 233.out
CommitLineData
afcd1c2f
DB
1QA output created by 233
2
3== preparing TLS creds ==
4Generating a self signed certificate...
5Generating a self signed certificate...
6Generating a signed certificate...
7Generating a signed certificate...
8Generating a signed certificate...
b25e12da 9Generating a signed certificate...
afcd1c2f
DB
10
11== preparing image ==
12Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
bb39c47d
EB
13wrote 1048576/1048576 bytes at offset 1048576
141 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
afcd1c2f
DB
15
16== check TLS client to plain server fails ==
17qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
18server reported: TLS not configured
ddd09448
EB
19qemu-nbd: Denied by server for option 5 (starttls)
20server reported: TLS not configured
afcd1c2f
DB
21
22== check plain client to TLS server fails ==
23qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
24server reported: Option 0x8 not permitted before TLS
ddd09448
EB
25qemu-nbd: TLS negotiation required before option 8 (structured reply)
26server reported: Option 0x8 not permitted before TLS
afcd1c2f
DB
27
28== check TLS works ==
29image: nbd://127.0.0.1:PORT
30file format: nbd
31virtual size: 64M (67108864 bytes)
32disk size: unavailable
b25e12da
DB
33image: nbd://127.0.0.1:PORT
34file format: nbd
35virtual size: 64M (67108864 bytes)
36disk size: unavailable
ddd09448
EB
37exports available: 1
38 export: ''
39 size: 67108864
40 flags: 0x4ed ( flush fua trim zeroes df cache )
b0245d64 41 min block: 1
ddd09448
EB
42 opt block: 4096
43 max block: 33554432
44 available meta contexts: 1
45 base:allocation
afcd1c2f
DB
46
47== check TLS with different CA fails ==
afcd1c2f 48qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
ddd09448 49qemu-nbd: The certificate hasn't got a known issuer
bb39c47d
EB
50
51== perform I/O over TLS ==
52read 1048576/1048576 bytes at offset 1048576
531 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54wrote 1048576/1048576 bytes at offset 1048576
551 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56read 1048576/1048576 bytes at offset 1048576
571 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
d0898051 58
b25e12da
DB
59== check TLS with authorization ==
60qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=10809,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
61qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=10809,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
62
d0898051
EB
63== final server log ==
64qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
ddd09448 65qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
b25e12da
DB
66qemu-nbd: option negotiation failed: TLS x509 authz check for CN=localhost,O=Cthulhu Dark Lord Enterprises client1,L=R'lyeh,C=South Pacific is denied
67qemu-nbd: option negotiation failed: TLS x509 authz check for CN=localhost,O=Cthulhu Dark Lord Enterprises client3,L=R'lyeh,C=South Pacific is denied
afcd1c2f 68*** done