Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.28.0 i386-freebsd
- Status
- Pass
- From
- Chris Williams (BINGOS)
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.28.0 i386-freebsd
- Date
- 2024-01-29 06:23:22
- ID
- e708bb6e-be6e-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.28.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/x-www-form-urlencoded |
| application/json |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/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_text | TestApp::Controller::Root | expect_text |
| /expect_any | TestApp::Controller::Root | expect_any |
'----------------------+--------------------------------------+--------------'
[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) [94288] [Mon Jan 29 06:20:46 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.00889s (112.486/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000512s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [94288] [Mon Jan 29 06:20:46 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.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib/Catalyst/Plugin/CheckFileUploadTypes.pm line 51.
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.059844s (16.710/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000080s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [94288] [Mon Jan 29 06:20:46 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.078128s (12.800/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000146s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [94288] [Mon Jan 29 06:20:46 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.162337s (6.160/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (5.000/s) [94288] [Mon Jan 29 06:20:46 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 image/png for pretty-picture.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.029795s (33.563/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [94288] [Mon Jan 29 06:20:46 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.015621s (64.016/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [94288] [Mon Jan 29 06:20:46 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.015264s (65.514/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (8.000/s) [94288] [Mon Jan 29 06:20:46 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.01981s (50.480/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000138s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (9.000/s) [94288] [Mon Jan 29 06:20:46 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.009374s (106.678/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, 3 wallclock secs ( 0.02 usr 0.05 sys + 1.59 cusr 0.51 csys = 2.17 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.170 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.64 0
namespace::autoclean 0.29 0
strict 1.11 0
warnings 1.42 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.63
Pod::Simple 3.35
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/5Ds6idcB8z/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch
PERL5_CPANPLUS_IS_RUNNING = 84832
PERL5_CPANPLUS_IS_VERSION = 0.9914
PERL5_MINISMOKEBOX = 0.68
PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare/conf/perl-5.28.0
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/5Ds6idcB8z
PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/5Ds6idcB8z"
PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/5Ds6idcB8z
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.28.0/bin/perl
UID: $< = 1002
EUID: $> = 1002
GID: $( = 1002 1002
EGID: $) = 1002 1002
-------------------------------
--
Summary of my perl5 (revision 5 version 28 subversion 0) configuration:
Platform:
osname=freebsd
osvers=12.4-release
archname=i386-freebsd
uname='freebsd ffyrc 12.4-release freebsd 12.4-release r372781 generic i386 '
config_args='-des -Dprefix=/usr/home/cpan/pit/bare/perl-5.28.0'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=undef
use64bitall=undef
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
optimize='-O2'
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -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=4
ptrsize=4
doublesize=8
byteorder=1234
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=12
longdblkind=3
ivtype='long'
ivsize=4
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=4
prototype=define
Linker and Libraries:
ld='cc'
ldflags ='-Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/lib/clang/13.0.0/lib /usr/lib
libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -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-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
Devel::PatchPerl 2.08
Built under freebsd
Compiled at Apr 3 2023 09:01:45
%ENV:
PERL5LIB="/usr/home/cpan/pit/jail/5Ds6idcB8z/lib/perl5:/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib:/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="84832"
PERL5_CPANPLUS_IS_VERSION="0.9914"
PERL5_MINISMOKEBOX="0.68"
PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare/conf/perl-5.28.0"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/5Ds6idcB8z"
PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/5Ds6idcB8z""
PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/5Ds6idcB8z"
PERL_MM_USE_DEFAULT="1"
@INC:
/usr/home/cpan/pit/jail/5Ds6idcB8z/lib/perl5/5.28.0/i386-freebsd
/usr/home/cpan/pit/jail/5Ds6idcB8z/lib/perl5/5.28.0
/usr/home/cpan/pit/jail/5Ds6idcB8z/lib/perl5/i386-freebsd
/usr/home/cpan/pit/jail/5Ds6idcB8z/lib/perl5
/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/lib
/usr/home/cpan/pit/bare/conf/perl-5.28.0/.cpanplus/5.28.0/build/pX8Fk6aCnz/Catalyst-Plugin-CheckFileUploadTypes-0.20/blib/arch
/usr/home/cpan/pit/bare/perl-5.28.0/lib/site_perl/5.28.0/i386-freebsd
/usr/home/cpan/pit/bare/perl-5.28.0/lib/site_perl/5.28.0
/usr/home/cpan/pit/bare/perl-5.28.0/lib/5.28.0/i386-freebsd
/usr/home/cpan/pit/bare/perl-5.28.0/lib/5.28.0