Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E135C113E3 for ; Mon, 4 Aug 2014 06:52:28 +0000 (UTC) Received: (qmail 42678 invoked by uid 500); 4 Aug 2014 06:52:28 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 42637 invoked by uid 500); 4 Aug 2014 06:52:28 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 42623 invoked by uid 99); 4 Aug 2014 06:52:27 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 06:52:27 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 2415B1CF134; Mon, 4 Aug 2014 06:52:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4408740778182479955==" MIME-Version: 1.0 Subject: Re: Review Request 24154: CLOUDSTACK-7215: Make expunge=True as default parameter value while calling destroyVirtualMachine through base library From: "ASF Subversion and Git Services" To: "Santhosh Edukulla" Cc: "Gaurav Aradhye" , "ASF Subversion and Git Services" , "cloudstack" Date: Mon, 04 Aug 2014 06:52:14 -0000 Message-ID: <20140804065214.1595.72274@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "ASF Subversion and Git Services" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/24154/ X-Sender: "ASF Subversion and Git Services" References: <20140731145848.21934.7887@reviews.apache.org> In-Reply-To: <20140731145848.21934.7887@reviews.apache.org> Reply-To: "ASF Subversion and Git Services" X-ReviewRequest-Repository: cloudstack-git --===============4408740778182479955== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24154/#review49448 ----------------------------------------------------------- Commit c32b19a07d0eaa6dc0195ecf1aa9b952a91dc997 in cloudstack's branch refs/heads/master from Gaurav Aradhye [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c32b19a ] CLOUDSTACK-7215: Make expunge=True as default parameter value while calling destroyVirtualMachine through base library Signed-off-by: Santhosh Edukulla - ASF Subversion and Git Services On July 31, 2014, 2:58 p.m., Gaurav Aradhye wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/24154/ > ----------------------------------------------------------- > > (Updated July 31, 2014, 2:58 p.m.) > > > Review request for cloudstack and Santhosh Edukulla. > > > Bugs: CLOUDSTACK-7215 > https://issues.apache.org/jira/browse/CLOUDSTACK-7215 > > > Repository: cloudstack-git > > > Description > ------- > > In almost 90% of the scenarios where VMs are created through test case, VMs are added to cleanup list and the delete method is called for them through cleanup_resources method in utils.py file. > > These VMs remain in destroyed state for long time and keep blocking the resources (IP Address etc) and hence the load on the setup on which regression build is fired increases. > > Making expunge=True as default parameter in destroyVirtualMachine api call through base library will make all these VMs expunge quickly making resources available for next test cases. > > Also, it can be passed as False whenever we don't want VM to expunge immediately, and in case when we recover the VM through test case after destroying it. Pass expunge=False for all such scenarios. > > This will hugely boost the test cases execution speed too. > > > Diffs > ----- > > test/integration/component/test_advancedsg_networks.py 2794f96 > test/integration/component/test_multiple_ips_per_nic.py 24b85df > test/integration/component/test_ps_domain_limits.py afb0955 > test/integration/component/test_ps_limits.py 1993e93 > test/integration/component/test_vpc_vm_life_cycle.py fd995cd > tools/marvin/marvin/lib/base.py 58033c6 > > Diff: https://reviews.apache.org/r/24154/diff/ > > > Testing > ------- > > Yes. > > > Thanks, > > Gaurav Aradhye > > --===============4408740778182479955==--