From: Ian Campbell Subject: Re: [PATCH osstest v4] Add libvirt build and test jobs. Date: Tue, 22 Apr 2014 14:51:48 +0100 Message-ID: <1398174708.4880.5.camel@kazak.uk.xensource.com> References: <1397801256-13363-1-git-send-email-ian.campbell@citrix.com> <21334.29411.796586.668605@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21334.29411.796586.668605@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 Tue, 2014-04-22 at 14:47 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH osstest v4] Add libvirt build and test jobs."): > > [stuff] > > Thanks. > > > diff --git a/ap-push b/ap-push > > index dc0a166..c3359fc 100755 > ... > > +libvirt-gnulib) > > + # No gate > > + exit 1 > > This would result in a mysterious failure. You probably need to add > a suitable echo >&2. OK. > > diff --git a/mfi-common b/mfi-common > > index 598aa02..503a1fc 100644 > > --- a/mfi-common > > +++ b/mfi-common > ... > > + tree_libvirt_gnulib=$TREE_LIBVIRT_GNULIB revision_libv\ > irt_gnulib=$REVISION_LIBVIRT_GNULIB\ > > + ${TREEVCS_LIBVIRT_GNULIB:+treevcs_libvirt_gnulib=}${TR\ > EEVCS_LIBVIRT_GNULIB} > > I was concerted about the "_" in "*_libvirt_gnulib" for the runvar > names. I haven't been able to find anything which will actually break > due to the intervening "_" and a search of the db does produce some > old flights which mention a tree_linux_pq. > > I think we should go with this because the alternatives are too ugly > but we should watch for breakage. OK. > Also, I wonder if "tree_gnulib_libvirt" would be more in keeping with > our naming scheme. (cf "BLAH_LINUX_ARM".) I'm ok with either. > > The rest of it looks plausible apart from this: > > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > > index 65afc5b..99b313e 100644 > > --- a/Osstest/TestSupport.pm > > +++ b/Osstest/TestSupport.pm > > @@ -1776,7 +1776,13 @@ our %toolstacks= > > Command => 'xl', > > CfgPathVar => 'cfgpath', > > RestoreNeedsConfig => 1, > > - } > > + }, > > + 'libvirt' => { > > + NewDaemons => [qw(libvirtd)], > > + Dom0MemFixed => 1, > > + Command => 'virsh', > > + ExtraPackages => [qw(libnl1 libavahi-client3)], > > + }, > > ); > > This is obviously not going to work. Correct. > Do you intend for this to just > fail in ridiculous ways, and provide a general abstraction later ? Yes. The test job runs up into ts-guest-start which fails as expected. I figured that fixing that could come later, probably via an abstraction layer as you suggest. Ian.