Skip Menu |

This queue is for tickets about the Yote CPAN distribution.

Report information
The Basics
Id: 103183
Status: resolved
Priority: 0/
Queue: Yote

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

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



Subject: Possible hash randomization problems in test suite (0.300)
Tests may fail for perl 5.18+ like this: Output from './Build test': # Failed test 'Add to and Insert At working' # at /usr/home/eserte/.cpan/build/Yote-0.300-wj7__b/blib/lib/Yote/IO/TestUtil.pm line 818. # Structures begin differing at: # $got->[3] = ARRAY(0x47868df8) # $expected->[3] = Yote::Obj=HASH(0x47862cc0) # Looks like you failed 1 test of 563. t/yotedb.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/563 subtests Test Summary Report ------------------- t/yotedb.t (Wstat: 256 Tests: 563 Failed: 1) Failed test: 269 Non-zero exit status: 1 Files=1, Tests=563, 22 wallclock secs ( 0.28 usr 0.09 sys + 9.05 cusr 1.27 csys = 10.69 CPU) Result: FAIL Failed 1/1 test programs. 1/563 subtests failed. As this does not seem to happen for older perls (5.16 and less) I think it could be related to hash randomization...
Subject: Re: [rt.cpan.org #103183] Possible hash randomization problems in test suite (0.300)
Date: Sun, 29 Mar 2015 22:16:39 +0000
To: bug-Yote [...] rt.cpan.org
From: Eric Wolf <coyocanid [...] gmail.com>
Thank you very much. That does sound like hash randomization. Going to see if I can tease that out. On Sun, Mar 29, 2015 at 2:02 PM Slaven_Rezic via RT <bug-Yote@rt.cpan.org> wrote: Show quoted text
> Sun Mar 29 17:02:15 2015: Request 103183 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Yote > Subject: Possible hash randomization problems in test suite (0.300) > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=103183 > > > > Tests may fail for perl 5.18+ like this: > > Output from './Build test': > > > # Failed test 'Add to and Insert At working' > # at /usr/home/eserte/.cpan/build/Yote-0.300-wj7__b/blib/lib/Yote/IO/TestUtil.pm > line 818. > # Structures begin differing at: > # $got->[3] = ARRAY(0x47868df8) > # $expected->[3] = Yote::Obj=HASH(0x47862cc0) > # Looks like you failed 1 test of 563. > t/yotedb.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/563 subtests > > Test Summary Report > ------------------- > t/yotedb.t (Wstat: 256 Tests: 563 Failed: 1) > Failed test: 269 > Non-zero exit status: 1 > Files=1, Tests=563, 22 wallclock secs ( 0.28 usr 0.09 sys + 9.05 cusr > 1.27 csys = 10.69 CPU) > Result: FAIL > Failed 1/1 test programs. 1/563 subtests failed. > > > As this does not seem to happen for older perls (5.16 and less) I think it > could be related to hash randomization... > >
This has been resolved. I was able to reproduce and the test suites are passing right now.