JSON-Validator 4.14 Fail

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

  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.18.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 "/opt/perl-5.18.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:53259/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-1/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:42268/schema.json'
#   at t/id-keyword-draft7.t line 20.
# Not Found at /home/cpansand/.cpan/build/2021032221/JSON-Validator-4.14-1/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-1/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-1/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-1/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-1/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-1/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-1/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, 21 wallclock secs ( 0.13 usr  0.14 sys + 18.45 cusr  2.09 csys = 20.81 CPU)
Result: FAIL
Failed 2/78 test programs. 6/879 subtests failed.
make: *** [test_dynamic] Error 255

Prerequisites

Requires

Build requires

Configure requires

Tester comments

none provided

Environment and other context

Environment variables:

    LANG = en_US.UTF-8
    LANGUAGE = en_US:en
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/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-1/blib/arch:/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-1/blib/lib:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/arch:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 10274
    PERL5_CPAN_IS_RUNNING = 10274
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 9028,10274
    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 = /bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2021032221

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

    $^X = /opt/perl-5.18.2/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.14    
    CPAN::Meta          2.150010
    Cwd                 3.40    
    ExtUtils::CBuilder  0.280210
    ExtUtils::Command   7.24    
    ExtUtils::Install   1.59    
    ExtUtils::MakeMaker 7.24    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.18    
    File::Spec          3.40    
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4224  
    Module::Signature   0.83    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.33    
    Test::More          1.302162
    YAML                0.88    
    YAML::Syck          1.27    
    version             0.9902  


--

Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux
    uname='linux cvrsnica-wheezy 3.2.0-4-amd64 #1 smp debian 3.2.51-1 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.18.2'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    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 -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  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'


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_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Feb  2 2014 18:47:50
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-1/blib/arch:/home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-1/blib/lib:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/arch:/home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="10274"
    PERL5_CPAN_IS_RUNNING="10274"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="9028,10274"
    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-1/blib/arch
    /home/cpansand/.cpan/build/2021032221/YAML-PP-0.026-1/blib/lib
    /home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/arch
    /home/cpansand/.cpan/build/2021032221/Mojolicious-9.12-1/blib/lib
    /opt/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux
    /opt/perl-5.18.2/lib/site_perl/5.18.2
    /opt/perl-5.18.2/lib/5.18.2/x86_64-linux
    /opt/perl-5.18.2/lib/5.18.2