Rayees Namathponnan created CLOUDSTACK-3795:
-----------------------------------------------
Summary: [Automation] Test case from
test_redundant_router_network_rules failed with connect error and wrong result
in ListPublicIP call
Key: CLOUDSTACK-3795
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3795
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.2.0
Environment: Automation
KVM
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.2.0
Below 3 test case failed from this suite
1)integration.component.test_redundant_router_network_rules.TestRedundantRouterRulesLifeCycle.test_applyNetworkRules_MasterDown_deleteNetworkRules
Error
SSH to guest VM failed: [Errno 113] No route to host
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Creating network
with network offering: 83edb9de-f507-4ff8-aa1d-5428939f8839
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Created network
with ID: 5059dcda-4080-4887-968d-4e0dd25b72e0
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Network state:
Allocated
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Listing routers
for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Deploying VM in
account: test-DEUW2C
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Deployed VM in
network: 5059dcda-4080-4887-968d-4e0dd25b72e0
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Listing routers
for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Stopping router
ID: 82fd9c43-3a92-4fb5-8276-d8dd31426702
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Associating
public IP for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Associated
10.223.122.94 with network 5059dcda-4080-4887-968d-4e0dd25b72e0
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Enabling static
NAT for IP: 10.223.122.94
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Static NAT
enabled for IP: 10.223.122.94
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: creating a FW
rule on IP: 10.223.122.94
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Created a
firewall rule on 22 port of IP: 10.223.122.94
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Trying to SSH
into the virtual machine
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_redundant_router_network_rules.py",
line 1321, in test_applyNetworkRules_MasterDown_deleteNetworkRules
self.fail("SSH to guest VM failed: %s" % e)
File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
raise self.failureException(msg)
SSH to guest VM failed: [Errno 113] No route to host
2)
integration.component.test_redundant_router_network_rules.TestRedundantRouterRulesLifeCycle.test_applyRules_restartRvRNetwork
3)
integration.component.test_redundant_router_network_rules.TestRedundantRouterRulesLifeCycle.test_apply_and__delete_NetworkRulesOnRvR
Test case 2 and 3 failed with below error
List public Ip for network should list the Ip addr
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Creating network
with network offering: 83edb9de-f507-4ff8-aa1d-5428939f8839
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Created network
with ID: 0248042a-9f12-4f7b-acee-61b2900463c6
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Network state:
Allocated
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Listing routers
for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Deploying VM in
account: test-EYGH2T
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Deployed VM in
network: 0248042a-9f12-4f7b-acee-61b2900463c6
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Listing routers
for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Associating
public IP for network: Test Network
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Associated
10.223.122.101 with network 0248042a-9f12-4f7b-acee-61b2900463c6
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Enabling static
NAT for IP: 10.223.122.101
testclient.testcase.TestRedundantRouterRulesLifeCycle: DEBUG: Static NAT
enabled for IP: 10.223.122.101
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_redundant_router_network_rules.py",
line 682, in test_applyRules_restartRvRNetwork
"List public Ip for network should list the Ip addr"
File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/lib/python2.7/unittest/case.py", line 902, in
assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
raise self.failureException(msg)
List public Ip for network should list the Ip addr
--
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