[
https://issues.apache.org/jira/browse/CLOUDSTACK-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan reopened CLOUDSTACK-3961:
---------------------------------------------
Test case failed again with below error
ntegration.component.test_vpc_vms_deployment.TestVMDeployVPC.test_07_delete_network_with_rules
(from nosetests)
Failing for the past 6 builds (Since Unstable#2 )
Took 5 min 51 sec.
add description
Error Message
Execute cmd: createprivategateway failed, due to: errorCode: 431,
errorText:Network with vlan 678 already exists in zone 1
-------------------- >> 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-UT2VNB
testclient.testcase.TestVMDeployVPC: DEBUG: Enabling the VPC offering created
testclient.testcase.TestVMDeployVPC: DEBUG: creating a VPC network in the
account: test-PBLMDB
testclient.testcase.TestVMDeployVPC: DEBUG: Check if the VPC network is created
successfully?
testclient.testcase.TestVMDeployVPC: DEBUG: VPC network validated -
TestVPC-HPIYDN
testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
offering: ae662046-ca5d-4e71-bc8e-d12db86e6752
testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
fa2d3efd-aa7e-4023-8672-e65a950046fa
testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
offering: 987dce99-97b5-448f-a2ac-c7287cabc118
testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
Network
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
fa2d3efd-aa7e-4023-8672-e65a950046fa
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed another VM in network:
fa2d3efd-aa7e-4023-8672-e65a950046fa
testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
Network
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: Check if deployed VMs are in
running state?
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
c126b11a-2cfc-4b3f-9c28-91a5b96bed85, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
b77e912b-dcdc-4d2f-81f5-d37a9b9f5e4e, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
856b39b3-9fbc-44da-a806-c7ce123e1ab7, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
7404810f-dc62-41d2-8d72-e1247fd9a8eb, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
Test Network
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.89 with
network fa2d3efd-aa7e-4023-8672-e65a950046fa
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.78 with
network fa2d3efd-aa7e-4023-8672-e65a950046fa
testclient.testcase.TestVMDeployVPC: DEBUG: Enabling static NAT for IP:
10.223.122.78
testclient.testcase.TestVMDeployVPC: DEBUG: Static NAT enabled for IP:
10.223.122.78
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
TestVPC-HPIYDN
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.79 with
network 80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: Adding NetworkACl rules to make PF
accessible
testclient.testcase.TestVMDeployVPC: DEBUG: Adding Egress rules to network to
allow access to internet
testclient.testcase.TestVMDeployVPC: DEBUG: Creating private gateway in VPC:
TestVPC-HPIYDN
testclient.testcase.TestVMDeployVPC: DEBUG: Check if the private gateway
created successfully?
testclient.testcase.TestVMDeployVPC: DEBUG: Creating static route for this
gateway
testclient.testcase.TestVMDeployVPC: DEBUG: Check if the static route created
successfully?
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
Test Network
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.81 with
network 80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: Adding NetworkACl 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 80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
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-HPIYDN
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.83 with
network 80f3a9d3-1ed7-4362-9348-3747ee7b8a7a
testclient.testcase.TestVMDeployVPC: DEBUG: Adding NetwrokACl rules to make PF
accessible
testclient.testcase.TestVMDeployVPC: DEBUG: Adding Egress rules to network to
allow access to internet
testclient.testcase.TestVMDeployVPC: DEBUG: Creating private gateway in VPC:
TestVPC-HPIYDN
--------------------- >> 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 2160, in test_07_delete_network_with_rules
vpcid=vpc.id
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py",
line 3088, in create
return PrivateGateway(apiclient.createPrivateGateway(cmd).__dict__)
File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2034, in createPrivateGateway
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: createprivategateway failed, due to: errorCode: 431,
errorText:Network with vlan 678 already exists in zone 1
> [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: Prasanna Santhanam
> Fix For: 4.2.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 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