Skip Menu |

This queue is for tickets about the Getopt-Euclid CPAN distribution.

Report information
The Basics
Id: 81630
Status: resolved
Priority: 0/
Queue: Getopt-Euclid

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

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



Subject: Test failures due to hash randomisation in perl 5.17.6
Since bleadperl v5.17.5-518-g7dc8663 your tests are failing frequently. That commit introduced hash key randomization and it seems at least the tests t/hier.t t/hier_2.t t/insert_defaults.t t/repeated.t are hit by that. Find a sample fail report at: http://www.cpantesters.org/cpan/report/5e56a6ce-3175-11e2-97f2-e8eba290f8f5 You can read more about the change at http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 or at http://www.perlmonks.org/?node_id=1005122 You may have to run the test several times until the randomization causes a fail. HTH&&Thanks&&Regards,
Hi Andreas, Yes, I noticed that some of the tests failed starting with Perl 5.17 as a consequence of the different hash traversal order. I am working on a fix for it. Thanks for reporting the issue. Best, Florent On Sun Dec 02 03:15:09 2012, ANDK wrote: Show quoted text
> Since bleadperl v5.17.5-518-g7dc8663 your tests are failing > frequently. > That commit introduced hash key randomization and it seems at least > the > tests > > t/hier.t > t/hier_2.t > t/insert_defaults.t > t/repeated.t > > are hit by that. Find a sample fail report at: > > http://www.cpantesters.org/cpan/report/5e56a6ce-3175-11e2-97f2- > e8eba290f8f5 > > You can read more about the change at >
http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 Show quoted text
> or at http://www.perlmonks.org/?node_id=1005122 > > You may have to run the test several times until the randomization > causes a fail. > > HTH&&Thanks&&Regards,
It should be fixed in version 0.3.8
On 20121204T023024Z, FANGLY wrote: Show quoted text
> It should be fixed in version 0.3.8
Thank you very much for the quick release cycle, but sorry, the fix seems to be incomplete. I see agins random results, this time in t/excludes.t Sample fail report diagnostics: # Failed test 'Got expected absence of size' # at t/excludes.t line 18. # got: '1' # expected: '0' # Looks like you failed 1 test of 7. t/excludes.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests Let me know if you require further info. Regards,
Indeed, in this case, the new hash randomization system reflected a bug in Getopt::Euclid. Fixed in version 0.3.9 and uploaded to CPAN. Thanks, Florent