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...
11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
12 wrote 1048576/1048576 bytes at offset 1048576
13 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15 == check TLS client to plain server fails ==
16 qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)
17 server reported: TLS not configured
18 qemu-nbd: Denied by server for option 5 (starttls)
19 server reported: TLS not configured
21 == check plain client to TLS server fails ==
22 qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
23 server reported: Option 0x8 not permitted before TLS
24 qemu-nbd: TLS negotiation required before option 8 (structured reply)
25 server reported: Option 0x8 not permitted before TLS
28 image: nbd://127.0.0.1:PORT
30 virtual size: 64M (67108864 bytes)
31 disk size: unavailable
35 flags: 0x4ed ( flush fua trim zeroes df cache )
39 available meta contexts: 1
42 == check TLS with different CA fails ==
43 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
44 qemu-nbd: The certificate hasn't got a known issuer
46 == perform I/O over TLS ==
47 read 1048576/1048576 bytes at offset 1048576
48 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
49 wrote 1048576/1048576 bytes at offset 1048576
50 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51 read 1048576/1048576 bytes at offset 1048576
52 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54 == final server log ==
55 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
56 qemu-nbd: option negotiation failed: Verify failed: No certificate was found.