JSON-Validator 4.14 Fail

Tested by Slaven Rezić, 22. Mar, 20:52,

  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.24.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 "/usr/perl5.24.2p/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:46766/relative-to-the-root.json'
#   at t/id-keyword-draft4.t line 24.
# Not Found at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH/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:46769/schema.json'
#   at t/id-keyword-draft7.t line 20.
# Not Found at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH/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/2021032221/JSON-Validator-4.14-WcFyoH/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate hostname format: Data::Validate::Domain is missing at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH/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/2021032221/JSON-Validator-4.14-WcFyoH/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/2021032221/JSON-Validator-4.14-WcFyoH/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH/blib/lib/JSON/Validator/Formats.pm line 221.
[JSON::Validator] Cannot validate ipv6 format: Data::Validate::IP is missing at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH/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, 26 wallclock secs ( 0.03 usr  0.48 sys +  4.07 cusr 20.73 csys = 25.31 CPU)
Result: FAIL
Failed 2/78 test programs. 6/879 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-WcFyoH

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/2021032221/YAML-PP-0.026-m4vGVe/blib/arch:/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-m4vGVe/blib/lib:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/arch:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/lib:/home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/arch:/home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 25872
    PERL5_CPAN_IS_RUNNING = 25872
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 23427,25872
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2021032221/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2021032221

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

    $^X = /usr/perl5.24.2p/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.11_01   
    CPAN::Meta          2.150010  
    Cwd                 3.75      
    ExtUtils::CBuilder  0.280225  
    ExtUtils::Command   7.58      
    ExtUtils::Install   2.06      
    ExtUtils::MakeMaker 7.58      
    ExtUtils::Manifest  1.71      
    ExtUtils::ParseXS   3.31      
    File::Spec          3.75      
    JSON                2.94      
    JSON::PP            2.27300_01
    Module::Build       0.4224    
    Module::Signature   n/a       
    Parse::CPAN::Meta   2.150010  
    Test::Harness       3.36_01   
    Test::More          1.302140  
    YAML                1.23      
    YAML::Syck          1.30      
    version             0.9924    


--

Summary of my perl5 (revision 5 version 24 subversion 2) configuration:
   
  Platform:
    osname=freebsd, osvers=10.3-release-p11, archname=amd64-freebsd
    uname='freebsd cvrsnica-freebsd-101.herceg.de 10.3-release-p11 freebsd 10.3-release-p11 #0: mon oct 24 18:49:24 utc 2016 root@amd64-builder.daemonology.net:usrobjusrsrcsysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.24.2p -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
    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 ='-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 -lc
    perllibs=-lpthread -lm -lcrypt -lutil -lc
    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 PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        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
  Built under freebsd
  Compiled at Jul 29 2017 11:20:18
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-m4vGVe/blib/arch:/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-m4vGVe/blib/lib:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/arch:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/lib:/home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/arch:/home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="25872"
    PERL5_CPAN_IS_RUNNING="25872"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="23427,25872"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2021032221/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
  @INC:
    /home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-m4vGVe/blib/arch
    /home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-m4vGVe/blib/lib
    /home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/arch
    /home/cpansand/.cpan/build/2021032221/Mojolicious-9.13-5DQ718/blib/lib
    /home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/arch
    /home/cpansand/.cpan/build/2021032221/Text-CSV-2.00-uAJZk3/blib/lib
    /usr/perl5.24.2p/lib/site_perl/5.24.2/amd64-freebsd
    /usr/perl5.24.2p/lib/site_perl/5.24.2
    /usr/perl5.24.2p/lib/5.24.2/amd64-freebsd
    /usr/perl5.24.2p/lib/5.24.2