Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 68685
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.00_07
Fixed in: (no value)



Subject: make test fails under Solaris
t/threads...............................dubious Test returned status 0 (wstat 139, 0x8b) DIED. FAILED tests 2-6 Failed 5/6 tests, 16.67% okay
Subject: Re: [rt.cpan.org #68685] make test fails under Solaris
Date: Wed, 08 Jun 2011 18:25:47 -0700
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
On 2011.6.7 6:57 AM, njh@bandsman.co.uk via RT wrote: Show quoted text
> t/threads...............................dubious > > Test returned status 0 (wstat 139, 0x8b) > DIED. FAILED tests 2-6 > Failed 5/6 tests, 16.67% okay
I'll need the output of "perl -V" to do any analysis, but this usually just indicates that the threads in your perl are unreliable. Pretty common in older versions of perl. If you run the test a few times, does it sometimes work? If you don't use threads, don't worry about it. If you do use threads, upgrade perl as threads get better in newer perls. -- The past has a vote, but not a veto. -- Mordecai M. Kaplan
Subject: Re: [rt.cpan.org #68685] make test fails under Solaris
Date: Thu, 9 Jun 2011 09:50:19 -0400
To: bug-Test-Simple [...] rt.cpan.org
From: Nigel Horne <njh [...] bandsman.co.uk>
On 8 Jun 2011, at 21:26, Michael G Schwern via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68685 > > > On 2011.6.7 6:57 AM, njh@bandsman.co.uk via RT wrote:
>> t/threads...............................dubious >> >> Test returned status 0 (wstat 139, 0x8b) >> DIED. FAILED tests 2-6 >> Failed 5/6 tests, 16.67% okay
> > I'll need the output of "perl -V" to do any analysis, but this usually just > indicates that the threads in your perl are unreliable. Pretty common in > older versions of perl. If you run the test a few times, does it sometimes work?
Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.11, archname=i386-pc-solaris2.11-thread-multi uname='sunos maui 5.11 nexentaos_20080312 i86pc i386 i86pc solaris ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcc=gcc -Dldflags=-lm -Dlddlflags=-shared -Dccdlflags=-Wl,-E -Dcccdlflags=-fPIC -Darchname=i386-pc-solaris2.11 -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des' 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 -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV', optimize='-O', cppflags='-D_REENTRANT -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.2.3 (Ubuntu 4.2.3-2nexenta7)', 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 ='-lm -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lm -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lrt -lnsl -lsocket perllibs=-lm -ldl -lm -lpthread -lc -lrt -lnsl -lsocket libc=, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-E -R /usr/lib/perl/5.8/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-E -G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under solaris Compiled at Jun 4 2008 11:14:00 @INC: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . I don't know if it works sometimes. Show quoted text
> > If you don't use threads, don't worry about it. If you do use threads, > upgrade perl as threads get better in newer perls.
If your module doesn't work with older Perls, then please add a directive such as "use 5.010000;" in your CPAN module, then testers won't test against it. Thanks. -Nigel=
Subject: Re: [rt.cpan.org #68685] make test fails under Solaris
Date: Fri, 10 Jun 2011 17:56:17 -0700
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
On 2011.6.9 6:50 AM, njh@bandsman.co.uk via RT wrote: Show quoted text
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Yep, that's likely the culprit. 5.8's threads are just buggy. Again, if you don't use threads, don't worry about it. Show quoted text
> I don't know if it works sometimes.
Could you run the tests a few times and find out? That will give an indication as to whether the test is failing because of intermittent bugs in Perl or because there's something wrong which can maybe be worked around. Show quoted text
>> If you don't use threads, don't worry about it. If you do use threads, >> upgrade perl as threads get better in newer perls.
> > If your module doesn't work with older Perls, then please add a directive such as > "use 5.010000;" in your CPAN module, then testers won't test against it.
Test::More does not itself use threads, but it has to do some things to accommodate being run under threads (making sure key pieces of data are shared). Those things have to be tested. If you use threads its no worse than using any other module that accommodates threads. Unlike most every other module, Test::More tests itself under threads. This testing has produced work-arounds for Perl threading bugs. If your threads are buggy then sometimes you see a failure. The threads tests could be author-only, and the ones that check the *really* buggy parts of threads are, but it serves a purpose. Its useful for development to know that Test::More's threading accommodation works (or doesn't) in multiple environments. Its useful for some users to know that their threads are buggy. Unfortunately there's no way to declare "this is ok with 5.8 if you do not intend to use threads" and the problem is not severe enough to necessitate dropping 5.8 in such a critical module. Don't get me wrong, I'd LOVE to drop 5.8 threads. If you're running a smoker set it up to skip the test or ignore the failure or something. I'm sorry if it makes smoking more difficult, but the tests exist to find bugs. The needs of the smokers are secondary. -- If you want the truth to stand clear before you, never be for or against. The struggle between "for" and "against" is the mind's worst disease. -- Sent-ts'an
On Tue Jun 07 06:57:59 2011, njh@bandsman.co.uk wrote: Show quoted text
> t/threads...............................dubious > > Test returned status 0 (wstat 139, 0x8b) > DIED. FAILED tests 2-6 > Failed 5/6 tests, 16.67% okay
2.0 is a dead project, ticket not applicable anymore.