Skip Menu |

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

Report information
The Basics
Id: 122194
Status: resolved
Priority: 0/
Queue: Test-PDL

People
Owner: EBAUDREZ [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Tests fail with PDL 2.018
Some of the tests fail with PDL 2.018: ... Undefined subroutine &PDL::Lite::pdl called at /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13-4/blib/lib/Test/PDL.pm line 138, <DATA> line 207. # Looks like your test exited with 255 before it could output anything. t/deep.t ......................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 95/95 subtests ... # Failed test 'threw Regexp ((?^:\binvalid option WHATEVER\b))' # at t/import_options.t line 90. # expecting: Regexp ((?^:\binvalid option WHATEVER\b)) # found: Undefined subroutine &PDL::Lite::barf called at /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13-4/blib/lib/Test/PDL.pm line 165. # Looks like you failed 1 test of 15. t/import_options.t ............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/15 subtests # Failed test 'does not accept unknown options' # at t/is_pdl.t line 235. # expecting: Regexp ((?^:invalid option SOME_INVALID_OPTION\b)) # found: Undefined subroutine &PDL::Lite::barf called at /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13-4/blib/lib/Test/PDL.pm line 165, <DATA> line 207. # Failed test 'refuses options without a value' # at t/is_pdl.t line 237. # expecting: Regexp ((?^:undefined value for TOLERANCE)) # found: Undefined subroutine &PDL::Lite::barf called at /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13-4/blib/lib/Test/PDL.pm line 166, <DATA> line 207. t/is_pdl.t ....................... Failed 2/41 subtests ... Here's the statistical analysis which suggests that PDL 2.018 is causing the problem: **************************************************************** Regression 'mod:PDL' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 25829845105431696.00 [1='eq_2.014'] 0.0000 0.0000 1.86 [2='eq_2.015'] 0.0000 0.0000 1.39 [3='eq_2.016'] 0.0000 0.0000 2.73 [4='eq_2.017'] 0.0000 0.0000 2.81 [5='eq_2.018'] -1.0000 0.0000 -24890261544022332.00 R^2= 1.000, N= 65, K= 6 ****************************************************************
On Fri Jun 23 17:33:01 2017, SREZIC wrote: Show quoted text
> Some of the tests fail with PDL 2.018: > > ... > Undefined subroutine &PDL::Lite::pdl called at > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > 4/blib/lib/Test/PDL.pm line 138, <DATA> line 207. > # Looks like your test exited with 255 before it could output > anything. > t/deep.t ......................... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 95/95 subtests > ... > # Failed test 'threw Regexp ((?^:\binvalid option WHATEVER\b))' > # at t/import_options.t line 90. > # expecting: Regexp ((?^:\binvalid option WHATEVER\b)) > # found: Undefined subroutine &PDL::Lite::barf called at > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > 4/blib/lib/Test/PDL.pm line 165. > # Looks like you failed 1 test of 15. > t/import_options.t ............... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/15 subtests > > # Failed test 'does not accept unknown options' > # at t/is_pdl.t line 235. > # expecting: Regexp ((?^:invalid option SOME_INVALID_OPTION\b)) > # found: Undefined subroutine &PDL::Lite::barf called at > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > 4/blib/lib/Test/PDL.pm line 165, <DATA> line 207. > > # Failed test 'refuses options without a value' > # at t/is_pdl.t line 237. > # expecting: Regexp ((?^:undefined value for TOLERANCE)) > # found: Undefined subroutine &PDL::Lite::barf called at > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > 4/blib/lib/Test/PDL.pm line 166, <DATA> line 207. > t/is_pdl.t ....................... > Failed 2/41 subtests > ... > > > Here's the statistical analysis which suggests that PDL 2.018 is > causing the problem: > > **************************************************************** > Regression 'mod:PDL' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 25829845105431696.00 > [1='eq_2.014'] 0.0000 0.0000 1.86 > [2='eq_2.015'] 0.0000 0.0000 1.39 > [3='eq_2.016'] 0.0000 0.0000 2.73 > [4='eq_2.017'] 0.0000 0.0000 2.81 > [5='eq_2.018'] -1.0000 0.0000 -24890261544022332.00 > > R^2= 1.000, N= 65, K= 6 > ****************************************************************
This fixes that: https://github.com/PDLPorters/Test-PDL/pull/2
RT-Send-CC: ej_zg [...] hotmail.com
Slaven and Ed, thanks for the help, and sorry for the extreme delay in fixing this. I guess I was sort of hoping the bug would be fixed on PDL's side sooner. I have just uploaded 0.14, and I'll wait a bit for the tester reports coming in before closing this. On Thu Feb 28 11:47:29 2019, ETJ wrote: Show quoted text
> On Fri Jun 23 17:33:01 2017, SREZIC wrote:
> > Some of the tests fail with PDL 2.018: > > > > ... > > Undefined subroutine &PDL::Lite::pdl called at > > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > > 4/blib/lib/Test/PDL.pm line 138, <DATA> line 207. > > # Looks like your test exited with 255 before it could output > > anything. > > t/deep.t ......................... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 95/95 subtests > > ... > > # Failed test 'threw Regexp ((?^:\binvalid option WHATEVER\b))' > > # at t/import_options.t line 90. > > # expecting: Regexp ((?^:\binvalid option WHATEVER\b)) > > # found: Undefined subroutine &PDL::Lite::barf called at > > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > > 4/blib/lib/Test/PDL.pm line 165. > > # Looks like you failed 1 test of 15. > > t/import_options.t ............... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/15 subtests > > > > # Failed test 'does not accept unknown options' > > # at t/is_pdl.t line 235. > > # expecting: Regexp ((?^:invalid option SOME_INVALID_OPTION\b)) > > # found: Undefined subroutine &PDL::Lite::barf called at > > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > > 4/blib/lib/Test/PDL.pm line 165, <DATA> line 207. > > > > # Failed test 'refuses options without a value' > > # at t/is_pdl.t line 237. > > # expecting: Regexp ((?^:undefined value for TOLERANCE)) > > # found: Undefined subroutine &PDL::Lite::barf called at > > /home/cpansand/.cpan/build/2017062321/Test-PDL-0.13- > > 4/blib/lib/Test/PDL.pm line 166, <DATA> line 207. > > t/is_pdl.t ....................... > > Failed 2/41 subtests > > ... > > > > > > Here's the statistical analysis which suggests that PDL 2.018 is > > causing the problem: > > > > **************************************************************** > > Regression 'mod:PDL' > > **************************************************************** > > Name Theta StdErr T-stat > > [0='const'] 1.0000 0.0000 25829845105431696.00 > > [1='eq_2.014'] 0.0000 0.0000 1.86 > > [2='eq_2.015'] 0.0000 0.0000 1.39 > > [3='eq_2.016'] 0.0000 0.0000 2.73 > > [4='eq_2.017'] 0.0000 0.0000 2.81 > > [5='eq_2.018'] -1.0000 0.0000 -24890261544022332.00 > > > > R^2= 1.000, N= 65, K= 6 > > ****************************************************************
> > > This fixes that: https://github.com/PDLPorters/Test-PDL/pull/2
Good to hear back from you. I gather you're sticking with your own repo, and you don't want to give co-maint on this distribution?
RT-Send-CC: ej_zg [...] hotmail.com
Seems to be working fine now. Marking this issue as resolved. On Fri Apr 26 12:20:04 2019, ETJ wrote: Show quoted text
> Good to hear back from you. I gather you're sticking with your own > repo, and you don't want to give co-maint on this distribution?
For the moment I'm sticking to my own repository, yes. I plan to update Test::PDL with new functionality. I see no real benefit in changing repositories? Unless you can convince me of the opposite? I'm not opposed to giving you co-maint, but given the relatively low number of releases, I wonder if it's really useful? Best regards Another Ed
Show quoted text
> I'm not opposed to giving you co-maint, but given the relatively low > number of releases, I wonder if it's really useful?
It's your trainset. But taking two years to resolve the module simply not working with the latest released PDL is a bit less than ideal. If you're sticking with your own repo, I'll delete the PDLPorters one since it serves no purpose. Do you intend to make a Test::PDLA, to work with PDLA::Core et al?
Subject: Re: [rt.cpan.org #122194] Tests fail with PDL 2.018
Date: Mon, 6 May 2019 21:08:11 +0000
To: bug-Test-PDL [...] rt.cpan.org
From: Edward Baudrez <ebaudrez [...] cpan.org>
Hey Ed I don't think I'll switch to the PDLPorters repo, I don't really see the benefit. I'm not opposed to being compatible with PDLA, but I have no idea how to go about this, and it won't be anytime soon ... Best regards Edward On Tue, Apr 30, 2019 at 4:11 PM Ed J via RT <bug-Test-PDL@rt.cpan.org> wrote: Show quoted text
> > Queue: Test-PDL > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122194 > >
> > I'm not opposed to giving you co-maint, but given the relatively low > > number of releases, I wonder if it's really useful?
> > It's your trainset. But taking two years to resolve the module simply not working with the latest released PDL is a bit less than ideal. > > If you're sticking with your own repo, I'll delete the PDLPorters one since it serves no purpose. > > Do you intend to make a Test::PDLA, to work with PDLA::Core et al?