Mojolicious-Plugin-OpenAPI 2.14 Pass

Tested by Nigel Horne, 2. 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 report for Mojolicious-Plugin-OpenAPI-2.14 on perl 5.26.3, created by CPAN-Reporter-1.2018.

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

Program output

Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/mnt/nas/home/pi2/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin/perl5.26.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/bundle.t ............................ ok
t/authenticate.t ...................... ok
t/autorender.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 /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/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/issue-24-booleans-in-yaml-schema.t .. skipped: [JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /var/tmp/build/JSON-Validator-3.11-1/blib/lib/JSON/Validator.pm line 354.
t/invalid-x-mojo-name.t ............... ok
t/load-and-validate-spec.t ............ ok
t/issue-48-refs.t ..................... ok
t/load-from-app.t ..................... skipped: [JSON::Validator] GET http://127.0.0.1:41447/api == Service Unavailable at /var/tmp/build/JSON-Validator-3.11-1/blib/lib/JSON/Validator.pm line 378.
t/path-parameters.t ................... ok
t/recursion.t ......................... ok
t/ref-param.t ......................... ok
t/renderer.t .......................... ok
t/register.t .......................... ok
t/reply-spec.t ........................ ok
t/security-disabled.t ................. ok
t/route-names.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 /var/tmp/build/JSON-Validator-3.11-1/blib/lib/JSON/Validator.pm line 747.
t/v2-formats.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: /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3 /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3 .) at (eval 63) line 1.
t/v2-readonly.t ....................... ok
t/v3-nullable.t ....................... skipped: Can't locate YAML/XS.pm in @INC (you may need to install the YAML::XS module) (@INC contains: /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3 /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3 .) at (eval 63) 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: /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/lib /var/tmp/build/Mojolicious-Plugin-OpenAPI-2.14-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /var/tmp/build/JSON-Validator-3.11-1/blib/arch /var/tmp/build/JSON-Validator-3.11-1/blib/lib /var/tmp/build/Mojolicious-8.17-2/blib/arch /var/tmp/build/Mojolicious-8.17-2/blib/lib /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3 /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3/armv7l-linux-thread-multi /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3 .) at (eval 63) line 1.
# Skipping test when YAML::XS 0.67 is not installed
t/yaml.t .............................. ok
t/x-mojo-placeholder.t ................ ok
t/validate.t .......................... ok
All tests successful.

Test Summary Report
-------------------
t/v2-formats.t                      (Wstat: 0 Tests: 27 Failed: 0)
  TODO passed:   15, 21-22
Files=43, Tests=560, 60 wallclock secs ( 1.37 usr  0.29 sys + 208.17 cusr 15.94 csys = 225.77 CPU)
Result: PASS

Prerequisites

Requires

Build requires

Configure requires

Tester comments

this report is from an automated smoke testing program and was not reviewed by a human for accuracy

Environment and other context

Environment variables:

    AUTOMATED_TESTING = 1
    HARNESS_OPTIONS = j4
    LANG = en_GB.UTF-8
    PATH = /home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin:/home/njh/src/njh/smoker/bin:/usr/bin:/bin
    PERL5LIB = /var/tmp/build/JSON-Validator-3.11-1/blib/arch:/var/tmp/build/JSON-Validator-3.11-1/blib/lib:/var/tmp/build/Mojolicious-8.17-2/blib/arch:/var/tmp/build/Mojolicious-8.17-2/blib/lib:/var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch:/var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 26220
    PERL5_CPAN_IS_RUNNING = 26220
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 26202,26220
    PERLBREW_HOME = /home/njh/.perlbrew
    PERLBREW_MANPATH = /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/man
    PERLBREW_PATH = /home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin
    PERLBREW_PERL = perl-5.26.3-thread-multi-ld
    PERLBREW_ROOT = /home/njh/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.84
    PERLBREW_VERSION = 0.84
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/sh
    TEMP = /tmp/user/1000
    TMPDIR = /tmp/user/1000/testwrapper.26205

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

    $^X = /mnt/nas/home/pi2/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin/perl5.26.3
    $UID/$EUID = 1000 / 1000
    $GID = 1000 4 20 24 25 27 29 30 44 46 60 100 101 108 995 997 998 999 1000
    $EGID = 1000 4 20 24 25 27 29 30 44 46 60 100 101 108 995 997 998 999 1000

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.18      
    CPAN::Meta          2.150010  
    Cwd                 3.67      
    ExtUtils::CBuilder  0.280225  
    ExtUtils::Command   7.24      
    ExtUtils::Install   2.04      
    ExtUtils::MakeMaker 7.24      
    ExtUtils::Manifest  1.70      
    ExtUtils::ParseXS   3.34      
    File::Spec          3.67      
    JSON                4.02      
    JSON::PP            2.27400_02
    Module::Build       0.4224    
    Module::Signature   n/a       
    Parse::CPAN::Meta   2.150010  
    Test::Harness       3.38      
    Test::More          1.302073  
    YAML                1.29      
    YAML::Syck          n/a       
    version             0.9917    


--

Summary of my perl5 (revision 5 version 26 subversion 3) configuration:
   
  Platform:
    osname=linux
    osvers=4.14.79-v7+
    archname=armv7l-linux-thread-multi
    uname='linux pi2 4.14.79-v7+ #1159 smp sun nov 4 17:50:20 gmt 2018 armv7l gnulinux '
    config_args='-de -Dprefix=/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld -Dusedevel -Dusethreads -Dusemultiplicity -Duselongdouble -Accflags= -Aeval:scriptdir=/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=undef
    use64bitall=undef
    uselongdouble=define
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='6.3.0 20170516'
    gccosandvers=''
    intsize=4
    longsize=4
    ptrsize=4
    doublesize=8
    byteorder=1234
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=8
    longdblkind=0
    ivtype='long'
    ivsize=4
    nvtype='long 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/local/lib /usr/lib/gcc/arm-linux-gnueabihf/6/include-fixed /usr/include/arm-linux-gnueabihf /usr/lib /lib/arm-linux-gnueabihf /lib /usr/lib/arm-linux-gnueabihf
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.24.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.24'
  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
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    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 linux
  Compiled at Jan  1 2019 05:33:49
  %ENV:
    PERL5LIB="/var/tmp/build/JSON-Validator-3.11-1/blib/arch:/var/tmp/build/JSON-Validator-3.11-1/blib/lib:/var/tmp/build/Mojolicious-8.17-2/blib/arch:/var/tmp/build/Mojolicious-8.17-2/blib/lib:/var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch:/var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="26220"
    PERL5_CPAN_IS_RUNNING="26220"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="26202,26220"
    PERLBREW_HOME="/home/njh/.perlbrew"
    PERLBREW_MANPATH="/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/man"
    PERLBREW_PATH="/home/njh/perl5/perlbrew/bin:/home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/bin"
    PERLBREW_PERL="perl-5.26.3-thread-multi-ld"
    PERLBREW_ROOT="/home/njh/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.84"
    PERLBREW_VERSION="0.84"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /var/tmp/build/JSON-Validator-3.11-1/blib/arch
    /var/tmp/build/JSON-Validator-3.11-1/blib/lib
    /var/tmp/build/Mojolicious-8.17-2/blib/arch
    /var/tmp/build/Mojolicious-8.17-2/blib/lib
    /var/tmp/build/File-ShareDir-Install-0.13-12/blib/arch
    /var/tmp/build/File-ShareDir-Install-0.13-12/blib/lib
    /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3/armv7l-linux-thread-multi
    /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/site_perl/5.26.3
    /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3/armv7l-linux-thread-multi
    /home/njh/perl5/perlbrew/perls/perl-5.26.3-thread-multi-ld/lib/5.26.3