Chandan Purushothama created CLOUDSTACK-7433:
------------------------------------------------

             Summary: [Automation] Fix the script 
"test_deploy_vm_userdata_reg.py" - Host credentials are hardcoded in the script
                 Key: CLOUDSTACK-7433
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7433
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, Test
    Affects Versions: 4.5.0
            Reporter: Chandan Purushothama
            Priority: Critical
             Fix For: 4.5.0


The host credentials are hardcoded in the script. Please take the host specific 
information from test_data.py which is configurable.

*Error Message*

SSH Connection Failed   Logs available at 
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=deploy_vm_userdata

Stacktrace

  File "/usr/lib/python2.7/unittest/case.py", line 332, in run
    testMethod()
  File 
"/root/cloudstack/test/integration/component/test_deploy_vm_userdata_reg.py", 
line 209, in test_deployvm_userdata_post
    cmd
  File "/usr/local/lib/python2.7/dist-packages/marvin/lib/utils.py", line 198, 
in get_process_status
    ssh = SshClient(hostip, port, username, password)
  File "/usr/local/lib/python2.7/dist-packages/marvin/sshClient.py", line 81, 
in __init__
    raise internalError("SSH Connection Failed")
'SSH Connection Failed\n

Logs available at 
http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=deploy_vm_userdata
              



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to