[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sheng Yang resolved CLOUDSTACK-3643.
------------------------------------

    Resolution: Fixed

Fix various issues for VPC and RvR test case.

Now test case should be run with web service enabled user vm template, 
otherwise at least half of them won't pass.

The original issue are due to various test cases didn't release the resources 
after complete the execution, thus result in resource exhausted on CS and fail 
to create VPC or deployment VM.
                
> [Automation] test_vpc_network_lbrules 7 test cases failed due to Failed to 
> create VPC
> -------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3643
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3643
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>            Reporter: Parth Jagirdar
>            Assignee: Sheng Yang
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: KVM_Advanced.zip
>
>
> integration.component.test_vpc_network_lbrules.TestVPCNetworkLBRules.test_13_VPC_LBRuleCreateFailForPFSourceNATIP
>  (from nosetests)
> Failing for the past 2 builds (Since #64 )
> Took 26 min.
> add description
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-CJCWPE
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_vpc_network_lbrules.py",
>  line 243, in setUp
>     domainid=self.account.domainid
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 2897, in create
>     return VPC(apiclient.createVPC(cmd).__dict__)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1960, in createVPC
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 230, in marvin_request
>     response = self.poll(asyncJobId, response_type)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 91, in poll
>     "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-CJCWPE
> --------------------- >> end captured logging << ---------------------
> integration.component.test_vpc_network_lbrules.TestVPCNetworkLBRules.test_01_VPC_LBRulesListing
>  (from nosetests)
> Failing for the past 2 builds (Since #64 )
> Took 26 min.
> add description
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-88RQ41
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_vpc_network_lbrules.py",
>  line 243, in setUp
>     domainid=self.account.domainid
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 2897, in create
>     return VPC(apiclient.createVPC(cmd).__dict__)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1960, in createVPC
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 230, in marvin_request
>     response = self.poll(asyncJobId, response_type)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 91, in poll
>     "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-88RQ41
> integration.component.test_vpc_network_lbrules.TestVPCNetworkLBRules.test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState
>  (from nosetests)
> Failing for the past 2 builds (Since #64 )
> Took 26 min.
> add description
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-DSS8V4
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_vpc_network_lbrules.py",
>  line 243, in setUp
>     domainid=self.account.domainid
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 2897, in create
>     return VPC(apiclient.createVPC(cmd).__dict__)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1960, in createVPC
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 230, in marvin_request
>     response = self.poll(asyncJobId, response_type)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 91, in poll
>     "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-DSS8V4
> --------------------- >> end captured logging << ---------------------
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-7GO3GT
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_vpc_network_lbrules.py",
>  line 243, in setUp
>     domainid=self.account.domainid
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 2897, in create
>     return VPC(apiclient.createVPC(cmd).__dict__)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1960, in createVPC
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 230, in marvin_request
>     response = self.poll(asyncJobId, response_type)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 91, in poll
>     "asyncquery", asyncResonse.jobresult)
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Failed to create VPC'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC offering..
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Enabling the VPC offering 
> created
> testclient.testcase.TestVPCNetworkLBRules: DEBUG: Creating a VPC network in 
> the account: test-7GO3GT
> --------------------- >> end captured logging << ---------------------

--
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

Reply via email to