Skip Menu |

This queue is for tickets about the Net-Kubernetes CPAN distribution.

Report information
The Basics
Id: 112961
Status: open
Priority: 0/
Queue: Net-Kubernetes

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: ANDK [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.22
  • 0.23
  • 1.0
  • 1.01
Fixed in: (no value)



CC: ANDK [...] cpan.org
Subject: Tests fail with perl 5.23.8
With perl 5.23.8 I observe the following test fails (linux + freebsd): PERL_DL_NONLAZY=1 "/usr/perl5.23.8sp/bin/perl5.23.8" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. t/authentication.t ..... ok t/author-pod-syntax.t .. skipped: these tests are for testing by the author DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction. t/basic.t .............. Dubious, test returned 22 (wstat 5632, 0x1600) All 119 subtests passed DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction. t/namespace.t .......... Dubious, test returned 22 (wstat 5632, 0x1600) All 98 subtests passed (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. (in cleanup) Can't call method "isMocked" on an undefined value at /usr/perl5.23.8sp/lib/site_perl/5.23.8/Test/Mock/Wrapper.pm line 613 during global destruction. DESTROY created new reference to dead object 'Test::Mock::Wrapped' during global destruction. t/resource.t ........... Dubious, test returned 22 (wstat 5632, 0x1600) All 119 subtests passed The tests work fine with perl 5.23.7 on the same systems. The problem could be caused by a regression in perl itself. I see that the dependency graph contains Syntax::Feature::Try; this module got recently some patches to work with perl 5.23.8 --- maybe these patches are problematic? (@Andreas: maybe a perl bisect candidate, though I guess Syntax-Feature-Try is more likely to be the cause for the breakage...)
I'll refrain from speculating about Net::Kubernetes as long as PERLJEDI/Test-Mock-Wrapper-0.17.tar.gz delivers random results. Especially since I see the same pattern of results there, like (in cleanup) Can't call method "isMocked" on an undefined value at /tmp/loop_over_bdir-32472-ZNSa6K/Test-Mock-Wrapper-0.17-2CLnqs/blib/lib/Test/Mock/Wrapper.pm line 613 during global destruction.
For the record, this ticket has triggered an investigation in bleadperl: https://rt.perl.org/Public/Bug/Display.html?id=127494 And that came to the conclusion that Test-Mock-Wrapper version 0.17 is not dealing with DESTROY within AUTOLOAD, reported in ticket https://rt.cpan.org/Ticket/Display.html?id=112965 So this ticket will probably be closeable as soon as Test-Mock-Wrapper gets fixed.
Subject: Re: [rt.cpan.org #112961] Tests fail with perl 5.23.8
Date: Mon, 9 May 2016 09:23:22 -0400
To: bug-Net-Kubernetes [...] rt.cpan.org
From: Dave Mueller <dave [...] perljedi.com>
I had been waiting on it to be in an actually released version of perl before digging into it. In bleadperl I assume that there could be instabilities making investigation from a high level frustrating at best. On Sun, May 8, 2016 at 4:16 AM, Andreas Koenig via RT < bug-Net-Kubernetes@rt.cpan.org> wrote: Show quoted text
> Queue: Net-Kubernetes > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > For the record, this ticket has triggered an investigation in bleadperl: > https://rt.perl.org/Public/Bug/Display.html?id=127494 > > And that came to the conclusion that Test-Mock-Wrapper version 0.17 is not > dealing with DESTROY within AUTOLOAD, reported in ticket > https://rt.cpan.org/Ticket/Display.html?id=112965 > > So this ticket will probably be closeable as soon as Test-Mock-Wrapper > gets fixed. >
Subject: Re: [rt.cpan.org #112961] Tests fail with perl 5.23.8
Date: Mon, 9 May 2016 12:41:55 -0400
To: bug-Net-Kubernetes [...] rt.cpan.org
From: Dave Mueller <dave [...] perljedi.com>
I take it back, I'll install bleadperl this afternoon and look at fixing the issue. On Mon, May 9, 2016 at 9:23 AM, Dave Mueller via RT < bug-Net-Kubernetes@rt.cpan.org> wrote: Show quoted text
> Queue: Net-Kubernetes > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > I had been waiting on it to be in an actually released version of perl > before digging into it. In bleadperl I assume that there could be > instabilities making investigation from a high level frustrating at best. > > On Sun, May 8, 2016 at 4:16 AM, Andreas Koenig via RT < > bug-Net-Kubernetes@rt.cpan.org> wrote: >
> > Queue: Net-Kubernetes > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > For the record, this ticket has triggered an investigation in bleadperl: > > https://rt.perl.org/Public/Bug/Display.html?id=127494 > > > > And that came to the conclusion that Test-Mock-Wrapper version 0.17 is
> not
> > dealing with DESTROY within AUTOLOAD, reported in ticket > > https://rt.cpan.org/Ticket/Display.html?id=112965 > > > > So this ticket will probably be closeable as soon as Test-Mock-Wrapper > > gets fixed. > >
> >
Subject: Re: [rt.cpan.org #112961] Tests fail with perl 5.23.8
Date: Mon, 9 May 2016 14:29:38 -0400
To: bug-Net-Kubernetes [...] rt.cpan.org
From: Dave Mueller <dave [...] perljedi.com>
I have not yet managed to get an environment in which I can run the tests under 5.23.8 (when I perlbrew install 5.23.8 cpanm won't even run), however a minor fix that I've pushed to my github repo seems to make things much happier under perl-blead and does not change any behavoir in earlier versions. Could you perhaps test from the tip of master in my github repo under 5.23.8 and let me know if that fixes the issue? If it does I'll release that as a new version of Test::Mock::Wrapper. On Mon, May 9, 2016 at 12:42 PM, Dave Mueller via RT < bug-Net-Kubernetes@rt.cpan.org> wrote: Show quoted text
> Queue: Net-Kubernetes > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > I take it back, I'll install bleadperl this afternoon and look at fixing > the issue. > > On Mon, May 9, 2016 at 9:23 AM, Dave Mueller via RT < > bug-Net-Kubernetes@rt.cpan.org> wrote: >
> > Queue: Net-Kubernetes > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > I had been waiting on it to be in an actually released version of perl > > before digging into it. In bleadperl I assume that there could be > > instabilities making investigation from a high level frustrating at
> best.
> > > > On Sun, May 8, 2016 at 4:16 AM, Andreas Koenig via RT < > > bug-Net-Kubernetes@rt.cpan.org> wrote: > >
> > > Queue: Net-Kubernetes > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > For the record, this ticket has triggered an investigation in
> bleadperl:
> > > https://rt.perl.org/Public/Bug/Display.html?id=127494 > > > > > > And that came to the conclusion that Test-Mock-Wrapper version 0.17 is
> > not
> > > dealing with DESTROY within AUTOLOAD, reported in ticket > > > https://rt.cpan.org/Ticket/Display.html?id=112965 > > > > > > So this ticket will probably be closeable as soon as Test-Mock-Wrapper > > > gets fixed. > > >
> > > >
> >
RT-Send-CC: dave [...] perljedi.com, ANDK [...] cpan.org
I tried "perl5.24.0 -S dzil test" on commit 9a57aa66c1d19d2eb41b5d9f45bd7b3ba5f76218 of the test-mock-wrapper repo, and it was successful. Regards, Slaven On 2016-05-09 14:29:49, dave@perljedi.com wrote: Show quoted text
> I have not yet managed to get an environment in which I can run the tests > under 5.23.8 (when I perlbrew install 5.23.8 cpanm won't even run), however > a minor fix that I've pushed to my github repo seems to make things much > happier under perl-blead and does not change any behavoir in earlier > versions. Could you perhaps test from the tip of master in my github repo > under 5.23.8 and let me know if that fixes the issue? If it does I'll > release that as a new version of Test::Mock::Wrapper. > > On Mon, May 9, 2016 at 12:42 PM, Dave Mueller via RT < > bug-Net-Kubernetes@rt.cpan.org> wrote: >
> > Queue: Net-Kubernetes > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > I take it back, I'll install bleadperl this afternoon and look at fixing > > the issue. > > > > On Mon, May 9, 2016 at 9:23 AM, Dave Mueller via RT < > > bug-Net-Kubernetes@rt.cpan.org> wrote: > >
> > > Queue: Net-Kubernetes > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > I had been waiting on it to be in an actually released version of perl > > > before digging into it. In bleadperl I assume that there could be > > > instabilities making investigation from a high level frustrating at
> > best.
> > > > > > On Sun, May 8, 2016 at 4:16 AM, Andreas Koenig via RT < > > > bug-Net-Kubernetes@rt.cpan.org> wrote: > > >
> > > > Queue: Net-Kubernetes > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > > > For the record, this ticket has triggered an investigation in
> > bleadperl:
> > > > https://rt.perl.org/Public/Bug/Display.html?id=127494 > > > > > > > > And that came to the conclusion that Test-Mock-Wrapper version 0.17 is
> > > not
> > > > dealing with DESTROY within AUTOLOAD, reported in ticket > > > > https://rt.cpan.org/Ticket/Display.html?id=112965 > > > > > > > > So this ticket will probably be closeable as soon as Test-Mock-Wrapper > > > > gets fixed. > > > >
> > > > > >
> > > >
Subject: Re: [rt.cpan.org #112961] Tests fail with perl 5.23.8
Date: Tue, 10 May 2016 09:23:30 -0400
To: bug-Net-Kubernetes [...] rt.cpan.org
From: Dave Mueller <dave [...] perljedi.com>
Test::Mock::Wrapper 0.18 released with fix. On Mon, May 9, 2016 at 5:35 PM, Slaven_Rezic via RT < bug-Net-Kubernetes@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > I tried "perl5.24.0 -S dzil test" on commit > 9a57aa66c1d19d2eb41b5d9f45bd7b3ba5f76218 of the test-mock-wrapper repo, and > it was successful. > > Regards, > Slaven > > On 2016-05-09 14:29:49, dave@perljedi.com wrote:
> > I have not yet managed to get an environment in which I can run the tests > > under 5.23.8 (when I perlbrew install 5.23.8 cpanm won't even run),
> however
> > a minor fix that I've pushed to my github repo seems to make things much > > happier under perl-blead and does not change any behavoir in earlier > > versions. Could you perhaps test from the tip of master in my github
> repo
> > under 5.23.8 and let me know if that fixes the issue? If it does I'll > > release that as a new version of Test::Mock::Wrapper. > > > > On Mon, May 9, 2016 at 12:42 PM, Dave Mueller via RT < > > bug-Net-Kubernetes@rt.cpan.org> wrote: > >
> > > Queue: Net-Kubernetes > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > I take it back, I'll install bleadperl this afternoon and look at
> fixing
> > > the issue. > > > > > > On Mon, May 9, 2016 at 9:23 AM, Dave Mueller via RT < > > > bug-Net-Kubernetes@rt.cpan.org> wrote: > > >
> > > > Queue: Net-Kubernetes > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > > > I had been waiting on it to be in an actually released version of
> perl
> > > > before digging into it. In bleadperl I assume that there could be > > > > instabilities making investigation from a high level frustrating at
> > > best.
> > > > > > > > On Sun, May 8, 2016 at 4:16 AM, Andreas Koenig via RT < > > > > bug-Net-Kubernetes@rt.cpan.org> wrote: > > > >
> > > > > Queue: Net-Kubernetes > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=112961 > > > > > > > > > > > For the record, this ticket has triggered an investigation in
> > > bleadperl:
> > > > > https://rt.perl.org/Public/Bug/Display.html?id=127494 > > > > > > > > > > And that came to the conclusion that Test-Mock-Wrapper version
> 0.17 is
> > > > not
> > > > > dealing with DESTROY within AUTOLOAD, reported in ticket > > > > > https://rt.cpan.org/Ticket/Display.html?id=112965 > > > > > > > > > > So this ticket will probably be closeable as soon as
> Test-Mock-Wrapper
> > > > > gets fixed. > > > > >
> > > > > > > >
> > > > > >
> > > >