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: 30680
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: CDRAKE [...] cpan.org
graybeal [...] mbari.org
matt [...] conundrum.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug (?) in Test::Simple
Date: Mon, 12 Nov 2007 13:26:02 -0800
To: bug-Test-Simple [...] rt.cpan.org
From: John Graybeal <graybeal [...] mbari.org>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #30680] AutoReply: bug (?) in Test::Simple
Date: Mon, 12 Nov 2007 13:54:33 -0800
To: "Bugs in Test-Simple via RT" <bug-Test-Simple [...] rt.cpan.org>
From: John Graybeal <graybeal [...] mbari.org>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #30680] AutoReply: bug (?) in Test::Simple
Date: Tue, 13 Nov 2007 17:11:00 -0800
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
John Graybeal via RT wrote: Show quoted text
> Additional note: I just found the 0.73_01 release, which seems to fix this problem. (Thank you!)
Thanks for the report. This is a known bug but it is assumed to be a bug in Perl's threading, not Test::More. Furthermore, it is a heisenbug. Sometimes it appears, sometimes it does not. 0.73_01 changed very little, nothing to do with threading, which illustrates the nature of the bug. If you run 0.72 again it will probably pass. In almost all cases this bug appears in vendor patched versions of Perl. Previously it was confined to Redhat derivatives, this is the first example I've seen on OS X. In short, if you don't plan on using threads in your code don't worry about the failure, it won't effect you. I've yet to come up with a good way to communicate this sentiment to the user. -- Insulting our readers is part of our business model. http://somethingpositive.net/sp07122005.shtml
Subject: t/is_deeply_with_threads 0.74 fails randomly on RedHat 4
Running make TEST_VERBOSE=1 TEST_FILES=t/is_deeply_with_threads.t test fails at seemingly random points with a "dubious" test. This was first noticed when running a general 'make test'. Simply running 'perl t/is_deeply_with_threads.t' passes all tests, but running it with the test harness fails at different points each run. redhat-release-4ES-7 perl-5.8.5-36.el4_5.2 (v5.8.5 built for i386-linux-thread-multi) Test-Simple-0.74 Test::Harness 2.42 % make TEST_VERBOSE=1 TEST_FILES=t/is_deeply_with_threads.t test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/is_deeply_with_threads.t t/is_deeply_with_threads....1..505 # parent 24554: continue # kid 1 before is_deeply ok 1 ok 2 ok 3 ok 4 ok 5 # parent 24554: continue ok 6 # kid 2 before is_deeply ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 # parent 24554: continue ok 19 ok 20 ok 21 ok 22 # kid 3 before is_deeply ok 23 ok 24 dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 25-505 Failed 481/505 tests, 4.75% okay Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/is_deeply_with_threads.t 0 11 505 962 190.50% 25-505 Failed 1/1 test scripts, 0.00% okay. 481/505 subtests failed, 4.75% okay. make: *** [test_dynamic] Error 2
Subject: Re: [rt.cpan.org #31548] t/is_deeply_with_threads 0.74 fails randomly on RedHat 4
Date: Fri, 14 Dec 2007 16:07:59 -0800
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Icon via RT wrote: Show quoted text
> Running > make TEST_VERBOSE=1 TEST_FILES=t/is_deeply_with_threads.t test > fails at seemingly random points with a "dubious" test. This was first noticed when running > a general 'make test'. Simply running 'perl t/is_deeply_with_threads.t' passes all tests, but > running it with the test harness fails at different points each run. > > redhat-release-4ES-7 > perl-5.8.5-36.el4_5.2 (v5.8.5 built for i386-linux-thread-multi) > Test-Simple-0.74 > Test::Harness 2.42
Thanks for the report. This is due to known bugs in Redhat's and other vendor's release of perl. It might also be a general 5.8.5 issue. You can try upgrading to a newer Redhat perl, if one exists, but the best fix is to compile your own clean copy of 5.8.8. -- Ahh email, my old friend. Do you know that revenge is a dish that is best served cold? And it is very cold on the Internet!
Subject: Re: [rt.cpan.org #31548] t/is_deeply_with_threads 0.74 fails randomly on RedHat 4
Date: Fri, 14 Dec 2007 16:34:03 -0800
To: bug-Test-Simple [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Michael G Schwern via RT wrote: Show quoted text
> Queue: Test-Simple > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=31548 > > > Icon via RT wrote:
>> Running >> make TEST_VERBOSE=1 TEST_FILES=t/is_deeply_with_threads.t test >> fails at seemingly random points with a "dubious" test. This was first noticed when running >> a general 'make test'. Simply running 'perl t/is_deeply_with_threads.t' passes all tests, but >> running it with the test harness fails at different points each run. >> >> redhat-release-4ES-7 >> perl-5.8.5-36.el4_5.2 (v5.8.5 built for i386-linux-thread-multi) >> Test-Simple-0.74 >> Test::Harness 2.42
> > Thanks for the report. This is due to known bugs in Redhat's and other > vendor's release of perl. It might also be a general 5.8.5 issue. You can > try upgrading to a newer Redhat perl, if one exists, but the best fix is to > compile your own clean copy of 5.8.8.
It turns out a clean 5.8.6 has problems with this test, too. So your best bet is to upgrade to 5.8.8. PS This test is only relevant to you if you write code with threads. -- ROCKS FALL! EVERYONE DIES! http://www.somethingpositive.net/sp05032002.shtml
Subject: t/is_deeply_with_threads...... Failed 455/505 subtests
Using latest RedHat AS4.6 - fresh new install - almost all CPAN modules fail, because they rely on this one, which fails with this:- t/is_deeply_with_threads...... Failed 455/505 subtests
I have decided to turn off the is_deeply_with_threads test. It tickles intermittent threading bugs in certain perls about which I can do nothing. Known vulnerable perls include OS X's 5.8.6 and most Redhat derived vendors.