From: Ian Campbell Subject: Re: [PATCH osstest] apt: lock osstest's usages of apt-get against each other Date: Thu, 24 Apr 2014 12:52:25 +0100 Message-ID: <1398340345.18537.339.camel@kazak.uk.xensource.com> References: <1398247181-19595-1-git-send-email-ijc@hellion.org.uk> <21336.62223.96426.474876@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21336.62223.96426.474876@mariner.uk.xensource.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 Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-24 at 12:18 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH osstest] apt: lock osstest's usages of apt-get against each other"): > > From: Ian Campbell > > > > Currently we rely on all apt-get invocations being in a single > > ts-xen-build-prep job which can't run on a shared host. > ... > > @@ -430,17 +430,18 @@ sub target_putfile_root ($$$$;$) { > > sub target_run_apt { > > my ($ho, $timeout, @aptopts) = @_; > > I think this needs to lose the timeout option completely. If some new > caller were to come along and call "apt-get moo", it ought not to be > expected to pass a timeout. If it did it would pass 30, one would > expect, but of course it might end up blocked behind a long run. I think you mean this function should just pick a suitably large timeout for everything, rather than have no timeout at all, is that right? Ian.