JSON-Validator 4.14 Fail

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

  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/perl-5.22.4/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:39149/relative-to-the-root.json'
#   at t/id-keyword-draft4.t line 24.
# Not Found at /home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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:37171/schema.json'
#   at t/id-keyword-draft7.t line 20.
# Not Found at /home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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
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 /home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/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, 31 wallclock secs ( 0.29 usr  0.07 sys + 26.50 cusr  3.67 csys = 30.53 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 = C.UTF-8
    LC_COLLATE = C
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    PERL5LIB = /home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5:/home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/lib:/home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 23849
    PERL5_CPANPLUS_IS_VERSION = 0.9910
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /home/cpan/pit/bare/conf/perl-5.22.4
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/cpan/pit/jail/XsZgNNOPPZ
    PERL_MB_OPT = --install_base "/home/cpan/pit/jail/XsZgNNOPPZ"
    PERL_MM_OPT = INSTALL_BASE=/home/cpan/pit/jail/XsZgNNOPPZ
    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/perl-5.22.4/bin/perl
    UID:  $<  = 1001
    EUID: $>  = 1001
    GID:  $(  = 1001 1001
    EGID: $)  = 1001 1001


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


--

Summary of my perl5 (revision 5 version 22 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=5.10.16-0-lts, archname=x86_64-linux
    uname='linux agaric 5.10.16-0-lts #1-alpine smp wed, 17 feb 2021 08:17:06 utc x86_64 linux '
    config_args='-des -Dprefix=/home/cpan/pit/bare/perl-5.22.4'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong'
    ccversion='', gccversion='10.2.1 20201203', 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='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/include/fortify /usr/lib /usr/local/lib /lib/../lib /usr/lib/../lib /lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  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_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE 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_PERLIO
                        USE_PERL_ATOF
  Locally applied patches:
	Devel::PatchPerl 2.08
  Built under linux
  Compiled at Mar 12 2021 04:19:39
  %ENV:
    PERL5LIB="/home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5:/home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/lib:/home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="23849"
    PERL5_CPANPLUS_IS_VERSION="0.9910"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/bare/conf/perl-5.22.4"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/cpan/pit/jail/XsZgNNOPPZ"
    PERL_MB_OPT="--install_base "/home/cpan/pit/jail/XsZgNNOPPZ""
    PERL_MM_OPT="INSTALL_BASE=/home/cpan/pit/jail/XsZgNNOPPZ"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5/5.22.4/x86_64-linux
    /home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5/5.22.4
    /home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5/x86_64-linux
    /home/cpan/pit/jail/XsZgNNOPPZ/lib/perl5
    /home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/lib
    /home/cpan/pit/bare/conf/perl-5.22.4/.cpanplus/5.22.4/build/VaMWJSPKIZ/JSON-Validator-4.14/blib/arch
    /home/cpan/pit/bare/perl-5.22.4/lib/site_perl/5.22.4/x86_64-linux
    /home/cpan/pit/bare/perl-5.22.4/lib/site_perl/5.22.4
    /home/cpan/pit/bare/perl-5.22.4/lib/5.22.4/x86_64-linux
    /home/cpan/pit/bare/perl-5.22.4/lib/5.22.4