Advertisement
jolausa

Untitled

Mar 18th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. INFO qatrfm.environment: Environment deployed successfully.
  2. INFO qatrfm.cli : Running test case 'SimpleTest'
  3. INFO qatrfm.cli : from module '/root/qatrfm-lib/tests/examples/simple/simple_test.py'
  4. DEBUG qatrfm.domain: execute_cmd 'echo -e \"foo\nbar\" > /root/some_file'
  5. 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}}''
  6. DEBUG qatrfm.utils.libutils: {"return":{"pid":1324}}
  7. DEBUG qatrfm.utils.libutils:
  8. DEBUG qatrfm.domain: The command has PID=1324
  9. 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 }}''
  10. DEBUG qatrfm.utils.libutils: {"return":{"exitcode":0,"exited":true}}
  11. DEBUG qatrfm.utils.libutils:
  12. DEBUG qatrfm.domain: Qemu agent command status:
  13. DOMAIN : qatrfm-vm-nvuldytlec-0
  14. CMD : echo -e \"foo\nbar\" > /root/some_file
  15. RETCODE : 0
  16. OUTPUT :
  17.  
  18.  
  19. DEBUG qatrfm.domain: execute_cmd 'cat /root/some_file | grep ba'
  20. 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}}''
  21. DEBUG qatrfm.utils.libutils: {"return":{"pid":1325}}
  22. DEBUG qatrfm.utils.libutils:
  23. DEBUG qatrfm.domain: The command has PID=1325
  24. 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 }}''
  25. DEBUG qatrfm.utils.libutils: {"return":{"exitcode":0,"out-data":"YmFyCg==","exited":true}}
  26. DEBUG qatrfm.utils.libutils:
  27. DEBUG qatrfm.domain: Qemu agent command status:
  28. DOMAIN : qatrfm-vm-nvuldytlec-0
  29. CMD : cat /root/some_file | grep ba
  30. RETCODE : 0
  31. OUTPUT :
  32. bar
  33.  
  34.  
  35. DEBUG qatrfm.domain: Transfer file:
  36. domain: qatrfm-vm-nvuldytlec-0
  37. ip: 10.6.0.145
  38. type: get
  39. remote_file_path: /etc/resolv.conf
  40. local_file_path: /tmp/tmp_xny93w1/resolv.conf
  41. DEBUG qatrfm.domain: File Transfer succedded.
  42. INFO simple_test : ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf
  43. ### autogenerated by netconfig!
  44. #
  45. # Before you change this file manually, consider to define the
  46. # static DNS configuration using the following variables in the
  47. # /etc/sysconfig/network/config file:
  48. # NETCONFIG_DNS_STATIC_SEARCHLIST
  49. # NETCONFIG_DNS_STATIC_SERVERS
  50. # NETCONFIG_DNS_FORWARDER
  51. # or disable DNS configuration updates via netconfig by setting:
  52. # NETCONFIG_DNS_POLICY=''
  53. #
  54. # See also the netconfig(8) manual page and other documentation.
  55. #
  56. ### Call "netconfig update -f" to force adjusting of /etc/resolv.conf.
  57. nameserver 10.6.0.1
  58.  
  59. DEBUG qatrfm.domain: Transfer file:
  60. domain: qatrfm-vm-nvuldytlec-0
  61. ip: 10.6.0.145
  62. type: put
  63. remote_file_path: /root/test_file
  64. local_file_path: /root/qatrfm-lib/tests/examples/simple/test_file
  65. DEBUG qatrfm.domain: File Transfer succedded.
  66. DEBUG qatrfm.domain: execute ssh cmd 'chmod +x /root/test_file; /root/test_file'
  67. 0
  68. DEBUG qatrfm.domain: SSH command status:
  69. DOMAIN : qatrfm-vm-nvuldytlec-0
  70. CMD : chmod +x /root/test_file; /root/test_file
  71. RETCODE : 0
  72. OUTPUT :
  73. This is a test
  74.  
  75.  
  76. INFO qatrfm.cli : The test 'SimpleTest' finished successfuly
  77. INFO qatrfm.cli : All tests passed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement