Bug#709668: [PARTIAL PATCH] Re: Bug#709668: embperl: test failure with perl 5.18

Axel Beckert abe at debian.org
Sun Jan 26 01:14:43 UTC 2014


Hi Gerald,

On Mon, Aug 26, 2013 at 08:13:41AM +0200, Gerald Richter wrote:
> I will take a closer look to it during the next few days, create a
> new tar.gz to make sure nothing is missing and give you a feedback.

I just noticed there's a new Embperl 2.5.0 RC4 and checked how far it
comes with regards to the test suite.

There are still a bunch of hash randomisation issues. I've attached a
patch which fixes all of those I encountered so far by running the
test suite many dozen times. I would expect that you could apply this
patch to your code without changes.

Further I disabled all tests which just check more or less Perl
version specific error messages (i.e. includeerr{2,3}.htm) in our
package build. (But I think that should be solved differently
upstream, if it's an issue for you, too.)

This leaves so far two issues which look like real bugs:

#66 lists.htm fails occassionally and non-deterministically, but it
doesn't seem to be a hash randomisation issue. If it fails, it looks
like this:

#66 lists.htm...              
Error in Line 54
Is:     ></select></p><
Should: ><optionvalue="B"SELECTED>2</option><
Input:          test/html/lists.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/lists.htm
Log:            test/tmp/test.log
Testparameter:
  query_info = sel=2&SEL1=B&SEL3=D&SEL4=cc

And if I check test/tmp/out.htm vs test/cmp/lists.htm, I see

    <p><select name="D1"  size="1">
        <option value="A" >1</option>
    </select></p>

but should see

    <p><select name="D1"  size="1">
        <option value="A" >1</option>
    
        <option value="B" SELECTED>2</option>
    
        <option value="C" >3</option>
    
        <option value="D" >4</option>
    
        <option value="E" >5</option>
    
        <option value="F" >6</option>
    </select></p>

This does not look like a hash randomisation issue to me and hence may
be a real bug.

If #66 passes, the next one which fails (and always fails) is #147
exit.htm:

#147 exit.htm...              
Error in Line 11
Is:     After Exit
Should: <EOF>
Input:          test/html/exit.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/exit.htm
Log:            test/tmp/test.log
Testparameter:
  cgi = 0

This looks like a real bug as "[- exit -]" seems to have no effect but
should have an effect.

Hope this helps.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_suite_issues.patch
Type: text/x-diff
Size: 4284 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140126/ed32a2f2/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140126/ed32a2f2/attachment.sig>


More information about the pkg-perl-maintainers mailing list