Skip Menu |

This queue is for tickets about the Remember-Anything-AsPath CPAN distribution.

Report information
The Basics
Id: 123599
Status: open
Priority: 0/
Queue: Remember-Anything-AsPath

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

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



CC: yves [...] cpan.org
Subject: t/01-total.t fails (with newest Sereal?)
t/01-total.t started to fail on my smokers: ... # Failed test 'Default treedepth and file id correct' # at t/01-total.t line 38. # Failed test 'Custom treedepth and file id correct' # at t/01-total.t line 57. # Looks like you failed 2 tests of 7. t/01-total.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests ... Statistical analysis suggests that this happens with recent Sereal::Encoder 4.002: **************************************************************** (3) **************************************************************** Regression 'mod:Sereal::Encoder' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 1.57 [1='eq_3.008'] 1.0000 0.0000 5711079859072405.00 [2='eq_3.014'] 1.0000 0.0000 6951305036727516.00 [3='eq_3.015'] 1.0000 0.0000 7256855335997306.00 [4='eq_4.002'] -0.0000 0.0000 -2.45 R^2= 1.000, N= 118, K= 5 ****************************************************************
CC: demerphq <yves [...] cpan.org>
Subject: Re: [rt.cpan.org #123599] t/01-total.t fails (with newest Sereal?)
Date: Sun, 12 Nov 2017 16:55:41 +0100
To: bug-Remember-Anything-AsPath [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
This is not a bug in Sereal. R::A::AsPath uses the default Sereal protocol version which has changed from 3 to 4, but hashes it and tests if it gets the expected hash. The test fails go away if I force version 3 of the protocol in the constructor to Sereal::Encoder. I think this code needs to be made robust to Sereal version and output changes. Yves On 11 November 2017 at 14:49, Slaven_Rezic via RT <bug-Remember-Anything-AsPath@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123599 > > > t/01-total.t started to fail on my smokers: > > ... > # Failed test 'Default treedepth and file id correct' > # at t/01-total.t line 38. > > # Failed test 'Custom treedepth and file id correct' > # at t/01-total.t line 57. > # Looks like you failed 2 tests of 7. > t/01-total.t ...... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/7 subtests > ... > > > Statistical analysis suggests that this happens with recent Sereal::Encoder 4.002: > > **************************************************************** > (3) > **************************************************************** > Regression 'mod:Sereal::Encoder' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.0000 0.0000 1.57 > [1='eq_3.008'] 1.0000 0.0000 5711079859072405.00 > [2='eq_3.014'] 1.0000 0.0000 6951305036727516.00 > [3='eq_3.015'] 1.0000 0.0000 7256855335997306.00 > [4='eq_4.002'] -0.0000 0.0000 -2.45 > > R^2= 1.000, N= 118, K= 5 > ****************************************************************
-- perl -Mre=debug -e "/just|another|perl|hacker/"