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

Daniel P. Berrange berrange at redhat.com
Mon Mar 31 09:18:44 UTC 2014


On Fri, Mar 28, 2014 at 09:12:42PM +0100, Guido Günther wrote:
> 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.

FYI I've never tried to run TCK remotely. We do create alot of files on
the local disk, but I guess if you put an NFS volume at the right location
then this would probably just work ok.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list