Mojolicious-Plugin-OpenAPI v5.10 Perl 5 v5.16.3 x86_64-linux

Status
Fail
From
David Cantrell (DCANTRELL)
Dist
Mojolicious-Plugin-OpenAPI v5.10
Platform
Perl 5 v5.16.3 x86_64-linux
Date
2025-03-20 00:44:28
ID
7aa0ee1c-0524-11f0-b95a-08c635b7c7e2
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-5.10
on perl 5.16.3, created by CPAN-Reporter-1.2019.

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

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

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

------------------------------
PROGRAM OUTPUT
------------------------------

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

PERL_DL_NONLAZY=1 "/home/david/cpantesting/perl-5.16.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-project.t ......................... skipped: No such directory: .git
t/basic-404-501.t ...................... ok
t/basic-autorender.t ................... ok
t/basic-bundle.t ....................... ok
t/basic-coerce.t ....................... ok
t/basic-correct-order-of-paths.t ....... ok
t/basic-custom-formats.t ............... ok
t/basic-custom-renderer.t .............. ok
t/basic-custom-validation.t ............ ok
t/basic-empty-response.t ............... ok
t/basic-invalid-json-input.t ........... ok
t/basic-legacy-swagger2.t .............. ok
t/basic-mojo-placeholder.t ............. ok
t/basic-mojo-route-names.t ............. ok
t/basic-path-parameters.t .............. ok
t/basic-register-plugin.t .............. ok
t/basic-under-route-authenticate.t ..... ok
t/jv-recursion.t ....................... ok
t/plugin-cors.t ........................ ok

#   Failed test '200 OK'
#   at t/plugin-security-extended-status.t line 35.
#          got: '401'
#     expected: '200'
Mojo::Reactor::Poll: I/O watcher failed: A response has already been rendered at /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3/Mojolicious/Controller.pm line 189.
# Premature connection close

#   Failed test 'GET /api/securitytest'
#   at t/plugin-security-extended-status.t line 38.

#   Failed test '403 Forbidden'
#   at t/plugin-security-extended-status.t line 38.
#          got: undef
#     expected: '403'
Mojo::Reactor::Poll: I/O watcher failed: A response has already been rendered at /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3/Mojolicious/Controller.pm line 189.
# Premature connection close

#   Failed test 'GET /api/securitytest'
#   at t/plugin-security-extended-status.t line 41.

#   Failed test '401 Unauthorized'
#   at t/plugin-security-extended-status.t line 41.
#          got: undef
#     expected: '401'
Mojo::Reactor::Poll: I/O watcher failed: A response has already been rendered at /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3/Mojolicious/Controller.pm line 189.
# Premature connection close

#   Failed test 'GET /api/securitytest'
#   at t/plugin-security-extended-status.t line 43.

#   Failed test '401 Unauthorized'
#   at t/plugin-security-extended-status.t line 43.
#          got: undef
#     expected: '401'
# Looks like you failed 7 tests of 8.
t/plugin-security-extended-status.t .... 
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/8 subtests 
t/plugin-security-rules-not-defined.t .. ok
t/plugin-security-v2.t ................. ok
t/plugin-security-v3.t ................. ok
t/plugin-spec-renderer-doc.t ........... ok
t/plugin-spec-renderer-options.t ....... ok
t/plugin-spec-renderer-standalone.t .... ok
t/plugin-spec-renderer-v3.t ............ ok
t/v2-basic.t ........................... ok
invalid_json at t/v2-body.t line 9.
[{"cool":"beans"}] at t/v2-body.t line 9.
["str"] at t/v2-body.t line 9.
t/v2-body.t ............................ ok
t/v2-collectionformat.t ................ ok
t/v2-defaults.t ........................ ok
t/v2-discriminator.t ................... ok
t/v2-file.t ............................ ok
Format rule for 'unknown' is missing at /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3/JSON/Validator/Schema.pm line 605.
t/v2-formats.t ......................... ok
t/v2-headers.t ......................... ok
t/v2-id-prop.t ......................... ok
t/v2-readonly.t ........................ ok
t/v2-swagger.t ......................... ok
t/v2-tutorial.t ........................ ok
t/v2-validate-schema.t ................. ok
t/v3-basic.t ........................... ok
t/v3-body.t ............................ ok
t/v3-bundle.t .......................... ok
t/v3-defaults.t ........................ ok
t/v3-file.t ............................ ok
t/v3-invalid_file_refs.t ............... ok
t/v3-invalid_file_refs_no_path.t ....... ok
t/v3-nullable.t ........................ ok
t/v3-style-array.t ..................... ok
t/v3-style-object.t .................... ok
t/v3-tutorial.t ........................ ok
t/v3-valid_file_refs.t ................. ok
t/v3-writeonly.t ....................... ok

Test Summary Report
-------------------
t/plugin-security-extended-status.t  (Wstat: 1792 (exited 7) Tests: 8 Failed: 7)
  Failed tests:  2-8
  Non-zero exit status: 7
t/v2-formats.t                       (Wstat: 0 Tests: 30 Failed: 0)
  TODO passed:   15, 21-22
Files=53, Tests=771, 359 wallclock secs ( 0.45 usr  0.10 sys + 41.08 cusr  4.75 csys = 46.38 CPU)
Result: FAIL
Failed 1/53 test programs. 7/771 subtests failed.
make: *** [Makefile:964: test_dynamic] Error 255

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need  Have    
    ------------------- ----- --------
    JSON::Validator     5.15  5.15    
    Mojolicious         9.00  9.39    
    perl                5.016 5.016003

build_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 0     7.70    
    Test::More          0.88  1.302207

configure_requires:

    Module              Need  Have    
    ------------------- ----- --------
    ExtUtils::MakeMaker 0     7.70    


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_GB.UTF-8
    LANGUAGE = en_GB:en
    LC_TERMINAL = iTerm2
    LC_TERMINAL_VERSION = 3.5.11
    NONINTERACTIVE_TESTING = 1
    PATH = /home/david/.nvm/versions/node/v22.14.0/bin:/home/david/.cargo/bin:/home/david/perl5/perlbrew/bin:/home/david/perl5/perlbrew/perls/perl-5.30.2/bin:/home/david/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL = 5.16.3
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 125984
    PERL5_CPAN_IS_RUNNING = 125984
    PERLBREW_HOME = /home/david/.perlbrew
    PERLBREW_MANPATH = /home/david/perl5/perlbrew/perls/perl-5.30.2/man
    PERLBREW_PATH = /home/david/perl5/perlbrew/bin:/home/david/perl5/perlbrew/perls/perl-5.30.2/bin
    PERLBREW_PERL = perl-5.30.2
    PERLBREW_ROOT = /home/david/perl5/perlbrew
    PERLBREW_SHELLRC_VERSION = 0.98
    PERLBREW_VERSION = 0.98
    PERLVER = 5.16.3
    PERL_INLINE_DIRECTORY = /home/david/.Inline-5.16.3
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 0
    SHELL = /bin/bash
    TERM = screen

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

    $^X = /home/david/cpantesting/perl-5.16.3/bin/perl
    $UID/$EUID = 1000 / 1000
    $GID = 1000 24 25 27 29 30 44 46 109 1000
    $EGID = 1000 24 25 27 29 30 44 46 109 1000

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.9800  
    CPAN::Meta          2.150010
    Cwd                 3.75    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.75    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test2               1.302207
    Test::Harness       3.50    
    Test::More          1.302207
    YAML                1.31    
    YAML::Syck          n/a     
    version             0.9933  


--

Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
   
  Platform:
    osname=linux, osvers=5.10.0-11-amd64, archname=x86_64-linux
    uname='linux cpantesting-linux 5.10.0-11-amd64 #1 smp debian 5.10.92-1 (2022-01-18) x86_64 gnulinux '
    config_args='-de -Dprefix=/home/david/cpantesting/perl-5.16.3'
    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 ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='10.2.1 20210110', 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 /lib64 /usr/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.31.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.31'
  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_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_PERLIO USE_PERL_ATOF
  Locally applied patches:
	Devel::PatchPerl 2.08
  Built under linux
  Compiled at Jul  5 2023 22:37:37
  %ENV:
    PERL="5.16.3"
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="125984"
    PERL5_CPAN_IS_RUNNING="125984"
    PERLBREW_HOME="/home/david/.perlbrew"
    PERLBREW_MANPATH="/home/david/perl5/perlbrew/perls/perl-5.30.2/man"
    PERLBREW_PATH="/home/david/perl5/perlbrew/bin:/home/david/perl5/perlbrew/perls/perl-5.30.2/bin"
    PERLBREW_PERL="perl-5.30.2"
    PERLBREW_ROOT="/home/david/perl5/perlbrew"
    PERLBREW_SHELLRC_VERSION="0.98"
    PERLBREW_VERSION="0.98"
    PERLVER="5.16.3"
    PERL_INLINE_DIRECTORY="/home/david/.Inline-5.16.3"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="0"
  @INC:
    /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux
    /home/david/cpantesting/perl-5.16.3/lib/site_perl/5.16.3
    /home/david/cpantesting/perl-5.16.3/lib/5.16.3/x86_64-linux
    /home/david/cpantesting/perl-5.16.3/lib/5.16.3
    .