[libvirt] [PATCH tck 0/6] Fix tests which need a full OS image

Guido Günther agx at sigxcpu.org
Fri Mar 28 20:12:42 UTC 2014


Hi Daniel,
On Fri, Mar 28, 2014 at 02:48:41PM +0000, Daniel P. Berrange wrote:
> On Fri, Mar 28, 2014 at 03:16:37PM +0100, Guido Günther wrote:
> > On Fri, Mar 28, 2014 at 12:26:26PM +0000, Daniel P. Berrange wrote:
> > > A bunch of tests currently attempt to kickstart a full Fedora
> > > OS image install. Everytime I try to update this kickstart to
> > > a new version of Fedora it causes no end of pain. Switch the
> > > tests over to use Richard Jones' virt-builder command which
> > > is part of libguestfs. This makes it trivial to deploy and
> > > customize full OS images from pre-built templates.
> > > 
> > > Mike - does Suse include a new enough version of libguestfs
> > > to get access to the 'virt-builder' tool yet ?
> > 
> > Just as a data point: I'm running on Debian Wheezy via Jenkins on a
> > regular basis (i.e. on libvirt commit). Wheezy has 1.18.1 which isn't
> > recent enough. I also ran into kickstart hazzles several times but
> > keeping the entry barrier low to use libvirt-tck might be more
> > important.
> 
> So if lack of virt-builder is a significant problem for you, then one
> option is for us to directly download the disk images from
> 
>   http://libguestfs.org/download/builder/
> 
> and then just run virt-sysprep on it ourselves. We don't actually
> need much of the fancy code virt-builder has, so it wouldn't be too
> much work to do it.
> 
> How much longer do you expect to be needing to support running on
> Wheezy ? Are we talking years, or just months ?

I aim to support testing on wheezy until it goes EOL which will be
years rather than months. However updating the machine the tests are run
_from_ to a newer version that has a recent guestfs will be easy. I'll
just have to check how well running libvirt-tck against remote URIs is
supported. I've disabled updating libvirt-tck for now:

    http://honk.sigxcpu.org:8001/view/libvirt/job/libvirt-tck-build/

so no worries merging your changes.
Cheers,
 -- Guido





More information about the libvir-list mailing list