Subject: | Issue with test suite - erratic results |
Date: | Thu, 26 Mar 2015 11:24:53 +0100 |
To: | bug-Proc-Daemon [...] rt.cpan.org |
From: | Remi Collet <remi [...] fedoraproject.org> |
Hi,
Trying to update the Fedora/EPEL package I notice erratic failure,
probably related to builder power/charge.
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_loadmodule.t .. ok
# Parent slept for 3 sec.
# Proc::ProcessTable is installed and did find the right PID for 'perl
/builddir/build/BUILD/Proc-Daemon-0.19/t/kid.pl': 15571
t/02_testmodule.t .. ok
# Parent slept for 3 sec.
# Proc::ProcessTable is installed and did find the right PID for 'perl
/builddir/build/BUILD/Proc-Daemon-0.19/t/kid.pl': 15584
/builddir/build/BUILD/Proc-Daemon-0.19/t/02_testmodule.t did not
return a true value at t/03_taintmode.t line 20.
# Looks like your test exited with 2 just after 19.
t/03_taintmode.t ...
Dubious, test returned 2 (wstat 512, 0x200)
All 19 subtests passed
Test Summary Report
-------------------
t/03_taintmode.t (Wstat: 512 Tests: 19 Failed: 0)
Non-zero exit status: 2
Files=3, Tests=39, 10 wallclock secs ( 0.03 usr 0.00 sys + 0.13 cusr
0.04 csys = 0.20 CPU)
Result: FAIL
Failed 1/3 test programs. 0/39 subtests failed.
I also encouter failure on local system (with lot of installed perl
packages), always fails.
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches;
test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_loadmodule.t .. ok
t/02_testmodule.t .. 2/19 # Parent slept for 3 sec.
# Proc::ProcessTable is installed and did find the right PID for 'perl
/dev/shm/extras/BUILD/Proc-Daemon-0.19/t/kid.pl': 25881
t/02_testmodule.t .. ok
t/03_taintmode.t ... 2/19 # Parent slept for 3 sec.
t/03_taintmode.t ... 15/19
# Failed test ''kid.pl' daemon is still running'
# at /dev/shm/extras/BUILD/Proc-Daemon-0.19/t/02_testmodule.t line 119.
# Failed test 'stop daemon 'kid.pl''
# at /dev/shm/extras/BUILD/Proc-Daemon-0.19/t/02_testmodule.t line 122.
Use of uninitialized value in numeric eq (==) at
/dev/shm/extras/BUILD/Proc-Daemon-0.19/t/02_testmodule.t line 132.
# Failed test 'the 'umask.file' has right permissions'
# at /dev/shm/extras/BUILD/Proc-Daemon-0.19/t/02_testmodule.t line 132.
/dev/shm/extras/BUILD/Proc-Daemon-0.19/t/02_testmodule.t did not
return a true value at t/03_taintmode.t line 20.
# Looks like you failed 3 tests of 19.
# Looks like your test exited with 2 just after 19.
t/03_taintmode.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/19 subtests
Test Summary Report
-------------------
t/03_taintmode.t (Wstat: 512 Tests: 19 Failed: 3)
Failed tests: 15-16, 18
Non-zero exit status: 2
Files=3, Tests=39, 9 wallclock secs ( 0.02 usr 0.00 sys + 0.09 cusr
0.07 csys = 0.18 CPU)
Result: FAIL
Failed 1/3 test programs. 3/39 subtests failed.
Makefile:838: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2
Any idea ? thanks.