From: Ian Jackson Subject: Re: [OSSTEST PATCH] sg-run-job: Coalesce a couple of repetitions Date: Fri, 27 Nov 2015 17:16:31 +0000 Message-ID: <22104.36847.600664.445485@mariner.uk.xensource.com> References: <1448643257-5478-1-git-send-email-ian.jackson@eu.citrix.com> <1448643797.13576.128.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a2MdQ-0006jy-KL for xen-devel@lists.xenproject.org; Fri, 27 Nov 2015 17:16:36 +0000 In-Reply-To: <1448643797.13576.128.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH] sg-run-job: Coalesce a couple of = repetitions"): > On Fri, 2015-11-27 at 16:54 +0000, Ian Jackson wrote: > > The resulting testid `guest-localmigrate/x10' becomes a bit misleading > > in that it now does 11 repetitions.=A0=A0But we don't want to change the > > testid. > = > I'd be inclined to just accept the possibility of missing a failure on the > 11th iteration and just do 10 instead of 10+1. OK. > When this repeat starts the guest is now stopped, whereas before it was > running. Does the body of the loop, which starts with a ts-guest-stop, > handle that? No, oops. Clearly I should test this for real... > Maybe you should remove the ts-guest-stop right at the start of this fn > too? It's probably better to swap the order of things in the repeat, and move the extra start to below the repeat. That way if guest-stop fails utterly (which it does in several tests) it won't look like a failure of starting. Ian.