[libvirt] [PATCH tck v2 0/5] Getting the TCK to run against opensuse images

Cédric Bosdonnat cbosdonnat at suse.com
Tue Sep 29 15:01:29 UTC 2015


Hi all,

Here are a few patches to get the TCK run properly against opensuse image.
The patch adding the opensuse images to virt-builder is still pending, but
the main issues were:

  * Waiting for 30 seconds for the guest to be started is pretty fragile.
    For the tests pinging the guest, wait for domifstats to report 10 sent
    packets.
  * The first boot of the opensuse image runs dracut and takes quite a long
    time. We need to wait for the first boot to complete before shutting
    down the guest to avoid inconsistent states.
  * Yum isn't in all distros by default you know ;)

diff to v1:
  * set the proper email address

Cédric Bosdonnat (5):
  Ping test: use domifstats to wait for dhcp to be setup in guest
  Create has_disk_image from code of get_virt_builder_disk
  Add DomainBuilder->rminterface function.
  Make sure the image has been started properly started the first time.
  240-no-arp-spoofing.t: get virt-builder install dsniff

 lib/Sys/Virt/TCK.pm                       | 54 +++++++++++++++++++++++++++++--
 lib/Sys/Virt/TCK/DomainBuilder.pm         |  7 ++++
 scripts/nwfilter/100-ping-still-working.t | 13 ++++++--
 scripts/nwfilter/210-no-mac-spoofing.t    | 13 ++++++--
 scripts/nwfilter/230-no-mac-broadcast.t   | 13 ++++++--
 scripts/nwfilter/240-no-arp-spoofing.t    | 14 ++++++--
 6 files changed, 103 insertions(+), 11 deletions(-)

-- 
2.1.4




More information about the libvir-list mailing list