Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 26732
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: cweyl [...] alumni.drew.edu
Cc:
AdminCc:

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



Subject: t/optional_memleak.t fails one test
Date: Thu, 26 Apr 2007 16:07:51 -0700
To: bugs-Catalyst-Runtime [...] rt.cpan.org
From: "Chris Weyl" <cweyl [...] alumni.drew.edu>
TEST_MEMLEAK=1 make test fails on Catalyst-Runtime 5.7007 with: t/optional_memleak..........................................NOK 1 # Failed test ''http://localhost/engine/response/status/s200' memory is not leaking' # in t/optional_memleak.t at line 69. # got: '130867200' # expected: '130740224' t/optional_memleak..........................................ok 75/75# Looks like you failed 1 test of 75. t/optional_memleak..........................................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/75 tests, 98.67% okay ....... Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/optional_memleak.t 1 256 75 1 1.33% 1 8 tests skipped. Failed 1/66 test scripts, 98.48% okay. 1/2713 subtests failed, 99.96% okay. This is the only test that fails. This is on Fedora Core 6 / x86_64: "This is perl, v5.8.8 built for x86_64-linux-thread-multi"
Thanks. I can't reproduce this using the latest trunk Catalyst. I also just switched the memleak test to use Proc::ProcessTable instead of GTop so I could run it on my Mac, and all tests pass. Would you mind testing it with Catalyst-Runtime trunk? http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Runtime
Subject: Re: [rt.cpan.org #26732] t/optional_memleak.t fails one test
Date: Thu, 26 Apr 2007 18:18:01 -0700
To: bug-Catalyst-Runtime [...] rt.cpan.org
From: "Chris Weyl" <cweyl [...] alumni.drew.edu>
On 4/26/07, via RT <bug-Catalyst-Runtime@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=26732 > > > Thanks. I can't reproduce this using the latest trunk Catalyst. I also > just switched the memleak test to use Proc::ProcessTable instead of GTop > so I could run it on my Mac, and all tests pass. Would you mind testing > it with Catalyst-Runtime trunk?
No problem, I'll take a look at that. Given that it's only happening on the first iteration, part of me wonders if there isn't some initialization going on that isn't caught...? -- Chris Weyl Ex astris, scientia
Subject: Re: [rt.cpan.org #26732] t/optional_memleak.t fails one test
Date: Fri, 27 Apr 2007 16:10:27 -0700
To: bug-Catalyst-Runtime [...] rt.cpan.org
From: "Chris Weyl" <cweyl [...] alumni.drew.edu>
Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=26732 > > > Thanks. I can't reproduce this using the latest trunk Catalyst. I also > just switched the memleak test to use Proc::ProcessTable instead of GTop > so I could run it on my Mac, and all tests pass. Would you mind testing > it with Catalyst-Runtime trunk?
Well, the good news is that with trunk (revision 6327), the first test passes. However, the 16th fails :) [cweyl@zeus Catalyst-Runtime]$ TEST_MEMLEAK=1 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/optional_memleak.t t/optional_memleak....NOK 16 # Failed test ''http://localhost/action/index/' memory is not leaking' # in t/optional_memleak.t at line 69. # got: '126935040' # expected: '126939136' t/optional_memleak....ok 75/75# Looks like you failed 1 test of 75. t/optional_memleak....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 16 Failed 1/75 tests, 98.67% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/optional_memleak.t 1 256 75 1 1.33% 16 Failed 1/1 test scripts, 0.00% okay. 1/75 subtests failed, 98.67% okay. -- Chris Weyl Ex astris, scientia
On Fri Apr 27 19:11:20 2007, cweyl@alumni.drew.edu wrote: Show quoted text
> Well, the good news is that with trunk (revision 6327), the first test > passes. > > However, the 16th fails :)
I can't reproduce this failure with trunk, revision 6857 -- please synchronize your checkout and try it once more to see if we've finally resolved this issue. -Brian
Still can't reproduce this with the latest trunk. Marking this as resolved.