Skip Menu |

This queue is for tickets about the threads-shared CPAN distribution.

Report information
The Basics
Id: 17930
Status: resolved
Priority: 0/
Queue: threads-shared

People
Owner: Nobody in particular
Requestors: donahoo1 [...] cox.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.96
Fixed in: 0.97



Subject: Fails t/cond test for install on CentOS 4.2 x86
Processing hints file hints/linux.pl Writing Makefile for threads::shared cp shared.pm blib/lib/threads/shared.pm /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap shared.xs > shared.xsc && mv shared.xsc shared.c gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.96\" -DXS_VERSION=\"0.96\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" shared.c Running Mkbootstrap for threads::shared () chmod 644 shared.bs rm -f blib/arch/auto/threads/shared/shared.so gcc -shared -L/usr/local/lib shared.o -o blib/arch/auto/threads/shared/shared.so \ -lpthread \ chmod 755 blib/arch/auto/threads/shared/shared.so cp shared.bs blib/arch/auto/threads/shared/shared.bs chmod 644 blib/arch/auto/threads/shared/shared.bs Manifying blib/man3/threads::shared.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/0nothread......ok 1/53# Testing threads::shared 0.96 t/0nothread......ok t/av_refs........ok t/av_simple......ok t/blessed........ok t/cond...........dubious Test returned status 255 (wstat -1, 0xffffffff) after all the subtests completed successfully t/disabled.......ok t/hv_refs........ok t/hv_simple......ok t/no_share.......ok t/shared_attr....ok t/sv_refs........ok t/sv_simple......ok t/wait...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cond.t 255 -1 31 0 0.00% ?? Failed 1/13 test scripts, 92.31% okay. 0/475 subtests failed, 100.00% 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 Failed during this command: JDHEDDEN/threads-shared-0.96.tar.gz : make_test NO =========== CentOS 4.2 x86 install with: gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2) This is perl, v5.8.5 built for i386-linux-thread-multi
I will need some more information: 1. Please do the following: cd threads-shared-0.96 perl Makefile.PL make perl -Mblib t/cond.t >test.out 2>&1 and then post 'test.out' as an attachment. 2. Please build version 0.95 to see if the problem also occurs with it. If so, please do step (1) on it, as well. Thanks
From: donahoo1 [...] cox.net
I've attached the results requested for both 0.96 and 0.95. Both result in the same error occuring when running "make test" by itself. From the results inside the output files, seems both test without a problem not sure why it says things fail. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0nothread......ok 1/53# Testing threads::shared 0.95 t/0nothread......ok t/av_refs........ok t/av_simple......ok t/blessed........ok t/cond...........dubious Test returned status 255 (wstat -1, 0xffffffff) after all the subtests completed successfully t/disabled.......ok t/hv_refs........ok t/hv_simple......ok t/no_share.......ok t/shared_attr....ok t/sv_refs........ok t/sv_simple......ok t/wait...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cond.t 255 -1 31 0 0.00% ?? Failed 1/13 test scripts, 92.31% okay. 0/466 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 255 Thanks On Thu Mar 02 13:15:37 2006, JDHEDDEN wrote: Show quoted text
> I will need some more information: > > 1. Please do the following: > cd threads-shared-0.96 > perl Makefile.PL > make > perl -Mblib t/cond.t >test.out 2>&1 > and then post 'test.out' as an attachment. > > 2. Please build version 0.95 to see if the problem also occurs with it. > If so, please do step (1) on it, as well. > > Thanks
Download test.out
application/octet-stream 1.1k

Message body not shown because it is not plain text.

Download test-0.95.out
application/octet-stream 1.1k

Message body not shown because it is not plain text.

Looks like other modules will not install either with these dubious results occurring during the test phase. I've noticed one thing that they have in common some result lines are comments # lines If the test has only ok's for all lines and the original 1..NN number of tests, there is no dubious result. Cut from test.out results: ok 25 - cond_broadcast: all three threads woken # counter=33 ok 26 - cond_broadcast: ref: all three waiting ok 27 - cond_broadcast: ref: all three threads woken # counter=33 ok 28 - get warning on cond_signal Thanks
On Thu Mar 02 13:46:43 2006, guest wrote: Show quoted text
> I've attached the results requested for both 0.96 and 0.95. Both > result in the same error occuring when running "make test" by > itself. From the results inside the output files, seems both test > without a problem not sure why it says things fail.
Show quoted text
> t/cond...........dubious > Test returned status 255 (wstat -1, 0xffffffff) > after all the subtests completed successfully
All tests completed and passed, but Perl itself exited with a die (255). Bizarre. As this situation does not under other versions of Linux with Perl 5.8.5, I would be inclined to chalk this up to some peculiarity related to your combination of OS and Perl version. (If possible, try upgrading to Perl 5.8.8.) Therefore, I'm resolving this bug.
On Thu Mar 02 14:10:36 2006, guest wrote: Show quoted text
> Looks like other modules will not install either [when] > some result lines are comments > > # lines
Go figure. I'll take those out of the test for the next release. Thanks.
Upgraded to Perl 5.8.8 same problem. Not sure that it's really the Comment lines since I checked a couple other test results and they had comment lines in them but passed OK. On Thu Mar 02 14:20:11 2006, JDHEDDEN wrote: Show quoted text
> On Thu Mar 02 14:10:36 2006, guest wrote:
> > Looks like other modules will not install either [when] > > some result lines are comments > > > > # lines
> > Go figure. I'll take those out of the test for the next release.
Thanks.
From: john.gallagher [...] ciosystems.com
I am having the same issues discribed above. However I am not sure how to solve it. What do I need to do to install if it is "Fixed in 0.97 added"? I am running Centos Want to install razor-agents-sdk-2.07 but can not get past the failed test for Simple::Test t/cond...........dubious Test returned status 255 (wstat -1, 0xffffffff) after all the subtests completed successfully Any help would be apreciated!
On Mon May 01 18:02:59 2006, guest wrote: Show quoted text
> I am having the same issues discribed above. However I am not sure > how to solve it. > > What do I need to do to install if it is "Fixed in 0.97 added"? > > I am running Centos > Want to install razor-agents-sdk-2.07 but can not get past the failed > test for Simple::Test > > > t/cond...........dubious > Test returned status 255 (wstat -1, 0xffffffff) > after all the subtests completed successfully > > Any help would be apreciated!
My recommendation is to force the install of threads::shared: cpan > force install threads::shared