qemu:///session doesn't have a default network so we fail with:
./scripts/domain/121-block-info.t .. 1/29 # Defining transient storage pool
# Generic guest with pervious created vol
./scripts/domain/121-block-info.t .. 12/29
# Failed test 'Create domain'
# at /var/lib/jenkins/jobs/libvirt-tck-build/workspace/lib//Sys/Virt/TCK.pm line 803.
# expected Sys::Virt::Domain object
# found 'libvirt error code: 43, message: Network not found: no network with matching
name 'default'
# '
The network isn't needed so simply leave it out.
---
scripts/domain/121-block-info.t | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/domain/121-block-info.t b/scripts/domain/121-block-info.t
index a25d075..dad00c6 100644
--- a/scripts/domain/121-block-info.t
+++ b/scripts/domain/121-block-info.t
@@ -91,7 +91,6 @@ $guest->rmdisk();
$guest->disk(format => { name => "qemu", type => $disktype }, type
=> "file", src => $path, dst => $dst);
$guest->disk(format => { name => "qemu", type => $disktype }, type
=> "file", src=> $path2, dst => $dst2);
$guest->disk(format => { name => "qemu", type => "qcow2"
}, type => "file", src=> $path3, dst => $dst3);
-$guest->interface(type => "network", source => "default",
model => "virtio", mac => "52:54:00:22:22:22");
$xml = $guest->as_xml;
my $dom;
--
1.7.10.4