Skip Menu |

This queue is for tickets about the Net-IDN-Encode CPAN distribution.

Report information
The Basics
Id: 85552
Status: resolved
Priority: 0/
Queue: Net-IDN-Encode

People
Owner: CFAERBER [...] cpan.org
Requestors: d.thomas [...] its.uq.edu.au
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in:
  • 2.003_2013881000
  • 2.004



Subject: 3 uts46 tests FAIL under perl-5.18.0
RHEL6, perl-5.18.0 Test Summary Report ------------------- t/uts46_to_ascii-trans.t (Wstat: 256 Tests: 616 Failed: 1) Failed test: 616 Non-zero exit status: 1 t/uts46_to_ascii.t (Wstat: 256 Tests: 616 Failed: 1) Failed test: 616 Non-zero exit status: 1 t/uts46_to_unicode.t (Wstat: 256 Tests: 807 Failed: 1) Failed test: 807 TODO passed: 212-214 Non-zero exit status: 1 Files=15, Tests=2196, 3 wallclock secs ( 0.26 usr 0.04 sys + 1.95 cusr 0.14
Thanks for reporting. I'll look into it on the weekend.
Subject: 3 uts46 tests FAIL under perl-5.18.0 on RHEL6
So far, this problem seems to be limited to certain configurations: http://www.cpantesters.org/distro/N/Net-IDN-Encode As I don't have RHEL6 (or any RedHat), I can't reproduce the problem. All failures are due to the last test, which is added by Test::NoWarnings. Are there any warnings printed to STDERR?
There were now some reports from CPAN testers. The bug seems to be confined to the non-XS version and perl >= 5.18. PERL_DL_NONLAZY=1 /usr/local/bin/perl5.19.2d-nt@1292fdb2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00use.t ................. ok t/10pod.t ................. ok t/11pod_cover.t ........... ok t/domain_to_ascii.t ....... ok t/domain_to_unicode.t ..... ok t/encode_bytes.t .......... ok t/encode_utf8.t ........... ok t/punycode_vec-pp.t ....... ok t/punycode_vec-xs.t ....... skipped: no XS version t/uts46_api_call.t ........ ok t/uts46_encode_bytes.t .... ok t/uts46_encode_utf8.t ..... ok # Failed test 'no warnings' # at /usr/local/lib/perl5/site_perl/5.19.2/Test/NoWarnings.pm line 45. # There were 3 warning(s) # Previous test 172 'to_ascii('Xn--A-Ecp.ru') throws error V6 [data/IdnaTest.txt:255]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('xn--0.pt', 'TransitionalProcessing', 1) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('xn--0.pt', 'TransitionalProcessing', 1) called at t/uts46_to_ascii-trans.t line 196 # eval {...} called at t/uts46_to_ascii-trans.t line 196 # # ---------- # Previous test 173 'to_ascii('xn--0.pt') throws error A3 [data/IdnaTest.txt:256]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('XN--0.PT', 'TransitionalProcessing', 1) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('XN--0.PT', 'TransitionalProcessing', 1) called at t/uts46_to_ascii-trans.t line 197 # eval {...} called at t/uts46_to_ascii-trans.t line 197 # # ---------- # Previous test 174 'to_ascii('XN--0.PT') throws error A3 [data/IdnaTest.txt:257]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('Xn--0.Pt', 'TransitionalProcessing', 1) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('Xn--0.Pt', 'TransitionalProcessing', 1) called at t/uts46_to_ascii-trans.t line 198 # eval {...} called at t/uts46_to_ascii-trans.t line 198 # # Looks like you failed 1 test of 616. t/uts46_to_ascii-trans.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/616 subtests # Failed test 'no warnings' # at /usr/local/lib/perl5/site_perl/5.19.2/Test/NoWarnings.pm line 45. # There were 3 warning(s) # Previous test 172 'to_ascii('Xn--A-Ecp.ru') throws error V6 [data/IdnaTest.txt:255]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('xn--0.pt', 'TransitionalProcessing', 0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('xn--0.pt', 'TransitionalProcessing', 0) called at t/uts46_to_ascii.t line 196 # eval {...} called at t/uts46_to_ascii.t line 196 # # ---------- # Previous test 173 'to_ascii('xn--0.pt') throws error A3 [data/IdnaTest.txt:256]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('XN--0.PT', 'TransitionalProcessing', 0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('XN--0.PT', 'TransitionalProcessing', 0) called at t/uts46_to_ascii.t line 197 # eval {...} called at t/uts46_to_ascii.t line 197 # # ---------- # Previous test 174 'to_ascii('XN--0.PT') throws error A3 [data/IdnaTest.txt:257]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('Xn--0.Pt', 'TransitionalProcessing', 0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 40 # Net::IDN::UTS46::uts46_to_ascii('Xn--0.Pt', 'TransitionalProcessing', 0) called at t/uts46_to_ascii.t line 198 # eval {...} called at t/uts46_to_ascii.t line 198 # # Looks like you failed 1 test of 616. t/uts46_to_ascii.t ........ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/616 subtests # Failed test 'no warnings' # at /usr/local/lib/perl5/site_perl/5.19.2/Test/NoWarnings.pm line 45. # There were 3 warning(s) # Previous test 211 'to_unicode('Xn--A-Ecp.ru') throws error V6 [data/IdnaTest.txt:255]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('xn--0.pt', 'TransitionalProcessing', 0) called at t/uts46_to_unicode.t line 235 # eval {...} called at t/uts46_to_unicode.t line 235 # # ---------- # Previous test 212 'to_unicode('xn--0.pt') throws error A3 [data/IdnaTest.txt:256]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('XN--0.PT', 'TransitionalProcessing', 0) called at t/uts46_to_unicode.t line 236 # eval {...} called at t/uts46_to_unicode.t line 236 # # ---------- # Previous test 213 'to_unicode('XN--0.PT') throws error A3 [data/IdnaTest.txt:257]' # Invalid negative number (-616) in chr at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/Punycode/PP.pm line 96. # Net::IDN::Punycode::PP::decode_punycode(0) called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # eval {...} called at /home/rurban/Perl/.cpan-build/Net-IDN-Encode-2.003-JalYBq/blib/lib/Net/IDN/UTS46.pm line 122 # Net::IDN::UTS46::_process('Xn--0.Pt', 'TransitionalProcessing', 0) called at t/uts46_to_unicode.t line 237 # eval {...} called at t/uts46_to_unicode.t line 237 # # Looks like you failed 1 test of 807. t/uts46_to_unicode.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/807 subtests (3 TODO tests unexpectedly succeeded) Test Summary Report ------------------- t/uts46_to_ascii-trans.t (Wstat: 256 Tests: 616 Failed: 1) Failed test: 616 Non-zero exit status: 1 t/uts46_to_ascii.t (Wstat: 256 Tests: 616 Failed: 1) Failed test: 616 Non-zero exit status: 1 t/uts46_to_unicode.t (Wstat: 256 Tests: 807 Failed: 1) Failed test: 807 TODO passed: 212-214 Non-zero exit status: 1 Files=15, Tests=2196, 5 wallclock secs ( 0.47 usr 0.02 sys + 4.04 cusr 0.11 csys = 4.64 CPU) Result: FAIL Failed 3/15 test programs. 3/2196 subtests failed. make: *** [test_dynamic] Error 1
fixed in version 2.004