From: Ian Jackson Subject: Re: [PATCH osstest] apt: lock osstest's usages of apt-get against each other Date: Thu, 24 Apr 2014 12:18:39 +0100 Message-ID: <21336.62223.96426.474876@mariner.uk.xensource.com> References: <1398247181-19595-1-git-send-email-ijc@hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398247181-19595-1-git-send-email-ijc@hellion.org.uk> 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: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. Ian.