Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: FAIL CatalystX-CRUD-Controller-REST-0.004 v5.20.0 GNU/Linux
Date: 2015-08-31T05:49:46Z
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.20.0, created by CPAN-Reporter-1.2015.
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 "/bbbike/perl-5.20.0t/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.020000, /bbbike/perl-5.20.0t/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->{content} = Does not exist
# $expected->{content} = 'hello world'
[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->{content} = Does not exist
# $expected->{content} = 'foo bar baz'
[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->{content} = Does not exist
# $expected->{content} = 'hello world 2'
# 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->{results}[0] = Does not exist
# $expected->{results}[0] = HASH(0x3b2a118)
[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 /opt/perl-5.20.0t/lib/site_perl/5.20.0/CatalystX/CRUD/Model/File.pm line 300.
Use of uninitialized value $other_file in concatenation (.) or string at /opt/perl-5.20.0t/lib/site_perl/5.20.0/CatalystX/CRUD/Model/File.pm line 301.
[error] No such File with id 'testfile'
[error] no such file at /opt/perl-5.20.0t/lib/site_perl/5.20.0/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(0x3b1bf98)
# 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 /opt/perl-5.20.0t/lib/site_perl/5.20.0/CatalystX/CRUD/Model/File.pm line 366.
Use of uninitialized value $other_file in concatenation (.) or string at /opt/perl-5.20.0t/lib/site_perl/5.20.0/CatalystX/CRUD/Model/File.pm line 367.
[error] No such File with id 'testfile'
[error] no such file : No such file or directory at /opt/perl-5.20.0t/lib/site_perl/5.20.0/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, 4 wallclock secs ( 0.03 usr 0.02 sys + 1.61 cusr 0.22 csys = 1.88 CPU)
Result: FAIL
Failed 1/4 test programs. 12/46 subtests 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.32
CatalystX::CRUD 0.54 0.56
JSON 2 2.90
perl 5.008003 5.020000
Scalar::Util 0 1.42
Test::More 0 1.001014
build_requires:
Module Need Have
-------------------------------- -------- --------
ExtUtils::MakeMaker 6.59 7.04
configure_requires:
Module Need Have
-------------------------------- -------- --------
ExtUtils::MakeMaker 6.59 7.04
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
DBIC_NO_WARN_BAD_PERL = 1
LANG = C
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/eserte/bin/linux-gnu:/home/eserte/bin/sh:/home/eserte/bin:/usr/games:/home/eserte/devel:/home/eserte/src/srezic-misc/scripts
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 9156
PERL5_CPAN_IS_RUNNING = 9156
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 32459,9156
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1001/2015083103/cpanreporter_002_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
SHELL = /bin/zsh
TERM = screen
TMPDIR = /var/tmp/cpansmoker-1001/2015083103
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /bbbike/perl-5.20.0t/bin/perl
$UID/$EUID = 1001 / 1001
$GID = 1001 109 1001
$EGID = 1001 109 1001
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.05
CPAN::Meta 2.150005
Cwd 3.47
ExtUtils::CBuilder 0.280223
ExtUtils::Command 1.18
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.04
ExtUtils::Manifest 1.68
ExtUtils::ParseXS 3.24
File::Spec 3.47
JSON 2.90
JSON::PP 2.27203
Module::Build 0.4214
Module::Signature 0.78
Parse::CPAN::Meta 1.4414
Test::Harness 3.35
Test::More 1.001014
YAML 1.15
YAML::Syck 1.29
version 0.9912
--
Summary of my perl5 (revision 5 version 20 subversion 0) configuration:
Platform:
osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-thread-multi
uname='linux eserte 3.2.0-4-amd64 #1 smp debian 3.2.57-3+deb7u1 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/opt/perl-5.20.0t -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.2', 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 /usr/lib/gcc/x86_64-linux-gnu/4.7/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=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=libc-2.13.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
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 MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at May 28 2014 05:18:47
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="9156"
PERL5_CPAN_IS_RUNNING="9156"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="32459,9156"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1001/2015083103/cpanreporter_002_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
@INC:
/opt/perl-5.20.0t/lib/site_perl/5.20.0/x86_64-linux-thread-multi
/opt/perl-5.20.0t/lib/site_perl/5.20.0
/opt/perl-5.20.0t/lib/5.20.0/x86_64-linux-thread-multi
/opt/perl-5.20.0t/lib/5.20.0
.