Subject: | Undeclared dependency JSON::MaybeXS |
Test suite fails on some of my smoker systems, probably if JSON::MaybeXS is not installed:
...
JSON::MaybeXS unavailable, disabling it: Can't locate JSON/MaybeXS.pm in @INC (you may need to install the JSON::MaybeXS module) (@INC contains: ....) at /usr/local/lib/perl5/5.28/Module/Load.pm line 77.
# Failed test 'AutoDetectJSON'
# at t/01-parse.t line 63.
# Structures begin differing at:
# $got->{SDATA} = Does not exist
# $expected->{SDATA} = HASH(0x41ec2510)
# $VAR1 = {
# 'string' => '2015-09-30T06:26:06.779373-05:00 my-host my-script.pl: {"lunchTime":1443612366.442}',
# 'expected' => {
# 'SDATA' => {
# 'lunchTime' => '1443612366.442'
# },
# 'message' => 'my-script.pl: {"lunchTime":1443612366.442}',
# 'time' => '11:26:06.779373',
# 'priority' => undef,
# 'preamble' => undef,
# 'priority_int' => undef,
# 'program_pid' => undef,
# 'host_raw' => 'my-host',
# 'facility_int' => undef,
# 'message_raw' => '2015-09-30T06:26:06.779373-05:00 my-host my-script.pl: {"lunchTime":1443612366.442}',
# 'host' => 'my-host',
# 'facility' => undef,
# 'date' => '2015-09-30',
# 'datetime_raw' => '2015-09-30T06:26:06.779373-05:00',
# 'program_raw' => 'my-script.pl',
# 'program_name' => 'my-script.pl',
# 'domain' => undef,
# 'program_sub' => undef,
# 'content' => '{"lunchTime":1443612366.442}',
# 'datetime_str' => '2015-09-30T11:26:06.779373Z',
# 'date_raw' => '2015-09-30T06:26:06.779373-05:00'
# },
# 'options' => {
# 'AutoDetectJSON' => '1'
# },
# 'name' => 'AutoDetectJSON'
# };
# Looks like you failed 1 test of 47.
# Failed test 'Basic Functionality Test'
# at t/01-parse.t line 87.
# Looks like you failed 1 test of 2.
t/01-parse.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
...