Skip Menu |

This queue is for tickets about the PITA-XML CPAN distribution.

Report information
The Basics
Id: 81592
Status: open
Priority: 0/
Queue: PITA-XML

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

Bug Information
Severity: Important
Broken in:
  • 0.51
  • 0.52
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/11_saxdriver.t t/13_ids.t are hit by that. Find a sample fail report at: http://www.cpantesters.org/cpan/report/f0614dec-3181-11e2-a4ee-0fb8a290f8f5 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,
I see, 0.52 is out, it still looks like randomization hits, see here the very same perl has pass and fail: http://www.cpantesters.org/cpan/report/30731841 # FAIL http://www.cpantesters.org/cpan/report/30731861 # PASS This time it is only the test t/13_ids.t that is failing
On 2013-05-26 12:43:19, ANDK wrote: Show quoted text
> I see, 0.52 is out, it still looks like randomization hits, see here > the very same perl has pass and fail: > > http://www.cpantesters.org/cpan/report/30731841 # FAIL > http://www.cpantesters.org/cpan/report/30731861 # PASS > > This time it is only the test t/13_ids.t that is failing
To workaround the issue one has to set the following environment variables: PERL_HASH_SEED: 14 PERL_PERTURB_KEYS: NO (will be part of my distroprefs file for PITA-XML-0.52)
On 2016-01-11 14:58:53, SREZIC wrote: Show quoted text
> On 2013-05-26 12:43:19, ANDK wrote:
> > I see, 0.52 is out, it still looks like randomization hits, see here > > the very same perl has pass and fail: > > > > http://www.cpantesters.org/cpan/report/30731841 # FAIL > > http://www.cpantesters.org/cpan/report/30731861 # PASS > > > > This time it is only the test t/13_ids.t that is failing
> > To workaround the issue one has to set the following environment variables: > > PERL_HASH_SEED: 14 > PERL_PERTURB_KEYS: NO > > (will be part of my distroprefs file for PITA-XML-0.52)
It seems that perl 5.27.1 has a different hash implementation --- a working seed value here is for example 11.