Back
From: metabase:user:30ae4450-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Dancer-Plugin-BeforeRoute-2.0 v5.22.1
Date: 2016-08-11T06:26:41Z
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 Michael Vu,
This is a computer-generated report for Dancer-Plugin-BeforeRoute-2.0
on perl 5.22.1, created by CPAN-Reporter-1.2017.
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:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from 'C:\STRAWB~1\c\bin\dmake.exe test':
"C:\Strawberry221\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/dancer/*.t t/dancer2/*.t
t/dancer/01-use.t ..................... ok
t/dancer/02-check-method-and_path.t ... ok
t/dancer/03-dev-error.t ............... ok
t/dancer/04-any.t ..................... ok
t/dancer/05-head.t .................... ok
# Failed test 'use Dancer2::Plugin::BeforeRoute;'
# at t/dancer2/01-use.t line 2.
# Tried to use 'Dancer2::Plugin::BeforeRoute'.
# Error: Dancer2/Plugin/BeforeRoute.pm did not return a true value at t/dancer2/01-use.t line 2.
# BEGIN failed--compilation aborted at t/dancer2/01-use.t line 2.
# Looks like you failed 1 test of 1.
t/dancer2/01-use.t ....................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
# Failed test at t/dancer2/02-check-method-and_path.t line 10.
# got: ''
# expected: 'homepage'
# Failed test 'Test string path'
# at t/dancer2/02-check-method-and_path.t line 11.
# got: ''
# expected: 'foo'
# Failed test 'Test token path'
# at t/dancer2/02-check-method-and_path.t line 12.
# got: ''
# expected: 'baz'
# Failed test 'Test regexp'
# at t/dancer2/02-check-method-and_path.t line 13.
# got: ''
# expected: 'bar'
# Looks like you failed 4 tests of 5.
t/dancer2/02-check-method-and_path.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests
Dancer2/Plugin/BeforeRoute.pm did not return a true value at t/dancer2/03-dev-error.t line 5.
BEGIN failed--compilation aborted at t/dancer2/03-dev-error.t line 5.
t/dancer2/03-dev-error.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests
# Failed test 'set var in before route with GET method'
# at t/dancer2/04-any.t line 44.
# got: ''
# expected: '1'
# Failed test 'set var in before route with POST method'
# at t/dancer2/04-any.t line 44.
# got: ''
# expected: '1'
# Failed test 'set var in before route with PUT method'
# at t/dancer2/04-any.t line 44.
# got: ''
# expected: '1'
# Failed test 'set var in before route with DELETE method'
# at t/dancer2/04-any.t line 44.
# got: ''
# expected: '1'
# Looks like you failed 4 tests of 8.
t/dancer2/04-any.t ....................
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/8 subtests
[MyApp:616] error @2016-08-11 09:26:37> Route exception: isa check for "status" failed: undef is not a number! at (eval 143) line 49.
eval {...} called at (eval 143) line 48
Dancer2::Core::Response::status(Dancer2::Core::Response=HASH(0x174779c), undef) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/DSL.pm line 264
Dancer2::Core::DSL::status(Dancer2::Core::DSL__WITH__Dancer2::Plugin::BeforeRoute=HASH(0x18d9aac), undef) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/Role/DSL.pm line 76
Dancer2::Core::Role::DSL::__ANON__(undef) called at t/dancer2/05-head.t line 27
MyApp::__ANON__(Dancer2::Core::App=HASH(0x1706b5c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/Route.pm line 137
Dancer2::Core::Route::execute(Dancer2::Core::Route=HASH(0x116c56c), Dancer2::Core::App=HASH(0x1706b5c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1400
eval {...} called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1399
Dancer2::Core::App::_dispatch_route(Dancer2::Core::App=HASH(0x1706b5c), Dancer2::Core::Route=HASH(0x116c56c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1288
Dancer2::Core::App::__ANON__(CODE(0x1baec24)) called at C:/Strawberry221/perl/site/lib/Return/MultiLevel.pm line 36
Return::MultiLevel::with_return(CODE(0x1b92464)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1289
Dancer2::Core::App::dispatch(Dancer2::Core::App=HASH(0x1706b5c), HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1208
eval {...} called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1210
Dancer2::Core::App::__ANON__(HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Plack/Middleware/FixMissingBodyInRedirect.pm line 50
Plack::Middleware::FixMissingBodyInRedirect::call(Plack::Middleware::FixMissingBodyInRedirect=HASH(0x1b0181c), HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Plack/Component.pm line 50
Plack::Component::__ANON__(HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Plack/Middleware/Head.pm line 10
Plack::Middleware::Head::call(Plack::Middleware::Head=HASH(0x1b017bc), HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Plack/Component.pm line 50
Plack::Component::__ANON__(HASH(0x1aa263c)) called at C:/Strawberry221/perl/site/lib/Plack/Test/MockHTTP.pm line 24
Plack::Test::MockHTTP::try {...} () called at C:/Strawberry221/perl/vendor/lib/Try/Tiny.pm line 90
eval {...} called at C:/Strawberry221/perl/vendor/lib/Try/Tiny.pm line 83
Try::Tiny::try(CODE(0x1af4024), Try::Tiny::Catch=REF(0x1a7fd44)) called at C:/Strawberry221/perl/site/lib/Plack/Test/MockHTTP.pm line 27
Plack::Test::MockHTTP::request(Plack::Test::MockHTTP=HASH(0x1aa5154), HTTP::Request=HASH(0x1b66e44)) called at t/dancer2/05-head.t line 33 in C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm l. 1288
# Failed test at t/dancer2/05-head.t line 33.
# got: '500'
# expected: '300'
[MyApp:616] error @2016-08-11 09:26:37> Route exception: isa check for "status" failed: undef is not a number! at (eval 143) line 49.
eval {...} called at (eval 143) line 48
Dancer2::Core::Response::status(Dancer2::Core::Response=HASH(0x1bb5c84), undef) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/DSL.pm line 264
Dancer2::Core::DSL::status(Dancer2::Core::DSL__WITH__Dancer2::Plugin::BeforeRoute=HASH(0x18d9aac), undef) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/Role/DSL.pm line 76
Dancer2::Core::Role::DSL::__ANON__(undef) called at t/dancer2/05-head.t line 27
MyApp::__ANON__(Dancer2::Core::App=HASH(0x1706b5c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/Route.pm line 137
Dancer2::Core::Route::execute(Dancer2::Core::Route=HASH(0x1a01b3c), Dancer2::Core::App=HASH(0x1706b5c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1400
eval {...} called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1399
Dancer2::Core::App::_dispatch_route(Dancer2::Core::App=HASH(0x1706b5c), Dancer2::Core::Route=HASH(0x1a01b3c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1288
Dancer2::Core::App::__ANON__(CODE(0x1b92014)) called at C:/Strawberry221/perl/site/lib/Return/MultiLevel.pm line 36
Return::MultiLevel::with_return(CODE(0x1b4413c)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1289
Dancer2::Core::App::dispatch(Dancer2::Core::App=HASH(0x1706b5c), HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1208
eval {...} called at C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm line 1210
Dancer2::Core::App::__ANON__(HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Plack/Middleware/FixMissingBodyInRedirect.pm line 50
Plack::Middleware::FixMissingBodyInRedirect::call(Plack::Middleware::FixMissingBodyInRedirect=HASH(0x1b0181c), HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Plack/Component.pm line 50
Plack::Component::__ANON__(HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Plack/Middleware/Head.pm line 21
Plack::Middleware::Head::call(Plack::Middleware::Head=HASH(0x1b017bc), HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Plack/Component.pm line 50
Plack::Component::__ANON__(HASH(0x1c1e3c4)) called at C:/Strawberry221/perl/site/lib/Plack/Test/MockHTTP.pm line 24
Plack::Test::MockHTTP::try {...} () called at C:/Strawberry221/perl/vendor/lib/Try/Tiny.pm line 90
eval {...} called at C:/Strawberry221/perl/vendor/lib/Try/Tiny.pm line 83
Try::Tiny::try(CODE(0x1ac344c), Try::Tiny::Catch=REF(0x1b9ff3c)) called at C:/Strawberry221/perl/site/lib/Plack/Test/MockHTTP.pm line 27
Plack::Test::MockHTTP::request(Plack::Test::MockHTTP=HASH(0x1aa5154), HTTP::Request=HASH(0xbf9ac4)) called at t/dancer2/05-head.t line 34 in C:/Strawberry221/perl/site/lib/Dancer2/Core/App.pm l. 1288
# Failed test at t/dancer2/05-head.t line 34.
# got: '500'
# expected: '300'
# Looks like you failed 2 tests of 2.
t/dancer2/05-head.t ...................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Test Summary Report
-------------------
t/dancer2/01-use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/dancer2/02-check-method-and_path.t (Wstat: 1024 Tests: 5 Failed: 4)
Failed tests: 1-4
Non-zero exit status: 4
t/dancer2/03-dev-error.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/dancer2/04-any.t (Wstat: 1024 Tests: 8 Failed: 4)
Failed tests: 1, 3, 5, 7
Non-zero exit status: 4
t/dancer2/05-head.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=10, Tests=43, 11 wallclock secs ( 0.07 usr + 0.06 sys = 0.13 CPU)
Result: FAIL
Failed 5/10 test programs. 11/43 subtests failed.
dmake.exe: Error code 130, while making 'test_dynamic'
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------- ---- --------
Dancer 0 1.3202
Dancer2 0 0.166001
Plack::Test 0 0
Test::More 0 1.001014
Try::Tiny 0 0.24
build_requires:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 7.10
configure_requires:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 7.10
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
COMSPEC = C:\WINDOWS\system32\cmd.exe
NUMBER_OF_PROCESSORS = 1
PATH = C:\Program Files\Far Manager\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Strawberry221\c\bin;C:\Strawberry221\perl\site\bin;C:\Strawberry221\perl\bin;C:\Git\cmd
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 992
PERL5_CPAN_IS_RUNNING = 992
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 168,992
PERL_CR_SMOKER_CURRENT = Dancer-Plugin-BeforeRoute-2.0
PERL_CR_SMOKER_RUNONCE = 1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_HASH_SEED = 0x11111111
PERL_MM_USE_DEFAULT = 1
PROCESSOR_IDENTIFIER = x86 Family 16 Model 5 Stepping 3, AuthenticAMD
TEMP = C:\DOCUME~1\c\LOCALS~1\Temp
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = C:\Strawberry221\perl\bin\perl.exe
$UID/$EUID = 0 / 0
$GID = 0
$EGID = 0
Win32::GetOSName = WinXP/.Net
Win32::GetOSVersion = Service Pack 3, 5, 1, 2600, 2, 3, 0, 256, 1
Win32::FsType = NTFS
Win32::IsAdminUser = 1
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11
CPAN::Meta 2.150005
Cwd 3.62
ExtUtils::CBuilder 0.280224
ExtUtils::Command 7.10
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.10
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.30
File::Spec 3.62
JSON 2.90
JSON::PP 2.27300
Module::Build 0.4216
Module::Signature 0.79
Parse::CPAN::Meta 1.4417
Test::Harness 3.36
Test::More 1.001014
YAML 1.15
YAML::Syck 1.29
version 0.9916
--
Summary of my perl5 (revision 5 version 22 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread-64int
uname='Win32 strawberry-perl 5.22.1.4 #1 Sat Mar 26 14:08:02 2016 i386'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'
libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\i686-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\i686-w64-mingw32\4.9.2
libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
libc=, so=dll, useshrplib=true, libperl=libperl522.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE
PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF
Built under MSWin32
Compiled at Mar 26 2016 14:12:26
%ENV:
PERL5_CPANPLUS_IS_RUNNING="992"
PERL5_CPAN_IS_RUNNING="992"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="168,992"
PERL_CR_SMOKER_CURRENT="Dancer-Plugin-BeforeRoute-2.0"
PERL_CR_SMOKER_RUNONCE="1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_HASH_SEED="0x11111111"
PERL_MM_USE_DEFAULT="1"
@INC:
C:/Strawberry221/perl/site/lib
C:/Strawberry221/perl/vendor/lib
C:/Strawberry221/perl/lib
.