Skip Menu |

This queue is for tickets about the CPS CPAN distribution.

Report information
The Basics
Id: 129470
Status: open
Priority: 0/
Queue: CPS

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

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



Subject: t/50future.t started to fail (with Future 0.40?)
The test suite started to fail on my smokers. Statistical analysis suggests that the failure is caused by Future 0.40: ... **************************************************************** Regression 'mod:Future' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 16958172888095590.00 [1='eq_0.27'] 0.0000 0.0000 0.42 [2='eq_0.28'] -0.0000 0.0000 -1.03 [3='eq_0.29'] 0.0000 0.0000 0.38 [4='eq_0.30'] 0.0000 0.0000 0.00 [5='eq_0.31'] 0.0000 0.0000 0.00 [6='eq_0.32'] 0.0000 0.0000 0.31 [7='eq_0.33'] 0.0000 0.0000 0.00 [8='eq_0.34'] 0.0000 0.0000 0.82 [9='eq_0.35'] 0.0000 0.0000 0.00 [10='eq_0.38'] 0.0000 0.0000 0.00 [11='eq_0.39'] 0.0000 0.0000 5.08 [12='eq_0.40'] -1.0000 0.0000 -15625984193374550.00 R^2= 1.000, N= 263, K= 13 **************************************************************** ...
On 2019-05-06 16:11:53, SREZIC wrote: Show quoted text
> The test suite started to fail on my smokers. Statistical analysis > suggests that the failure is caused by Future 0.40: > > ... > **************************************************************** > Regression 'mod:Future' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 16958172888095590.00 > [1='eq_0.27'] 0.0000 0.0000 0.42 > [2='eq_0.28'] -0.0000 0.0000 -1.03 > [3='eq_0.29'] 0.0000 0.0000 0.38 > [4='eq_0.30'] 0.0000 0.0000 0.00 > [5='eq_0.31'] 0.0000 0.0000 0.00 > [6='eq_0.32'] 0.0000 0.0000 0.31 > [7='eq_0.33'] 0.0000 0.0000 0.00 > [8='eq_0.34'] 0.0000 0.0000 0.82 > [9='eq_0.35'] 0.0000 0.0000 0.00 > [10='eq_0.38'] 0.0000 0.0000 0.00 > [11='eq_0.39'] 0.0000 0.0000 5.08 > [12='eq_0.40'] -1.0000 0.0000 -15625984193374550.00 > > R^2= 1.000, N= 263, K= 13 > **************************************************************** > ...
Test output: ... Can't resolve method "done_cb" overloading "&{}" in package "CPS::Future" at /home/cpansand/.cpan/build/2019050704/Future-0.40-2/blib/lib/Future.pm line 918. # Looks like your test exited with 255 before it could output anything. t/50future.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests ...
On Mon May 06 16:12:33 2019, SREZIC wrote: Show quoted text
> On 2019-05-06 16:11:53, SREZIC wrote:
> > The test suite started to fail on my smokers. Statistical analysis > > suggests that the failure is caused by Future 0.40: > > > > ... > > **************************************************************** > > Regression 'mod:Future' > > **************************************************************** > > Name Theta StdErr T-stat > > [0='const'] 1.0000 0.0000 16958172888095590.00 > > [1='eq_0.27'] 0.0000 0.0000 0.42 > > [2='eq_0.28'] -0.0000 0.0000 -1.03 > > [3='eq_0.29'] 0.0000 0.0000 0.38 > > [4='eq_0.30'] 0.0000 0.0000 0.00 > > [5='eq_0.31'] 0.0000 0.0000 0.00 > > [6='eq_0.32'] 0.0000 0.0000 0.31 > > [7='eq_0.33'] 0.0000 0.0000 0.00 > > [8='eq_0.34'] 0.0000 0.0000 0.82 > > [9='eq_0.35'] 0.0000 0.0000 0.00 > > [10='eq_0.38'] 0.0000 0.0000 0.00 > > [11='eq_0.39'] 0.0000 0.0000 5.08 > > [12='eq_0.40'] -1.0000 0.0000 -15625984193374550.00 > > > > R^2= 1.000, N= 263, K= 13 > > **************************************************************** > > ...
> > Test output: > > ... > Can't resolve method "done_cb" overloading "&{}" in package > "CPS::Future" at /home/cpansand/.cpan/build/2019050704/Future-0.40- > 2/blib/lib/Future.pm line 918. > # Looks like your test exited with 255 before it could output > anything. > t/50future.t ............. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > ...
I also encountered this error when attempting to install this module against Perl 5 blead at a commit point just past the tag for perl-5.30.0-RC1 using cpanm as the installer. Results: ##### $ ~/bin/perl/dumpjson PEVANS.CPS-0.18.log.json { author => "PEVANS", dist => "CPS", distname => "CPS-0.18", distversion => 0.18, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing CPS-0.18", "Building CPS", "t/00use.t ................ ok", "t/01kloop.t .............. ok", "t/02kforeach.t ........... ok", "t/03kdescend.t ........... ok", "t/04kpar.t ............... ok", "t/05kpareach.t ........... ok", "t/06kseq.t ............... ok", "t/10liftk.t .............. ok", "t/11dropk.t .............. ok", "t/20governor-simple.t .... ok", "t/21governor-deferred.t .. ok", "t/30governor.t ........... ok", "t/31caller.t ............. skipped: No Sub::Name", "t/32leakcheck.t .......... ok", "t/40kmap.t ............... ok", "t/41kgrep.t .............. ok", "t/42kfold.t .............. ok", "t/43kunfold.t ............ ok", "Can't resolve method \"done_cb\" overloading \"&{}\" in package \"CPS::Future\" at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.30.0/Future.pm line 918.", "# Looks like your test exited with 255 before it could output anything.", "t/50future.t ............. ", "Dubious, test returned 255 (wstat 65280, 0xff00)", "Failed 1/1 subtests ", "t/99pod.t ................ ok", "", "Test Summary Report", "-------------------", "t/50future.t (Wstat: 65280 Tests: 0 Failed: 0)", " Non-zero exit status: 255", " Parse errors: Bad plan. You planned 1 tests but ran 0.", "Files=20, Tests=77, 1 wallclock secs ( 0.06 usr 0.02 sys + 1.20 cusr 0.30 csys = 1.58 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7044)", } ##### Thank you very much. Jim Keenan
Dne Po 06.Květen.2019 16:12:33, SREZIC napsal(a): Show quoted text
> Can't resolve method "done_cb" overloading "&{}" in package > "CPS::Future" at /home/cpansand/.cpan/build/2019050704/Future-0.40- > 2/blib/lib/Future.pm line 918. > # Looks like your test exited with 255 before it could output > anything. > t/50future.t ............. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/1 subtests > ...
The same test with Future-0.39: $ perl -I/home/test/fedora/perl-Future/Future-0.39/lib -Ilib t/50future.t 1..1 Future->done_cb is now deprecated; use ->curry::done or sub {...} at t/50future.t line 19. ok 1 - $future is directly callable This looks like a deliberate change in Future.
On Mon May 20 03:56:58 2019, ppisar wrote: Show quoted text
> This looks like a deliberate change in Future.
Yes; the whole CPS::Future and associated tests just needs removing. It's very old now. -- Paul Evans