From: Ian Campbell Subject: Re: [PATCH osstest.git v3] Add libvirt build and test jobs. Date: Tue, 15 Apr 2014 11:42:16 +0100 Message-ID: <1397558536.24638.57.camel@kazak.uk.xensource.com> References: <1397471894-19513-1-git-send-email-ian.campbell@citrix.com> <21323.49761.945062.985508@mariner.uk.xensource.com> <1397474084.9862.250.camel@kazak.uk.xensource.com> <21323.62393.368948.543728@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21323.62393.368948.543728@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: Jim Fehlig , Dario Faggioli , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-14 at 15:42 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH osstest.git v3] Add libvirt build and test jobs."): > > On Mon, 2014-04-14 at 12:11 +0100, Ian Jackson wrote: > > > Sadly, you mustn't invoke apt here because this script might run in > > > parallel on the same host with other scripts. > > > > > > I had to make a similar comment in response to another patch > > > recently. > > > > Ah, I remember that now you mention it. > > > > > Perhaps it is time to fix this by wrapping the apt-get rune > > > in with-lock-ex. > > > > Can do. I'd also be happy to move these packages to the build-prep job. > > I think adding the extra flexibility is probably better. It might > avoid quite a bit of needless installing of things. It would also > remove one more barrier sharing of test dom0s. One concern I just had was that it could make some stuff be slightly less deterministic, since it might depend more on what jobs previously ran on the host. At least by having all packages installed to ts-xen-build-prep we guarantee that everything sees the same set of installed packages. Now, we should be passing all the right options to configure etc to make this issue moot -- but I bet we aren't. Ian.