cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4303) [Automation] test_egress_fw_rules test cases failed to except script and tests failed
Date Tue, 13 Aug 2013 18:46:48 GMT
Rayees Namathponnan created CLOUDSTACK-4303:
-----------------------------------------------

             Summary: [Automation] test_egress_fw_rules test cases failed to except script
and tests failed 
                 Key: CLOUDSTACK-4303
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4303
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Rayees Namathponnan


Test cases from integration.component.test_egress_fw_rules.TestEgressFWRules fails 

test cases expecting script @ /tmp/expect_scrip, this should be handled in test case, 


Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py", line
51, in test_wrap_exception_log
    raise e
Script result is ['bash: /tmp/expect_script.exp: /usr/bin/expect: bad interpreter: No such
file or directory'] is not matching with ['100']
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestEgressFWRules: DEBUG: Creating network with network offering: 0bd6212f-b34c-4f7a-a84f-0c172bee6ac8
testclient.testcase.TestEgressFWRules: DEBUG: Created network with ID: ef2626c2-6849-43e7-8418-0c89ed528d62
testclient.testcase.TestEgressFWRules: DEBUG: Deploying instance in the account: test-SSFX20
testclient.testcase.TestEgressFWRules: DEBUG: Deployed instance in account: test-SSFX20
testclient.testcase.TestEgressFWRules: DEBUG: expect_script>>
#!/usr/bin/expect
spawn ssh -o UserKnownHostsFile=/dev/null  -o StrictHostKeyChecking=no -o LogLevel=quiet 
-i /root/.ssh/id_rsa.cloud  -p 3922 root@169.254.3.141
expect "root@r-342-QA:~#"
send "ssh -o UserKnownHostsFile=/dev/null  -o StrictHostKeyChecking=no -o LogLevel=quiet root@10.1.1.215
ping -c 1 www.google.com; exit $?
"
expect "root@10.1.1.215's password: "
send "password
"
interact
<<expect_script



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message