Report for PONAPI-Server-0.003000

Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: FAIL PONAPI-Server-0.003000 v5.24.1 GNU/Linux
Date: 2017-01-24T21:56:18Z

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 Mickey Nasriachi,

This is a computer-generated report for PONAPI-Server-0.003000
on perl 5.24.1, 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

Sections of this report:

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

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

Additional comments from tester:

none provided

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

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

PERL_DL_NONLAZY=1 "/opt/perl-5.24.1/bin/perl5.24.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/020-DAO/*.t t/030-Server/*.t t/040-utils/*.t

    #   Failed test '... can delete as expected'
    #   at t/020-DAO/000-basic.t line 543.
    #     Structures begin differing at:
    #          $got->[0] = '204'
    #     $expected->[0] = '202'

    #   Failed test '... and the correct changes are retrieved'
    #   at t/020-DAO/000-basic.t line 600.
    #     Structures begin differing at:
    #          $got->[2]{data}{relationships}{comments}{data}[0]{id} = '5'
    #     $expected->[2]{data}{relationships}{comments}{data}[0]{id} = '12'
    # Looks like you failed 2 tests of 3.

#   Failed test '... delete_relationships'
#   at t/020-DAO/000-basic.t line 616.
# Looks like you failed 1 test of 21.
t/020-DAO/000-basic.t .................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests 
t/020-DAO/001-errors.t ................... ok
t/020-DAO/003-req_base.t ................. ok
t/020-DAO/004-parameters.t ............... ok
t/020-DAO/005-exceptions.t ............... ok

    #   Failed test '... has the right content-type'
    #   at t/030-Server/000-basic.t line 27.
    #          got: ''
    #     expected: 'application/vnd.api+json'
    # Looks like you failed 1 test of 32.

#   Failed test '... mix'
#   at t/030-Server/000-basic.t line 256.
# Looks like you failed 1 test of 6.
t/030-Server/000-basic.t ................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests 
Use of uninitialized value $p in string eq at /home/cpansand/.cpan/build/2017012421/PONAPI-Server-0.003000-0jFUDz/blib/lib/PONAPI/Server.pm line 247.
Use of uninitialized value $p in string eq at /home/cpansand/.cpan/build/2017012421/PONAPI-Server-0.003000-0jFUDz/blib/lib/PONAPI/Server.pm line 247.
Use of uninitialized value $p in string eq at /home/cpansand/.cpan/build/2017012421/PONAPI-Server-0.003000-0jFUDz/blib/lib/PONAPI/Server.pm line 247.
Use of uninitialized value $p in string eq at /home/cpansand/.cpan/build/2017012421/PONAPI-Server-0.003000-0jFUDz/blib/lib/PONAPI/Server.pm line 247.
Use of uninitialized value $p in string eq at /home/cpansand/.cpan/build/2017012421/PONAPI-Server-0.003000-0jFUDz/blib/lib/PONAPI/Server.pm line 247.

    #   Failed test '... bad request include=& caught'
    #   at t/030-Server/001-errors.t line 36.
    #          got: undef
    #     expected: '{JSON:API} Bad request'
    # Test failed: ... bad request include=& caught

    #   Failed test '... and it has the expected error code'
    #   at t/030-Server/001-errors.t line 37.
    #          got: undef
    #     expected: '400'
    # Looks like you failed 2 tests of 63.

#   Failed test '... bad requests (GET)'
#   at t/030-Server/001-errors.t line 162.
# Looks like you failed 1 test of 4.
t/030-Server/001-errors.t ................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 
t/030-Server/002-http-method-override.t .. ok
t/040-utils/names.t ...................... ok

Test Summary Report
-------------------
t/020-DAO/000-basic.t                  (Wstat: 256 Tests: 21 Failed: 1)
  Failed test:  20
  Non-zero exit status: 1
t/030-Server/000-basic.t               (Wstat: 256 Tests: 6 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/030-Server/001-errors.t              (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=9, Tests=63, 14 wallclock secs ( 0.15 usr  0.02 sys +  7.84 cusr  0.60 csys =  8.61 CPU)
Result: FAIL
Failed 3/9 test programs. 3/63 subtests failed.
Makefile:1084: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module                            Need   Have    
    --------------------------------- ------ --------
    App::Cmd::Setup                   0      0.331   
    DBD::SQLite                       1.48   1.54    
    DBI                               0      1.636   
    File::Path                        2.04   2.12_01 
    HTTP::Headers::ActionPack         0      0.09    
    JSON::XS                          0      3.03    
    Module::Runtime                   0      0.014   
    Moose                             2.1604 2.1807  
    parent                            0      0.234   
    Path::Class                       0      0.37    
    perl                              5.010  5.024001
    Plack                             1.0029 1.0042  
    Plack::Middleware::MethodOverride 0.15   0.15    
    Pod::Perldoc                      0      3.25_03 
    PONAPI::Document                  0      0       
    PONAPI::Names                     0      0       
    PONAPI::Tools                     0      0.001001
    strict                            0      1.11    
    warnings                          0      1.36    
    YAML::XS                          0      0.63    

build_requires:

    Module                            Need   Have    
    --------------------------------- ------ --------
    Data::Dumper                      0      2.161   
    DBD::SQLite                       1.48   1.54    
    ExtUtils::MakeMaker               0      7.24    
    HTTP::Request::Common             0      6.11    
    Plack::Middleware::MethodOverride 0.15   0.15    
    Test::More                        0      1.302075
    Test::Simple                      0.98   1.302075

configure_requires:

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


------------------------------
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 = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 25829
    PERL5_CPAN_IS_RUNNING = 25829
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 30588,25829
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1002/2017012412/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1002/2017012412

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

    $^X = /opt/perl-5.24.1/bin/perl5.24.1
    $UID/$EUID = 1002 / 1002
    $GID = 1002 1002
    $EGID = 1002 1002

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.11_01 
    CPAN::Meta          2.150010
    Cwd                 3.63_01 
    ExtUtils::CBuilder  0.280225
    ExtUtils::Command   7.24    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.24    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.31    
    File::Spec          3.63_01 
    JSON                2.90    
    JSON::PP            2.27400 
    Module::Build       0.4220  
    Module::Signature   0.81    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.36_01 
    Test::More          1.302075
    YAML                1.21    
    YAML::Syck          1.29    
    version             0.9917  


--

Summary of my perl5 (revision 5 version 24 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=4.8.0-2-amd64, archname=x86_64-linux
    uname='linux prod4 4.8.0-2-amd64 #1 smp debian 4.8.15-2 (2017-01-04) x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.24.1 -Dcf_email=srezic@cpan.org'
    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 ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='6.2.1 20161124', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    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-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    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 PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD 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_LOCALE_TIME
                        USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Jan 22 2017 18:06:53
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="25829"
    PERL5_CPAN_IS_RUNNING="25829"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="30588,25829"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1002/2017012412/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /opt/perl-5.24.1/lib/site_perl/5.24.1/x86_64-linux
    /opt/perl-5.24.1/lib/site_perl/5.24.1
    /opt/perl-5.24.1/lib/5.24.1/x86_64-linux
    /opt/perl-5.24.1/lib/5.24.1
    .