xref: /openbmc/qemu/tests/qemu-iotests/207.out (revision e21b5f34)
156ea7450SKevin Wolf=== Successful image creation (defaults) ===
256ea7450SKevin Wolf
3*e21b5f34SMax 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}}}
4*e21b5f34SMax Reitz{"return": {}}
5*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
6*e21b5f34SMax Reitz{"return": {}}
756ea7450SKevin Wolf
800af1935SKevin Wolfimage: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.port": "22", "driver": "ssh", "path": "TEST_IMG"}}
956ea7450SKevin Wolffile format: IMGFMT
1056ea7450SKevin Wolfvirtual size: 4.0M (4194304 bytes)
1156ea7450SKevin Wolf
1200af1935SKevin Wolf
1300af1935SKevin Wolfimage: TEST_IMG
1456ea7450SKevin Wolffile format: IMGFMT
1556ea7450SKevin Wolfvirtual size: 4.0M (4194304 bytes)
1656ea7450SKevin Wolf
1756ea7450SKevin Wolf=== Test host-key-check options ===
1856ea7450SKevin Wolf
19*e21b5f34SMax 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}}}
20*e21b5f34SMax Reitz{"return": {}}
21*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
22*e21b5f34SMax Reitz{"return": {}}
2356ea7450SKevin Wolf
2400af1935SKevin Wolfimage: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.port": "22", "driver": "ssh", "path": "TEST_IMG"}}
2556ea7450SKevin Wolffile format: IMGFMT
2656ea7450SKevin Wolfvirtual size: 8.0M (8388608 bytes)
2756ea7450SKevin Wolf
28*e21b5f34SMax 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}}}
29*e21b5f34SMax Reitz{"return": {}}
30*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
31*e21b5f34SMax Reitz{"return": {}}
3200af1935SKevin Wolf
3300af1935SKevin Wolfimage: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.port": "22", "driver": "ssh", "path": "TEST_IMG"}}
3456ea7450SKevin Wolffile format: IMGFMT
3556ea7450SKevin Wolfvirtual size: 4.0M (4194304 bytes)
3656ea7450SKevin Wolf
37*e21b5f34SMax 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}}}
38*e21b5f34SMax Reitz{"return": {}}
3900af1935SKevin WolfJob failed: remote host key does not match host_key_check 'wrong'
40*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
41*e21b5f34SMax Reitz{"return": {}}
4200af1935SKevin Wolf
43*e21b5f34SMax 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}}}
44*e21b5f34SMax Reitz{"return": {}}
45*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
46*e21b5f34SMax Reitz{"return": {}}
4700af1935SKevin Wolf
4800af1935SKevin Wolfimage: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.port": "22", "driver": "ssh", "path": "TEST_IMG"}}
4956ea7450SKevin Wolffile format: IMGFMT
5056ea7450SKevin Wolfvirtual size: 8.0M (8388608 bytes)
5156ea7450SKevin Wolf
52*e21b5f34SMax 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}}}
53*e21b5f34SMax Reitz{"return": {}}
5400af1935SKevin WolfJob failed: remote host key does not match host_key_check 'wrong'
55*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
56*e21b5f34SMax Reitz{"return": {}}
5700af1935SKevin Wolf
58*e21b5f34SMax 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}}}
59*e21b5f34SMax Reitz{"return": {}}
60*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
61*e21b5f34SMax Reitz{"return": {}}
6200af1935SKevin Wolf
6300af1935SKevin Wolfimage: json:{"driver": "IMGFMT", "file": {"server.host": "127.0.0.1", "server.port": "22", "driver": "ssh", "path": "TEST_IMG"}}
6456ea7450SKevin Wolffile format: IMGFMT
6556ea7450SKevin Wolfvirtual size: 4.0M (4194304 bytes)
6656ea7450SKevin Wolf
6756ea7450SKevin Wolf=== Invalid path and user ===
6856ea7450SKevin Wolf
69*e21b5f34SMax 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}}}
70*e21b5f34SMax Reitz{"return": {}}
7100af1935SKevin WolfJob failed: failed to open remote file '/this/is/not/an/existing/path': Failed opening remote file (libssh2 error code: -31)
72*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
73*e21b5f34SMax Reitz{"return": {}}
7456ea7450SKevin Wolf
75*e21b5f34SMax 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}}}
76*e21b5f34SMax Reitz{"return": {}}
7700af1935SKevin WolfJob failed: failed to authenticate using publickey authentication and the identities held by your ssh-agent
78*e21b5f34SMax Reitz{"execute": "job-dismiss", "arguments": {"id": "job0"}}
79*e21b5f34SMax Reitz{"return": {}}
8000af1935SKevin Wolf
81