Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO qatrfm.environment: Environment deployed successfully.
- INFO qatrfm.cli : Running test case 'SimpleTest'
- INFO qatrfm.cli : from module '/root/qatrfm-lib/tests/examples/simple/simple_test.py'
- DEBUG qatrfm.domain: execute_cmd 'echo -e \"foo\nbar\" > /root/some_file'
- DEBUG qatrfm.utils.libutils: Bash command: 'virsh -c qemu:///system qemu-agent-command --domain qatrfm-vm-nvuldytlec-0 --cmd '{ "execute": "guest-exec", "arguments": { "path": "bash", "arg": ["-c", "echo -e \"foo\nbar\" > /root/some_file"], "capture-output": true}}''
- DEBUG qatrfm.utils.libutils: {"return":{"pid":1324}}
- DEBUG qatrfm.utils.libutils:
- DEBUG qatrfm.domain: The command has PID=1324
- DEBUG qatrfm.utils.libutils: Bash command: 'virsh -c qemu:///system qemu-agent-command --domain qatrfm-vm-nvuldytlec-0 --cmd '{ "execute": "guest-exec-status", "arguments": { "pid": 1324 }}''
- DEBUG qatrfm.utils.libutils: {"return":{"exitcode":0,"exited":true}}
- DEBUG qatrfm.utils.libutils:
- DEBUG qatrfm.domain: Qemu agent command status:
- DOMAIN : qatrfm-vm-nvuldytlec-0
- CMD : echo -e \"foo\nbar\" > /root/some_file
- RETCODE : 0
- OUTPUT :
- DEBUG qatrfm.domain: execute_cmd 'cat /root/some_file | grep ba'
- DEBUG qatrfm.utils.libutils: Bash command: 'virsh -c qemu:///system qemu-agent-command --domain qatrfm-vm-nvuldytlec-0 --cmd '{ "execute": "guest-exec", "arguments": { "path": "bash", "arg": ["-c", "cat /root/some_file | grep ba"], "capture-output": true}}''
- DEBUG qatrfm.utils.libutils: {"return":{"pid":1325}}
- DEBUG qatrfm.utils.libutils:
- DEBUG qatrfm.domain: The command has PID=1325
- DEBUG qatrfm.utils.libutils: Bash command: 'virsh -c qemu:///system qemu-agent-command --domain qatrfm-vm-nvuldytlec-0 --cmd '{ "execute": "guest-exec-status", "arguments": { "pid": 1325 }}''
- DEBUG qatrfm.utils.libutils: {"return":{"exitcode":0,"out-data":"YmFyCg==","exited":true}}
- DEBUG qatrfm.utils.libutils:
- DEBUG qatrfm.domain: Qemu agent command status:
- DOMAIN : qatrfm-vm-nvuldytlec-0
- CMD : cat /root/some_file | grep ba
- RETCODE : 0
- OUTPUT :
- bar
- DEBUG qatrfm.domain: Transfer file:
- domain: qatrfm-vm-nvuldytlec-0
- ip: 10.6.0.145
- type: get
- remote_file_path: /etc/resolv.conf
- local_file_path: /tmp/tmp_xny93w1/resolv.conf
- DEBUG qatrfm.domain: File Transfer succedded.
- INFO simple_test : ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf
- ### autogenerated by netconfig!
- #
- # Before you change this file manually, consider to define the
- # static DNS configuration using the following variables in the
- # /etc/sysconfig/network/config file:
- # NETCONFIG_DNS_STATIC_SEARCHLIST
- # NETCONFIG_DNS_STATIC_SERVERS
- # NETCONFIG_DNS_FORWARDER
- # or disable DNS configuration updates via netconfig by setting:
- # NETCONFIG_DNS_POLICY=''
- #
- # See also the netconfig(8) manual page and other documentation.
- #
- ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.
- nameserver 10.6.0.1
- DEBUG qatrfm.domain: Transfer file:
- domain: qatrfm-vm-nvuldytlec-0
- ip: 10.6.0.145
- type: put
- remote_file_path: /root/test_file
- local_file_path: /root/qatrfm-lib/tests/examples/simple/test_file
- DEBUG qatrfm.domain: File Transfer succedded.
- DEBUG qatrfm.domain: execute ssh cmd 'chmod +x /root/test_file; /root/test_file'
- 0
- DEBUG qatrfm.domain: SSH command status:
- DOMAIN : qatrfm-vm-nvuldytlec-0
- CMD : chmod +x /root/test_file; /root/test_file
- RETCODE : 0
- OUTPUT :
- This is a test
- INFO qatrfm.cli : The test 'SimpleTest' finished successfuly
- INFO qatrfm.cli : All tests passed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement