JSON-Validator 4.14 Fail

Tested by Nigel Horne, 23. Feb, 06:43,

  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.30.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.30.2-thread/bin/perl5.30.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/00-basic.t ........................... ok
t/bundle.t ............................. ok
t/coerce.t ............................. ok
t/deep-mixed-ref.t ..................... ok
t/draft2019-09.t ....................... ok
t/draft2019-09-acceptance.t ............ skipped: TEST_ACCEPTANCE=1
t/draft4-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/draft4.t ............................. ok
t/draft6-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/draft7-acceptance.t .................. skipped: TEST_ACCEPTANCE=1
t/draft6.t ............................. ok
t/draft7.t ............................. ok
t/get.t ................................ ok
t/id-keyword-draft7.t .................. ok
t/id-keyword-draft4.t .................. ok
t/invalid-ref.t ........................ ok
t/issue-103-one-of.t ................... ok
t/issue-158-draf7-coerce-defaults.t .... ok
t/issue-59-oneof-blessed-booleans.t .... ok
t/issue-22-duplicate-error-messages.t .. ok
t/issue-42-cache-control.t ............. skipped: TEST_ONLINE=1
t/issue-71-additionalproperties.t ...... ok
t/joi.t ................................ ok
t/jv-allof-and-not.t ................... ok
t/jv-allof.t ........................... ok
t/jv-array.t ........................... ok
t/jv-basic.t ........................... ok
t/jv-anyof.t ........................... ok
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-not.t ............................. ok
t/jv-integer.t ......................... ok
t/jv-number.t .......................... ok
t/jv-oneof.t ........................... ok
t/jv-object.t .......................... ok
t/jv-required.t ........................ ok
t/jv-string.t .......................... ok
t/load-data.t .......................... ok
t/load-file.t .......................... ok
t/load-http.t .......................... skipped: TEST_ONLINE=1

#   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-yaml.t .......................... ok
t/load-yaml-pp.t ....................... skipped: YAML::PP not available
t/load-json.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-discriminator.t ............ ok
t/openapiv2-headers.t .................. ok
t/openapiv2-file.t ..................... ok
t/openapiv2-readonly.t ................. ok
t/openapiv2-invalid-ref.t .............. ok
t/openapiv3-default-values.t ........... ok
t/openapiv3-discriminator.t ............ ok
t/openapiv3-nullable.t ................. ok
t/openapiv3-basic.t .................... ok
t/openapiv3-readonly-writeonly.t ....... ok
t/random-errors.t ...................... skipped: TEST_RANDOM_ITERATIONS=10000
t/predictable-errors.t ................. ok
t/openapiv3-style-explode.t ............ ok
t/recursive_data_protection.t .......... ok
t/ref.t ................................ ok
t/relative-ref.t ....................... ok
t/schema-as-attr.t ..................... ok
t/util-checksum-yaml-xs.t .............. ok
t/to-json.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, 27 wallclock secs ( 0.98 usr  0.34 sys + 67.87 cusr 11.58 csys = 80.77 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.30.2-thread/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PERL5LIB = /tmp/build/Mojolicious-9.01-0/blib/arch:/tmp/build/Mojolicious-9.01-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 23414
    PERL5_CPAN_IS_RUNNING = 23414
    PERLBREW_HOME = /home/smoker/.perlbrew
    PERLBREW_MANPATH = /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/man
    PERLBREW_PATH = /home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/bin
    PERLBREW_PERL = perl-5.30.2-thread
    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.23403

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

    $^X = /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/bin/perl5.30.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.78    
    ExtUtils::CBuilder  0.280231
    ExtUtils::Command   7.44    
    ExtUtils::Install   2.14    
    ExtUtils::MakeMaker 7.44    
    ExtUtils::Manifest  1.72    
    ExtUtils::ParseXS   3.40    
    File::Spec          3.78    
    JSON                4.02    
    JSON::PP            4.02    
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302162
    YAML                1.30    
    YAML::Syck          1.32    
    version             0.9924  


--

Summary of my perl5 (revision 5 version 30 subversion 2) configuration:
   
  Platform:
    osname=linux
    osvers=4.19.97-v7l+
    archname=armv7l-linux-thread-multi
    uname='linux b9a8560151d5 4.19.97-v7l+ #1294 smp thu jan 30 13:21:14 gmt 2020 armv7l gnulinux '
    config_args='-de -Dprefix=/home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread -Dusedevel -Dusethreads -Accflags=-O2 -pipe -Wall -Wextra -mtune=native -march=native -Aeval:scriptdir=/home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/bin'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=undef
    use64bitall=undef
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -pipe -Wall -Wextra -mtune=native -march=native -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='8.3.0'
    gccosandvers=''
    intsize=4
    longsize=4
    ptrsize=4
    doublesize=8
    byteorder=1234
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=8
    longdblkind=0
    ivtype='long'
    ivsize=4
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -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=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -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-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
    USE_THREAD_SAFE_LOCALE
  Locally applied patches:
    Devel::PatchPerl 1.90
  Built under linux
  Compiled at Apr 16 2020 02:34:30
  %ENV:
    PERL5LIB="/tmp/build/Mojolicious-9.01-0/blib/arch:/tmp/build/Mojolicious-9.01-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="23414"
    PERL5_CPAN_IS_RUNNING="23414"
    PERLBREW_HOME="/home/smoker/.perlbrew"
    PERLBREW_MANPATH="/home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/man"
    PERLBREW_PATH="/home/smoker/perl5/perlbrew/bin:/home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/bin"
    PERLBREW_PERL="perl-5.30.2-thread"
    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/Mojolicious-9.01-0/blib/arch
    /tmp/build/Mojolicious-9.01-0/blib/lib
    /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/lib/site_perl/5.30.2/armv7l-linux-thread-multi
    /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/lib/site_perl/5.30.2
    /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/lib/5.30.2/armv7l-linux-thread-multi
    /home/smoker/perl5/perlbrew/perls/perl-5.30.2-thread/lib/5.30.2