Skip Menu |

This queue is for tickets about the Devel-Size CPAN distribution.

Report information
The Basics
Id: 95493
Status: resolved
Priority: 0/
Queue: Devel-Size

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc: gregoa [...] cpan.org
jquelin [...] cpan.org
AdminCc:

Bug Information
Severity: Important
Broken in: 0.79
Fixed in: 0.80



Subject: broken by bleadperl
# Failed test 'the magic object is counted' # at t/magic.t line 55. # '1176' # > # '1184' # Looks like you failed 1 test of 18. See http://www.cpantesters.org/cpan/report/fcabb132-ccb2-11e3-8e7f-0ea66dfca90a -- Alexandr Ciornii, http://chorny.net
On Fri May 09 05:05:57 2014, CHORNY wrote: Show quoted text
> # Failed test 'the magic object is counted' > # at t/magic.t line 55. > # '1176' > # > > # '1184' > # Looks like you failed 1 test of 18. > > See http://www.cpantesters.org/cpan/report/fcabb132-ccb2-11e3-8e7f- > 0ea66dfca90a
It appears this test started to fail around Perl 5.19.3. (See: http://matrix.cpantesters.org/?dist=Devel-Size) The maintainers will have to investigage. Thank you very much. Jim Keenan
From: davem [...] iabyn.com
copying what I wrote on p5p: Its due to v5.19.2-231-g7db6405 repurposing the SvMAGIC field on pad name AVs to hold the PadnamelistMAXNAMED value. Devel::Size needs updating to only scan SvMAGIC if SvMAGICAL, or alternatively, if not (SvTYPE(sv) == SVt_PVAV && AvPAD_NAMELIST(sv)
RT-Send-CC: davem [...] iabyn.com, perl [...] hackmysql.com, dan [...] sidhe.org, nick [...] ccl4.org, Tim.Bunce [...] pobox.com
This is now broken in the current release version 5.20.0. Thank you. Mark cpan[1]> install Devel::Size CPAN: CPAN::SQLite loaded ok (v0.203) CPAN: YAML loaded ok (v0.92) Reading 209 yaml files from /tmp/cpan/build/ ........DONE Restored the state of none (in 5.2179 secs) Database was generated on Thu, 05 Jun 2014 19:59:49 GMT CPAN: CPAN::Meta loaded ok (v2.141520) CPAN: Module::CoreList loaded ok (v3.11) Running install for module 'Devel::Size' NWCLARK/Devel-Size-0.79.tar.gz Has already been unwrapped into directory /tmp/cpan/build/Devel-Size-0.79-nKeEPQ NWCLARK/Devel-Size-0.79.tar.gz Has already been prepared NWCLARK/Devel-Size-0.79.tar.gz Has already been made Running make test PERL_DL_NONLAZY=1 /foo/perl/5.20.0/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic.t ..... Failed 21/30 subtests t/code.t ...... Failed 14/14 subtests t/globs.t ..... Failed 35/44 subtests t/magic.t ..... 1/18 # Failed test 'the magic object is counted' # at t/magic.t line 55. # '1274' # > # '1284' # Looks like you failed 1 test of 18. t/magic.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/18 subtests t/pod.t ....... ok t/pod_cov.t ... ok t/pvbm.t ...... ok t/recurse.t ... Failed 4/84 subtests t/warnings.t .. skipped: no Test::PerlRun found Test Summary Report ------------------- t/basic.t (Wstat: 139 Tests: 9 Failed: 0) Non-zero wait status: 139 Parse errors: Bad plan. You planned 30 tests but ran 9. t/code.t (Wstat: 139 Tests: 0 Failed: 0) Non-zero wait status: 139 Parse errors: Bad plan. You planned 14 tests but ran 0. t/globs.t (Wstat: 139 Tests: 9 Failed: 0) Non-zero wait status: 139 Parse errors: Bad plan. You planned 44 tests but ran 9. t/magic.t (Wstat: 256 Tests: 18 Failed: 1) Failed test: 11 Non-zero exit status: 1 t/pvbm.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/recurse.t (Wstat: 139 Tests: 80 Failed: 0) Non-zero wait status: 139 Parse errors: Bad plan. You planned 84 tests but ran 80. Files=9, Tests=120, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.54 cusr 0.28 csys = 0.91 CPU) Result: FAIL Failed 5/9 test programs. 1/120 subtests failed. make: *** [test_dynamic] Error 255 NWCLARK/Devel-Size-0.79.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NWCLARK/Devel-Size-0.79.tar.gz Stopping: 'install' failed for 'Devel::Size'. Failed during this command: NWCLARK/Devel-Size-0.79.tar.gz : make_test NO
From: ntyni [...] iki.fi
On Thu Jun 05 20:33:52 2014, MARKLE wrote: Show quoted text
> This is now broken in the current release version 5.20.0.
Show quoted text
> cpan[1]> install Devel::Size
Show quoted text
> Test Summary Report > ------------------- > t/basic.t (Wstat: 139 Tests: 9 Failed: 0) > Non-zero wait status: 139 > Parse errors: Bad plan. You planned 30 tests but ran 9. > t/code.t (Wstat: 139 Tests: 0 Failed: 0) > Non-zero wait status: 139 > Parse errors: Bad plan. You planned 14 tests but ran 0. > t/globs.t (Wstat: 139 Tests: 9 Failed: 0) > Non-zero wait status: 139 > Parse errors: Bad plan. You planned 44 tests but ran 9. > t/magic.t (Wstat: 256 Tests: 18 Failed: 1) > Failed test: 11 > Non-zero exit status: 1 > t/pvbm.t (Wstat: 0 Tests: 2 Failed: 0) > TODO passed: 2 > t/recurse.t (Wstat: 139 Tests: 80 Failed: 0) > Non-zero wait status: 139 > Parse errors: Bad plan. You planned 84 tests but ran 80. > Files=9, Tests=120, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.54 > cusr 0.28 csys = 0.91 CPU) > Result: FAIL
Applying zefram's patches from [rt.cpan.org #88182] and [rt.cpan.org #88180] get this down to just # Failed test 'Size doesn't change because OOK is used' # at t/basic.t line 122. # got: '42' # expected: '48' # Looks like you failed 1 test of 30. I've filed [perl #122322] about OOK not triggering anymore in such cases; it changed with the enabling of COW for 5.19.1.