]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/233.out
qemu-iotests: Test qcow2 preallocation modes
[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...
9
10== preparing image ==
11Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
bb39c47d
EB
12wrote 1048576/1048576 bytes at offset 1048576
131 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
afcd1c2f
DB
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)
17server reported: TLS not configured
ddd09448
EB
18qemu-nbd: Denied by server for option 5 (starttls)
19server reported: TLS not configured
afcd1c2f
DB
20
21== check plain client to TLS server fails ==
22qemu-img: Could not open 'nbd://localhost:PORT': TLS negotiation required before option 8 (structured reply)
23server reported: Option 0x8 not permitted before TLS
ddd09448
EB
24qemu-nbd: TLS negotiation required before option 8 (structured reply)
25server reported: Option 0x8 not permitted before TLS
afcd1c2f
DB
26
27== check TLS works ==
28image: nbd://127.0.0.1:PORT
29file format: nbd
30virtual size: 64M (67108864 bytes)
31disk size: unavailable
ddd09448
EB
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
40 base:allocation
afcd1c2f
DB
41
42== check TLS with different CA fails ==
afcd1c2f 43qemu-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 44qemu-nbd: The certificate hasn't got a known issuer
bb39c47d
EB
45
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)
d0898051
EB
53
54== final server log ==
55qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
ddd09448 56qemu-nbd: option negotiation failed: Verify failed: No certificate was found.
afcd1c2f 57*** done