Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.16.0 amd64-freebsd
- Status
- Pass
- From
- Chris Williams (BINGOS)
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.16.0 amd64-freebsd
- Date
- 2024-01-31 22:08:50
- ID
- 5057de7a-c085-11ee-98b0-b3c3213a625c
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 BIGPRESH,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9914. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. Congratulations!
All tests were successful.
TEST RESULTS:
Below is the error stack from stage 'make test':
PERL_DL_NONLAZY=1 "/usr/home/cpan/pit/bare/perl-5.16.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::CheckFileUploadTypes 0.20 |
| Catalyst::Plugin::ConfigLoader 0.35 |
'----------------------------------------------------------------------------'
[debug] Loaded PSGI Middleware:
.----------------------------------------------------------------------------.
| Catalyst::Middleware::Stash |
| Plack::Middleware::HTTPExceptions |
| Plack::Middleware::RemoveRedundantBody 0.09 |
| Plack::Middleware::FixMissingBodyInRedirect 0.12 |
| Plack::Middleware::ContentLength |
| Plack::Middleware::MethodOverride 0.20 |
| Plack::Middleware::Head |
'----------------------------------------------------------------------------'
[debug] Loaded Request Data Handlers:
.----------------------------------------------------------------------------.
| application/json |
| application/x-www-form-urlencoded |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/t/lib/TestApp"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /expect_image | TestApp::Controller::Root | expect_image |
| /index | TestApp::Controller::Root | index |
| /expect_any | TestApp::Controller::Root | expect_any |
| /expect_text | TestApp::Controller::Root | expect_text |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| / | /index |
| /expect_any/ | /expect_any |
| /expect_image/ | /expect_image |
| /expect_text/ | /expect_text |
'-------------------------------------+--------------------------------------'
[info] DaveTest powered by Catalyst 5.90131
[info] *** Request 1 (1.000/s) [88754] [Wed Jan 31 22:06:13 2024] ***
[debug] Path is "/"
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: unknown
[info] Request took 0.009308s (107.434/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000555s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [88754] [Wed Jan 31 22:06:13 2024] ***
[debug] Path is "expect_any"
[debug] "POST" request for "expect_any" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | not_really_a_text_file.jpg | text/fake | 795885 |
'--------------+----------------------------+--------------------+-----------'
Use of uninitialized value $_ in split at /usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib/Catalyst/Plugin/CheckFileUploadTypes.pm line 50.
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.144169s (6.936/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000283s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [88754] [Wed Jan 31 22:06:14 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | not_really_a_text_file.jpg | text/fake | 795885 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type image/png for not_really_a_text_file.jpg
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.113486s (8.812/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000173s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [88754] [Wed Jan 31 22:06:14 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | text/plain | 78 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/plain for pretty-picture.png
[warn] Upload pretty-picture.png with unexpected type text/plain rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.768328s (1.302/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (2.500/s) [88754] [Wed Jan 31 22:06:15 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | image/png | 795885 |
| upload2 | pretty-picture-honestly-g- | image/png | 78 |
| | uv.png | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/plain for pretty-picture-honestly-guv.png
[warn] Upload pretty-picture-honestly-guv.png with unexpected type text/plain rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.025939s (38.552/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (3.000/s) [88754] [Wed Jan 31 22:06:15 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | a-text-file-but-really-xm- | text/plain | 39 |
| | l.txt | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/xml for a-text-file-but-really-xml.txt
[warn] Upload a-text-file-but-really-xml.txt with unexpected type text/xml rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.013078s (76.464/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (3.500/s) [88754] [Wed Jan 31 22:06:15 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | this-could-be-evil.sh | text/plain | 39 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/x-shellscript for this-could-be-evil.sh
[warn] Upload this-could-be-evil.sh with unexpected type text/x-shellscript rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.011662s (85.749/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (4.000/s) [88754] [Wed Jan 31 22:06:15 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | script-writing-for-dummie- | text/plain | 271 |
| | s.txt | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/plain for script-writing-for-dummies.txt
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.016361s (61.121/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000170s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (4.500/s) [88754] [Wed Jan 31 22:06:15 2024] ***
[debug] Path is "/"
[debug] "POST" request for "/" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | text/plain | 78 |
'--------------+----------------------------+--------------------+-----------'
[error] Uploads present, but not expected by action
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.00934s (107.066/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
t/01app.t .......... ok
t/02pod.t .......... skipped: set TEST_POD to enable this test
t/03podcoverage.t .. skipped: set TEST_POD to enable this test
All tests successful.
Files=3, Tests=17, 4 wallclock secs ( 0.04 usr 0.02 sys + 1.59 cusr 0.50 csys = 2.15 CPU)
Result: PASS
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
Catalyst 5.90131 0
Catalyst::ClassData 0 0
Catalyst::Controller 0 0
Catalyst::Plugin::ConfigLoader 0.35 0
Catalyst::Runtime 5.90131 5.80
Catalyst::Test 0 0
Data::Dumper 2.135_06 0
Data::Printer 1.002001 0
ExtUtils::MakeMaker 7.70 0
File::LibMagic 1.23 0
FindBin 1.51 0
HTTP::Request::Common 6.45 0
HTTP::Status 6.45 0
MRO::Compat 0.15 0
Moose 2.2207 0
Test::More 1.302198 0
lib 0.63 0
namespace::autoclean 0.29 0
strict 1.07 0
warnings 1.13 0
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9914
CPANPLUS::Dist::Build 0.90
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
Module::Build 0.4234
Pod::Parser 1.51
Pod::Simple 3.20
Test2 1.302198
Test::Harness 3.48
Test::More 1.302198
version 0.9930
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
This report was machine-generated by CPANPLUS::Dist::YACSmoke 1.08.
Powered by minismokebox version 0.68
CPANPLUS is prefering Build.PL
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
NONINTERACTIVE_TESTING = 1
PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
PERL5LIB = /usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch
PERL5_CPANPLUS_IS_RUNNING = 79049
PERL5_CPANPLUS_IS_VERSION = 0.9914
PERL5_MINISMOKEBOX = 0.68
PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare/conf/perl-5.16.0
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/93Ky9rK4Cm
PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/93Ky9rK4Cm"
PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/93Ky9rK4Cm
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/local/bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /usr/home/cpan/pit/bare/perl-5.16.0/bin/perl
UID: $< = 1002
EUID: $> = 1002
GID: $( = 1002 1002
EGID: $) = 1002 1002
-------------------------------
--
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=freebsd, osvers=12.4-release-p1, archname=amd64-freebsd
uname='freebsd fforc 12.4-release-p1 freebsd 12.4-release-p1 generic amd64 '
config_args='-des -Dprefix=/usr/home/cpan/pit/bare/perl-5.16.0'
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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O2',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='FreeBSD Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)', 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 ='-Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -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 freebsd
Compiled at Mar 29 2023 17:12:41
%ENV:
PERL5LIB="/usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="79049"
PERL5_CPANPLUS_IS_VERSION="0.9914"
PERL5_MINISMOKEBOX="0.68"
PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare/conf/perl-5.16.0"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/93Ky9rK4Cm"
PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/93Ky9rK4Cm""
PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/93Ky9rK4Cm"
PERL_MM_USE_DEFAULT="1"
@INC:
/usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5/5.16.0/amd64-freebsd
/usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5/5.16.0
/usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5/amd64-freebsd
/usr/home/cpan/pit/jail/93Ky9rK4Cm/lib/perl5
/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib
/usr/home/cpan/pit/bare/conf/perl-5.16.0/.cpanplus/5.16.0/build/naLeboFe6v/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch
/usr/home/cpan/pit/bare/perl-5.16.0/lib/site_perl/5.16.0/amd64-freebsd
/usr/home/cpan/pit/bare/perl-5.16.0/lib/site_perl/5.16.0
/usr/home/cpan/pit/bare/perl-5.16.0/lib/5.16.0/amd64-freebsd
/usr/home/cpan/pit/bare/perl-5.16.0/lib/5.16.0
.