dpkg-buildpackage -rfakeroot -D -us -uc -b dpkg-buildpackage: source package libsys-virt-perl dpkg-buildpackage: source version 1.2.18-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Salvatore Bonaccorso dpkg-source --before-build libsys-virt-perl-1.2.18 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build dh build dh_testdir dh_auto_configure perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2" "LD=cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sys::Virt Writing MYMETA.yml and MYMETA.json dh_auto_build make -j1 make[1]: Entering directory '/home/lamby/temp/cdt.20150831024845.gjp1uGvxOM/libsys-virt-perl-1.2.18' cp lib/Sys/Virt/Secret.pm blib/lib/Sys/Virt/Secret.pm cp lib/Sys/Virt/Event.pm blib/lib/Sys/Virt/Event.pm cp lib/Sys/Virt/Stream.pm blib/lib/Sys/Virt/Stream.pm cp lib/Sys/Virt/StoragePool.pm blib/lib/Sys/Virt/StoragePool.pm cp lib/Sys/Virt/DomainSnapshot.pm blib/lib/Sys/Virt/DomainSnapshot.pm cp lib/Sys/Virt/NWFilter.pm blib/lib/Sys/Virt/NWFilter.pm cp lib/Sys/Virt.pm blib/lib/Sys/Virt.pm cp lib/Sys/Virt/Domain.pm blib/lib/Sys/Virt/Domain.pm cp lib/Sys/Virt/StorageVol.pm blib/lib/Sys/Virt/StorageVol.pm cp lib/Sys/Virt/Interface.pm blib/lib/Sys/Virt/Interface.pm cp lib/Sys/Virt/Error.pm blib/lib/Sys/Virt/Error.pm cp lib/Sys/Virt/Network.pm blib/lib/Sys/Virt/Network.pm cp lib/Sys/Virt/NodeDevice.pm blib/lib/Sys/Virt/NodeDevice.pm Running Mkbootstrap for Sys::Virt () chmod 644 Virt.bs /usr/bin/perl /usr/share/perl/5.20/ExtUtils/xsubpp -typemap /usr/share/perl/5.20/ExtUtils/typemap -typemap typemap Virt.xs > Virt.xsc && mv Virt.xsc Virt.c cc -c -Wall -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DVERSION=\"1.2.18\" -DXS_VERSION=\"1.2.18\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE" Virt.c rm -f blib/arch/auto/Sys/Virt/Virt.so cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -shared -L/usr/local/lib -fstack-protector Virt.o -o blib/arch/auto/Sys/Virt/Virt.so \ -lvirt \ chmod 755 blib/arch/auto/Sys/Virt/Virt.so /usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Virt.bs blib/arch/auto/Sys/Virt/Virt.bs 644 Manifying blib/man3/Sys::Virt.3pm Manifying blib/man3/Sys::Virt::Domain.3pm Manifying blib/man3/Sys::Virt::DomainSnapshot.3pm Manifying blib/man3/Sys::Virt::Error.3pm Manifying blib/man3/Sys::Virt::Event.3pm Manifying blib/man3/Sys::Virt::Interface.3pm Manifying blib/man3/Sys::Virt::NWFilter.3pm Manifying blib/man3/Sys::Virt::Network.3pm Manifying blib/man3/Sys::Virt::NodeDevice.3pm Manifying blib/man3/Sys::Virt::Secret.3pm Manifying blib/man3/Sys::Virt::StoragePool.3pm Manifying blib/man3/Sys::Virt::StorageVol.3pm Manifying blib/man3/Sys::Virt::Stream.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" META.yml.PL META.yml /usr/bin/perl "-Iblib/arch" "-Iblib/lib" perl-Sys-Virt.spec.PL perl-Sys-Virt.spec make[1]: Leaving directory '/home/lamby/temp/cdt.20150831024845.gjp1uGvxOM/libsys-virt-perl-1.2.18' dh_auto_test make -j1 test TEST_VERBOSE=1 make[1]: Entering directory '/home/lamby/temp/cdt.20150831024845.gjp1uGvxOM/libsys-virt-perl-1.2.18' Running Mkbootstrap for Sys::Virt () chmod 644 Virt.bs PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/005-pod.t ............ 1..13 ok 1 - POD test for blib/lib/Sys/Virt.pm ok 2 - POD test for blib/lib/Sys/Virt/Event.pm ok 3 - POD test for blib/lib/Sys/Virt/DomainSnapshot.pm ok 4 - POD test for blib/lib/Sys/Virt/Network.pm ok 5 - POD test for blib/lib/Sys/Virt/NodeDevice.pm ok 6 - POD test for blib/lib/Sys/Virt/StorageVol.pm ok 7 - POD test for blib/lib/Sys/Virt/NWFilter.pm ok 8 - POD test for blib/lib/Sys/Virt/Secret.pm ok 9 - POD test for blib/lib/Sys/Virt/Domain.pm ok 10 - POD test for blib/lib/Sys/Virt/Error.pm ok 11 - POD test for blib/lib/Sys/Virt/Interface.pm ok 12 - POD test for blib/lib/Sys/Virt/StoragePool.pm ok 13 - POD test for blib/lib/Sys/Virt/Stream.pm ok t/010-pod-coverage.t ... 1..13 ok 1 - Pod coverage on Sys::Virt ok 2 - Pod coverage on Sys::Virt::Event ok 3 - Pod coverage on Sys::Virt::DomainSnapshot ok 4 - Pod coverage on Sys::Virt::Network ok 5 - Pod coverage on Sys::Virt::NodeDevice ok 6 - Pod coverage on Sys::Virt::StorageVol ok 7 - Pod coverage on Sys::Virt::NWFilter ok 8 - Pod coverage on Sys::Virt::Secret ok 9 - Pod coverage on Sys::Virt::Domain ok 10 - Pod coverage on Sys::Virt::Error ok 11 - Pod coverage on Sys::Virt::Interface ok 12 - Pod coverage on Sys::Virt::StoragePool ok 13 - Pod coverage on Sys::Virt::Stream ok t/015-changes.t ........ 1..4 ok 1 - Changes is loadable ok 2 - Changes contains at least one release ok 3 - Changes contains valid release dates ok 4 - Changes contains valid version numbers ok t/020-constants.t ...... 1..14 ok 1 - use Sys::Virt; ok 2 - CRED_USERNAME ok 3 - CRED_AUTHNAME ok 4 - CRED_LANGUAGE ok 5 - CRED_CNONCE ok 6 - CRED_PASSPHRASE ok 7 - CRED_ECHOPROMPT ok 8 - CRED_NOECHOPROMPT ok 9 - CRED_REALM ok 10 - CRED_EXTERNAL ok 11 - hard limit ok 12 - soft limit ok 13 - min guarantee ok 14 - swap hard limit ok t/030-api-coverage.t ... skipped: Test only for module maintainer. Set TEST_MAINTAINER=1 to run t/100-connect.t ........ 1..25 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - model ok 4 - cpus ok 5 - mhz ok 6 - sockets ok 7 - nodes ok 8 - cores ok 9 - threads ok 10 - memory ok 11 - host ok 12 - os ok 13 - arch ok 14 - wordsize ok 15 - type ok 16 - pae ok 17 - nonpae ok 18 - major ok 19 - minor ok 20 - micro ok 21 - max cpus ok 22 # skip Too hard to figure out matchiing hostnames in test suite ok 23 - connection is secure ok 24 - connection is not encrypted ok 25 - got some cpu models ok t/200-domains.t ........ 1..59 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - 1 active domain ok 4 - domain ids ok 5 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 6 - 1 active domain ok 7 - domain id matches ok 8 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 9 - name ok 10 - id ok 11 - domain is persistent ok 12 - domain is active ok 13 - domain is not updated ok 14 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 15 - name ok 16 - id ok 17 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 18 - name ok 19 - id ok 20 - one domain ok 21 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 22 - 0 defined domain ok 23 - 1 defined domain ok 24 - names ok 25 - 1 defined domain ok 26 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 27 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 28 - domain is persistent ok 29 - domain is not active ok 30 - domain is active ok 31 - 2 active domains ok 32 - domain ids ok 33 - memory ok 34 - max mem ok 35 - vcpu ok 36 - state ok 37 - weight param ok 38 - weight param is 50 ok 39 - weight param ok 40 # skip avoid bug in test driver sched params ok 41 - 2 cells ok 42 - mem in cell 1 ok 43 - mem in cell 2 ok 44 - 1 active domains ok 45 - domain ids ok 46 - 0 defined domain ok 47 - names ok 48 - 1 domain ok 49 - domain ids ok 50 - 2 domains ok 51 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 52 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 53 - An object of class 'Sys::Virt::Domain' isa 'Sys::Virt::Domain' ok 54 - domain is not persistent ok 55 - domain is active ok 56 - 1 domains ok 57 - ids ok 58 - 0 defined domain ok 59 - names ok t/300-networks.t ....... 1..32 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - 1 active network ok 4 - network names ok 5 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 6 - 1 active network ok 7 - network name matches ok 8 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 9 - name ok 10 - net is persistent ok 11 - net is active ok 12 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 13 - name ok 14 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 15 - name ok 16 - one network ok 17 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 18 - 0 defined network ok 19 - net is persistent ok 20 - net is not active ok 21 - 1 defined network ok 22 - names ok 23 - 1 defined network ok 24 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 25 - An object of class 'Sys::Virt::Network' isa 'Sys::Virt::Network' ok 26 - net is active ok 27 - 2 active networks ok 28 - network names ok 29 - 1 active networks ok 30 - network names ok 31 - 0 defined network ok 32 - names ok t/400-storage-pools.t .. 1..32 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - 1 active storage_pool ok 4 - storage_pool names ok 5 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 6 - 1 active pool ok 7 - pool name matches ok 8 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 9 - name ok 10 - pool is persistent ok 11 - pool is active ok 12 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 13 - name ok 14 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 15 - name ok 16 - one storage_pool ok 17 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 18 - 0 defined storage_pool ok 19 - 1 defined storage_pool ok 20 - pool is persistent ok 21 - pool is not active ok 22 - names ok 23 - 1 defined storage_pool ok 24 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 25 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 26 - pool is active ok 27 - 2 active storage_pools ok 28 - storage_pool names ok 29 - 1 active storage_pools ok 30 - storage_pool names ok 31 - 0 defined storage_pool ok 32 - names ok t/500-storage-vols.t ... 1..12 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 4 - An object of class 'Sys::Virt::StorageVol' isa 'Sys::Virt::StorageVol' ok 5 - 1 storage vol ok 6 - storage vol name matches ok 7 - An object of class 'Sys::Virt::StorageVol' isa 'Sys::Virt::StorageVol' ok 8 - key matches ok 9 - An object of class 'Sys::Virt::StorageVol' isa 'Sys::Virt::StorageVol' ok 10 - path matches ok 11 - An object of class 'Sys::Virt::StoragePool' isa 'Sys::Virt::StoragePool' ok 12 - Pool UUID matches ok t/600-interfaces.t ..... 1..25 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - 1 active interface ok 4 - interface names ok 5 - An object of class 'Sys::Virt::Interface' isa 'Sys::Virt::Interface' ok 6 - name ok 7 # skip Impl missing in test driver in libvirt 0.10.2 ok 8 # skip Impl missing in test driver in libvirt 0.10.2 ok 9 - interface is active ok 10 - An object of class 'Sys::Virt::Interface' isa 'Sys::Virt::Interface' ok 11 - name ok 12 - one interface ok 13 - An object of class 'Sys::Virt::Interface' isa 'Sys::Virt::Interface' ok 14 - 0 defined interfaces ok 15 - 1 defined interface ok 16 - names ok 17 - 1 defined interface ok 18 - An object of class 'Sys::Virt::Interface' isa 'Sys::Virt::Interface' ok 19 - An object of class 'Sys::Virt::Interface' isa 'Sys::Virt::Interface' ok 20 - 2 active interfaces ok 21 - interface names ok 22 - 1 active interfaces ok 23 - interface names ok 24 - 0 defined interface ok 25 - names ok # Failed test 'got URI' # at t/800-events.t line 272. # got: 'test:/default' # expected: 'test:///default' # Failed test 'got URI' # at t/800-events.t line 283. # got: 'test:/default' # expected: 'test:///default' # Failed test 'got URI' # at t/800-events.t line 306. # got: 'test:/default' # expected: 'test:///default' # Failed test 'got URI' # at t/800-events.t line 317. # got: 'test:/default' # expected: 'test:///default' # Looks like you failed 4 tests of 23. t/800-events.t ......... 1..23 ok 1 - use Sys::Virt; ok 2 - An object of class 'Sys::Virt' isa 'Sys::Virt' ok 3 - got 1st event not ok 4 - got URI ok 5 - got name ok 6 - stopped ok 7 - destroy ok 8 - got 2nd event not ok 9 - got URI ok 10 - got name ok 11 - started ok 12 - booted ok 13 - got 3rd event not ok 14 - got URI ok 15 - got name ok 16 - stopped ok 17 - destroy ok 18 - got 4th event not ok 19 - got URI ok 20 - got name ok 21 - started ok 22 - booted ok 23 - no more events Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/23 subtests Test Summary Report ------------------- t/800-events.t (Wstat: 1024 Tests: 23 Failed: 4) Failed tests: 4, 9, 14, 19 Non-zero exit status: 4 Files=12, Tests=252, 1 wallclock secs ( 0.12 usr 0.02 sys + 1.56 cusr 0.15 csys = 1.85 CPU) Result: FAIL Failed 1/12 test programs. 4/252 subtests failed. Makefile:1005: recipe for target 'test_dynamic' failed make[1]: *** [test_dynamic] Error 4 make[1]: Leaving directory '/home/lamby/temp/cdt.20150831024845.gjp1uGvxOM/libsys-virt-perl-1.2.18' dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2 debian/rules:4: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2