cpantestlogs/Dancer2::Plugin::Auth::Extensible::Provider::Base_genfailure.log
2017-05-02 18:44:36 -07:00

813 lines
52 KiB
Text

perl-blead
==========
cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux
Work directory is /home/ryan/.cpanm/work/1493272810.21332
You have make /usr/bin/make
You have LWP 6.26
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Dancer2::Plugin::Auth::Extensible::Provider::Base () on cpanmetadb ...
Unpacking Dancer2-Plugin-Auth-Extensible-0.502.tar.gz
--> Working on Dancer2::Plugin::Auth::Extensible::Provider::Base
Fetching http://www.cpan.org/authors/id/H/HO/HORNBURG/Dancer2-Plugin-Auth-Extensible-0.502.tar.gz ... OK
Dancer2-Plugin-Auth-Extensible-0.502/
Dancer2-Plugin-Auth-Extensible-0.502/lib/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/Example.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/Unix.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/Config.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Provider/Base.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Test/
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible/Test.pm
Dancer2-Plugin-Auth-Extensible-0.502/lib/Dancer2/Plugin/Auth/Extensible.pm
Dancer2-Plugin-Auth-Extensible-0.502/t/
Dancer2-Plugin-Auth-Extensible-0.502/t/pod.t
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/views/
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/views/.placeholder
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/environments/
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/environments/provider-database.yml
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/environments/provider-config.yml
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/public/
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/public/.placeholder
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/lib/
Dancer2-Plugin-Auth-Extensible-0.502/t/lib/lib/.placeholder
Dancer2-Plugin-Auth-Extensible-0.502/t/plugin-provider-config.t
Dancer2-Plugin-Auth-Extensible-0.502/t/database/
Dancer2-Plugin-Auth-Extensible-0.502/t/database/testapp.ddl
Dancer2-Plugin-Auth-Extensible-0.502/t/database/config1.sql
Dancer2-Plugin-Auth-Extensible-0.502/t/database/config2.sql
Dancer2-Plugin-Auth-Extensible-0.502/t/pod-coverage.t
Dancer2-Plugin-Auth-Extensible-0.502/t/01-provider-base.t
Dancer2-Plugin-Auth-Extensible-0.502/t/00-load.t
Dancer2-Plugin-Auth-Extensible-0.502/t/plugin-provider-database.t
Dancer2-Plugin-Auth-Extensible-0.502/t/manifest.t
Dancer2-Plugin-Auth-Extensible-0.502/example/
Dancer2-Plugin-Auth-Extensible-0.502/example/demo.t
Dancer2-Plugin-Auth-Extensible-0.502/example/config.yml
Dancer2-Plugin-Auth-Extensible-0.502/example/authextest.pl
Dancer2-Plugin-Auth-Extensible-0.502/MANIFEST
Dancer2-Plugin-Auth-Extensible-0.502/bin/
Dancer2-Plugin-Auth-Extensible-0.502/bin/generate-crypted-password
Dancer2-Plugin-Auth-Extensible-0.502/ignore.txt
Dancer2-Plugin-Auth-Extensible-0.502/MANIFEST.SKIP
Dancer2-Plugin-Auth-Extensible-0.502/README
Dancer2-Plugin-Auth-Extensible-0.502/Changes
Dancer2-Plugin-Auth-Extensible-0.502/Makefile.PL
Dancer2-Plugin-Auth-Extensible-0.502/META.yml
Dancer2-Plugin-Auth-Extensible-0.502/META.json
Entering Dancer2-Plugin-Auth-Extensible-0.502
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Running Makefile.PL
Configuring Dancer2-Plugin-Auth-Extensible-0.502 ... Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Dancer2::Plugin::Auth::Extensible
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have Path::Tiny 0.016 ... Yes (0.094)
Checking if you have Module::Load::Conditional 0 ... Yes (0.68)
Checking if you have Crypt::SaltedHash 0 ... Yes (0.09)
Checking if you have YAML 0 ... Yes (1.23)
Checking if you have Test::Deep 0 ... Yes (1.126)
Checking if you have Dancer2 0.15 ... Yes (0.205000)
Checking if you have Test::More 0 ... Yes (1.302078)
Checking if you have Session::Token 0 ... Yes (1.503)
OK
Building and testing Dancer2-Plugin-Auth-Extensible-0.502 ... cp lib/Dancer2/Plugin/Auth/Extensible.pm blib/lib/Dancer2/Plugin/Auth/Extensible.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Test.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Provider/Unix.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Unix.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Provider/Base.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Base.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Provider/Config.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Config.pm
cp lib/Dancer2/Plugin/Auth/Extensible/Provider/Example.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Example.pm
cp bin/generate-crypted-password blib/script/generate-crypted-password
"/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/generate-crypted-password
Manifying 8 pod documents
PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Dancer2::Plugin::Auth::Extensible 0.502, Perl 5.026000, /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0
t/00-load.t ................... ok
t/01-provider-base.t .......... ok
t/manifest.t .................. skipped: Author tests not required for installation
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
t/plugin-provider-config.t .... ok
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Login with fake details fails'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 163.
# got: '500'
# expected: '401'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate foo against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate foo against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'Login with real details succeeds'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 177.
# got: '500'
# expected: '302'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
Use of uninitialized value $cookie in substitution (s///) at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 182.
Use of uninitialized value $cookie in concatenation (.) or string at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 183.
# Failed test 'Got the cookie: '
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 183.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Can access /loggedin now we are logged in'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 194.
# got: '302'
# expected: '200'
# []
# Failed test 'Correct page content while logged in, too'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 197.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Floggedin">here</a>.</p>
# </body>
# </html>
# '
# expected: 'You are logged in'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'get /name is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 206.
# got: '302'
# expected: '200'
# []
# Failed test 'Logged in user details via logged_in_user work'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 209.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Fname">here</a>.</p>
# </body>
# </html>
# '
# expected: 'Hello, David Precious'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'get /roles is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 219.
# got: '302'
# expected: '200'
# []
# Failed test 'Correct roles for logged in user'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 222.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Froles">here</a>.</p>
# </body>
# </html>
# '
# expected: 'BeerDrinker,Motorcyclist'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'get /roles/bob is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 231.
# got: '302'
# expected: '200'
# []
# Failed test 'Correct roles for other user in current realm'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 234.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Froles%2Fbob">here</a>.</p>
# </body>
# </html>
# '
# expected: 'CiderDrinker'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We can request a route (/beer) requiring a role we have...'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 245.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We can request a multi-role route requiring with any one role'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 258.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We can request a multi-role route with all roles required'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 268.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test '/not_allroles redirected to denied page'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 280.
# got: 'http://localhost/login?return_url=%2Fnot_allroles'
# expected: 'http://localhost/login/denied?return_url=%2Fnot_allroles'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We can request a regex route when logged in'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 296.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We can request a route requiring a regex role we have'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 305.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'We cannot request a route requiring a role we don't have'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 321.
# got: 'http://localhost/login?return_url=%2Fpiss'
# expected: 'http://localhost/login/denied?return_url=%2Fpiss'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Status code on /realm route.'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 333.
# got: '302'
# expected: '200'
# []
# Failed test 'Authenticated against expected realm'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 336.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Frealm">here</a>.</p>
# </body>
# </html>
# '
# expected: 'config1'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Login as user from second realm succeeds'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 390.
# got: '500'
# expected: '302'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate burt against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate burt against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
Use of uninitialized value $cookie in substitution (s///) at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 395.
Use of uninitialized value $cookie in concatenation (.) or string at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 396.
# Failed test 'Got the cookie: '
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 396.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Can access /loggedin now we are logged in again'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 408.
# got: '302'
# expected: '200'
# []
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Status code on /realm route.'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 420.
# got: '302'
# expected: '200'
# []
# Failed test 'Authenticated against expected realm'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 423.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Frealm">here</a>.</p>
# </body>
# </html>
# '
# expected: 'config2'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Status code on /roles/bob/config1 route.'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 431.
# got: '302'
# expected: '200'
# []
# Failed test 'Correct roles for other user in current realm'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 434.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Froles%2Fbob%2Fconfig1">here</a>.</p>
# </body>
# </html>
# '
# expected: 'CiderDrinker'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'get /roles is 200 - this user has no roles'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 445.
# got: '302'
# expected: '200'
# []
# Failed test 'Correct roles for logged in user'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 448.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>Moved</title>
# </head>
# <body>
# <p>This item has moved <a href="http://localhost/login?return_url=%2Froles">here</a>.</p>
# </body>
# </html>
# '
# expected: ''
# Failed test 'Login as user with hashed password succeeds'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 475.
# got: '500'
# expected: '302'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate hashedpassword against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate hashedpassword against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
Use of uninitialized value $cookie in substitution (s///) at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 480.
Use of uninitialized value $cookie in concatenation (.) or string at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 481.
# Failed test 'Got the cookie: '
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 481.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Can access /loggedin now we are logged in again'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 492.
# got: '302'
# expected: '200'
# []
# Failed test 'Status code for login with return_url'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 508.
# got: '500'
# expected: '302'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'Redirect after login to given return_url works'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 511.
# got: undef
# expected: 'http://localhost/foobar'
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Please use fully qualified hook name or the method execute_plugin_hook at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
Plugin DSL method 'request' is deprecated. Use '$self->app->request' instead'.
at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm line 140.
# Failed test 'Login with real details succeeds'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 570.
# got: '500'
# expected: '302'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
Use of uninitialized value $cookie in substitution (s///) at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 575.
Use of uninitialized value $cookie in concatenation (.) or string at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 576.
# Failed test 'Got the cookie: '
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 576.
# Failed test '/does_dave_drink_beer response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 586.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Invalid realm at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 1138. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Invalid realm at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 1138.
# '
# }
# ]
# Failed test '/does_dave_drink_cider response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 594.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Invalid realm at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 1138. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Invalid realm at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 1138.
# '
# }
# ]
# Failed test 'no way does dave drink cider'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 596.
# Failed test '/authenticate_user_with_realm_pass response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 613.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 102
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test '/authenticate_user_with_realm_fail response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 622.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 106
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'authentication failure'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 625.
# Failed test '/authenticate_user_with_wrong_realm response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 631.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config2 in /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 110
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config2'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'authentication failure'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 634.
# Failed test '/user_password?username=dave&password=beer response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 643.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin.pm l. 558
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test '/user_password?username=dave&password=cider response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 652.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin.pm l. 558
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'content shows fail'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 655.
# Failed test '/user_password?username=dave&password=beer&realm=config1 response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 662.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin.pm l. 558
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config1'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test '/user_password?username=dave&password=beer&realm=config2 response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 672.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] debug @2017-04-26 23:00:15> Attempting to authenticate dave against realm config2 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin.pm l. 558
# ',
# 'level' => 'debug',
# 'message' => 'Attempting to authenticate dave against realm config2'
# },
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: Can\'t locate object method "database" via package "Dancer2::Plugin::Auth::Extensible" at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/Database.pm line 189.
# '
# }
# ]
# Failed test 'content shows fail'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 675.
# Failed test '/user_password?password=beer response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 681.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: No username specified and no logged-in user at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 934. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: No username specified and no logged-in user at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 934.
# '
# }
# ]
# Failed test '/user_password?password=cider response is 200'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 690.
# got: '500'
# expected: '200'
# [
# {
# 'formatted' => '[TestApp:21419] error @2017-04-26 23:00:15> Route exception: No username specified and no logged-in user at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 934. in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/App.pm l. 1471
# ',
# 'level' => 'error',
# 'message' => 'Route exception: No username specified and no logged-in user at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible.pm line 934.
# '
# }
# ]
# Failed test 'content shows fail'
# at /home/ryan/.cpanm/work/1493272810.21332/Dancer2-Plugin-Auth-Extensible-0.502/blib/lib/Dancer2/Plugin/Auth/Extensible/Test.pm line 693.
# Looks like you failed 53 tests of 85.
t/plugin-provider-database.t ..
Dubious, test returned 53 (wstat 13568, 0x3500)
Failed 53/85 subtests
t/pod-coverage.t .............. skipped: Author tests not required for installation
t/pod.t ....................... skipped: Author tests not required for installation
Test Summary Report
-------------------
t/plugin-provider-database.t (Wstat: 13568 Tests: 85 Failed: 53)
Failed tests: 9-22, 24-26, 28-30, 36-44, 46-50, 59-61
63-64, 67, 69-73, 75-77, 79-81, 83-84
Non-zero exit status: 53
Files=7, Tests=191, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.96 cusr 0.04 csys = 1.04 CPU)
Result: FAIL
Failed 1/7 test programs. 53/191 subtests failed.
Makefile:917: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
! Installing Dancer2::Plugin::Auth::Extensible::Provider::Base failed. See /home/ryan/.cpanm/work/1493272810.21332/build.log for details. Retry with --force to force install it.
FAIL
Command [cpanm --reinstall --verbose Dancer2::Plugin::Auth::Extensible::Provider::Base] terminated with exit code 1 ($? = 256) under the following perl environment:
Command terminated with non-zero status.
Current perl:
Name: perl-blead
Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl
Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin
Compiled at: Mar 30 2017 03:10:09
perlbrew:
version: 0.78
ENV:
PERLBREW_ROOT: /home/ryan/perl5/perlbrew
PERLBREW_HOME: /home/ryan/.perlbrew
PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin
PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man