Re: Thread Tests Fail During Build



No, I didn't want to force the install because of the test failures. I'm assuming that's an indication that things aren't working.

On Oct 10, 2005, at 11:36 AM, Dan Klose wrote:

Hi, I take it you have tried the force install too?

Dan.

On Mon, 2005-10-10 at 11:28 -0400, Mijobee wrote:

I'm trying to get SpamAssassin and Razor setup on my Linux server but
I'm running to problems building some of the Perl modules.
Specifically when I try to build Test::Simple I get test failures and
then a general build failure.  I've attached the output from trying
to build Test::Simple as well as the output from running perl -V,
uname -a, libc -V on my server.  Thanks in advance for any help.


Test::Simple Build Output: ---------------------------------------- cpan> install Test::Simple Running install for module Test::Simple Running make for M/MS/MSCHWERN/Test-Simple-0.62.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/M/MS/MSCHWERN/Test- Simple-0.62.tar.gz ok Scanning cache /root/.cpan/build for sizes Test-Simple-0.62/ Test-Simple-0.62/Changes Test-Simple-0.62/lib/ Test-Simple-0.62/lib/Test/ Test-Simple-0.62/lib/Test/Builder/ Test-Simple-0.62/lib/Test/Builder/Module.pm Test-Simple-0.62/lib/Test/Builder/Tester/ Test-Simple-0.62/lib/Test/Builder/Tester/Color.pm Test-Simple-0.62/lib/Test/Builder/Tester.pm Test-Simple-0.62/lib/Test/Builder.pm Test-Simple-0.62/lib/Test/More.pm Test-Simple-0.62/lib/Test/Simple.pm Test-Simple-0.62/lib/Test/Tutorial.pod Test-Simple-0.62/Makefile.PL Test-Simple-0.62/MANIFEST Test-Simple-0.62/META.yml Test-Simple-0.62/README Test-Simple-0.62/t/ Test-Simple-0.62/t/00signature.t Test-Simple-0.62/t/00test_harness_check.t Test-Simple-0.62/t/bad_plan.t Test-Simple-0.62/t/bail_out.t Test-Simple-0.62/t/buffer.t Test-Simple-0.62/t/Builder.t Test-Simple-0.62/t/circular_data.t Test-Simple-0.62/t/create.t Test-Simple-0.62/t/curr_test.t Test-Simple-0.62/t/details.t Test-Simple-0.62/t/diag.t Test-Simple-0.62/t/eq_set.t Test-Simple-0.62/t/exit.t Test-Simple-0.62/t/extra.t Test-Simple-0.62/t/extra_one.t Test-Simple-0.62/t/fail-like.t Test-Simple-0.62/t/fail-more.t Test-Simple-0.62/t/fail.t Test-Simple-0.62/t/fail_one.t Test-Simple-0.62/t/filehandles.t Test-Simple-0.62/t/fork.t Test-Simple-0.62/t/harness_active.t Test-Simple-0.62/t/has_plan.t Test-Simple-0.62/t/has_plan2.t Test-Simple-0.62/t/import.t Test-Simple-0.62/t/is_deeply_fail.t Test-Simple-0.62/t/is_fh.t Test-Simple-0.62/t/lib/ Test-Simple-0.62/t/lib/NoExporter.pm Test-Simple-0.62/t/lib/Test/ Test-Simple-0.62/t/lib/Test/Simple/ Test-Simple-0.62/t/lib/Test/Simple/Catch.pm Test-Simple-0.62/t/lib/Test/Simple/sample_tests/ Test-Simple-0.62/t/lib/Test/Simple/sample_tests/death.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/death_in_eval.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/exit.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/extras.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/five_fail.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/last_minute_death.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/one_fail.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/pre_plan_death.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/require.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/success.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/too_few.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/too_few_fail.plx Test-Simple-0.62/t/lib/Test/Simple/sample_tests/two_fail.plx Test-Simple-0.62/t/lib/TieOut.pm Test-Simple-0.62/t/maybe_regex.t Test-Simple-0.62/t/missing.t Test-Simple-0.62/t/More.t Test-Simple-0.62/t/no_diag.t Test-Simple-0.62/t/no_ending.t Test-Simple-0.62/t/no_header.t Test-Simple-0.62/t/no_plan.t Test-Simple-0.62/t/ok_obj.t Test-Simple-0.62/t/output.t Test-Simple-0.62/t/overload.t Test-Simple-0.62/t/overload_threads.t Test-Simple-0.62/t/plan.t Test-Simple-0.62/t/plan_bad.t Test-Simple-0.62/t/plan_is_noplan.t Test-Simple-0.62/t/plan_no_plan.t Test-Simple-0.62/t/plan_shouldnt_import.t Test-Simple-0.62/t/plan_skip_all.t Test-Simple-0.62/t/require_ok.t Test-Simple-0.62/t/reset.t Test-Simple-0.62/t/simple.t Test-Simple-0.62/t/skip.t Test-Simple-0.62/t/skipall.t Test-Simple-0.62/t/sort_bug.t Test-Simple-0.62/t/tbt_01basic.t Test-Simple-0.62/t/tbt_02fhrestore.t Test-Simple-0.62/t/tbt_03die.t Test-Simple-0.62/t/tbt_04line_num.t Test-Simple-0.62/t/tbt_05faildiag.t Test-Simple-0.62/t/tbt_06errormess.t Test-Simple-0.62/t/tbt_07args.t Test-Simple-0.62/t/thread_taint.t Test-Simple-0.62/t/threads.t Test-Simple-0.62/t/todo.t Test-Simple-0.62/t/undef.t Test-Simple-0.62/t/use_ok.t Test-Simple-0.62/t/useing.t Test-Simple-0.62/TODO Removing previously used /root/.cpan/build/Test-Simple-0.62

   CPAN.pm: Going to build M/MS/MSCHWERN/Test-Simple-0.62.tar.gz


NOTE: There have been API changes between this version and any older than version 0.48! Please see the Changes file for details.


NOTE: The behavior of Test::More and threads has changed between this version and any older than version 0.48! Please see the Changes file for details.

WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Test::Simple
cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/
Color.pm
cp lib/Test/Simple.pm blib/lib/Test/Simple.pm
cp lib/Test/Builder.pm blib/lib/Test/Builder.pm
cp lib/Test/More.pm blib/lib/Test/More.pm
cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm
cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm
cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod
Manifying blib/man3/Test::Builder::Tester::Color.3pm
Manifying blib/man3/Test::Builder.3pm
Manifying blib/man3/Test::Simple.3pm
Manifying blib/man3/Test::More.3pm
Manifying blib/man3/Test::Builder::Module.3pm
Manifying blib/man3/Test::Builder::Tester.3pm
Manifying blib/man3/Test::Tutorial.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00signature.............skipped
all skipped: SIGNATURE not found
t/00test_harness_check....ok
t/bad_plan................ok
t/bail_out................ok
t/buffer..................ok
t/Builder.................ok
t/circular_data...........ok
t/create..................ok
t/curr_test...............ok
t/details.................ok
t/diag....................lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
# Looks like your test died before it could output anything.
t/diag....................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/eq_set..................ok
t/exit....................ok
t/extra...................ok
t/extra_one...............ok
t/fail-like...............ok
t/fail-more...............ok
t/fail....................ok
t/fail_one................ok
t/filehandles.............ok
t/fork....................ok
t/harness_active..........ok
t/has_plan................ok
t/has_plan2...............ok
t/import..................ok
t/is_deeply_fail..........ok
t/is_fh...................ok
t/maybe_regex.............ok
t/missing.................ok
t/More....................ok
t/no_diag.................ok
t/no_ending...............ok
t/no_header...............ok
t/no_plan.................ok
t/ok_obj..................ok
t/output..................ok
t/overload................ok
t/overload_threads........lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
# Looks like your test died before it could output anything.
t/overload_threads........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/plan....................ok
t/plan_bad................ok
t/plan_is_noplan..........ok
t/plan_no_plan............ok
1/6 skipped: Just testing skip with no_plan
t/plan_shouldnt_import....ok
t/plan_skip_all...........skipped
all skipped: Just testing plan & skip_all
t/require_ok..............ok
t/reset...................ok
t/simple..................ok
t/skip....................ok
7/15 skipped: various reasons
t/skipall.................ok
t/sort_bug................lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
# Looks like your test died before it could output anything.
A thread exited while 2 other threads were still running.
t/sort_bug................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/tbt_01basic.............ok
t/tbt_02fhrestore.........ok
t/tbt_03die...............ok
t/tbt_04line_num..........ok
t/tbt_05faildiag..........ok
t/tbt_06errormess.........ok
t/tbt_07args..............ok
t/thread_taint............ok
t/threads.................thread failed to start: lock can only be
used on shared values at /root/.cpan/build/Test-Simple-0.62/blib/lib/
Test/Builder.pm line 394.
thread failed to start: lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
thread failed to start: lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
thread failed to start: lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
thread failed to start: lock can only be used on shared values at /
root/.cpan/build/Test-Simple-0.62/blib/lib/Test/Builder.pm line 394.
lock can only be used on shared values at /root/.cpan/build/Test-
Simple-0.62/blib/lib/Test/Builder.pm line 1352.
# Looks like your test died before it could output anything.
t/threads.................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/todo....................ok
t/undef...................ok
t/use_ok..................ok
t/useing..................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------- ---
-------
t/diag.t 255 65280 5 5 100.00% 1-5
t/overload_threads.t 255 65280 5 5 100.00% 1-5
t/sort_bug.t 255 65280 2 2 100.00% 1-2
t/threads.t 255 65280 6 6 100.00% 1-6
2 tests and 8 subtests skipped.
Failed 4/63 test scripts, 93.65% okay. 18/487 subtests failed, 96.30%
okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force



perl -V output:
----------------------------------------
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.21-1.1931.2.382.entsmp, archname=i386-
linux-thread-multi
uname='linux stripples.devel.redhat.com
2.4.21-1.1931.2.382.entsmp #1 smp wed aug 6 17:18:52 edt 2003 i686
i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -
Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -
Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -
Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -
Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -
Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -
Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/
less -isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -
DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/
include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/ gdbm',
optimize='-O2 -g -pipe -march=i386 -mcpu=i686',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -
DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/
gdbm'
ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux
3.2.2-5)', gccosandvers=''
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=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
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='-
rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/ CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'



Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Aug 13 2003 11:47:58 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .


uname -a output: ---------------------------------------- Linux HOSTNAME 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux


libc -V output: ---------------------------------------- GNU C Library stable release version 2.3.2, by Roland McGrath et al. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.2.2 20030222 (Red Hat Linux 3.2.2-5). Compiled on a Linux 2.4.20 system on 2003-11-12. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy The C stubs add-on version 2.1.2. BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Glibc-2.0 compatibility add-on by Cristian Gafton libthread_db work sponsored by Alpha Processor Inc Thread-local storage support included.


--
Daniel Klose
PhD Student - Taylor Group
Mathematical Biology
National Institute for Medical Research
The Ridgeway
Mill Hill
London
NW7 1AA



.



Relevant Pages

  • Thread Tests Fail During Build
    ... I'm trying to get SpamAssassin and Razor setup on my Linux server but I'm running to problems building some of the Perl modules. ... Running install for module Test::Simple ... Failed 5/5 tests, 0.00% okay ... lock can only be used on shared values at / ...
    (perl.beginners)
  • Re: Xbox 360 Lockup
    ... Please download and install MCXTOOLS and MCDIAG from connect ... It did lock up when I watched recoreded content. ... An unauthorized window was detected while running the Windows Media ... I did install URGE with MP11 could that be the problem? ...
    (microsoft.public.windows.mediacenter)
  • Re: disabled in gpedit, but shutdown tracker still tracking
    ... then i did sp1: okay. ... now before we go blaming sophos, the last time i was having this problem ... i just uninstalled sp1 and now the event viewer and rsop are working. ... > install and those have cleared up as well. ...
    (microsoft.public.windows.server.setup)
  • Re: [OT] GRAAAAAAAAAHHHH! HULK SMASH STUPID COMPUTER!! >_<#
    ... > Okay, so for Christmas this year I decided to get back into gaming. ... > when it has a lower price, a bigger game selection and less hardware bugs. ... Encouraged, I install Fable. ... Yet I can't play the frickin' ...
    (rec.arts.anime.misc)
  • Re: My alarm company has billed me before doing anything
    ... They're okay or I would not have asked them to come out. ... want the outside strobes and sirens to sound. ... I think I can install a key switch in the ... This is a good group for getting feedback. ...
    (alt.security.alarms)