From: Ian Jackson Subject: Re: [PATCH osstest v4] Add libvirt build and test jobs. Date: Tue, 22 Apr 2014 14:47:15 +0100 Message-ID: <21334.29411.796586.668605@mariner.uk.xensource.com> References: <1397801256-13363-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397801256-13363-1-git-send-email-ian.campbell@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: Jim Fehlig , Dario Faggioli , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. > 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. Also, I wonder if "tree_gnulib_libvirt" would be more in keeping with our naming scheme. (cf "BLAH_LINUX_ARM".) 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. Do you intend for this to just fail in ridiculous ways, and provide a general abstraction later ? Thanks, Ian.