JSON-Validator 4.14 Fail

Tested by Chris Williams (BINGOS), 23. Mar, 06:24,

  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 error report created automatically by CPANPLUS, version 0.9910. Testers personal comments may appear at the end of this report.

Thank you for uploading your work to CPAN. However, it appears that there were some problems testing your distribution

Program output

Below is the error stack from stage 'make test':

PERL_DL_NONLAZY=1 "/home/cpan/pit/bare-ld/perl-5.30.2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-basic.t ........................... ok
t/backcompat.t ......................... ok
t/bundle.t ............................. ok
t/coerce-default.t ..................... ok
t/coerce.t ............................. ok
t/deep-mixed-ref.t ..................... ok
t/draft2019-09-acceptance.t ............ skipped: TEST_ACCEPTANCE=1
t/draft2019-09.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/draft7.t ............................. ok
t/get.t ................................ ok

#   Failed test '200 OK'
#   at t/id-keyword-draft4.t line 16.
#          got: '404'
#     expected: '200'

#   Failed test 'http://127.0.0.1:33499/relative-to-the-root.json'
#   at t/id-keyword-draft4.t line 24.
# Not Found at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Store.pm line 123.

#   Failed test 'undef isa 'JSON::Validator::Schema::Draft4''
#   at t/id-keyword-draft4.t line 25.
#     undef isn't defined
Can't call method "moniker" on an undefined value at t/id-keyword-draft4.t line 28.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 6.
t/id-keyword-draft4.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/6 subtests 

#   Failed test '200 OK'
#   at t/id-keyword-draft7.t line 16.
#          got: '404'
#     expected: '200'

#   Failed test 'http://127.0.0.1:45569/schema.json'
#   at t/id-keyword-draft7.t line 20.
# Not Found at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Store.pm line 123.

#   Failed test 'undef isa 'JSON::Validator::Schema::Draft7''
#   at t/id-keyword-draft7.t line 21.
#     undef isn't defined
Can't call method "id" on an undefined value at t/id-keyword-draft7.t line 24.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 5.
t/id-keyword-draft7.t .................. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/5 subtests 
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-array.t ........................... ok
t/jv-basic.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 /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate hostname format: Data::Validate::Domain is missing at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-email format: Net::IDN::Encode is missing at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-hostname format: Net::IDN::Encode is missing at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib/JSON/Validator/Formats.pm line 221.
t/jv-formats.t ......................... ok
t/jv-if-then-else.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
t/load-file.t .......................... ok
t/load-from-app.t ...................... ok
t/load-http.t .......................... skipped: TEST_ONLINE=1
t/load-json.t .......................... ok
t/load-yaml-pp.t ....................... ok
t/load-yaml.t .......................... ok
t/more-bundle.t ........................ ok
t/newline-warnings.t ................... ok
t/openapiv2-basic.t .................... ok
t/openapiv2-collection-format.t ........ ok
t/openapiv2-default-values.t ........... ok
t/openapiv2-discriminator.t ............ ok
t/openapiv2-file.t ..................... ok
t/openapiv2-headers.t .................. ok
t/openapiv2-invalid-ref.t .............. ok
t/openapiv2-readonly.t ................. ok
t/openapiv3-basic.t .................... ok
t/openapiv3-default-values.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/recursive_data_protection.t .......... ok
t/ref.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/id-keyword-draft4.t                (Wstat: 65280 Tests: 6 Failed: 3)
  Failed tests:  2, 5-6
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/id-keyword-draft7.t                (Wstat: 65280 Tests: 5 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=78, Tests=879, 23 wallclock secs ( 0.27 usr  0.07 sys + 20.27 cusr  2.34 csys = 22.95 CPU)
Result: FAIL
Failed 2/78 test programs. 6/879 subtests failed.
make: *** [Makefile:950: test_dynamic] Error 255

Prerequisites

Requires

Build requires

Configure requires

Tester comments

Environment and other context

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_GB.UTF-8
    LANGUAGE = en_GB:en
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    PERL5LIB = /home/cpan/pit/jail/Iw0FU43evI/lib/perl5:/home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib:/home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 1190556
    PERL5_CPANPLUS_IS_VERSION = 0.9910
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /home/cpan/pit/bare-ld/conf/perl-5.30.2
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/cpan/pit/jail/Iw0FU43evI
    PERL_MB_OPT = --install_base "/home/cpan/pit/jail/Iw0FU43evI"
    PERL_MM_OPT = INSTALL_BASE=/home/cpan/pit/jail/Iw0FU43evI
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = screen

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

    Perl: $^X = /home/cpan/pit/bare-ld/perl-5.30.2/bin/perl
    UID:  $<  = 1001
    EUID: $>  = 1001
    GID:  $(  = 1001 1001
    EGID: $)  = 1001 1001


-------------------------------


--

Summary of my perl5 (revision 5 version 30 subversion 2) configuration:
   
  Platform:
    osname=linux
    osvers=5.4.0-26-generic
    archname=x86_64-linux-ld
    uname='linux uchder 5.4.0-26-generic #30-ubuntu smp mon apr 20 16:58:30 utc 2020 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Dprefix=/home/cpan/pit/bare-ld/perl-5.30.2 -Duselongdouble'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=define
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='9.3.0'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='long double'
    nvsize=16
    Off_t='off_t'
    lseeksize=8
    alignbytes=16
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.31.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.31'
  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
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_LONG_DOUBLE
    USE_PERLIO
    USE_PERL_ATOF
  Locally applied patches:
    Devel::PatchPerl 1.90
  Built under linux
  Compiled at Apr 26 2020 22:24:40
  %ENV:
    PERL5LIB="/home/cpan/pit/jail/Iw0FU43evI/lib/perl5:/home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib:/home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="1190556"
    PERL5_CPANPLUS_IS_VERSION="0.9910"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/bare-ld/conf/perl-5.30.2"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/cpan/pit/jail/Iw0FU43evI"
    PERL_MB_OPT="--install_base "/home/cpan/pit/jail/Iw0FU43evI""
    PERL_MM_OPT="INSTALL_BASE=/home/cpan/pit/jail/Iw0FU43evI"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpan/pit/jail/Iw0FU43evI/lib/perl5/5.30.2/x86_64-linux-ld
    /home/cpan/pit/jail/Iw0FU43evI/lib/perl5/5.30.2
    /home/cpan/pit/jail/Iw0FU43evI/lib/perl5/x86_64-linux-ld
    /home/cpan/pit/jail/Iw0FU43evI/lib/perl5
    /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/lib
    /home/cpan/pit/bare-ld/conf/perl-5.30.2/.cpanplus/5.30.2/build/kIVkJWMaao/JSON-Validator-4.14/blib/arch
    /home/cpan/pit/bare-ld/perl-5.30.2/lib/site_perl/5.30.2/x86_64-linux-ld
    /home/cpan/pit/bare-ld/perl-5.30.2/lib/site_perl/5.30.2
    /home/cpan/pit/bare-ld/perl-5.30.2/lib/5.30.2/x86_64-linux-ld
    /home/cpan/pit/bare-ld/perl-5.30.2/lib/5.30.2