Merge remote-tracking branch 'remotes/nvme/tags/nvme-fixes-20210407-pull-request...
[qemu/ar7.git] / tests / qemu-iotests / 207.out
blob1239d9d648452eb7902215b0ac43c1c4d9b96764
1 === Successful image creation (defaults) ===
3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 4194304}}}
4 {"return": {}}
5 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
6 {"return": {}}
8 image: TEST_IMG
9 file format: IMGFMT
10 virtual size: 4 MiB (4194304 bytes)
13 image: TEST_IMG
14 file format: IMGFMT
15 virtual size: 4 MiB (4194304 bytes)
17 === Test host-key-check options ===
19 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 8388608}}}
20 {"return": {}}
21 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
22 {"return": {}}
24 image: TEST_IMG
25 file format: IMGFMT
26 virtual size: 8 MiB (8388608 bytes)
28 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "known_hosts"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 4194304}}}
29 {"return": {}}
30 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
31 {"return": {}}
33 image: TEST_IMG
34 file format: IMGFMT
35 virtual size: 4 MiB (4194304 bytes)
37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "wrong", "mode": "hash", "type": "md5"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 2097152}}}
38 {"return": {}}
39 Job failed: remote host key does not match host_key_check 'wrong'
40 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
41 {"return": {}}
43 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "HASH", "mode": "hash", "type": "md5"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 8388608}}}
44 {"return": {}}
45 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
46 {"return": {}}
48 image: TEST_IMG
49 file format: IMGFMT
50 virtual size: 8 MiB (8388608 bytes)
52 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "wrong", "mode": "hash", "type": "sha1"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 2097152}}}
53 {"return": {}}
54 Job failed: remote host key does not match host_key_check 'wrong'
55 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
56 {"return": {}}
58 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "HASH", "mode": "hash", "type": "sha1"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 4194304}}}
59 {"return": {}}
60 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
61 {"return": {}}
63 image: TEST_IMG
64 file format: IMGFMT
65 virtual size: 4 MiB (4194304 bytes)
67 === Invalid path and user ===
69 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "/this/is/not/an/existing/path", "server": {"host": "127.0.0.1", "port": "22"}}, "size": 4194304}}}
70 {"return": {}}
71 Job failed: failed to open remote file '/this/is/not/an/existing/path': SFTP server: No such file (libssh error code: 1, sftp error code: 2)
72 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
73 {"return": {}}
75 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "TEST_DIR/PID-t.img", "server": {"host": "127.0.0.1", "port": "22"}, "user": "invalid user"}, "size": 4194304}}}
76 {"return": {}}
77 Job failed: failed to authenticate using publickey authentication and the identities held by your ssh-agent
78 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
79 {"return": {}}