Skip Menu |

This queue is for tickets about the JSON-Tiny CPAN distribution.

Report information
The Basics
Id: 122139
Status: resolved
Worked: 30 min
Priority: 0/
Queue: JSON-Tiny

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

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



Subject: t/20-mojo-json.t: test failure due to change in perl 5.27
See https://rt.perl.org/Ticket/Display.html?id=131594 Certain long deprecated functionality has been fatalized in perl-5.27 in preparation for the 5.28 release. One of your test files is affected by this fatalization and should be modified appropriately. Here is some output from attempting to install JSON::Tiny against perl-5.27.1. ##### PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-manifest.t ...... skipped: Author tests not required for installation. t/02-pod.t ........... skipped: Test::Pod 1.26 required for this test t/03-pod-coverage.t .. skipped: Author Test: Set $ENV{RELEASE_TESTING} to run. t/04-perlcritic.t .... skipped: Author Test: Set $ENV{RELEASE_TESTING} to run. t/05-load-prereqs.t .. ok t/09-changes.t ....... skipped: Author tests skipped. Set $ENV{RELEASE_TESTING} to run. # Testing JSON::Tiny 0.56, Perl 5.027001, /home/jkeenan/testing/blead/bin/perl t/10-load-can.t ...... ok t/13-kwalitee.t ...... skipped: Author Test: Set $ENV{RELEASE_TESTING} true to run. Use of strings with code points over 0xFF as arguments to bitwise and (&) operator is not allowed at /home/jkeenan/.cpanm/work/1497955700.26326/JSON-Tiny-0.56/blib/lib/JSON/Tiny.pm line 272. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 79. t/20-mojo-json.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) All 79 subtests passed t/21-j-dies.t ........ ok t/22-bool.t .......... ok Test Summary Report ------------------- t/20-mojo-json.t (Wstat: 65280 Tests: 79 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=11, Tests=96, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.53 cusr 0.04 csys = 0.63 CPU) Result: FAIL Failed 1/11 test programs. 0/96 subtests failed. Makefile:871: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 ##### Thank you very much. Jim Keenan
On 2017-06-20 07:18:57, JKEENAN wrote: Show quoted text
> See https://rt.perl.org/Ticket/Display.html?id=131594 > > Certain long deprecated functionality has been fatalized in perl-5.27 > in preparation for the 5.28 release. One of your test files is > affected by this fatalization and should be modified appropriately. > > Here is some output from attempting to install JSON::Tiny against > perl-5.27.1. > > ##### > PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/01-manifest.t ...... skipped: Author tests not required for > installation. > t/02-pod.t ........... skipped: Test::Pod 1.26 required for this test > t/03-pod-coverage.t .. skipped: Author Test: Set $ENV{RELEASE_TESTING} > to run. > t/04-perlcritic.t .... skipped: Author Test: Set $ENV{RELEASE_TESTING} > to run. > t/05-load-prereqs.t .. ok > t/09-changes.t ....... skipped: Author tests skipped. Set > $ENV{RELEASE_TESTING} to run. > # Testing JSON::Tiny 0.56, Perl 5.027001, > /home/jkeenan/testing/blead/bin/perl > t/10-load-can.t ...... ok > t/13-kwalitee.t ...... skipped: Author Test: Set $ENV{RELEASE_TESTING} > true to run. > Use of strings with code points over 0xFF as arguments to bitwise and > (&) operator is not allowed at > /home/jkeenan/.cpanm/work/1497955700.26326/JSON-Tiny- > 0.56/blib/lib/JSON/Tiny.pm line 272. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 79. > t/20-mojo-json.t ..... > Dubious, test returned 255 (wstat 65280, 0xff00) > All 79 subtests passed > t/21-j-dies.t ........ ok > t/22-bool.t .......... ok > > Test Summary Report > ------------------- > t/20-mojo-json.t (Wstat: 65280 Tests: 79 Failed: 0) > Non-zero exit status: 255 > Parse errors: No plan found in TAP output > Files=11, Tests=96, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.53 > cusr 0.04 csys = 0.63 CPU) > Result: FAIL > Failed 1/11 test programs. 0/96 subtests failed. > Makefile:871: recipe for target 'test_dynamic' failed > make: *** [test_dynamic] Error 255 > ##### > > Thank you very much. > Jim Keenan
Patch exists, but needs to be accepted: https://github.com/daoswald/JSON-Tiny/pull/4
On Sat Nov 11 06:09:36 2017, SREZIC wrote: Show quoted text
> On 2017-06-20 07:18:57, JKEENAN wrote:
> > See https://rt.perl.org/Ticket/Display.html?id=131594 > > > > Certain long deprecated functionality has been fatalized in perl-5.27 > > in preparation for the 5.28 release. One of your test files is > > affected by this fatalization and should be modified appropriately. > > > > Here is some output from attempting to install JSON::Tiny against > > perl-5.27.1. > > > > ##### > > PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" "- > > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > > t/*.t > > t/01-manifest.t ...... skipped: Author tests not required for > > installation. > > t/02-pod.t ........... skipped: Test::Pod 1.26 required for this test > > t/03-pod-coverage.t .. skipped: Author Test: Set $ENV{RELEASE_TESTING} > > to run. > > t/04-perlcritic.t .... skipped: Author Test: Set $ENV{RELEASE_TESTING} > > to run. > > t/05-load-prereqs.t .. ok > > t/09-changes.t ....... skipped: Author tests skipped. Set > > $ENV{RELEASE_TESTING} to run. > > # Testing JSON::Tiny 0.56, Perl 5.027001, > > /home/jkeenan/testing/blead/bin/perl > > t/10-load-can.t ...... ok > > t/13-kwalitee.t ...... skipped: Author Test: Set $ENV{RELEASE_TESTING} > > true to run. > > Use of strings with code points over 0xFF as arguments to bitwise and > > (&) operator is not allowed at > > /home/jkeenan/.cpanm/work/1497955700.26326/JSON-Tiny- > > 0.56/blib/lib/JSON/Tiny.pm line 272. > > # Tests were run but no plan was declared and done_testing() was not > > seen. > > # Looks like your test exited with 255 just after 79. > > t/20-mojo-json.t ..... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > All 79 subtests passed > > t/21-j-dies.t ........ ok > > t/22-bool.t .......... ok > > > > Test Summary Report > > ------------------- > > t/20-mojo-json.t (Wstat: 65280 Tests: 79 Failed: 0) > > Non-zero exit status: 255 > > Parse errors: No plan found in TAP output > > Files=11, Tests=96, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.53 > > cusr 0.04 csys = 0.63 CPU) > > Result: FAIL > > Failed 1/11 test programs. 0/96 subtests failed. > > Makefile:871: recipe for target 'test_dynamic' failed > > make: *** [test_dynamic] Error 255 > > ##### > > > > Thank you very much. > > Jim Keenan
> > Patch exists, but needs to be accepted: > https://github.com/daoswald/JSON-Tiny/pull/4
Patch accepted, merged, and published to CPAN as version 0.57. Thanks for the patch. Sorry for the delay in getting it applied.