Skip Menu |

This queue is for tickets about the Crypt-ECDH_ES CPAN distribution.

Report information
The Basics
Id: 121097
Status: resolved
Priority: 0/
Queue: Crypt-ECDH_ES

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

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



Subject: Random test failures
I observe random test failures of t/basic.t: ... PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t wrong key length: key must be 128, 192 or 256 bits long at /home/cpansand/.cpan/build/2017041306/Crypt-ECDH_ES-0.002-0/blib/lib/Crypt/ECDH_ES.pm line 45. t/basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ...
On 2017-04-13 02:31:07, SREZIC wrote: Show quoted text
> I observe random test failures of t/basic.t: > > ... > PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > wrong key length: key must be 128, 192 or 256 bits long at > /home/cpansand/.cpan/build/2017041306/Crypt-ECDH_ES-0.002- > 0/blib/lib/Crypt/ECDH_ES.pm line 45. > t/basic.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ...
Probably fixed in the latest version.
Subject: Re: [rt.cpan.org #121097] Random test failures
Date: Fri, 14 Apr 2017 20:16:12 +0200
To: bug-Crypt-ECDH_ES [...] rt.cpan.org
From: Leon Timmermans <leont [...] cpan.org>
On Fri, Apr 14, 2017 at 5:27 PM, Slaven_Rezic via RT <bug-Crypt-ECDH_ES@rt.cpan.org> wrote: Show quoted text
> Queue: Crypt-ECDH_ES > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=121097 > > > On 2017-04-13 02:31:07, SREZIC wrote:
>> I observe random test failures of t/basic.t: >> >> ... >> PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "- >> MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef >> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" >> t/*.t >> wrong key length: key must be 128, 192 or 256 bits long at >> /home/cpansand/.cpan/build/2017041306/Crypt-ECDH_ES-0.002- >> 0/blib/lib/Crypt/ECDH_ES.pm line 45. >> t/basic.t .. >> Dubious, test returned 255 (wstat 65280, 0xff00) >> No subtests run >> ...
> > Probably fixed in the latest version.
I accidentally used pack "A" instead of pack "a', so if my random values ended with whitespace they would be considered padding and removed. This has been fixed in the latest release. Leon