Merge remote-tracking branch 'remotes/nvme/tags/nvme-fixes-20210407-pull-request...
[qemu/ar7.git] / tests / qemu-iotests / 233.out
blobc3c344811b2be10cf177df9fb72a374ee3ed1564
1 QA output created by 233
3 == preparing TLS creds ==
4 Generating a self signed certificate...
5 Generating a self signed certificate...
6 Generating a signed certificate...
7 Generating a signed certificate...
8 Generating a signed certificate...
9 Generating a signed certificate...
11 == preparing image ==
12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
13 wrote 1048576/1048576 bytes at offset 1048576
14 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16 == check TLS client to plain server fails ==
17 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
18 server reported: TLS not configured
19 qemu-nbd: Denied by server for option 5 (starttls)
20 server reported: TLS not configured
22 == check plain client to TLS server fails ==
23 qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 7 (go)
24 Did you forget a valid tls-creds?
25 server reported: Option 0x7 not permitted before TLS
26 qemu-nbd: TLS negotiation required before option 3 (list)
27 Did you forget a valid tls-creds?
28 server reported: Option 0x3 not permitted before TLS
30 == check TLS works ==
31 image: nbd://127.0.0.1:PORT
32 file format: nbd
33 virtual size: 64 MiB (67108864 bytes)
34 disk size: unavailable
35 image: nbd://127.0.0.1:PORT
36 file format: nbd
37 virtual size: 64 MiB (67108864 bytes)
38 disk size: unavailable
39 exports available: 1
40  export: ''
41   size:  67108864
42   flags: 0xced ( flush fua trim zeroes df cache fast-zero )
43   min block: 1
44   opt block: 4096
45   max block: 33554432
46   available meta contexts: 1
47    base:allocation
49 == check TLS with different CA fails ==
50 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': The certificate hasn't got a known issuer
51 qemu-nbd: The certificate hasn't got a known issuer
53 == perform I/O over TLS ==
54 read 1048576/1048576 bytes at offset 1048576
55 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56 wrote 1048576/1048576 bytes at offset 1048576
57 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58 read 1048576/1048576 bytes at offset 1048576
59 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61 == check TLS with authorization ==
62 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
63 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Failed to read option reply: Cannot read from TLS channel: Software caused connection abort
65 == final server log ==
66 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
67 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
68 qemu-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
69 qemu-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
70 *** done