[
https://issues.apache.org/jira/browse/CLOUDSTACK-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812179#comment-13812179
]
Rayees Namathponnan commented on CLOUDSTACK-3961:
-------------------------------------------------
Test case failed while ssh connection, is there any issue in marvin ?
obseved below error
integration.component.test_vpc_vms_deployment.TestVMDeployVPC.test_07_delete_network_with_rules
(from nosetests)
Failing for the past 16 builds (Since #175 )
Took 18 min.
Error Message
Failed to SSH into VM - 10.223.122.79, Failed to bring up ssh service in time.
Waited 300s. Error is error(113, 'No route to host')
-------------------- >> begin captured logging << --------------------
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating a VPC offering..
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the VPC offering is created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VPC
offering is created successfully - VPC off-MZPDBY
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Enabling the VPC offering created
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
creating a VPC network in the account:
test-TestVMDeployVPC-test_07_delete_network_with_rules-362FG8
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the VPC network is created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VPC
network validated - TestVPC-SZD2U6
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating network with network offering: 12bc7f04-489f-4b1b-8ea9-fa4a84b56963
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Created
network with ID: 28c883e0-7986-4dff-b9f7-9880bd67b0ff
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating network with network offering: d673f4b5-bb08-40fe-b79f-c0e7571b292e
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Created
network with ID: 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
deploying VMs in network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Deployed VM in network: 28c883e0-7986-4dff-b9f7-9880bd67b0ff
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Deployed another VM in network: 28c883e0-7986-4dff-b9f7-9880bd67b0ff
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
deploying VMs in network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Deployed VM in network: 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Deployed VM in network: 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if deployed VMs are in running state?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VM
name: efbc0d87-bfb3-430a-bb57-f27f2de3b69b, VM state: Running
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VM
name: 78e2e9f3-dcb2-490d-98b7-8343804c9e7e, VM state: Running
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VM
name: ef2a4b7a-0b55-44c7-bbaa-eafd7edb530c, VM state: Running
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: VM
name: 8ba21806-db6f-4ca8-9a72-f973d16a21cf, VM state: Running
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.79 with network 28c883e0-7986-4dff-b9f7-9880bd67b0ff
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
NetwrokACl rules to make NAT rule accessible
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.68 with network 28c883e0-7986-4dff-b9f7-9880bd67b0ff
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Enabling static NAT for IP: 10.223.122.68
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Static
NAT enabled for IP: 10.223.122.68
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: TestVPC-SZD2U6
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.80 with network 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
NetworkACl rules to make PF accessible
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
Egress rules to network to allow access to internet
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Attempting free VLAN 2377 for shared network creation
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating private gateway in VPC: TestVPC-SZD2U6
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the private gateway created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating static route for this gateway
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the static route created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.73 with network 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
NetworkACl rules to make NAT rule accessible
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: Test Network
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.84 with network 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Enabling static NAT for IP: 10.223.122.84
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Static
NAT enabled for IP: 10.223.122.84
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associating public IP for network: TestVPC-SZD2U6
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Associated 10.223.122.86 with network 315ea7fa-ecf0-49eb-aedc-2ac660b9b027
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
NetwrokACl rules to make PF accessible
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Adding
Egress rules to network to allow access to internet
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Attempting free VLAN 2366 for shared network creation
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating private gateway in VPC: TestVPC-SZD2U6
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the private gateway created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating static route for this gateway
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG: Check
if the static route created successfully?
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Restaring the network 1 (Test Network) with cleanup=True
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Checking if we can SSH into VM_1?
--------------------- >> 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_vpc_vms_deployment.py",
line 2251, in test_07_delete_network_with_rules
(public_ip_1.ipaddress.ipaddress, e))
File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
raise self.failureException(msg)
Failed to SSH into VM - 10.223.122.79, Failed to bring up ssh service in time.
Waited 300s. Error is error(113, 'No route to host')
-------------------- >> begin captured logging << --------------------
test_07_delete_network_with_rules
(integration.component.test_vpc_vms_deployment.TestVMDeployVPC): DEBUG:
Creating a VPC offering..
> [Automation] Failed to create LB rule in test case
> TestVMDeployVPC.test_07_delete_network_with_rules
> ----------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3961
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3961
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, Test
> Affects Versions: 4.2.0
> Environment: Automation
> Reporter: Rayees Namathponnan
> Assignee: Girish Shilamkar
> Fix For: 4.3.0
>
>
> Test case
> integration.component.test_vpc_vms_deployment.TestVMDeployVPC.test_07_delete_network_with_rules
> failed to create LB rule
> Execute cmd: createloadbalancerrule failed, due to: errorCode: 530,
> errorText:Failed to create load balancer rule: SSH
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVMDeployVPC: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVMDeployVPC: DEBUG: Check if the VPC offering is
> created successfully?
> testclient.testcase.TestVMDeployVPC: DEBUG: VPC offering is created
> successfully - VPC off-2MEVUE
> testclient.testcase.TestVMDeployVPC: DEBUG: Enabling the VPC offering created
> testclient.testcase.TestVMDeployVPC: DEBUG: creating a VPC network in the
> account: test-YJ705G
> testclient.testcase.TestVMDeployVPC: DEBUG: Check if the VPC network is
> created successfully?
> testclient.testcase.TestVMDeployVPC: DEBUG: VPC network validated -
> TestVPC-LP7HLI
> testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
> offering: 99875261-5eae-413f-94ac-c02da2b4fc0e
> testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
> 31116a68-3b10-49fe-8360-ba1002749e12
> testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
> offering: 86ae23ca-f7da-405e-98da-39051628f325
> testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
> d12a75f6-c714-482d-9678-1285681a3964
> testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
> Network
> testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
> 31116a68-3b10-49fe-8360-ba1002749e12
> testclient.testcase.TestVMDeployVPC: DEBUG: Deployed another VM in network:
> 31116a68-3b10-49fe-8360-ba1002749e12
> testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
> Network
> testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
> d12a75f6-c714-482d-9678-1285681a3964
> testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
> d12a75f6-c714-482d-9678-1285681a3964
> testclient.testcase.TestVMDeployVPC: DEBUG: Check if deployed VMs are in
> running state?
> testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
> 170e8320-57b6-4732-9982-ba89317d0881, VM state: Running
> testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
> 91474c90-12ce-4c78-91a1-b12abfb80cac, VM state: Running
> testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
> 99bd4d34-40e1-4d17-adac-54e672a2c9e4, VM state: Running
> testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
> 99defa04-8752-47bf-a619-ae8d32500f39, VM state: Running
> testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for
> network: Test Network
> testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.81 with
> network 31116a68-3b10-49fe-8360-ba1002749e12
> testclient.testcase.TestVMDeployVPC: DEBUG: Adding NetwrokACl rules to make
> NAT rule accessible
> testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for
> network: Test Network
> testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.82 with
> network 31116a68-3b10-49fe-8360-ba1002749e12
> testclient.testcase.TestVMDeployVPC: DEBUG: Enabling static NAT for IP:
> 10.223.122.82
> testclient.testcase.TestVMDeployVPC: DEBUG: Static NAT enabled for IP:
> 10.223.122.82
> testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for
> network: TestVPC-LP7HLI
> testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.84 with
> network d12a75f6-c714-482d-9678-1285681a3964
> testclient.testcase.TestVMDeployVPC: DEBUG: Creating LB rule for IP address:
> 10.223.122.84
> --------------------- >> 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_vpc_vms_deployment.py",
> line 1986, in test_07_delete_network_with_rules
> domainid=self.account.domainid
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 1529, in create
> return LoadBalancerRule(apiclient.createLoadBalancerRule(cmd).__dict__)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 981, in createLoadBalancerRule
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: createloadbalancerrule failed, due to: errorCode: 530,
> errorText:Failed to create load balancer rule: SSH
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVMDeployVPC: DEBUG: Creating a VPC offering..
--
This message was sent by Atlassian JIRA
(v6.1#6144)