Skip Menu |

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

Report information
The Basics
Id: 81442
Status: resolved
Priority: 0/
Queue: Crypt-OpenPGP

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

Bug Information
Severity: Important
Broken in: 1.06
Fixed in: 1.07



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 test t/11-encrypt.t is hit by that. My smoker tests have not yet arrived at cpantesters.com, so I copy the relevant diagnostics here: # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 42. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 55. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 67. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 107. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 118. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 129. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 140. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 152. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 170. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 188. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 205. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' # Failed test 'decrypting yields original text' # at t/11-encrypt.t line 219. # got: undef # expected: 'J'ai tombe sur cette chienne # Shampooineuse # Comme deux rahat-loukoums # A la rose qui rebondissent sur ma nuque boum boum # ' Use of uninitialized value $this in pattern match (m//) at t/11-encrypt.t line 220. # Failed test 'signature is valid for uid' # at t/11-encrypt.t line 220. # undef # doesn't match '(?^:foo@bar)' Can't call method "key_id" on an undefined value at t/11-encrypt.t line 221. # Looks like you planned 36 tests but ran 35. # Looks like you failed 13 tests of 35 run. # Looks like your test exited with 255 just after 35. t/11-encrypt.t ... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 14/36 subtests You can read more about the commit at http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 You may have to run the test several times until the randomization causes a fail. HTH&&Thanks&&Regards,
I've fixed the testsuite in the GH repo: https://github.com/btrott/Crypt-OpenPGP/pull/11 Waiting for the merge... On Sun Nov 25 09:22:49 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 test > > t/11-encrypt.t > > is hit by that. My smoker tests have not yet arrived at > cpantesters.com, > so I copy the relevant diagnostics here: > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 42. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 55. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 67. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 107. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 118. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 129. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 140. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 152. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 170. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 188. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 205. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > > # Failed test 'decrypting yields original text' > # at t/11-encrypt.t line 219. > # got: undef > # expected: 'J'ai tombe sur cette chienne > # Shampooineuse > # Comme deux rahat-loukoums > # A la rose qui rebondissent sur ma nuque boum boum > # ' > Use of uninitialized value $this in pattern match (m//) at > t/11-encrypt.t line 220. > > # Failed test 'signature is valid for uid' > # at t/11-encrypt.t line 220. > # undef > # doesn't match '(?^:foo@bar)' > Can't call method "key_id" on an undefined value at t/11-encrypt.t > line 221. > # Looks like you planned 36 tests but ran 35. > # Looks like you failed 13 tests of 35 run. > # Looks like your test exited with 255 just after 35. > t/11-encrypt.t ... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 14/36 subtests > > > You can read more about the commit at > http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 > > You may have to run the test several times until the randomization > causes a fail. > > HTH&&Thanks&&Regards,