Subject: | RedHat install failure: Failed 2/38 test scripts, 94.74% okay. 8/145 subtests failed, 94.48% okay |
Show quoted text
cpan> install Test::Class
Running install for module Test::Class
Running make for A/AD/ADIE/Test-Class-0.11.tar.gz
Is already unwrapped into directory /root/.cpan/build/Test-Class-0.11
Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/_new.................ok
t/bailout..............ok
t/builder..............ok
t/compile..............ok
t/current_method.......ok
t/die_before_plan......# Test 3 got: "# Failed test 'setup (for test method 'test') died (died before plan set)'" (t/die_before_plan.t at line 42 fail #3)
# Expected: "# Failed test (t/die_before_plan.t at line 32)"
# t/die_before_plan.t line 42 is: ok($actual, $expected);
# Test 4 got: "# in t/die_before_plan.t at line 32." (t/die_before_plan.t at line 42 fail #4)
# Expected: "ok 2 - test just here to get setup method run"
Use of uninitialized value in scalar chomp at t/die_before_plan.t line 40, <DATA> line 4.
Use of uninitialized value in substitution (s///) at t/die_before_plan.t line 41, <DATA> line 4.
# Test 5 got: "ok 2 - test just here to get setup method run" (t/die_before_plan.t at line 42 fail #5)
# Expected: <UNDEF>
t/die_before_plan......FAILED tests 3-5
Failed 3/4 tests, 25.00% okay
t/documented...........skipped
all skipped: Test::Pod::Coverage required
t/expected_tests.......ok
t/fail1................ok
t/fail2................# Test 3 got: "# Failed test 'The object isa Object'" (t/fail2.t at line 47 fail #3)
# Expected: "# Failed test (t/fail2.t at line 22)"
# t/fail2.t line 47 is: ok($actual, $expected);
# Test 4 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fail #4)
# Expected: "# The object isn't defined"
# Test 5 got: "# The object isn't defined" (t/fail2.t at line 47 fail #5)
# Expected: "not ok 2 - cannot create Objects"
# Test 6 got: "not ok 2 - cannot create Objects" (t/fail2.t at line 47 fail #6)
# Expected: "# Failed test (t/fail2.t at line 22)"
# Test 7 got: "# Failed test 'cannot create Objects'" (t/fail2.t at line 47 fail #7)
# Expected: "not ok 3 - cannot create Objects"
# Test 8 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fail #8)
# Expected: "# Failed test (t/fail2.t at line 22)"
Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8.
Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8.
# Test 9 got: "not ok 3 - cannot create Objects" (t/fail2.t at line 47 fail #9)
# Expected: <UNDEF>
Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8.
Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8.
# Test 10 got: "# Failed test 'cannot create Objects'" (t/fail2.t at line 47 fail #10)
# Expected: <UNDEF>
Use of uninitialized value in scalar chomp at t/fail2.t line 45, <DATA> line 8.
Use of uninitialized value in substitution (s///) at t/fail2.t line 46, <DATA> line 8.
# Test 11 got: "# in t/fail2.t at line 22." (t/fail2.t at line 47 fail #11)
# Expected: <UNDEF>
t/fail2................FAILED tests 3-12
Failed 10/9 tests, -11.11% okay
t/fail3................ok
t/header...............ok
t/late_header..........ok
t/methodinfo...........ok
t/named_test...........ok
t/num_method_tests.....ok
t/num_tests............ok
t/override.............ok
t/pod..................ok
t/run_all_tests........ok
t/runtests.............ok
t/runtests_die.........ok
t/runtests_extra.......ok
t/runtests_noplan......ok
t/runtests_of..........ok
t/runtests_result......ok
t/runtests_return......ok
t/runtests_trailing....ok
t/skip1................ok
t/skip2................ok
t/skip_class_reason....ok
t/spaces...............ok
t/startup..............ok
t/startup_that_dies....ok
t/test_classes.........ok
t/test_verbose.........ok
t/Tests................ok
t/todo.................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/die_before_plan.t 4 4 100.00% 3-5
t/fail2.t 9 12 133.33% 3-12
1 test skipped.
Failed 2/38 test scripts, 94.74% okay. 8/145 subtests failed, 94.48% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Show quoted textcpan>
cpan> exit
Lockfile removed.
[root@dave11 usr]# perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=linux, osvers=2.4.21-32.0.1.el, archname=i686-linux
uname='linux dave11 2.4.21-32.0.1.el #1 tue may 17 18:01:37 edt 2005 i686 i686 i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.3 2.96-122)', gccosandvers='linux7'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.8.7/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Sep 16 2005 11:04:03
%ENV:
PERL5LIB="/usr/local/lib/perl5/site_perl/5.8.7/"
PERL5LIBOLD="/usr/lib/perl5/site_perl/5.8.0/"
@INC:
/usr/local/lib/perl5/site_perl/5.8.7/
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.
[root@dave11 usr]#