Skip Menu |

This queue is for tickets about the Sys-Virt CPAN distribution.

Report information
The Basics
Id: 59439
Status: resolved
Priority: 0/
Queue: Sys-Virt

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.2.4
Fixed in: (no value)



Subject: test t/100-connect.t fail
$ make test PERL_DL_NONLAZY=1 /usr/bin/perl5.10.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/005-pod.t ............ ok t/010-pod-coverage.t ... ok t/020-constants.t ...... ok # Failed test 'pae' # at t/100-connect.t line 50. # An error occurred while using eq: # ------------------------------------ # Operation "eq": no method found, # left argument in overloaded package XML::XPath::Number, # right argument has no overloaded magic at (eval in cmp_ok) t/100-connect.t line 50. # # ------------------------------------ # got: '1' # expected: '1' # Failed test 'nonpae' # at t/100-connect.t line 52. # An error occurred while using eq: # ------------------------------------ # Operation "eq": no method found, # left argument in overloaded package XML::XPath::Number, # right argument has no overloaded magic at (eval in cmp_ok) t/100-connect.t line 52. # # ------------------------------------ # got: '1' # expected: '1' # Looks like you failed 2 tests of 24. t/100-connect.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/24 subtests t/200-domains.t ........ ok t/300-networks.t ....... ok t/400-storage-pools.t .. ok t/500-storage-vols.t ... ok t/600-interfaces.t ..... ok t/800-events.t ......... ok Test Summary Report ------------------- t/100-connect.t (Wstat: 512 Tests: 24 Failed: 2) Failed tests: 16-17 Non-zero exit status: 2 Files=10, Tests=213, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.76 cusr 0.08 csys = 0.93 CPU) Result: FAIL Failed 1/10 test programs. 2/213 subtests failed. make: *** [test_dynamic] Erreur 255
On Fri Jul 16 07:58:08 2010, JQUELIN wrote: Show quoted text
> $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl5.10.1 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/005-pod.t ............ ok > t/010-pod-coverage.t ... ok > t/020-constants.t ...... ok > > # Failed test 'pae' > # at t/100-connect.t line 50. > # An error occurred while using eq: > # ------------------------------------ > # Operation "eq": no method found, > # left argument in overloaded package XML::XPath::Number, > # right argument has no overloaded magic at (eval in cmp_ok) > t/100-connect.t line 50. > # > # ------------------------------------ > # got: '1' > # expected: '1' > > # Failed test 'nonpae' > # at t/100-connect.t line 52. > # An error occurred while using eq: > # ------------------------------------ > # Operation "eq": no method found, > # left argument in overloaded package XML::XPath::Number, > # right argument has no overloaded magic at (eval in cmp_ok) > t/100-connect.t line 52. > # > # ------------------------------------ > # got: '1' > # expected: '1' > # Looks like you failed 2 tests of 24. > t/100-connect.t ........ > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/24 subtests > t/200-domains.t ........ ok > t/300-networks.t ....... ok > t/400-storage-pools.t .. ok > t/500-storage-vols.t ... ok > t/600-interfaces.t ..... ok > t/800-events.t ......... ok > > Test Summary Report > ------------------- > t/100-connect.t (Wstat: 512 Tests: 24 Failed: 2) > Failed tests: 16-17 > Non-zero exit status: 2 > Files=10, Tests=213, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.76 cusr > 0.08 csys = 0.93 CPU) > Result: FAIL > Failed 1/10 test programs. 2/213 subtests failed. > make: *** [test_dynamic] Erreur 255
I really don't understand why this test fails, but I've finally reproduced it in the perl in Fedora 16 and have a fix in upstream GIT http://libvirt.org/git/?p=libvirt-perl.git;a=commit;h=051dd561018db58a265ac4063de0a16b0cf48006 which will be in the next release
Fix included in 0.2.7 release or later.