Skip Menu |

This queue is for tickets about the HTML-FormFu-MultiForm CPAN distribution.

Report information
The Basics
Id: 91788
Status: open
Priority: 0/
Queue: HTML-FormFu-MultiForm

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

Bug Information
Severity: (no value)
Broken in: 1.00
Fixed in: (no value)



Subject: Test failures due to hash randomisation in perl 5.17.6
From perl 5.17.6 upwards tests are failing frequently. Sample fail report: http://www.cpantesters.org/cpan/report/fee64638-664b-11e3-bee4-6810bd322218 Or best illustrated with the matrix: http://matrix.cpantesters.org/?dist=HTML-FormFu-MultiForm-1.00 v5.17.5-518-g7dc8663 introduced hash key randomization and indeed I could observe changing test results when running the tests often enough. 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 HTH && Regards, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)
From: ppisar [...] redhat.com
Dne St 01.led.2014 23:55:06, ANDK napsal(a): Show quoted text
> From perl 5.17.6 upwards tests are failing frequently. Sample fail > report: >
Since Perl 5.26.0 RC1 PERL_PERTURB_KEYS=0, does not help much because it with high (0.5) chance: $ PERL_PERTURB_KEYS=0 perl -I/tmp/HTML-FormFu/lib -Ilib t/multiform-misc-file-client-side.t 1..13 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 Can't locate object method "tmp_upload_dir" via package "HTML::FormFu::QueryType::CGI" at /tmp/HTML-FormFu/lib/HTML/FormFu/UploadParam.pm line 44, <$fh> chunk 2, at lib/HTML/FormFu/MultiForm.pm line 508. # Looks like your test exited with 255 just after 6. It crashes when Storable::nfreeze() is called on a hash reference in HTML::FormFu::MultiForm::_save_hidden_data() called from TML::FormFu::MultiForm::next_form() from t/multiform-misc-file-client-side.t.
From: ppisar [...] redhat.com
Dne St 24.Květen.2017 08:02:13, ppisar napsal(a): Show quoted text
> Dne St 01.led.2014 23:55:06, ANDK napsal(a):
> > From perl 5.17.6 upwards tests are failing frequently. Sample fail > > report: > >
> > Since Perl 5.26.0 RC1 PERL_PERTURB_KEYS=0, does not help much because > it with high (0.5) chance: > > $ PERL_PERTURB_KEYS=0 perl -I/tmp/HTML-FormFu/lib -Ilib t/multiform- > misc-file-client-side.t > 1..13 > ok 1 > ok 2 > ok 3 > ok 4 > ok 5 > ok 6 > Can't locate object method "tmp_upload_dir" via package > "HTML::FormFu::QueryType::CGI" at /tmp/HTML- > FormFu/lib/HTML/FormFu/UploadParam.pm line 44, <$fh> chunk 2, at > lib/HTML/FormFu/MultiForm.pm line 508. > # Looks like your test exited with 255 just after 6. > > It crashes when Storable::nfreeze() is called on a hash reference in > HTML::FormFu::MultiForm::_save_hidden_data() called from > TML::FormFu::MultiForm::next_form() from t/multiform-misc-file-client- > side.t.
The nfreeze()d hash differs. So far I tracked the difference already exists in t/multiform-misc-file-client-side.t just after $multi->process($q). The $multi->current_form->param_value('hello_world') contains the varying data.