Mojolicious-Plugin-OpenAPI 2.14 Pass

Tested by Chris Williams (BINGOS), 18. Jun 2019,

  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.9176. Testers personal comments may appear at the end of this report.

Thank you for uploading your work to CPAN. Congratulations! All tests were successful

Program output

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

PERL_DL_NONLAZY=1 "/usr/home/cpan/pit/bare/perl-5.20.3/bin/perl5.20.3" "-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/authenticate.t ...................... ok
t/autorender.t ........................ ok
t/bundle.t ............................ ok
t/coerce.t ............................ ok
t/collectionformat.t .................. ok
t/correct-order-of-paths.t ............ ok
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
t/cors.t .............................. ok
t/custom-format.t ..................... ok
t/default-value.t ..................... ok
t/discriminator.t ..................... ok
t/empty-string.t ...................... ok
t/error-messages.t .................... ok
t/example-array-of-hashes.t ........... ok
t/headers.t ........................... ok
t/invalid-json.t ...................... ok
t/invalid-x-mojo-name.t ............... ok
t/issue-24-booleans-in-yaml-schema.t .. skipped: [JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/JSON/Validator.pm line 354.
t/issue-48-refs.t ..................... ok
t/load-and-validate-spec.t ............ ok
[2019-06-18 12:46:01.85005] [6427] [debug] GET "/api" (c79903b4)
[2019-06-18 12:46:01.85174] [6427] [debug] Routing to a callback
[2019-06-18 12:46:01.85332] [6427] [debug] 200 OK (0.003244s, 308.261/s)
[2019-06-18 12:46:02.00123] [6427] [debug] GET "/api" (3c96fba2)
[2019-06-18 12:46:02.00251] [6427] [debug] Routing to a callback
[2019-06-18 12:46:02.00391] [6427] [debug] 200 OK (0.002656s, 376.506/s)
t/load-from-app.t ..................... ok
t/path-parameters.t ................... ok
t/recursion.t ......................... ok
t/ref-param.t ......................... ok
t/register.t .......................... ok
t/renderer.t .......................... ok
t/reply-spec.t ........................ ok
t/route-names.t ....................... ok
t/security-disabled.t ................. ok
t/security.t .......................... ok
t/set-request.t ....................... ok
t/spec.t .............................. ok
t/swagger2.t .......................... ok
t/tutorial.t .......................... ok
t/v2-file.t ........................... ok
Format rule for 'unknown' is missing at /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/JSON/Validator.pm line 747.
t/v2-formats.t ........................ ok
t/v2-readonly.t ....................... ok
t/v3-body.t ........................... skipped: Can't locate YAML/XS.pm in @INC (you may need to install the YAML::XS module) (@INC contains: /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3 /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3 .) at (eval 69) line 1.
t/v3-nullable.t ....................... skipped: Can't locate YAML/XS.pm in @INC (you may need to install the YAML::XS module) (@INC contains: /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3 /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3 .) at (eval 69) line 1.
t/v3.t ................................ skipped: Can't locate YAML/XS.pm in @INC (you may need to install the YAML::XS module) (@INC contains: /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3 /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5 /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3 /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3/amd64-freebsd /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3 .) at (eval 69) line 1.
t/validate.t .......................... ok
t/x-mojo-placeholder.t ................ ok
# Skipping test when YAML::XS 0.67 is not installed
t/yaml.t .............................. ok
All tests successful.

Test Summary Report
-------------------
t/v2-formats.t                      (Wstat: 0 Tests: 30 Failed: 0)
  TODO passed:   15, 21-22
Files=43, Tests=565, 39 wallclock secs ( 0.32 usr  0.10 sys + 32.16 cusr  7.20 csys = 39.79 CPU)
Result: PASS

Prerequisites

Requires

Build requires

Configure requires

Tester comments

Environment and other context

Environment variables:

    AUTOMATED_TESTING = 1
    NONINTERACTIVE_TESTING = 1
    PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
    PERL5LIB = /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 5724
    PERL5_CPANPLUS_IS_VERSION = 0.9176
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare/conf/perl-5.20.3
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/vAd8XgQdzt
    PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/vAd8XgQdzt"
    PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/vAd8XgQdzt
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/bash
    TERM = screen

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

    Perl: $^X = /usr/home/cpan/pit/bare/perl-5.20.3/bin/perl5.20.3
    UID:  $<  = 1002
    EUID: $>  = 1002
    GID:  $(  = 1002 1002
    EGID: $)  = 1002 1002


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


--

Summary of my perl5 (revision 5 version 20 subversion 3) configuration:
   
  Platform:
    osname=freebsd, osvers=12.0-release, archname=amd64-freebsd
    uname='freebsd fforc 12.0-release freebsd 12.0-release r341666 generic amd64 '
    config_args='-des -Dprefix=/usr/home/cpan/pit/bare/perl-5.20.3'
    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',
    optimize='-O2',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)', 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 ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/lib/clang/6.0.1/lib /usr/lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -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_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_PERLIO USE_PERL_ATOF
  Locally applied patches:
	Devel::PatchPerl 1.52
  Built under freebsd
  Compiled at Dec 21 2018 01:13:31
  %ENV:
    PERL5LIB="/usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="5724"
    PERL5_CPANPLUS_IS_VERSION="0.9176"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare/conf/perl-5.20.3"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/vAd8XgQdzt"
    PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/vAd8XgQdzt""
    PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/vAd8XgQdzt"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3/amd64-freebsd
    /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/5.20.3
    /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5/amd64-freebsd
    /usr/home/cpan/pit/jail/vAd8XgQdzt/lib/perl5
    /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/lib
    /usr/home/cpan/pit/bare/conf/perl-5.20.3/.cpanplus/5.20.3/build/XJ7YS59zsy/Mojolicious-Plugin-OpenAPI-2.14/blib/arch
    /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3/amd64-freebsd
    /usr/home/cpan/pit/bare/perl-5.20.3/lib/site_perl/5.20.3
    /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3/amd64-freebsd
    /usr/home/cpan/pit/bare/perl-5.20.3/lib/5.20.3