Skip Menu |

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

Report information
The Basics
Id: 90128
Status: resolved
Priority: 0/
Queue: Data-Dump-Streamer

People
Owner: Nobody in particular
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

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



Subject: test failure
test failure. t/as.t .............. ok t/blessed.t ......... ok t/dogpound.t ........ ok t/dump.t ............ ok t/filter.t .......... ok t/globtest.t ........ ok t/hardrefs.t ........ ok t/impure_madness.t .. ok t/lexicals.t ........ # # PadWalker 1.98 is installed t/lexicals.t ........ ok t/locked.t .......... ok t/madness.t ......... ok t/madness_json.t .... 1/7 # Failed test '' # at t/test_helper.pl line 114. # Looks like you failed 1 test of 7. t/madness_json.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/madness_w.t ....... ok t/names.t ........... ok t/overload.t ........ ok t/readonly.t ........ ok t/refaddr.t ......... ok t/refcount.t ........ ok t/refelem.t ......... ok t/reftype.t ......... ok t/sortkeys.t ........ ok t/tree.t ............ ok t/usage.t ........... ^C similar to this one http://www.cpantesters.org/cpan/report/19849212-44d0-11e3-b8ec-7fc2e4f0671c
From: d.thomas [...] its.uq.edu.au
Show quoted text
> t/madness_json.t .... 1/7 > # Failed test '' > # at t/test_helper.pl line 114. > # Looks like you failed 1 test of 7. > t/madness_json.t .... Dubious, test returned 1 (wstat 256, 0x100)
got the same error perl 5.16.3, RHEL6 DDS has not been updated since my last successful build under 5.16.3. Reverting JSON::XS from 3.01 -> 2.34 saw ./Build test work fine (without a clean). I've logged the companion https://rt.cpan.org/Public/Bug/Display.html?id=90311 as the notes for 3.01 mention Show quoted text
>- backport to perls < 5.18 (reported by Paul Howarth).
so it's possible that wasn't completely fixed ... or t/madness_json.t might be using dubious assumptions caught by the new JSON::XS
Subject: test failure (JSON::XS 3.x)
From: d.thomas [...] its.uq.edu.au
Show quoted text
> > t/madness_json.t .... 1/7 > > # Failed test '' > > # at t/test_helper.pl line 114. > > # Looks like you failed 1 test of 7. > > t/madness_json.t .... Dubious, test returned 1 (wstat 256, 0x100)
The author of JSON::XS suggests this relies on undocumented behaviour (how booleans are represented internally and that internal behaviour change in JSON::XS 3
On 2013-11-18 15:21:00, d.thomas@its.uq.edu.au wrote: Show quoted text
> > > t/madness_json.t .... 1/7 > > > # Failed test '' > > > # at t/test_helper.pl line 114. > > > # Looks like you failed 1 test of 7. > > > t/madness_json.t .... Dubious, test returned 1 (wstat 256, 0x100)
> > The author of JSON::XS suggests this > relies on undocumented behaviour > (how booleans are represented internally > and that internal behaviour change in JSON::XS 3
Here's a patch to fix the problem: https://github.com/demerphq/Data-Dump-Streamer/pull/5 Works with JSON::XS < 3.00 and JSON::XS >= 3.00. Regards, Slaven
On 2013-11-07 12:40:49, vsespb wrote: Show quoted text
> test failure. >
[...] Show quoted text
Problem should be fixed in 2.37. Regards, Slaven
RT-Send-CC: d.thomas [...] its.uq.edu.au
Resolved. Thanks.