Skip Menu |
 

This queue is for tickets about the Data-FlexSerializer CPAN distribution.

Report information
The Basics
Id: 127750
Status: open
Priority: 0/
Queue: Data-FlexSerializer

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

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



CC: MLEHMANN [...] cpan.org
Subject: t/10basic.t fails (with JSON:XS 4.0?)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-31236-1542698460-1800.0-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1168
Download (untitled) / with headers
text/plain 1.1k
The test suite started to fail on my smokers: ... # Failed test 'We should die under Storable and JSON when fed a plain SvPV' # at t/10basic.t line 209. # Failed test 'We should die under Storable and JSON when fed a plain SvPV' # at t/10basic.t line 209. ... # Failed test 'We should die under Storable and JSON when fed a plain SvPV' # at t/10basic.t line 209. # Looks like you failed 14 tests of 600. t/10basic.t ....... Dubious, test returned 14 (wstat 3584, 0xe00) Failed 14/600 subtests Statistical analysis suggests that this happens if JSON::XS 4.0 is installed: **************************************************************** Regression 'mod:JSON::XS' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 335736626862600000.00 [1='eq_3.02'] 0.0000 0.0000 7.90 [2='eq_3.03'] 0.0000 0.0000 8.26 [3='eq_3.04'] 0.0000 0.0000 9.56 [4='eq_4.0'] -1.0000 0.0000 -101228401789345472.00 R^2= 1.000, N= 346, K= 5 ****************************************************************
MIME-Version: 1.0
X-Spam-Status: No, score=-5.866 tagged_above=-99.9 required=10 tests=[AWL=0.033, BAYES_00=-1.9, FROM_OUR_RT=-4, SPF_FAIL=0.001] autolearn=ham
In-Reply-To: <rt-4.0.18-31236-1542698462-54.127750-17-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-127750 [...] rt.cpan.org> <rt-4.0.18-31236-1542698462-54.127750-17-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20181120132054.znmr2dh6pc4xpvwa [...] schmorp.de>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.866
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BF18F24022D for <cpan-bug+Data-FlexSerializer [...] hipster.bestpractical.com>; Tue, 20 Nov 2018 08:36:53 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YvkL0qfUru5f for <cpan-bug+Data-FlexSerializer [...] hipster.bestpractical.com>; Tue, 20 Nov 2018 08:36:51 -0500 (EST)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id B1CBB2400DB for <bug-Data-FlexSerializer [...] rt.cpan.org>; Tue, 20 Nov 2018 08:36:51 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 19682120225 for <bug-Data-FlexSerializer [...] rt.cpan.org>; Tue, 20 Nov 2018 05:36:50 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 4090811ED90 for <bug-Data-FlexSerializer [...] rt.cpan.org>; Tue, 20 Nov 2018 05:36:47 -0800 (PST)
Received: from mail.nethype.de (mail.nethype.de [5.9.56.24]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 6EF1F1201C8 for <bug-Data-FlexSerializer [...] rt.cpan.org>; Tue, 20 Nov 2018 05:36:36 -0800 (PST)
Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.89) (envelope-from <schmorp [...] schmorp.de>) id 1gP5xW-0002oV-Jb for bug-Data-FlexSerializer [...] rt.cpan.org; Tue, 20 Nov 2018 13:20:54 +0000
Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.89) (envelope-from <schmorp [...] schmorp.de>) id 1gP5xW-00034R-Es for bug-Data-FlexSerializer [...] rt.cpan.org; Tue, 20 Nov 2018 13:20:54 +0000
Received: from root by cerebro.laendle with local (Exim 4.89) (envelope-from <root [...] schmorp.de>) id 1gP5xW-0001FE-Dw for bug-Data-FlexSerializer [...] rt.cpan.org; Tue, 20 Nov 2018 14:20:54 +0100
Delivered-To: cpan-bug+Data-FlexSerializer [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #127750] t/10basic.t fails (with JSON:XS 4.0?)
Return-Path: <schmorp [...] schmorp.de>
X-Original-To: cpan-bug+Data-FlexSerializer [...] hipster.bestpractical.com
X-RT-Mail-Extension: data-flexserializer
Openpgp: id=904ad2f81fb16978e7536f726dea2ba30bc39eb6; url=http://pgp.schmorp.de/schmorp-pgpkey.txt; preference=signencrypt
Date: Tue, 20 Nov 2018 14:20:54 +0100
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_700_799 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, NO_URI_HTTPS 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_COMMON 0, __FRAUD_REFNUM 0, __HAS_FROM 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_PATH 0, __URI_NS , __URI_WITHOUT_PATH 0, __zen.spamhaus.org_ERROR '
X-Spam-Level:
X-Greylist: delayed 940 seconds by postgrey-1.34 at xx1.develooper.com; Tue, 20 Nov 2018 05:36:38 PST
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2018.11.20.132716
To: Slaven_Rezic via RT <bug-Data-FlexSerializer [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
RT-Message-ID: <rt-4.0.18-29201-1542721014-1940.127750-0-0 [...] rt.cpan.org>
Content-Length: 727
Download (untitled) / with headers
text/plain 727b
On Tue, Nov 20, 2018 at 02:21:02AM -0500, Slaven_Rezic via RT <bug-Data-FlexSerializer@rt.cpan.org> wrote: Show quoted text
> # Failed test 'We should die under Storable and JSON when fed a plain SvPV' > # at t/10basic.t line 209.
This is because a plain scalar is now valid by default. The easiest fix would be to create the json coder with ->allow_nonref(0), but probably the assumption itself is flawed in some way. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=====/_/_//_/\_,_/ /_/\_\


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.