Skip Menu |

This queue is for tickets about the Return-MultiLevel CPAN distribution.

Report information
The Basics
Id: 133221
Status: open
Priority: 0/
Queue: Return-MultiLevel

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

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



Subject: test suite fails on 5.33.1+
Seems to fail in cpantesters as well: ✅ crux% prove -l t/00-load.t .. 1/1 # Testing Return::MultiLevel 0.05 (PP), Perl 5.033001, /Users/ollisg/opt/perl/5.33.1/bin/perl5.33.1 t/00-load.t .. ok t/basic.t .... ok t/debug.t .... 1/2 # Failed test at t/debug.t line 36. # 'Captured stack: # Original call to with_return at t/debug.t line 14. # main::foo() called at t/debug.t line 19 # main::bar() called at t/debug.t line 27 # # Attempt to re-enter dead call frame at /Users/ollisg/.cpanm/work/1598198164.2734/Return-MultiLevel-0.05/lib/Return/MultiLevel.pm line 86. # Return::MultiLevel::__ANON__(...) called at t/debug.t line 24 # main::baz(...) called at t/debug.t line 28 # main::__ANON__(...) called at /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Test/Fatal.pm line 158 # Test::Fatal::try {...} (...) called at /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Try/Tiny.pm line 100 # eval {...} called at /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Try/Tiny.pm line 93 # Try::Tiny::try(...) called at /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Test/Fatal.pm line 165 # Test::Fatal::exception(...) called at t/debug.t line 28 # ' # doesn't match '(?^x: # .* \bReturn::MultiLevel\b .* \bducks\b .* t\/debug\.t .* \b 24 \b .* \n # .* \bbaz\b .* \bducks\b .* t\/debug\.t .* \b 28 \b .* \n # )' # Looks like you failed 1 test of 2. t/debug.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/nested.t ... ok Test Summary Report ------------------- t/debug.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=4, Tests=9, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.22 cusr 0.04 csys = 0.30 CPU) Result: FAIL
On 2020-08-23 12:02:44, PLICEASE wrote: Show quoted text
> Seems to fail in cpantesters as well: > > ✅ crux% prove -l > t/00-load.t .. 1/1 # Testing Return::MultiLevel 0.05 (PP), Perl > 5.033001, /Users/ollisg/opt/perl/5.33.1/bin/perl5.33.1 > t/00-load.t .. ok > t/basic.t .... ok > t/debug.t .... 1/2 > # Failed test at t/debug.t line 36. > # 'Captured stack: > # Original call to with_return at t/debug.t line 14. > # main::foo() called at t/debug.t line 19 > # main::bar() called at t/debug.t line 27 > # > # Attempt to re-enter dead call frame at > /Users/ollisg/.cpanm/work/1598198164.2734/Return-MultiLevel- > 0.05/lib/Return/MultiLevel.pm line 86. > # Return::MultiLevel::__ANON__(...) called at t/debug.t line 24 > # main::baz(...) called at t/debug.t line 28 > # main::__ANON__(...) called at > /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Test/Fatal.pm line > 158 > # Test::Fatal::try {...} (...) called at > /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Try/Tiny.pm line > 100 > # eval {...} called at > /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Try/Tiny.pm line 93 > # Try::Tiny::try(...) called at > /Users/ollisg/opt/perl/5.33.1/lib/site_perl/5.33.1/Test/Fatal.pm line > 165 > # Test::Fatal::exception(...) called at t/debug.t line 28 > # ' > # doesn't match '(?^x: > # .* \bReturn::MultiLevel\b .* \bducks\b .* t\/debug\.t .* \b 24 > \b .* \n > # .* \bbaz\b .* \bducks\b .* t\/debug\.t .* \b 28 > \b .* \n > # )' > # Looks like you failed 1 test of 2. > t/debug.t .... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > t/nested.t ... ok > > Test Summary Report > ------------------- > t/debug.t (Wstat: 256 Tests: 2 Failed: 1) > Failed test: 2 > Non-zero exit status: 1 > Files=4, Tests=9, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.22 cusr > 0.04 csys = 0.30 CPU) > Result: FAIL
It fails also with older perls --- it seems that newer Test::Fatal versions are causing this problem. Statistical analysis: **************************************************************** Regression 'mod:Test::Fatal' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 22025871741386820.00 [1='eq_0.013'] -0.0000 0.0000 -2.46 [2='eq_0.014'] -0.0000 0.0000 -2.44 [3='eq_0.016'] -1.0000 0.0000 -21381071909713240.00 R^2= 1.000, N= 632, K= 4 ****************************************************************
I've just tested on perl 5.32.0 with Test::Fatal 0.014 and it passes then fails with 0.016
On Mon Oct 19 13:46:40 2020, TODDR wrote: Show quoted text
> I've just tested on perl 5.32.0 with Test::Fatal 0.014 and it passes > then fails with 0.016
I bisected the change in Test::Fatal which caused it and reported it to https://github.com/rjbs/Test-Fatal/issues/16 Not sure which side the fix needs to be on yet.
Show quoted text
> Not sure which side the fix needs to be on yet.
The change in Test::Fatal seems to be an intentional (though breaking) change rather than a bug. Explicitly setting $Carp::MaxArgNums in the test fixes this for me. I've opened a PR: https://github.com/mauke/Return-MultiLevel/pull/2