Mojolicious-Plugin-OpenAPI 2.14 Pass

Tested by Andreas J. König (ANDK), 5. May 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.12.5, 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 "/home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/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/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 /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib/Mojolicious/Plugin/OpenAPI/Cors.pm line 85.
$c->openapi->cors_simple() has been replaced by $c->openapi->cors_exchange() at /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/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 /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib/JSON/Validator.pm line 355.
t/issue-48-refs.t ..................... ok
bundle({replace => 1}) will be removed. at t/load-and-validate-spec.t line 15
t/load-and-validate-spec.t ............ ok
[2019-05-05 08:34:26.45930] [26896] [debug] GET "/api" (4e13bc9b)
[2019-05-05 08:34:26.45968] [26896] [debug] Routing to a callback
[2019-05-05 08:34:26.46002] [26896] [debug] 200 OK (0.000721s, 1386.963/s)
[2019-05-05 08:34:26.52959] [26896] [debug] GET "/api" (269fd6bb)
[2019-05-05 08:34:26.52979] [26896] [debug] Routing to a callback
[2019-05-05 08:34:26.53009] [26896] [debug] 200 OK (0.000494s, 2024.291/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 /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib/JSON/Validator.pm line 748.
t/v2-formats.t ........................ ok
t/v2-readonly.t ....................... ok
t/v3-body.t ........................... skipped: Can't locate YAML/XS.pm in @INC (@INC contains: /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5 /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5 .) at (eval 91) line 1.
t/v3-nullable.t ....................... skipped: Can't locate YAML/XS.pm in @INC (@INC contains: /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5 /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5 .) at (eval 91) line 1.
t/v3.t ................................ skipped: Can't locate YAML/XS.pm in @INC (@INC contains: /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5 /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5/x86_64-linux-thread-multi-ld /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5 .) at (eval 91) line 1.
bundle({replace => 1}) will be removed. at /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-Plugin-OpenAPI-2.14-0/blib/lib/Mojolicious/Plugin/OpenAPI.pm line 30
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, 21 wallclock secs ( 0.11 usr  0.22 sys + 13.84 cusr  2.24 csys = 16.41 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
    LANG = C
    PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    PERL5LIB = /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib:/tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib:/tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 26313
    PERL5_CPAN_IS_RUNNING = 26313
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen

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

    $^X = /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/bin/perl
    $UID/$EUID = 1005 / 1005
    $GID = 1005 1005
    $EGID = 1005 1005

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.25    
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280230
    ExtUtils::Command   7.34    
    ExtUtils::Install   2.06    
    ExtUtils::MakeMaker 7.34    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   2.21    
    File::Spec          3.75    
    JSON                4.02    
    JSON::PP            4.02    
    Module::Build       0.4224  
    Module::Signature   0.83    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.42    
    Test::More          1.302162
    YAML                1.27    
    YAML::Syck          1.31    
    version             0.9924  


--

Summary of my perl5 (revision 5 version 12 subversion 5) configuration:
  Derived from: 9a9cbd715960a905dcbc9166349a73a64a007e4e
  Platform:
    osname=linux, osvers=4.9.0-8-amd64, archname=x86_64-linux-thread-multi-ld
    uname='linux k93stretch 4.9.0-8-amd64 #1 smp debian 4.9.144-3 (2019-02-02) x86_64 gnulinux '
    config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59 -Dmyhostname=k93stretch -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -DEBUGGING=-g'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='6.3.0 20170516', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=16, 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=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    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 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Locally applied patches:
	uncommitted-changes
  Built under linux
  Compiled at Mar  8 2019 11:24:38
  %ENV:
    PERL5LIB="/tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib:/tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib:/tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch:/tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="26313"
    PERL5_CPAN_IS_RUNNING="26313"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/arch
    /tmp/loop_over_bdir-14705-XbPNjG/JSON-Validator-3.09-0/blib/lib
    /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/arch
    /tmp/loop_over_bdir-14705-XbPNjG/Mojolicious-8.15-0/blib/lib
    /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/arch
    /tmp/loop_over_bdir-14705-XbPNjG/Time-Local-1.28-0/blib/lib
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/site_perl/5.12.5
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5/x86_64-linux-thread-multi-ld
    /home/sand/src/perl/repoperls/installed-perls/host/k93stretch/v5.12.5/cb59/lib/5.12.5