Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: FAIL CGI-Uploader-2.18 v5.24.0 GNU/Linux
Date: 2017-01-30T15:31:52Z
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 Mark Stosberg,
This is a computer-generated report for CGI-Uploader-2.18
on perl 5.24.0, 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.0/bin/perl5.24.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
# Failed test 'calling store_uploads'
# at t/basic.t line 77.
# got: 'can't open t//var/tmp/cpansmoker-1002/2017013000/CGIuploaderv6lcR.gen at /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/blib/lib/CGI/Uploader.pm line 799.
# '
# expected: ''
# Failed test 'expected number of files created'
# at t/basic.t line 84.
# Failed test 'survived eval'
# at t/basic.t line 98.
# got: 'failed to open file: : No such file or directory
# at t/basic.t line 95.
# '
# expected: ''
# total 4
# -rw-rw-r-- 1 cpansand cpansand 23 Jan 30 15:30 1.txt
# Failed test 'generated file is as expected'
# at t/basic.t line 99.
# undef
# doesn't match '(?^:gen)'
# Failed test 'number of rows in database'
# at t/basic.t line 115.
# got: '1'
# expected: '2'
The 'meta' parameter (undef) to CGI::Uploader::transform_meta was an 'undef', which is not one of the allowed types: hashref
at /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/blib/lib/CGI/Uploader.pm line 1133.
CGI::Uploader::transform_meta(undef, "meta", undef, "prevent_browser_caching", 1, "prefix", "test_file_gen") called at /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/blib/lib/CGI/Uploader.pm line 571
CGI::Uploader::fk_meta(undef, "table", "cgi_uploader_test", "where", HASH(0x55e3a74cb8d8), "prefixes", ARRAY(0x55e3a71bf738)) called at t/basic.t line 126
t/basic.t .........
Failed 14/24 subtests
t/build_loc.t ..... ok
t/cgi-simple.t .... skipped: CGI::Simple should work, but having these tests for it work is
t/gen_thumb.t ..... skipped: No graphics module found for image resizing. Install Graphics::Magick or Image::Magick: Can't locate Graphics/Magick.pm in @INC (you may need to install the Graphics::Magick module) (@INC contains: t/lib /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/inc /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/blib/lib /home/cpansand/.cpan/build/2017013015/CGI-Uploader-2.18-0/blib/arch /opt/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux /opt/perl-5.24.0/lib/site_perl/5.24.0 /opt/perl-5.24.0/lib/5.24.0/x86_64-linux /opt/perl-5.24.0/lib/5.24.0 .) at t/gen_thumb.t line 18.
t/meta.t .......... ok
t/pod.t ........... ok
# Failed test 'calling store_uploads'
# at t/up_table_map.t line 100.
# got: 'can't open t//var/tmp/cpansmoker-1002/2017013000/CGIuploader7yMSm.gen at lib/CGI/Uploader.pm line 808.
# '
# expected: ''
# Failed test 'store_uploads entity additions work'
# at t/up_table_map.t line 103.
# Failed test 'expected number of files created'
# at t/up_table_map.t line 110.
# Failed test 'number of rows in database'
# at t/up_table_map.t line 126.
# got: '1'
# expected: '2'
The 'meta' parameter (undef) to CGI::Uploader::transform_meta was an 'undef', which is not one of the allowed types: hashref
at lib/CGI/Uploader.pm line 1133.
CGI::Uploader::transform_meta(undef, "meta", undef, "prevent_browser_caching", 1, "prefix", "test_file_gen") called at lib/CGI/Uploader.pm line 571
CGI::Uploader::fk_meta(undef, "table", "cgi_uploader_test", "where", HASH(0x55fefe53c838), "prefixes", ARRAY(0x55fefe44eaf8)) called at t/up_table_map.t line 131
t/up_table_map.t ..
Failed 9/19 subtests
Test Summary Report
-------------------
t/basic.t (Wstat: 0 Tests: 15 Failed: 5)
Failed tests: 8, 10-12, 14
Parse errors: Bad plan. You planned 24 tests but ran 15.
t/up_table_map.t (Wstat: 0 Tests: 14 Failed: 4)
Failed tests: 8-9, 11, 13
Parse errors: Bad plan. You planned 19 tests but ran 14.
Files=7, Tests=53, 3 wallclock secs ( 0.05 usr 0.02 sys + 1.87 cusr 0.27 csys = 2.21 CPU)
Result: FAIL
Failed 2/7 test programs. 9/53 subtests failed.
Makefile:784: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
--------------------- ---- ------
Carp::Assert 0 0.21
CGI 0 4.35
CGI::Carp 0 4.35
DBD::SQLite 1.1 1.54
DBI 0 1.636
Digest::MD5 0 2.55
File::Copy 0 2.31
File::MMagic 1.22 1.30
File::Path 0 2.12
File::Spec 0 3.63
File::Temp 0.15 0.2304
HTTP::BrowserDetect 0.98 3.14
HTTP::Request::Common 0 6.11
Image::Size 0 3.300
MIME::Type 0 2.13
MIME::Types 0 2.13
Params::Validate 0.77 1.26
Scalar::Util 0 1.47
SQL::Abstract 0 1.81
Test::DatabaseRow 0 2.04
build_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 = 31682
PERL5_CPAN_IS_RUNNING = 31682
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 12169,31682
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1002/2017013000/cpanreporter_000_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_USE_UNSAFE_INC = 1
SHELL = /bin/zsh
TERM = screen
TMPDIR = /var/tmp/cpansmoker-1002/2017013000
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /opt/perl-5.24.0/bin/perl5.24.0
$UID/$EUID = 1002 / 1002
$GID = 1002 1002
$EGID = 1002 1002
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.14
CPAN::Meta 2.150010
Cwd 3.63
ExtUtils::CBuilder 0.280224
ExtUtils::Command 7.24
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.24
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.30
File::Spec 3.63
JSON 2.90
JSON::PP 2.27400
Module::Build 0.4220
Module::Signature 0.81
Parse::CPAN::Meta 2.150010
Test::Harness 3.36
Test::More 1.302075
YAML 1.21
YAML::Syck 1.29
version 0.9917
--
Summary of my perl5 (revision 5 version 24 subversion 0) 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.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',
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:33:18
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="31682"
PERL5_CPAN_IS_RUNNING="31682"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="12169,31682"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1002/2017013000/cpanreporter_000_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_USE_UNSAFE_INC="1"
@INC:
/opt/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux
/opt/perl-5.24.0/lib/site_perl/5.24.0
/opt/perl-5.24.0/lib/5.24.0/x86_64-linux
/opt/perl-5.24.0/lib/5.24.0
.