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] [Updated] (CLOUDSTACK-7352) [Automation] Test case test_01_list_vpncustomergateways_pagination trying to delete vpncustomergateways twice
Date Fri, 15 Aug 2014 05:38:18 GMT

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

Rayees Namathponnan updated CLOUDSTACK-7352:
--------------------------------------------

    Description: 
Test case integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways.test_01_list_vpncustomergateways_pagination
fails with below error 

{noformat}

xception: Job failed: {jobprocstatus : 0, created : u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}
test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
DEBUG: Response : FAILED
test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.deleteVpnCustomerGateway.deleteVpnCustomerGatewayCmd
object at 0x1971b790> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 374, in marvinRequest\n    raise self.__lastError\n', "Exception: Job failed: {jobprocstatus
: 0, created : u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374,
in marvinRequest
    raise self.__lastError
Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}
test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
CRITICAL: EXCEPTION: test_01_list_vpncustomergateways_pagination: ['Traceback (most recent
call last):\n', '  File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run\n  
 self.tearDown()\n', '  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_escalations_vpncustomergateways.py",
line 94, in tearDown\n    cleanup_resources(self.apiClient, self.cleanup)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/lib/utils.py",
line 121, in cleanup_resources\n    obj.delete(api_client)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py",
line 3418, in delete\n    apiclient.deleteVpnCustomerGateway(cmd)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2333, in deleteVpnCustomerGateway\n    response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest\n    raise e\n', "Exception: Job failed: {jobprocstatus : 0, created
: u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}\n"]
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run
    self.tearDown()
  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_escalations_vpncustomergateways.py",
line 94, in tearDown
    cleanup_resources(self.apiClient, self.cleanup)
  File "/usr/local/lib/python2.7/site-packages/marvin/lib/utils.py", line 121, in cleanup_resources
    obj.delete(api_client)
  File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 3418, in delete
    apiclient.deleteVpnCustomerGateway(cmd)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2333, in deleteVpnCustomerGateway
    response = self.connection.marvinRequest(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379,
in marvinReques
{noformat}

This test case deleteting VpnCustomerGateway twice 

First 

238         # Deleting the VPM Customer Gateway present in page 2
 239         VpnCustomerGateway.delete(
 240                                   vpncustomergateway_created,
 241                                   self.userapiclient
 242                                   )
 243         # Listing all the VPN Customer Gateways in page 2 again
 244         list_vpncustomergateways_page2 = VpnCustomerGateway.list(
 245                                                                  self.userapiclient,
 246                                                                  listall=self.services["listall"],
 247                                                                  page=2,
 248                                                                  pagesize=self.services["pagesize"]
 249                                                                  )


Also trying to delete as part of account clean up 

  was:
Test case integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways.test_01_list_vpncustomergateways_pagination
fails with below error 

=

This test case deleteting VpnCustomerGateway twice 

First 

238         # Deleting the VPM Customer Gateway present in page 2
 239         VpnCustomerGateway.delete(
 240                                   vpncustomergateway_created,
 241                                   self.userapiclient
 242                                   )
 243         # Listing all the VPN Customer Gateways in page 2 again
 244         list_vpncustomergateways_page2 = VpnCustomerGateway.list(
 245                                                                  self.userapiclient,
 246                                                                  listall=self.services["listall"],
 247                                                                  page=2,
 248                                                                  pagesize=self.services["pagesize"]
 249                                                                  )


Also trying to delete as part of account clean up 


> [Automation] Test case test_01_list_vpncustomergateways_pagination trying to delete vpncustomergateways
twice 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7352
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7352
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.5.0
>            Reporter: Rayees Namathponnan
>             Fix For: 4.5.0
>
>
> Test case integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways.test_01_list_vpncustomergateways_pagination
fails with below error 
> {noformat}
> xception: Job failed: {jobprocstatus : 0, created : u'2014-08-14T16:40:08-0700', cmd
: u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd', userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8',
jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86', jobresultcode : 530, jobresulttype
: u'object', jobresult : {errorcode : 530, errortext : u'Fail to find customer gateway with
3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}
> test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
DEBUG: Response : FAILED
> test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.deleteVpnCustomerGateway.deleteVpnCustomerGatewayCmd
object at 0x1971b790> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 374, in marvinRequest\n    raise self.__lastError\n', "Exception: Job failed: {jobprocstatus
: 0, created : u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}\n"]
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
374, in marvinRequest
>     raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-14T16:40:08-0700', cmd
: u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd', userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8',
jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86', jobresultcode : 530, jobresulttype
: u'object', jobresult : {errorcode : 530, errortext : u'Fail to find customer gateway with
3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}
> test_01_list_vpncustomergateways_pagination (integration.component.test_escalations_vpncustomergateways.TestVpnCustomerGateways):
CRITICAL: EXCEPTION: test_01_list_vpncustomergateways_pagination: ['Traceback (most recent
call last):\n', '  File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run\n  
 self.tearDown()\n', '  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_escalations_vpncustomergateways.py",
line 94, in tearDown\n    cleanup_resources(self.apiClient, self.cleanup)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/lib/utils.py",
line 121, in cleanup_resources\n    obj.delete(api_client)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py",
line 3418, in delete\n    apiclient.deleteVpnCustomerGateway(cmd)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2333, in deleteVpnCustomerGateway\n    response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest\n    raise e\n', "Exception: Job failed: {jobprocstatus : 0, created
: u'2014-08-14T16:40:08-0700', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd',
userid : u'db822ed4-23f9-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid : u'cd8c0ebd-499d-404f-80a7-ae018e329e86',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Fail to find customer gateway with 3 !'}, accountid : u'db8223a8-23f9-11e4-9ac6-1a6f7bb0d0a8'}\n"]
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run
>     self.tearDown()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_escalations_vpncustomergateways.py",
line 94, in tearDown
>     cleanup_resources(self.apiClient, self.cleanup)
>   File "/usr/local/lib/python2.7/site-packages/marvin/lib/utils.py", line 121, in cleanup_resources
>     obj.delete(api_client)
>   File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 3418, in delete
>     apiclient.deleteVpnCustomerGateway(cmd)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2333, in deleteVpnCustomerGateway
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
379, in marvinReques
> {noformat}
> This test case deleteting VpnCustomerGateway twice 
> First 
> 238         # Deleting the VPM Customer Gateway present in page 2
>  239         VpnCustomerGateway.delete(
>  240                                   vpncustomergateway_created,
>  241                                   self.userapiclient
>  242                                   )
>  243         # Listing all the VPN Customer Gateways in page 2 again
>  244         list_vpncustomergateways_page2 = VpnCustomerGateway.list(
>  245                                                                  self.userapiclient,
>  246                                                                  listall=self.services["listall"],
>  247                                                                  page=2,
>  248                                                                  pagesize=self.services["pagesize"]
>  249                                                                  )
> Also trying to delete as part of account clean up 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message