You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gaurav Aradhye (JIRA)" <ji...@apache.org> on 2013/07/29 14:51:48 UTC

[jira] [Commented] (CLOUDSTACK-3841) [Automation] TestDeleteSecurityGroup.test_01_delete_security_grp_running_vm : test case failed to delete SG

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722411#comment-13722411 ] 

Gaurav Aradhye commented on CLOUDSTACK-3841:
--------------------------------------------

Added patch:

https://reviews.apache.org/r/13014/
                
> [Automation] TestDeleteSecurityGroup.test_01_delete_security_grp_running_vm : test case failed to delete SG
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3841
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3841
>             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
>            Reporter: Rayees Namathponnan
>            Assignee: Gaurav Aradhye
>             Fix For: 4.2.0
>
>
> Test case integration.component.test_security_groups.TestDeleteSecurityGroup.test_01_delete_security_grp_running_vm failed while deleteing SG, observed below error in log 
> Execute cmd: deletesecuritygroup failed, due to: errorCode: 536, errorText:Cannot delete group when it's in use by virtual machines
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Created security group with ID: e6d78156-7f58-4d63-9584-9a3a0b096c30
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Authorize Ingress Rule for Security Group e6d78156-7f58-4d63-9584-9a3a0b096c30 for account: test-CRIA73
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Deploying VM in account: test-CRIA73
> --------------------- >> 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_security_groups.py", line 1114, in test_01_delete_security_grp_running_vm
>     security_group.delete(self.apiclient)
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2420, in delete
>     apiclient.deleteSecurityGroup(cmd)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1579, in deleteSecurityGroup
>     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: deletesecuritygroup failed, due to: errorCode: 536, errorText:Cannot delete group when it's in use by virtual machines
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Created security group with ID: e6d78156-7f58-4d63-9584-9a3a0b096c30
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Authorize Ingress Rule for Security Group e6d78156-7f58-4d63-9584-9a3a0b096c30 for account: test-CRIA73
> testclient.testcase.TestDeleteSecurityGroup: DEBUG: Deploying VM in account: test-CRIA73
> --------------------- >> 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