xref: /openbmc/qemu/tests/qemu-iotests/207.out (revision b10d49d7)
156ea7450SKevin Wolf=== Successful image creation (defaults) ===
256ea7450SKevin Wolf
38a57a4beSMax Reitz{"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}}}
4e21b5f34SMax Reitz{"return": {}}
5e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
6e21b5f34SMax Reitz{"return": {}}
756ea7450SKevin Wolf
8b8c1f901SMax Reitzimage: TEST_IMG
956ea7450SKevin Wolffile format: IMGFMT
10de38b500SEric Blakevirtual size: 4 MiB (4194304 bytes)
1156ea7450SKevin Wolf
1200af1935SKevin Wolf
1300af1935SKevin Wolfimage: TEST_IMG
1456ea7450SKevin Wolffile format: IMGFMT
15de38b500SEric Blakevirtual size: 4 MiB (4194304 bytes)
1656ea7450SKevin Wolf
1756ea7450SKevin Wolf=== Test host-key-check options ===
1856ea7450SKevin Wolf
198a57a4beSMax Reitz{"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}}}
20e21b5f34SMax Reitz{"return": {}}
21e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
22e21b5f34SMax Reitz{"return": {}}
2356ea7450SKevin Wolf
24b8c1f901SMax Reitzimage: TEST_IMG
2556ea7450SKevin Wolffile format: IMGFMT
26de38b500SEric Blakevirtual size: 8 MiB (8388608 bytes)
2756ea7450SKevin Wolf
288a57a4beSMax Reitz{"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}}}
29e21b5f34SMax Reitz{"return": {}}
30e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
31e21b5f34SMax Reitz{"return": {}}
3200af1935SKevin Wolf
33b8c1f901SMax Reitzimage: TEST_IMG
3456ea7450SKevin Wolffile format: IMGFMT
35de38b500SEric Blakevirtual size: 4 MiB (4194304 bytes)
3656ea7450SKevin Wolf
378a57a4beSMax Reitz{"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}}}
38e21b5f34SMax Reitz{"return": {}}
3900af1935SKevin WolfJob failed: remote host key does not match host_key_check 'wrong'
40e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
41e21b5f34SMax Reitz{"return": {}}
4200af1935SKevin Wolf
438a57a4beSMax Reitz{"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}}}
44e21b5f34SMax Reitz{"return": {}}
45e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
46e21b5f34SMax Reitz{"return": {}}
4700af1935SKevin Wolf
48b8c1f901SMax Reitzimage: TEST_IMG
4956ea7450SKevin Wolffile format: IMGFMT
50de38b500SEric Blakevirtual size: 8 MiB (8388608 bytes)
5156ea7450SKevin Wolf
528a57a4beSMax Reitz{"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}}}
53e21b5f34SMax Reitz{"return": {}}
5400af1935SKevin WolfJob failed: remote host key does not match host_key_check 'wrong'
55e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
56e21b5f34SMax Reitz{"return": {}}
5700af1935SKevin Wolf
588a57a4beSMax Reitz{"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}}}
59e21b5f34SMax Reitz{"return": {}}
60e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
61e21b5f34SMax Reitz{"return": {}}
6200af1935SKevin Wolf
63b8c1f901SMax Reitzimage: TEST_IMG
6456ea7450SKevin Wolffile format: IMGFMT
65de38b500SEric Blakevirtual size: 4 MiB (4194304 bytes)
6656ea7450SKevin Wolf
6756ea7450SKevin Wolf=== Invalid path and user ===
6856ea7450SKevin Wolf
698a57a4beSMax Reitz{"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}}}
70e21b5f34SMax Reitz{"return": {}}
71*b10d49d7SPino ToscanoJob 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)
72e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
73e21b5f34SMax Reitz{"return": {}}
7456ea7450SKevin Wolf
758a57a4beSMax Reitz{"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}}}
76e21b5f34SMax Reitz{"return": {}}
7700af1935SKevin WolfJob failed: failed to authenticate using publickey authentication and the identities held by your ssh-agent
78e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
79e21b5f34SMax Reitz{"return": {}}
8000af1935SKevin Wolf
81