Bug#724299: src:libtest-class-perl: libtest-class-perl fails to build with verbose tests
Damyan Ivanov
dmn at debian.org
Mon Sep 23 14:14:52 UTC 2013
Package: src:libtest-class-perl
Version: 0.39-1
Severity: important
Tags: upstream
libtest-class-perl fails to build with verbose tests:
Test Summary Report
-------------------
t/skip2.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 1
Files=54, Tests=186, 2 wallclock secs ( 0.12 usr 0.05 sys + 1.64 cusr 0.14 csys = 1.95 CPU)
Result: FAIL
Failed 1/54 test programs. 1/186 subtests failed.
dh_auto_test: perl Build test --verbose 1 returned exit code 255
Full build log attached.
-------------- next part --------------
I: using fakeroot in build.
I: Current time: Mon Sep 23 17:12:58 EEST 2013
I: pbuilder-time-stamp: 1379945578
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base+dh.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Setting up ccache
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 8), perl (>= 5.13.11) | libmodule-build-perl (>= 0.380000), libcontextual-return-perl, libdevel-symdump-perl, libmro-compat-perl, libtest-exception-perl, perl
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 14748 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
pbuilder-satisfydepends-dummy depends on libcontextual-return-perl; however:
Package libcontextual-return-perl is not installed.
pbuilder-satisfydepends-dummy depends on libdevel-symdump-perl; however:
Package libdevel-symdump-perl is not installed.
pbuilder-satisfydepends-dummy depends on libmro-compat-perl; however:
Package libmro-compat-perl is not installed.
pbuilder-satisfydepends-dummy depends on libtest-exception-perl; however:
Package libtest-exception-perl is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
libalgorithm-c3-perl{a} libclass-c3-perl{a} libcontextual-return-perl{a}
libdevel-symdump-perl{a} libmro-compat-perl{a} libsub-uplevel-perl{a}
libtest-exception-perl{a} libwant-perl{a}
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 kB of archives. After unpacking 726 kB will be used.
Writing extended state information...
Get: 1 http://proxy:9999/debian/ sid/main libalgorithm-c3-perl all 0.08-1 [11.8 kB]
Get: 2 http://proxy:9999/debian/ sid/main libclass-c3-perl all 0.25-1 [24.2 kB]
Get: 3 http://proxy:9999/debian/ sid/main libwant-perl amd64 0.21-1+b1 [26.7 kB]
Get: 4 http://proxy:9999/debian/ sid/main libcontextual-return-perl all 0.004007-1 [61.5 kB]
Get: 5 http://proxy:9999/debian/ sid/main libdevel-symdump-perl all 2.10-1 [17.6 kB]
Get: 6 http://proxy:9999/debian/ sid/main libmro-compat-perl all 0.12-1 [13.2 kB]
Get: 7 http://proxy:9999/debian/ sid/main libsub-uplevel-perl all 0.2400-1 [16.3 kB]
Get: 8 http://proxy:9999/debian/ sid/main libtest-exception-perl all 0.32-1 [18.3 kB]
Fetched 190 kB in 0s (6668 kB/s)
Selecting previously unselected package libalgorithm-c3-perl.
(Reading database ... 14748 files and directories currently installed.)
Unpacking libalgorithm-c3-perl (from .../libalgorithm-c3-perl_0.08-1_all.deb) ...
Selecting previously unselected package libclass-c3-perl.
Unpacking libclass-c3-perl (from .../libclass-c3-perl_0.25-1_all.deb) ...
Selecting previously unselected package libwant-perl.
Unpacking libwant-perl (from .../libwant-perl_0.21-1+b1_amd64.deb) ...
Selecting previously unselected package libcontextual-return-perl.
Unpacking libcontextual-return-perl (from .../libcontextual-return-perl_0.004007-1_all.deb) ...
Selecting previously unselected package libdevel-symdump-perl.
Unpacking libdevel-symdump-perl (from .../libdevel-symdump-perl_2.10-1_all.deb) ...
Selecting previously unselected package libmro-compat-perl.
Unpacking libmro-compat-perl (from .../libmro-compat-perl_0.12-1_all.deb) ...
Selecting previously unselected package libsub-uplevel-perl.
Unpacking libsub-uplevel-perl (from .../libsub-uplevel-perl_0.2400-1_all.deb) ...
Selecting previously unselected package libtest-exception-perl.
Unpacking libtest-exception-perl (from .../libtest-exception-perl_0.32-1_all.deb) ...
Processing triggers for man-db ...
Not building database; man-db/auto-update is not 'true'.
Setting up libalgorithm-c3-perl (0.08-1) ...
Setting up libclass-c3-perl (0.25-1) ...
Setting up libwant-perl (0.21-1+b1) ...
Setting up libcontextual-return-perl (0.004007-1) ...
Setting up libdevel-symdump-perl (2.10-1) ...
Setting up libmro-compat-perl (0.12-1) ...
Setting up libsub-uplevel-perl (0.2400-1) ...
Setting up libtest-exception-perl (0.32-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
-> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 119 kB of archives.
After this operation, 347 kB of additional disk space will be used.
Get:1 http://proxy:9999/debian/ sid/main fakeroot amd64 1.19-2 [119 kB]
Fetched 119 kB in 0s (3391 kB/s)
Selecting previously unselected package fakeroot.
(Reading database ... 14819 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.19-2_amd64.deb) ...
Processing triggers for man-db ...
Not building database; man-db/auto-update is not 'true'.
Setting up fakeroot (1.19-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
I: Copying source file
I: copying [tmp/libtest-class-perl/libtest-class-perl_0.39-1.dsc]
I: copying [tmp/libtest-class-perl/libtest-class-perl_0.39.orig.tar.gz]
I: copying [tmp/libtest-class-perl/libtest-class-perl_0.39-1.debian.tar.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Fri May 17 11:28:57 2013 UTC using RSA key ID 7FD863FE
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libtest-class-perl_0.39-1.dsc
dpkg-source: info: extracting libtest-class-perl in libtest-class-perl-0.39
dpkg-source: info: unpacking libtest-class-perl_0.39.orig.tar.gz
dpkg-source: info: unpacking libtest-class-perl_0.39-1.debian.tar.gz
I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin" dpkg-buildpackage -us -uc -us -uc -b -rfakeroot
dpkg-buildpackage: source package libtest-class-perl
dpkg-buildpackage: source version 0.39-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Salvatore Bonaccorso <carnil at debian.org>
dpkg-source --before-build libtest-class-perl-0.39
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
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Test-Class' version '0.39'
dh_auto_build
Building Test-Class
dh_auto_test
# Testing Test::Class::Load 0.35, Perl 5.018001, /usr/bin/perl
t/00-load.t ....................
1..1
ok 1 - use Test::Class::Load;
ok
t/20-load-classes.t ............
1..14
ok 1 - Classes in top level directories should be loaded
ok 2 - ... as should tests in subdirectories
ok 3 - ... and the methods should work correctly
ok 4 - ... even if they are called from subclasses
ok 5 - ... or they have their own methods
ok 6 - Trying to load multiple lib paths should succeed
ok 7 - Top level directories should be loaded even with multiple libs
ok 8 - ... as should tests in subdirectories
ok 9 - ... and the methods should work correctly
ok 10 - ... even if they are called from subclasses
ok 11 - ... or they have their own methods
ok 12 - And secondary libs should be loaded
ok 13 - ... and their methods should also work correctly
ok 14 - Trying to load a bad module fails
ok
t/21-load-subclassed.t .........
1..7
ok 1 - Classes in top level directories should be loaded
ok 2 - ... as should classes in subdirectories
ok 3 - Filtered out classes in top level directories should *not* be loaded
ok 4 - Filtered out classes in subdirectories should *not* be loaded
ok 5 - Class Tests::Good1 method work as expected
ok 6 - Class Tests::Good2 method work as expected
ok 7 - Class Tests::Subdir::Good3 method work as expected
ok
#
# My::Test->Tests_attribute_default_number_of_tests
#
# My::Test->Tests_attribute_set_number_of_tests
t/Tests.t ......................
1..2
ok 1 - Tests attribute default number of tests
ok 2 - Tests attribute set number of tests
ok
t/_new.t .......................
1..6
ok 1 - use Test::Class;
ok 2 - The object isa Test::Class
ok 3 - key/value set
ok 4 - The object isa Test::Class
ok 5 - prototype key/value set
ok 6 - new key/value set
ok
t/bad-autoloads.t ..............
1..2
ok 1 - use Test::Class;
ok 2 - avoided warnings from Contextual::Return::Value
ok
t/bailout.t ....................
1..2
ok 1 - bailout works
ok 2 - exit value okay
ok
t/builder.t ....................
1..1
ok 1 - builder
ok
t/compile.t ....................
1..2
ok 1 - cannot test anon sub
ok 2 - bad number detected
ok
#
# Local::Test->test
t/current_method.t .............
1..4
ok 1 - current_method in setup
ok 2 - current_method in method
ok 3 - current_method in teardown
ok 4 - current_test outside runtests
ok
t/diag_on_failure.t ............
1..1
ok 1 - we show the test class and method name on test failure
ok
t/die-in-setup.t ...............
1..1
ok 1 - die in setup caused test method to fail
ok
t/die_before_plan.t ............
1..1
ok 1 - die before plan
ok
t/expected_tests.t .............
1..10
ok 1 - all set
ok 2 - no_plan setup
ok 3 - no_plan test
ok 4 - no_plan teardown
ok 5 - no_plan startup
ok 6 - no_plan shutdown
ok 7 - expected_test_of
ok 8 - no_plan expected_test_of
ok 9 - bad test class
ok 10 - undef test class
ok
t/fail1.t ......................
1..2
ok 1 - FAIL_ALL with plan
ok 2 - exit value okay
ok
t/fail2.t ......................
1..2
ok 1 - fail2
ok 2 - exit value okay
ok
t/fail3.t ......................
ok 1 - FAIL_ALL with no plan
ok 2 - exit value okay
1..2
ok
#
# Foo->test_run
t/filter.t .....................
1..1
ok 1 - test_run not filtered, so is run
ok
t/filter_bad_filter.t ..........
1..1
ok 1 - error on non-coderef filter
ok
#
# Foo->test_should_run
t/filter_fixtures.t ............
1..5
ok 1 - startup test is run, even though matches filter
ok 2 - setup test is run, even though matches filter
ok 3 - should run, due to not matching filter
ok 4 - teardown test is run, even though matches filter
ok 5 - shutdown test is run, even though matches filter
ok
t/filter_fixtures_only.t .......
1..1
ok 1 - setup/teardown not run when no test methods
ok
#
# Foo->test_another_not_matching
#
# Foo->test_not_filtered
t/filter_multiple.t ............
1..2
ok 1 - test_another_not_matching doesn't meet any filters, so is run
ok 2 - test_not_filtered doesn't meet any filters, so is run
ok
t/header.t .....................
ok 1 - no duplicate headers
1..1
ok
#
# Local::Test->test
t/late_header.t ................
1..2
ok 1 - test number set
ok 2 - builder expected tests set
ok
t/methodinfo.t .................
ok 1 - use Test::Class::MethodInfo;
ok 2 - The object isa Test::Class::MethodInfo
ok 3 - method type is test by default
ok 4 - test methods default to 1 test
1..4
ok
t/named_test.t .................
ok 1 - test names set to method name by default
1..1
ok
#
# Bar->no_plan_test
#
# Bar->no_plan_test2
#
# Bar->two_tests
t/num_method_tests.t ...........
1..19
ok 1 - fixed num tests
ok 2 - no_plan tests
ok 3 - cannot use non-method
ok 4 - cannot update illegal value
ok 5 - updated legal value
ok 6 - update worked
ok 7 - updated extended
ok 8 - update worked
ok 9 - extended method okay
ok 10 - class expected_tests
ok 11 - object expected_tests
ok 12 - num_method_tests dies outside test class
ok 13 - just passing
ok 14 - no_plan_test just passing 1
ok 15 - no_plan_test just passing 2
ok 16 - no_plan_test2 just passing 1
ok 17 - no_plan_test2 just passing 2
ok 18 - two_tests just passing 1
ok 19 - two_tests just passing 2
ok
#
# Foo->test_num_tests
#
# Foo->test_num_tests
t/num_tests.t ..................
1..4
ok 1 - num_tests access okay
ok 2 - num_tests set okay
ok 3 - num_tests access okay
ok 4 - num_tests set okay
ok
t/override.t ...................
1..1
ok 1 - cannot override a public method with a test method
ok
t/rt15870.t ....................
1..1
ok 1 - sensible error if new() is overridden
ok
t/rt17264.t ....................
1..1
ok 1 - we figured out that we loaded Test::Class too late
ok
#
# A::Test->setup
t/run_all_tests.t ..............
1..5
ok 1 - Test::Class->SKIP_CLASS default
ok 2 - Base::Test->SKIP_CLASS overridden
ok 3 - A::Test->SKIP_CLASS default
ok 4 - non skipping test class run as expected
ok 5 - runtests skipped classes with SKIP_CLASS set
ok
#
# Bar->test1
#
# Bar->test2
t/runtests.t ...................
1..18
ok 1 - initialise2: methods ran in order
ok 2 - test1: initialise1 ran once
ok 3 - test1: initialise2 ran once
ok 4 - test1: first test running
ok 5 - test1: teardown not run
ok 6 - teardown1: teardown run for every test
ok 7 - teardown1: teardown run for every initialise1
ok 8 - teardown1: teardown run for every initialise2
ok 9 - teardown1: setup run for every test
ok 10 - initialise2: methods ran in order
ok 11 - test2: initialise1 ran twice
ok 12 - test2: initialise2 ran twice
ok 13 - test2: second test running
ok 14 - test2: teardown ran once
ok 15 - teardown1: teardown run for every test
ok 16 - teardown1: teardown run for every initialise1
ok 17 - teardown1: teardown run for every initialise2
ok 18 - teardown1: setup run for every test
ok
t/runtests_die.t ...............
1..1
ok 1 - early die handled
ok
t/runtests_extra.t .............
1..1
ok 1 - extra test detected
ok
#
# Foo->set_tests
#
# Foo->undef_tests
t/runtests_noplan.t ............
ok 1 - this should pass
ok 2 - runtime test 1
ok 3 - runtime test 2
ok 4 - expected number of tests ran
1..4
ok
#
# Tests1->test
#
# Tests2->test
t/runtests_of.t ................
1..3
ok 1 - Tests1 test
ok 2 - Tests2 test
ok 3 - correct number of tests
ok
t/runtests_result.t ............
1..4
ok 1 - single failure ran okay
ok 2 - failure detected
ok 3 - a successful test
ok 4 - success detected
ok
t/runtests_return.t ............
1..2
ok 1 - early return handled (skip)
ok 2 - early return handled (fail)
ok
t/runtests_trailing.t ..........
1..1
ok 1 - trailing expection detected
ok
t/runtests_with_wrong_class.t ..
1..2
ok 1 - use Test::Class;
ok 2 - runtests dies if we are given something that is not a test class
ok
#
# My::Test->test
t/show_plan_in_shutdown.t ......
1..2
ok 1 - passing test to force shutdown method to run
ok 2 - shutdown method has run
ok
t/skip1.t ......................
1..1
ok 1 - SKIP_ALL called skip_all
ok
# Failed test 'SKIP_ALL'
# at t/skip2.t line 40.
# (in Local::Test->_only)
# STDERR is:
# #
# # Local::Test->test
#
# not:
#
# as expected
t/skip2.t ......................
1..4
not ok 1 - SKIP_ALL
ok 2 - exit ok
ok 3 - make the plan happy
ok 4 - make the plan happy
Failed 1/4 subtests
t/skip_class_reason.t ..........
1..3
# Running under perl version 5.018001 for linux
# Current time local: Mon Sep 23 14:13:08 2013
# Current time GMT: Mon Sep 23 14:13:08 2013
# Using Test.pm version 1.26
ok 1
ok 2
ok 3
ok
#
# Bar::Test->the_test
t/skip_empty_classes.t .........
1..5
ok 1 - startup run
ok 2 - setup run
ok 3 - the_test has been run
ok 4 - teardown run
ok 5 - shutdown run
ok
t/spaces.t .....................
ok 1 - can have spaces around attributes
1..1
ok
#
# Foo::Test->test1
#
# Foo::Test->test2
t/startup.t ....................
1..15
ok 1 - called start1
ok 2 - called start2
ok 3 - called setup1
ok 4 - called setup2
ok 5 - called test1
ok 6 - called tear1
ok 7 - called tear2
ok 8 - called setup1
ok 9 - called setup2
ok 10 - called test2
ok 11 - called tear1
ok 12 - called tear2
ok 13 - called end1
ok 14 - called end2
ok 15 - all expected methods ran
ok
t/startup_that_dies.t ..........
1..1
ok 1 - exception in startup method causes all tests to be skipped
ok
t/test_classes.t ...............
1..1
ok 1 - _test_classes deals with undef values
ok
t/test_deep.t ..................
1..1
ok 1 - Test::Deep is not included as a test class, even though isa always returns true
ok
t/test_method.t ................
1..4
ok 1 - $ENV{TEST_METHOD} with an invalid regex should die
ok 2 - no TEST_METHOD runs all tests
ok 3 - single match just runs one test
ok 4 - two matches run both tests
ok
t/test_verbose.t ...............
1..1
ok 1 - TEST_VERBOSE outputs method diagnostic
ok
# Test::More: 0.98
t/todo.t .......................
1..2
ok 1 - todo tests work
ok 2 - todo_test should run 1 test
ok
Test Summary Report
-------------------
t/skip2.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 1
Files=54, Tests=186, 2 wallclock secs ( 0.12 usr 0.05 sys + 1.64 cusr 0.14 csys = 1.95 CPU)
Result: FAIL
Failed 1/54 test programs. 1/186 subtests failed.
dh_auto_test: perl Build test --verbose 1 returned exit code 255
make: *** [build] Error 255
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//13333 and its subdirectories
More information about the pkg-perl-maintainers
mailing list