Skip Menu |

This queue is for tickets about the Reflex CPAN distribution.

Report information
The Basics
Id: 81497
Status: resolved
Priority: 0/
Queue: Reflex

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

Bug Information
Severity: Important
Broken in: 0.098
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 104, 105, and 125 are affected by this. sample fail report at: http://www.cpantesters.org/cpan/report/1bef3b60-31ad-11e2- b784-0203a390f8f5 You can read more about the commit at http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d 31bbdc8e8abed69bddeec3 HTH&&Regards,
Thank you for the report. At first glance, I can't tell whether this is a bug in Moose or one in Reflex, though.
testers.cpan.org shows passes at 5.17.6 and above. I assume the failure was fixed in a dependency.
Often, when randomization can cause fails, it can also cause passes. Don't let single passes fool you. My smokers have in recent times only seen fails for bleadperl. Note, there has been a second round of hash randomization in bleadperl around v5.17.9-200-g0e0ab62. I'd say, have a look if you can, there is something waiting to be fixed and I see no sign that this something is in a dependency. I suggest you better open this ticket again, maybe it spurs something. Afaik, my posting will not automatically open it.
Reopening on Andreas' recommendation.
commit 3d916a2db7b6472d66377923506c6a111a7e76af Author: Rocco Caputo <rcaputo@cpan.org> Date: Sun Apr 21 15:49:47 2013 -0400 [rt.cpan.org 81497] Make a couple attributes lazy to avoid hash order issues. Andreas Koenig reported a hash-order issue in Reflex. I couldn't see it, but Matt S. Trout pointed out that it's probably because some trait attributes are too eager. Here I make those traits lazy on his recommendation. Tests pass. Will commend it to the CPAN testers for further evaluation.