Skip Menu |

This queue is for tickets about the Hyle CPAN distribution.

Report information
The Basics
Id: 118212
Status: open
Priority: 0/
Queue: Hyle

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

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



CC: MIYAGAWA [...] cpan.org
Subject: Tests fail (with Plack 1.0040 and later?)
My smokers started to report the following failure: ... # Failed test 'response is succesful' # at t/Hyle.t line 51. # Failed test 'response code 200 OK' # at t/Hyle.t line 52. # got: 500 # expected: 200 # Failed test 'content type header ok' # at t/Hyle.t line 54. # got: 'text/plain' # expected: 'data/json' ... # Failed test 'decoded response ok' # at t/Hyle.t line 135. # died: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "hash- or arrayref ex...") at t/Hyle.t line 130. # Failed test 'resource created ok' # at t/Hyle.t line 168. # got: 500 # expected: 200 # Failed test 'decoded response ok' # at t/Hyle.t line 177. # died: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "hash- or arrayref ex...") at t/Hyle.t line 172. # Looks like you failed 19 tests of 34. t/Hyle.t .................. Dubious, test returned 19 (wstat 4864, 0x1300) Failed 19/34 subtests Statistical analysis suggests that the problem started with Plack 1.0040 (negative Theta is "bad"): **************************************************************** Regression 'mod:Plack' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 9578127818249266.00 [1='eq_1.0030'] -0.0000 0.0000 -1.03 [2='eq_1.0031'] -0.0000 0.0000 -1.94 [3='eq_1.0033'] -0.0000 0.0000 -1.84 [4='eq_1.0034'] -0.0000 0.0000 -0.87 [5='eq_1.0037'] -0.0000 0.0000 -4.85 [6='eq_1.0038'] 0.0000 0.0000 0.00 [7='eq_1.0039'] -0.0000 0.0000 -2.07 [8='eq_1.0040'] -1.0000 0.0000 -6772759131355572.00 [9='eq_1.0041'] -1.0000 0.0000 -9367593805148386.00 R^2= 1.000, N= 71, K= 10 **************************************************************** Maybe related: * https://rt.cpan.org/Ticket/Display.html?id=118112 * https://github.com/tokuhirom/FormValidator-Lite/issues/15
CC: MIYAGAWA [...] cpan.org
Subject: Re: [rt.cpan.org #118212] Tests fail (with Plack 1.0040 and later?)
Date: Sat, 01 Oct 2016 19:24:30 +0000
To: bug-Hyle [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Upgrade Plack to 1.0042. On Sat, Oct 1, 2016, 9:23 AM Slaven_Rezic via RT <bug-Hyle@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=118212 > > > My smokers started to report the following failure: > > ... > # Failed test 'response is succesful' > # at t/Hyle.t line 51. > > # Failed test 'response code 200 OK' > # at t/Hyle.t line 52. > # got: 500 > # expected: 200 > > # Failed test 'content type header ok' > # at t/Hyle.t line 54. > # got: 'text/plain' > # expected: 'data/json' > ... > # Failed test 'decoded response ok' > # at t/Hyle.t line 135. > # died: malformed JSON string, neither array, object, number, string or > atom, at character offset 0 (before "hash- or arrayref ex...") at t/Hyle.t > line 130. > > # Failed test 'resource created ok' > # at t/Hyle.t line 168. > # got: 500 > # expected: 200 > > # Failed test 'decoded response ok' > # at t/Hyle.t line 177. > # died: malformed JSON string, neither array, object, number, string or > atom, at character offset 0 (before "hash- or arrayref ex...") at t/Hyle.t > line 172. > # Looks like you failed 19 tests of 34. > t/Hyle.t .................. > Dubious, test returned 19 (wstat 4864, 0x1300) > Failed 19/34 subtests > > > Statistical analysis suggests that the problem started with Plack 1.0040 > (negative Theta is "bad"): > > **************************************************************** > Regression 'mod:Plack' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 9578127818249266.00 > [1='eq_1.0030'] -0.0000 0.0000 -1.03 > [2='eq_1.0031'] -0.0000 0.0000 -1.94 > [3='eq_1.0033'] -0.0000 0.0000 -1.84 > [4='eq_1.0034'] -0.0000 0.0000 -0.87 > [5='eq_1.0037'] -0.0000 0.0000 -4.85 > [6='eq_1.0038'] 0.0000 0.0000 0.00 > [7='eq_1.0039'] -0.0000 0.0000 -2.07 > [8='eq_1.0040'] -1.0000 0.0000 -6772759131355572.00 > [9='eq_1.0041'] -1.0000 0.0000 -9367593805148386.00 > > R^2= 1.000, N= 71, K= 10 > **************************************************************** > > > Maybe related: > * https://rt.cpan.org/Ticket/Display.html?id=118112 > * https://github.com/tokuhirom/FormValidator-Lite/issues/15 > >