Report for CatalystX-CRUD-Controller-REST-0.004

Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: FAIL CatalystX-CRUD-Controller-REST-0.004 v5.22.0 GNU/Linux
Date: 2015-08-31T05:49:50Z

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 Peter Karman,

This is a computer-generated report for CatalystX-CRUD-Controller-REST-0.004
on perl 5.22.0, created by CPAN-Reporter-1.2014.

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.22.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Testing CatalystX::CRUD::Controller::REST 0.004, Perl 5.022000, /opt/perl-5.22.0/bin/perl
t/00-load.t ....... ok
[error] No such File with id 'testfile'
[error] No such File with id 'testfile'

#   Failed test 'PUT returns 201'
#   at t/001-file.t line 31.
#          got: '400'
#     expected: '201'

#   Failed test 'PUT new file response'
#   at t/001-file.t line 32.
#     Structures begin differing at:
#          $got->{file} = Does not exist
#     $expected->{file} = 'testfile'
[error] No such File with id 'testfile'

#   Failed test 'GET file response'
#   at t/001-file.t line 44.
#     Structures begin differing at:
#          $got->{file} = Does not exist
#     $expected->{file} = 'testfile'
[error] No such File with id 'testfile'

#   Failed test 'PUT file update response'
#   at t/001-file.t line 59.
#     Structures begin differing at:
#          $got->{file} = Does not exist
#     $expected->{file} = 'testfile'
[error] No such File with id 'otherdir/testfile2'

#   Failed test 'PUT new file2 response'
#   at t/001-file.t line 75.
#     Structures begin differing at:
#          $got->{file} = Does not exist
#     $expected->{file} = 'otherdir/testfile2'

#   Failed test 'new file 201 status'
#   at t/001-file.t line 81.
#          got: '400'
#     expected: '201'

#   Failed test 'content has 2 files'
#   at t/001-file.t line 92.
#     Structures begin differing at:
#          $got->{count} = '0'
#     $expected->{count} = '2'
[error] No such File with id 'testfile'

#   Failed test 'oid == one'
#   at t/001-file.t line 110.
#          got: '404'
#     expected: '200'
[error] No such File with id 'testfile'
Use of uninitialized value $other_file in -r at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/Model/File.pm line 300.
Use of uninitialized value $other_file in concatenation (.) or string at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/Model/File.pm line 301.
[error] No such File with id 'testfile'
[error] no such file  at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/ControllerRole.pm line 153.

#   Failed test 'related == three'
#   at t/001-file.t line 120.
#          got: '500'
#     expected: '204'

#   Failed test 'search gets 3 results'
#   at t/001-file.t line 135.
#     Structures begin differing at:
#          $got->{results}[0] = Does not exist
#     $expected->{results}[0] = HASH(0x515f770)

#   Failed test 'count gets 3 results'
#   at t/001-file.t line 151.
#     Structures begin differing at:
#          $got->{count} = '0'
#     $expected->{count} = '3'
Use of uninitialized value $other_file in -r at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/Model/File.pm line 366.
Use of uninitialized value $other_file in concatenation (.) or string at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/Model/File.pm line 367.
[error] No such File with id 'testfile'
[error] no such file  : No such file or directory at /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib/CatalystX/CRUD/ControllerRole.pm line 153.

#   Failed test 'tunneled DELETE related == three'
#   at t/001-file.t line 172.
#          got: '500'
#     expected: '204'
[error] No such File with id 'testfile'
[error] No such File with id 'otherdir/testfile2'
[error] No such File with id 'testfile'
# Looks like you failed 12 tests of 43.
t/001-file.t ...... 
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 12/43 subtests 
t/pod-coverage.t .. ok
t/pod.t ........... ok

Test Summary Report
-------------------
t/001-file.t    (Wstat: 3072 Tests: 43 Failed: 12)
  Failed tests:  6-7, 9, 11, 13-14, 17, 21, 25, 31, 33, 35
  Non-zero exit status: 12
Files=4, Tests=46, 61 wallclock secs ( 0.20 usr  0.01 sys + 17.16 cusr  0.72 csys = 18.09 CPU)
Result: FAIL
Failed 1/4 test programs. 12/46 subtests failed.
Makefile:775: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

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

Prerequisite modules loaded:

requires:

    Module                           Need     Have    
    -------------------------------- -------- --------
    Catalyst::Action::REST           0        1.19    
    Catalyst::Plugin::Static::Simple 0        0.33    
    CatalystX::CRUD                  0.54     0.56    
    JSON                             2        2.90    
    perl                             5.008003 5.022000
    Scalar::Util                     0        1.42    
    Test::More                       0        1.001014

build_requires:

    Module                           Need     Have    
    -------------------------------- -------- --------
    ExtUtils::MakeMaker              6.59     7.04_01 

configure_requires:

    Module                           Need     Have    
    -------------------------------- -------- --------
    ExtUtils::MakeMaker              6.59     7.04_01 


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

Environment variables:

    DBIC_NO_WARN_BAD_PERL = 1
    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 = /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/arch:/home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib:/home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/arch:/home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/lib:/home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/arch:/home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 32195
    PERL5_CPAN_IS_RUNNING = 32195
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 32148,32195
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /run/user/1023/cpansmoker/2015083106/cpanreporter_002_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    SHELL = /bin/zsh
    TERM = screen
    TMPDIR = /run/user/1023/cpansmoker/2015083106

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

    $^X = /opt/perl-5.22.0/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.11    
    CPAN::Meta          2.150005
    Cwd                 3.56    
    ExtUtils::CBuilder  0.280223
    ExtUtils::Command   1.20    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.04_01 
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.28    
    File::Spec          3.56    
    JSON                2.90    
    JSON::PP            2.27300 
    Module::Build       0.4214  
    Module::Signature   0.79    
    Parse::CPAN::Meta   1.4417  
    Test::Harness       3.35    
    Test::More          1.001014
    YAML                1.15    
    YAML::Syck          1.29    
    version             0.9909  


--

Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
   
  Platform:
    osname=linux, osvers=3.16.0-4-amd64, archname=x86_64-linux
    uname='linux cvrsnica-jessie 3.16.0-4-amd64 #1 smp debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.22.0 -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 -D_FORTIFY_SOURCE=2',
    optimize='-O2',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='4.9.2', 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/4.9/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.19.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.19'
  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_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_LOCALE_TIME USE_PERLIO
                        USE_PERL_ATOF
  Built under linux
  Compiled at Jun  1 2015 20:33:19
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/arch:/home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib:/home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/arch:/home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/lib:/home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/arch:/home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="32195"
    PERL5_CPAN_IS_RUNNING="32195"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="32148,32195"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/run/user/1023/cpansmoker/2015083106/cpanreporter_002_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
  @INC:
    /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/arch
    /home/cpansand/.cpan/build/2015083106/CatalystX-CRUD-0.56-taX0ec/blib/lib
    /home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/arch
    /home/cpansand/.cpan/build/2015083106/Catalyst-Component-ACCEPT_CONTEXT-0.07-josobb/blib/lib
    /home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/arch
    /home/cpansand/.cpan/build/2015083106/Search-QueryParser-SQL-0.010-4AGZa7/blib/lib
    /opt/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux
    /opt/perl-5.22.0/lib/site_perl/5.22.0
    /opt/perl-5.22.0/lib/5.22.0/x86_64-linux
    /opt/perl-5.22.0/lib/5.22.0
    .