JSON-Validator 4.14 Fail

Tested by Slaven Rezić, 22. Mar, 21:09,

  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.22.2, created by CPAN-Reporter-1.2017.

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 "/usr/perl5.22.2t/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:31663/relative-to-the-root.json'
#   at t/id-keyword-draft4.t line 24.
# Not Found at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/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:31666/schema.json'
#   at t/id-keyword-draft7.t line 20.
# Not Found at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/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/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate hostname format: Data::Validate::Domain is missing at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-email format: Net::IDN::Encode is missing at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate idn-hostname format: Net::IDN::Encode is missing at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde/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, 37 wallclock secs ( 0.06 usr  0.52 sys +  9.09 cusr 25.27 csys = 34.95 CPU)
Result: FAIL
Failed 2/78 test programs. 6/879 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpansand/.cpan/build/2021032219/JSON-Validator-4.14-sVfzde

Prerequisites

Requires

Build requires

Configure requires

Tester comments

none provided

Environment and other context

Environment variables:

    LC_ALL = de_DE.ISO8859-1
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd10.3:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = /home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/arch:/home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/lib:/home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/arch:/home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/lib:/home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/arch:/home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/lib:/home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/arch:/home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/lib:/home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/arch:/home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/lib:/home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/arch:/home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 13319
    PERL5_CPAN_IS_RUNNING = 13319
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 10205,13319
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2021032219/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2021032219

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

    $^X = /usr/perl5.22.2t/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.11    
    CPAN::Meta          2.150001
    Cwd                 3.62    
    ExtUtils::CBuilder  0.280221
    ExtUtils::Command   7.58    
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.58    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.35    
    File::Spec          3.62    
    JSON                2.90    
    JSON::PP            2.27300 
    Module::Build       0.4218  
    Module::Signature   0.80    
    Parse::CPAN::Meta   1.4422  
    Test::Harness       3.35    
    Test::More          1.302183
    YAML                1.15    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 22 subversion 2) configuration:
   
  Platform:
    osname=freebsd, osvers=10.1-release, archname=amd64-freebsd-thread-multi
    uname='freebsd cvrsnica-freebsd-101.herceg.de 10.1-release freebsd 10.1-release #0 r274401: tue nov 11 21:02:49 utc 2014 root@releng1.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.22.2t -Dusethreads -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2',
    optimize='-O2 -pipe',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)', 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 ='-pthread -Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/include/clang/3.4.1 /usr/lib
    libs=-lpthread -lgdbm -lm -lcrypt -lutil
    perllibs=-lpthread -lm -lcrypt -lutil
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT 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
  Built under freebsd
  Compiled at Jun 18 2016 12:32:50
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/arch:/home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/lib:/home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/arch:/home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/lib:/home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/arch:/home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/lib:/home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/arch:/home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/lib:/home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/arch:/home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/lib:/home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/arch:/home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="13319"
    PERL5_CPAN_IS_RUNNING="13319"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="10205,13319"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2021032219/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
  @INC:
    /home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/arch
    /home/cpansand/.cpan/build/2021032219/YAML-PP-0.026-I1_e19/blib/lib
    /home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/arch
    /home/cpansand/.cpan/build/2021032219/Config-Grammar-1.13-v6osRn/blib/lib
    /home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/arch
    /home/cpansand/.cpan/build/2021032219/Locale-PO-0.27-zDwDuu/blib/lib
    /home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/arch
    /home/cpansand/.cpan/build/2021032219/Mojolicious-Plugin-Qooxdoo-1.0.11-ZJKh6f/blib/lib
    /home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/arch
    /home/cpansand/.cpan/build/2021032219/Excel-Writer-XLSX-1.07-sPv3bw/blib/lib
    /home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/arch
    /home/cpansand/.cpan/build/2021032219/Mojolicious-9.13-Nt1aYO/blib/lib
    /usr/perl5.22.2t/lib/site_perl/5.22.2/amd64-freebsd-thread-multi
    /usr/perl5.22.2t/lib/site_perl/5.22.2
    /usr/perl5.22.2t/lib/5.22.2/amd64-freebsd-thread-multi
    /usr/perl5.22.2t/lib/5.22.2