JSON-Validator 4.14 Fail

Tested by Nigel Horne, 4. Mar, 16:57,

  1. Program output
  2. Tester comments
  3. Prerequisites
  4. Environment and other context
  5. More reports...

This distribution has been tested as part of the CPAN Testers project, supporting the Perl programming language. See http://wiki.cpantesters.org/ for more information or email questions to cpan-testers-discuss@perl.org

-- Dear Jan Henning Thorsen,

This is a computer-generated report for JSON-Validator-4.14 on perl 5.20.2, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN. However, there was a problem testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki for suggestions on how to avoid getting FAIL reports for missing library or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Program output

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin/perl5.20.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/backcompat.t ......................... ok
t/coerce-default.t ..................... ok
t/bundle.t ............................. ok
t/00-basic.t ........................... ok
t/coerce.t ............................. ok
t/draft2019-09-acceptance.t ............ skipped: TEST_ACCEPTANCE=1
t/draft2019-09.t ....................... ok
t/deep-mixed-ref.t ..................... ok
t/draft4-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/draft4.t ............................. ok
t/draft6-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/draft6.t ............................. ok
t/draft7-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/get.t ................................ ok
t/draft7.t ............................. ok
t/id-keyword-draft4.t .................. ok
t/id-keyword-draft7.t .................. ok
t/invalid-ref.t ........................ ok
t/issue-103-one-of.t ................... ok
t/issue-158-draf7-coerce-defaults.t .... ok
t/issue-22-duplicate-error-messages.t .. ok
t/issue-42-cache-control.t ............. skipped: TEST_ONLINE=1
t/issue-59-oneof-blessed-booleans.t .... ok
t/issue-71-additionalproperties.t ...... ok
t/joi.t ................................ ok
t/jv-allof-and-not.t ................... ok
t/jv-allof.t ........................... ok
t/jv-anyof.t ........................... ok
t/jv-basic.t ........................... ok
t/jv-array.t ........................... ok
Argument "1/8" isn't numeric in int at t/jv-boolean.t line 77.
t/jv-boolean.t ......................... ok
t/jv-const.t ........................... ok
t/jv-enum.t ............................ ok
[JSON::Validator] Cannot validate hostname format: Data::Validate::Domain is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate hostname format: Data::Validate::Domain is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-email format: Net::IDN::Encode is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-hostname format: Net::IDN::Encode is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Formats.pm line 221.
t/jv-if-then-else.t .................... ok
t/jv-formats.t ......................... ok
t/jv-integer.t ......................... ok
t/jv-not.t ............................. ok
t/jv-number.t .......................... ok
t/jv-object.t .......................... ok
t/jv-oneof.t ........................... ok
t/jv-required.t ........................ ok
t/jv-string.t .......................... ok
t/load-data.t .......................... ok

#   Failed test 'loaded schema from app'
#   at t/load-from-app.t line 22.
#          got: 'Service Unavailable at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator/Store.pm line 67.
# '
#     expected: ''
Can't call method "data" on an undefined value at /tmp/build/JSON-Validator-4.14-0/blib/lib/JSON/Validator.pm line 141.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/load-from-app.t ...................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests 
t/load-file.t .......................... ok
t/load-http.t .......................... skipped: TEST_ONLINE=1
t/load-json.t .......................... ok
t/load-yaml-pp.t ....................... skipped: YAML::PP not available
t/load-yaml.t .......................... ok
t/newline-warnings.t ................... ok
t/openapiv2-collection-format.t ........ ok
t/more-bundle.t ........................ ok
t/openapiv2-basic.t .................... ok
t/openapiv2-default-values.t ........... ok
t/openapiv2-headers.t .................. ok
t/openapiv2-file.t ..................... ok
t/openapiv2-discriminator.t ............ ok
t/openapiv2-readonly.t ................. ok
t/openapiv2-invalid-ref.t .............. ok
t/openapiv3-default-values.t ........... ok
t/openapiv3-basic.t .................... ok
t/openapiv3-discriminator.t ............ ok
t/openapiv3-nullable.t ................. ok
t/openapiv3-readonly-writeonly.t ....... ok
t/openapiv3-style-explode.t ............ ok
t/predictable-errors.t ................. ok
t/random-errors.t ...................... skipped: TEST_RANDOM_ITERATIONS=10000
t/ref.t ................................ ok
t/recursive_data_protection.t .......... ok
t/relative-ref.t ....................... ok
t/schema-as-attr.t ..................... ok
t/to-json.t ............................ ok
t/util-checksum-yaml-xs.t .............. ok
t/util.t ............................... ok
t/validate-draft07.t ................... ok
t/validate-id.t ........................ ok
t/validate-recursive.t ................. ok
t/validate-schema.t .................... ok

Test Summary Report
-------------------
t/load-from-app.t                    (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=78, Tests=892, 22 wallclock secs ( 0.97 usr  0.39 sys + 63.85 cusr 21.59 csys = 86.80 CPU)
Result: FAIL
Failed 1/78 test programs. 1/892 subtests failed.
make: *** [Makefile:912: test_dynamic] Error 255

Prerequisites

Requires

Build requires

Configure requires

Tester comments

this report is from an automated smoke testing program and was not reviewed by a human for accuracy

Environment and other context

Environment variables:

    AUTOMATED_TESTING = 1
    HARNESS_OPTIONS = j4
    NONINTERACTIVE_TESTING = 1
    PATH = /home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PERL5LIB = /tmp/build/File-Temp-0.2311-0/blib/arch:/tmp/build/File-Temp-0.2311-0/blib/lib:/tmp/build/Class-Method-Modifiers-2.13-0/blib/arch:/tmp/build/Class-Method-Modifiers-2.13-0/blib/lib:/tmp/build/File-ShareDir-Install-0.13-0/blib/arch:/tmp/build/File-ShareDir-Install-0.13-0/blib/lib:/tmp/build/Text-Markdown-1.000031-0/blib/arch:/tmp/build/Text-Markdown-1.000031-0/blib/lib:/tmp/build/Test-Differences-0.67-0/blib/arch:/tmp/build/Test-Differences-0.67-0/blib/lib:/tmp/build/List-MoreUtils-0.430-0/blib/arch:/tmp/build/List-MoreUtils-0.430-0/blib/lib:/tmp/build/Test-LeakTrace-0.17-0/blib/arch:/tmp/build/Test-LeakTrace-0.17-0/blib/lib:/tmp/build/List-MoreUtils-XS-0.430-0/blib/arch:/tmp/build/List-MoreUtils-XS-0.430-0/blib/lib:/tmp/build/XSLoader-0.24-0/blib/arch:/tmp/build/XSLoader-0.24-0/blib/lib:/tmp/build/Exporter-Tiny-1.002002-0/blib/arch:/tmp/build/Exporter-Tiny-1.002002-0/blib/lib:/tmp/build/Mojolicious-9.02-0/blib/arch:/tmp/build/Mojolicious-9.02-0/blib/lib:/tmp/build/Scalar-List-Utils-1.55-0/blib/arch:/tmp/build/Scalar-List-Utils-1.55-0/blib/lib:/tmp/build/IO-Socket-IP-0.41-0/blib/arch:/tmp/build/IO-Socket-IP-0.41-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 29790
    PERL5_CPAN_IS_RUNNING = 29790
    PERLBREW_HOME = /home/smoker/.perlbrew
    PERLBREW_MANPATH = /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/man
    PERLBREW_PATH = /home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin
    PERLBREW_PERL = perl-5.20.2-ld
    PERLBREW_ROOT = /home/smoker/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.88
    PERLBREW_VERSION = 0.88
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = xterm
    TMPDIR = /tmp/testwrapper.29779

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin/perl5.20.2
    $UID/$EUID = 1000 / 1000
    $GID = 1000
    $EGID = 1000

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.27    
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280217
    ExtUtils::Command   7.44    
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.44    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.75    
    JSON                4.02    
    JSON::PP            4.04    
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302171
    YAML                1.30    
    YAML::Syck          1.32    
    version             0.9909  


--

Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=4.19.75-v7l+, archname=armv7l-linux
    uname='linux 2c1d99e927e1 4.19.75-v7l+ #1270 smp tue sep 24 18:51:41 bst 2019 armv7l gnulinux '
    config_args='-de -Dprefix=/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld -Dusedevel -Duselongdouble -Accflags=-O2 -pipe -Wall -Wextra -mtune=native -march=native -Aeval:scriptdir=/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='8.3.0', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='long double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed /usr/include/arm-linux-gnueabihf /usr/lib /lib/arm-linux-gnueabihf /lib /usr/lib/arm-linux-gnueabihf
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.28.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.28'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        PERL_USE_DEVEL USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Locally applied patches:
	Devel::PatchPerl 1.84
  Built under linux
  Compiled at Feb  2 2020 18:06:26
  %ENV:
    PERL5LIB="/tmp/build/File-Temp-0.2311-0/blib/arch:/tmp/build/File-Temp-0.2311-0/blib/lib:/tmp/build/Class-Method-Modifiers-2.13-0/blib/arch:/tmp/build/Class-Method-Modifiers-2.13-0/blib/lib:/tmp/build/File-ShareDir-Install-0.13-0/blib/arch:/tmp/build/File-ShareDir-Install-0.13-0/blib/lib:/tmp/build/Text-Markdown-1.000031-0/blib/arch:/tmp/build/Text-Markdown-1.000031-0/blib/lib:/tmp/build/Test-Differences-0.67-0/blib/arch:/tmp/build/Test-Differences-0.67-0/blib/lib:/tmp/build/List-MoreUtils-0.430-0/blib/arch:/tmp/build/List-MoreUtils-0.430-0/blib/lib:/tmp/build/Test-LeakTrace-0.17-0/blib/arch:/tmp/build/Test-LeakTrace-0.17-0/blib/lib:/tmp/build/List-MoreUtils-XS-0.430-0/blib/arch:/tmp/build/List-MoreUtils-XS-0.430-0/blib/lib:/tmp/build/XSLoader-0.24-0/blib/arch:/tmp/build/XSLoader-0.24-0/blib/lib:/tmp/build/Exporter-Tiny-1.002002-0/blib/arch:/tmp/build/Exporter-Tiny-1.002002-0/blib/lib:/tmp/build/Mojolicious-9.02-0/blib/arch:/tmp/build/Mojolicious-9.02-0/blib/lib:/tmp/build/Scalar-List-Utils-1.55-0/blib/arch:/tmp/build/Scalar-List-Utils-1.55-0/blib/lib:/tmp/build/IO-Socket-IP-0.41-0/blib/arch:/tmp/build/IO-Socket-IP-0.41-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="29790"
    PERL5_CPAN_IS_RUNNING="29790"
    PERLBREW_HOME="/home/smoker/.perlbrew"
    PERLBREW_MANPATH="/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/man"
    PERLBREW_PATH="/home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/bin"
    PERLBREW_PERL="perl-5.20.2-ld"
    PERLBREW_ROOT="/home/smoker/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.88"
    PERLBREW_VERSION="0.88"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /tmp/build/File-Temp-0.2311-0/blib/arch
    /tmp/build/File-Temp-0.2311-0/blib/lib
    /tmp/build/Class-Method-Modifiers-2.13-0/blib/arch
    /tmp/build/Class-Method-Modifiers-2.13-0/blib/lib
    /tmp/build/File-ShareDir-Install-0.13-0/blib/arch
    /tmp/build/File-ShareDir-Install-0.13-0/blib/lib
    /tmp/build/Text-Markdown-1.000031-0/blib/arch
    /tmp/build/Text-Markdown-1.000031-0/blib/lib
    /tmp/build/Test-Differences-0.67-0/blib/arch
    /tmp/build/Test-Differences-0.67-0/blib/lib
    /tmp/build/List-MoreUtils-0.430-0/blib/arch
    /tmp/build/List-MoreUtils-0.430-0/blib/lib
    /tmp/build/Test-LeakTrace-0.17-0/blib/arch
    /tmp/build/Test-LeakTrace-0.17-0/blib/lib
    /tmp/build/List-MoreUtils-XS-0.430-0/blib/arch
    /tmp/build/List-MoreUtils-XS-0.430-0/blib/lib
    /tmp/build/XSLoader-0.24-0/blib/arch
    /tmp/build/XSLoader-0.24-0/blib/lib
    /tmp/build/Exporter-Tiny-1.002002-0/blib/arch
    /tmp/build/Exporter-Tiny-1.002002-0/blib/lib
    /tmp/build/Mojolicious-9.02-0/blib/arch
    /tmp/build/Mojolicious-9.02-0/blib/lib
    /tmp/build/Scalar-List-Utils-1.55-0/blib/arch
    /tmp/build/Scalar-List-Utils-1.55-0/blib/lib
    /tmp/build/IO-Socket-IP-0.41-0/blib/arch
    /tmp/build/IO-Socket-IP-0.41-0/blib/lib
    /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/lib/site_perl/5.20.2/armv7l-linux
    /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/lib/site_perl/5.20.2
    /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/lib/5.20.2/armv7l-linux
    /home/smoker/perl5/perlbrew/perls/perl-5.20.2-ld/lib/5.20.2