Subject: | Failed tests in debian builds |
Hi Gustavo, Im Angel, de Debian contributor, Im making SVN::Hooks
package. In debian we build packages with pbuilder, it makes a chroot
with a clean debian installation and before it compiles the package...
In a normal debian all works ok, but into the chroot I have these test
errors:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load..............ok
t/02-allowlogchange....
# Failed test 'can modify'
# at t/test-functions.pl line 43.
# work_ok command failed.
# Looks like you failed 1 test of 8.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
Failed 1/8 tests, 87.50% okay
t/02-checklog..........ok
t/02-checkmimetypes....ok
t/02-checkproperty.....ok
t/02-checkstructure....ok
t/02-denychanges.......ok
t/02-denyfilenames.....ok
t/02-jiraacceptance....ok
t/02-mailer............
# Failed test 'commit A send'
# at t/02-mailer.t line 110.
cat: 02-mailer.log: No such file or directory
# Failed test 'commit A right'
# at t/02-mailer.t line 113.
# ''
# doesn't match '(?-xism:Subject: \[A\])'
# Failed test 'commit B send'
# at t/02-mailer.t line 120.
cat: 02-mailer.log: No such file or directory
# Failed test 'commit B right'
# at t/02-mailer.t line 123.
# ''
# doesn't match '(?-xism:Subject: \[B\])'
# Looks like you failed 4 tests of 17.
dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 11-12, 15-16
Failed 4/17 tests, 76.47% okay
t/02-notify............ok
t/02-updateconffile....ok
t/pod-coverage.........ok
t/pod..................ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/02-allowlogchange.t 1 256 8 1 6
t/02-mailer.t 4 1024 17 4 11-12 15-16
Failed 2/14 test scripts. 5/125 subtests failed.
Files=14, Tests=125, 99 wallclock secs (18.88 cusr + 5.83 csys = 24.71 CPU)
Failed 2/14 test programs. 5/125 subtests failed.
Do you know why these tests fails into pbuilder?
These are build-depends: perl (>= 5.6.0-12), libemail-send-perl,
libemail-simple-perl, libemail-simple-creator-perl, libsvn-look-perl,
libsoap-lite-perl, subversion, libsvn-notify-perl,
libtest-pod-coverage-perl (>= 1.08), libtest-pod-perl (>= 1.22)
Cheers! Thanks for your free software!