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

Daniel P. Berrange berrange at redhat.com
Mon Mar 31 17:46:05 UTC 2014


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 ?
> 
> Daniel P. Berrange (6):
>   Add ability to provision full OS using virt-builder
>   Fix path to dnsmasq leases file
>   Add ability to setup NIC when creating guest XML
>   Force destroy guests if graceful shutdown fails
>   Convert nwfilter and domain balloon tests to virtbuilder images
>   Remove obsolete kickstart provisioning helper methods
> 
>  Build.PL                                  |   1 -
>  conf/default.cfg                          |  25 +++
>  conf/ks.cfg                               |  30 ----
>  lib/Sys/Virt/TCK.pm                       | 280 +++++++++++++++++++++++++-----
>  lib/Sys/Virt/TCK/DomainBuilder.pm         |  20 ++-
>  lib/Sys/Virt/TCK/NetworkHelpers.pm        | 140 +--------------
>  perl-Sys-Virt-TCK.spec.PL                 |   1 -
>  scripts/domain/110-memory-balloon.t       |  10 +-
>  scripts/nwfilter/090-install-image.t      |  55 ------
>  scripts/nwfilter/100-ping-still-working.t |  54 +++---
>  scripts/nwfilter/210-no-mac-spoofing.t    |  81 +++++----
>  scripts/nwfilter/220-no-ip-spoofing.t     |  78 +++++----
>  scripts/nwfilter/230-no-mac-broadcast.t   |  53 +++---
>  scripts/nwfilter/240-no-arp-spoofing.t    |  60 ++++---
>  scripts/nwfilter/300-vsitype.t            |  40 +++--
>  scripts/nwfilter/nwfilter_concurrent.sh   |   4 +-
>  16 files changed, 493 insertions(+), 439 deletions(-)
>  delete mode 100644 conf/ks.cfg
>  delete mode 100644 scripts/nwfilter/090-install-image.t

FYI I pushed this series now


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