[ https://issues.apache.org/jira/browse/CLOUDSTACK-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasanna Santhanam updated CLOUDSTACK-2935: ------------------------------------------- Description: When setUpClass/setUp fails in unittest, we cannot perform the tearDownClass/tearDown allowing for cleanup to happen successfully. If VM deployments start failing we end up exhausting resources in the cloud. This needs to be handled better in the framework for want of a better solution from Python's unittest. http://bugs.python.org/issue5538 was: Some of regression test cases are not tearing down account if there failure in test case , due to this resources are not getting freed client_test_redundant_router.py testclient.testcase.TestVPCNetworkPFRules testclient.testcase.TestVPCNetworkLBRules test_vpc_vm_life_cycle.py > Improve Marvin support for cleanup > ---------------------------------- > > Key: CLOUDSTACK-2935 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2935 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.2.0 > Environment: Automation > Reporter: Rayees Namathponnan > Assignee: Girish Shilamkar > Priority: Critical > Fix For: 4.2.0 > > > When setUpClass/setUp fails in unittest, we cannot perform the > tearDownClass/tearDown allowing for cleanup to happen successfully. If VM > deployments start failing we end up exhausting resources in the cloud. This > needs to be handled better in the framework for want of a better solution > from Python's unittest. > http://bugs.python.org/issue5538 -- 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