233.out (952bc8b3c2cbba78261923a1e8ca55cda261dee9) 233.out (b25e12daff2c3e5ba933f85e8ba278f5bcba8f4d)
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...
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...
9Generating a signed certificate...
9
10== preparing image ==
11Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
12wrote 1048576/1048576 bytes at offset 1048576
131 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14
15== check TLS client to plain server fails ==
16qemu-img: Could not open 'driver=nbd,host=127.0.0.1,port=PORT,tls-creds=tls0': Denied by server for option 5 (starttls)

--- 7 unchanged lines hidden (view full) ---

24qemu-nbd: TLS negotiation required before option 8 (structured reply)
25server reported: Option 0x8 not permitted before TLS
26
27== check TLS works ==
28image: nbd://127.0.0.1:PORT
29file format: nbd
30virtual size: 64M (67108864 bytes)
31disk size: unavailable
10
11== preparing image ==
12Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
13wrote 1048576/1048576 bytes at offset 1048576
141 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
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)

--- 7 unchanged lines hidden (view full) ---

25qemu-nbd: TLS negotiation required before option 8 (structured reply)
26server reported: Option 0x8 not permitted before TLS
27
28== check TLS works ==
29image: nbd://127.0.0.1:PORT
30file format: nbd
31virtual size: 64M (67108864 bytes)
32disk size: unavailable
33image: nbd://127.0.0.1:PORT
34file format: nbd
35virtual size: 64M (67108864 bytes)
36disk size: unavailable
32exports available: 1
33 export: ''
34 size: 67108864
35 flags: 0x4ed ( flush fua trim zeroes df cache )
36 min block: 512
37 opt block: 4096
38 max block: 33554432
39 available meta contexts: 1

--- 6 unchanged lines hidden (view full) ---

46== perform I/O over TLS ==
47read 1048576/1048576 bytes at offset 1048576
481 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
49wrote 1048576/1048576 bytes at offset 1048576
501 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51read 1048576/1048576 bytes at offset 1048576
521 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
53
37exports available: 1
38 export: ''
39 size: 67108864
40 flags: 0x4ed ( flush fua trim zeroes df cache )
41 min block: 512
42 opt block: 4096
43 max block: 33554432
44 available meta contexts: 1

--- 6 unchanged lines hidden (view full) ---

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)
58
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
54== final server log ==
55qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
56qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
63== final server log ==
64qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
65qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
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
57*** done
68*** done