782 lines
45 KiB
Text
782 lines
45 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/1493089717.31381
|
|
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::DBIC () on cpanmetadb ...
|
|
Unpacking Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623.tar.gz
|
|
--> Working on Dancer2::Plugin::Auth::Extensible::Provider::DBIC
|
|
Fetching http://www.cpan.org/authors/id/S/SY/SYSPETE/Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623.tar.gz ... OK
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/Makefile.PL
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/META.json
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/Changes
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/provider-dbic-user_as_object.t
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/DBICTest.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/DBICTestApp.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1/Result/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1/Result/UserRole.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1/Result/User.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema1/Result/Role.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3/Result/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3/Result/UserRole.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3/Result/User.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema3/Result/Role.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2/Result/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2/Result/MyuserRole.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2/Result/Myuser.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/lib/Schema2/Result/Myrole.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/deprecation.t
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/environments/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/environments/object.yml
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/environments/hashref.yml
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/provider-dbic.t
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/t/manifest.t
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/Plugin/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/Plugin/Auth/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/Plugin/Auth/Extensible/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/Plugin/Auth/Extensible/Provider/
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/lib/Dancer2/Plugin/Auth/Extensible/Provider/DBIC.pm
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/MANIFEST.SKIP
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/ignore.txt
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/LICENSE
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/README
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/META.yml
|
|
Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623/MANIFEST
|
|
Entering Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623
|
|
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-Provider-DBIC-0.623 ... Checking if your kit is complete...
|
|
Looks good
|
|
Generating a Unix-style Makefile
|
|
Writing Makefile for Dancer2::Plugin::Auth::Extensible::Provider::DBIC
|
|
Writing MYMETA.yml and MYMETA.json
|
|
Checking dependencies from MYMETA.json ...
|
|
Checking if you have Dancer2::Core::Types 0 ... Yes (0.205000)
|
|
Checking if you have Dancer2::Plugin::DBIC 0.0012 ... Yes (0.0013)
|
|
Checking if you have DateTime 0 ... Yes (1.42)
|
|
Checking if you have String::CamelCase 0 ... Yes (0.02)
|
|
Checking if you have Dancer2::Plugin::Auth::Extensible 0.703 ... Yes (0.703)
|
|
Checking if you have Dancer2 0.200000 ... Yes (0.205000)
|
|
Checking if you have Test::Warn 0 ... Yes (0.32)
|
|
Checking if you have namespace::clean 0 ... Yes (0.27)
|
|
Checking if you have Moo 0 ... Yes (2.003002)
|
|
Checking if you have Test::More 0 ... Yes (1.302078)
|
|
Checking if you have DBIx::Class::ResultClass::HashRefInflator 0 ... Yes (undef)
|
|
Checking if you have Scalar::Util 0 ... Yes (1.47)
|
|
Checking if you have DateTime::Format::SQLite 0 ... Yes (0.11)
|
|
Checking if you have Carp 0 ... Yes (1.38)
|
|
Checking if you have Test::MockObject 0 ... Yes (1.20161202)
|
|
OK
|
|
Building and testing Dancer2-Plugin-Auth-Extensible-Provider-DBIC-0.623 ... cp lib/Dancer2/Plugin/Auth/Extensible/Provider/DBIC.pm blib/lib/Dancer2/Plugin/Auth/Extensible/Provider/DBIC.pm
|
|
Manifying 1 pod document
|
|
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
|
|
t/deprecation.t ................... ok
|
|
t/manifest.t ...................... skipped: Author tests not required for installation
|
|
|
|
# Failed test '... and password_expired for user lives'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 405.
|
|
# got: '{UNKNOWN}: DateTime::TimeZone version 2.09 required--this is only version 2.04 at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Strptime.pm line 12.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Strptime.pm line 12.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
|
|
# Compilation failed in require at (eval 1116) line 1.
|
|
# BEGIN failed--compilation aborted at (eval 1116) line 1.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder.pm line 220.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/SQLite.pm line 72.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/SQLite.pm line 72.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# expected: undef
|
|
|
|
# Failed test '... and password is now *not* expired.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 407.
|
|
|
|
# Failed test '... and password_expired for user lives'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 420.
|
|
# got: '{UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# expected: undef
|
|
# Looks like you failed 3 tests of 10.
|
|
|
|
# Failed test 'Provider password_expired tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 424.
|
|
|
|
# Failed test '... and returns expected response'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 343.
|
|
# Compared $data->[0]
|
|
# got : '0'
|
|
# expect : '1'
|
|
|
|
# Failed test '... and we see expected hook output in logs and 3 realms checked.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 347.
|
|
# Comparing $data as a SuperBag
|
|
# Missing: 2 references
|
|
# [
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> before_authenticate_user{"password":"beer","realm":null,"username":"dave"} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 460
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'before_authenticate_user{"password":"beer","realm":null,"username":"dave"}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> Attempting to authenticate dave against realm config2 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 487
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'Attempting to authenticate dave against realm config2'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> Attempting to authenticate dave against realm config3 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 487
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'Attempting to authenticate dave against realm config3'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> Attempting to authenticate dave against realm config1 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 487
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'Attempting to authenticate dave against realm config1'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] error @2017-04-24 20:08:39> config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 487
|
|
# ',
|
|
# 'level' => 'error',
|
|
# 'message' => 'config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> after_authenticate_userundef in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 463
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'after_authenticate_userundef'
|
|
# }
|
|
# ]
|
|
# Looks like you failed 2 tests of 56.
|
|
|
|
# Failed test 'Plugin authenticate_user tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1363.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1364.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test 'GET /loggedin is_success now we're logged in'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1370.
|
|
|
|
# Failed test '... and we can see page content.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1371.
|
|
# 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'
|
|
|
|
# Failed test 'GET /regex/a is_success now we're logged in'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1376.
|
|
|
|
# Failed test '... and we can see page content.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1377.
|
|
# 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=%2Fregex%2Fa">here</a>.</p>
|
|
# </body>
|
|
# </html>
|
|
# '
|
|
# expected: 'Matched'
|
|
# Looks like you failed 6 tests of 17.
|
|
|
|
# Failed test 'Plugin require_login tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'login user dave'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1875.
|
|
|
|
# Failed test '... and we see dave's details.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1879.
|
|
# '--- none
|
|
# '
|
|
# doesn't match '(?^:David Precious)'
|
|
# --- none
|
|
|
|
# Failed test '... and we see still see dave's details.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1908.
|
|
# '--- none
|
|
# '
|
|
# doesn't match '(?^:David Precious)'
|
|
# --- none
|
|
|
|
# Failed test 'login user dave'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1875.
|
|
|
|
# Failed test '... and we see dave's details.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1879.
|
|
# '--- none
|
|
# '
|
|
# doesn't match '(?^:David Precious)'
|
|
# --- none
|
|
|
|
# Failed test '... and we see still see dave's details.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1908.
|
|
# '--- none
|
|
# '
|
|
# doesn't match '(?^:David Precious)'
|
|
# --- none
|
|
# Looks like you failed 6 tests of 28.
|
|
|
|
# Failed test 'Plugin update_user tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 803.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 804.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test '... and session logged_in_user is set to dave'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 812.
|
|
# got: undef
|
|
# expected: 'dave'
|
|
|
|
# Failed test '... and session logged_in_user_realm is set to config1.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 814.
|
|
# got: undef
|
|
# expected: 'config1'
|
|
|
|
# Failed test 'GET /login whilst logged in is redirected.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 820.
|
|
# bless( {
|
|
# '_content' => '
|
|
# <h1>Login Required</h1>
|
|
#
|
|
# <p>You need to log in to continue.</p>
|
|
#
|
|
# <form method="post">
|
|
# <label for="username">Username:</label>
|
|
# <input type="text" name="username" id="username">
|
|
# <br />
|
|
# <label for="password">Password:</label>
|
|
# <input type="password" name="password" id="password">
|
|
# <br />
|
|
# <input type="submit" value="Login">
|
|
# <h2>Password reset</h2>
|
|
# <p>Enter your username to obtain an email to reset your password</p>
|
|
# <label for="username_reset">Username:</label>
|
|
# <input type="text" name="username_reset" id="username_reset">
|
|
# <input type="submit" name="submit_reset" value="Submit">
|
|
# </form>
|
|
# ',
|
|
# '_headers' => bless( {
|
|
# '::std_case' => {
|
|
# 'set-cookie' => 'Set-Cookie',
|
|
# 'set-cookie2' => 'Set-Cookie2'
|
|
# },
|
|
# 'content-length' => 695,
|
|
# 'content-type' => 'text/html; charset=UTF-8',
|
|
# 'server' => 'Perl Dancer2 0.205000',
|
|
# 'set-cookie' => 'dancer.session=WP69twAAeuNeNSiRouRDGHqBKlhezRGo; HttpOnly; Path=/'
|
|
# }, 'HTTP::Headers' ),
|
|
# '_msg' => 'OK',
|
|
# '_rc' => 200,
|
|
# '_request' => bless( {
|
|
# '_content' => '',
|
|
# '_headers' => bless( {
|
|
# '::std_case' => {
|
|
# 'cookie' => 'Cookie',
|
|
# 'cookie2' => 'Cookie2'
|
|
# },
|
|
# 'content-length' => 0,
|
|
# 'cookie' => 'dancer.session=WP69twAAeuNeNSiRouRDGHqBKlhezRGo',
|
|
# 'cookie2' => '$Version="1"'
|
|
# }, 'HTTP::Headers' ),
|
|
# '_method' => 'GET',
|
|
# '_uri' => bless( do{\(my $o = 'http://localhost/login')}, 'URI::http' )
|
|
# }, 'HTTP::Request' )
|
|
# }, 'HTTP::Response' )
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 822.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test 'GET /login whilst logged in with return_url set in query is redirected.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 828.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 830.
|
|
# got: undef
|
|
# expected: 'http://localhost/foo'
|
|
|
|
# Failed test 'auth_provider with *no* realm lives'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 836.
|
|
# [
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> before_authenticate_user{"password":null,"realm":null,"username":null} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 460
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'before_authenticate_user{"password":null,"realm":null,"username":null}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> after_authenticate_user{"errors":[],"password":null,"realm":null,"success":0,"username":null} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 463
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'after_authenticate_user{"errors":[],"password":null,"realm":null,"success":0,"username":null}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> before_authenticate_user{"password":"beer","realm":null,"username":"dave"} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 460
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'before_authenticate_user{"password":"beer","realm":null,"username":"dave"}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> Attempting to authenticate dave against realm config2 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 config2'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> Attempting to authenticate dave against realm config3 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 config3'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> 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:31459] error @2017-04-24 20:08:39> config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'error',
|
|
# 'message' => 'config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> after_authenticate_userundef in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 463
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'after_authenticate_userundef'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:39> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] error @2017-04-24 20:08:39> Route exception: auth_provider needs realm or there must be a logged in user at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 671. 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: auth_provider needs realm or there must be a logged in user at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 671.
|
|
# '
|
|
# }
|
|
# ]
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 859.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 860.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test '... and session logged_in_user is set to dave'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 868.
|
|
# got: undef
|
|
# expected: 'dave'
|
|
# {}
|
|
|
|
# Failed test '... and session logged_in_user_realm is set to config1.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 870.
|
|
# got: undef
|
|
# expected: 'config1'
|
|
|
|
# Failed test 'Status code for login with return_url'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 950.
|
|
# got: '200'
|
|
# expected: '302'
|
|
# [
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> before_authenticate_user{"password":"beer","realm":null,"username":"dave"} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 460
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'before_authenticate_user{"password":"beer","realm":null,"username":"dave"}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> Attempting to authenticate dave against realm config2 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 config2'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> Attempting to authenticate dave against realm config3 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 config3'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> 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:31459] error @2017-04-24 20:08:40> config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'error',
|
|
# 'message' => 'config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> after_authenticate_userundef in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 463
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'after_authenticate_userundef'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31459] debug @2017-04-24 20:08:40> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# }
|
|
# ]
|
|
|
|
# Failed test 'Redirect after login to given return_url works'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 953.
|
|
# got: undef
|
|
# expected: 'http://localhost/foobar'
|
|
|
|
# Failed test '... and we see expected message in logs.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 958.
|
|
# Comparing $data as a SuperBag
|
|
# Missing: 1 reference
|
|
# []
|
|
|
|
# Failed test '... and checking /loggedin route shows we are logged in'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 968.
|
|
# 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'
|
|
# Looks like you failed 17 tests of 57.
|
|
|
|
# Failed test 'Plugin login_logout tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'POST /login with with new user is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1145.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1146.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test 'GET /loggedin is_success now we're logged in'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1152.
|
|
|
|
# Failed test '... and we can see page content.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1153.
|
|
# 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'
|
|
|
|
# Failed test '... and logged_in_user_lastlogin is still not set in the session.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1161.
|
|
# {}
|
|
|
|
# Failed test '... and session logged_in_user_lastlogin looks like an epoch time.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1163.
|
|
# undef
|
|
# doesn't match '(?^:^\d+$)'
|
|
|
|
# Failed test '... and logged_in_user_lastlogin is 2017-04-25.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1171.
|
|
# got: 'not set'
|
|
# expected: '2017-04-25'
|
|
# Looks like you failed 7 tests of 23.
|
|
|
|
# Failed test 'Plugin logged_in_user_lastlogin tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1033.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1034.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
# Looks like you failed 2 tests of 10.
|
|
|
|
# Failed test 'Plugin logged_in_user tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
Can't use string ("none") as a HASH ref while "strict refs" in use at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1042.
|
|
# Tests were run but no plan was declared and done_testing() was not seen.
|
|
# Looks like your test exited with 255 just after 17.
|
|
t/provider-dbic-user_as_object.t ..
|
|
Dubious, test returned 255 (wstat 65280, 0xff00)
|
|
Failed 7/17 subtests
|
|
|
|
# Failed test '... and password_expired for user lives'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 405.
|
|
# got: '{UNKNOWN}: DateTime::TimeZone version 2.09 required--this is only version 2.04 at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Strptime.pm line 12.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Strptime.pm line 12.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder/Parser/Strptime.pm line 10.
|
|
# Compilation failed in require at (eval 1128) line 1.
|
|
# BEGIN failed--compilation aborted at (eval 1128) line 1.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/Builder.pm line 220.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/SQLite.pm line 72.
|
|
# BEGIN failed--compilation aborted at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/DateTime/Format/SQLite.pm line 72.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# expected: undef
|
|
|
|
# Failed test '... and password is now *not* expired.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 407.
|
|
|
|
# Failed test '... and password_expired for user lives'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 420.
|
|
# got: '{UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# expected: undef
|
|
# Looks like you failed 3 tests of 10.
|
|
|
|
# Failed test 'Provider password_expired tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm line 424.
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 859.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 860.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
|
|
# Failed test '... and session logged_in_user is set to dave'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 868.
|
|
# got: undef
|
|
# expected: 'dave'
|
|
# {}
|
|
|
|
# Failed test '... and session logged_in_user_realm is set to config1.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 870.
|
|
# got: undef
|
|
# expected: 'config1'
|
|
|
|
# Failed test 'Status code for login with return_url'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 950.
|
|
# got: '200'
|
|
# expected: '302'
|
|
# [
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> before_authenticate_user{"password":"beer","realm":null,"username":"dave"} in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 460
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'before_authenticate_user{"password":"beer","realm":null,"username":"dave"}'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> Attempting to authenticate dave against realm config2 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 config2'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> Attempting to authenticate dave against realm config3 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 config3'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> 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:31460] error @2017-04-24 20:08:40> config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155 in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'error',
|
|
# 'message' => 'config1 provider threw error: {UNKNOWN}: Attempt to reload DateTime/Format/SQLite.pm aborted.
|
|
# Compilation failed in require at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 150. at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Class/C3/Componentised.pm line 155
|
|
# '
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> after_authenticate_userundef in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test/App.pm l. 463
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'after_authenticate_userundef'
|
|
# },
|
|
# {
|
|
# 'formatted' => '[TestApp:31460] debug @2017-04-24 20:08:40> app has no login template defined in /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Core/Route.pm l. 140
|
|
# ',
|
|
# 'level' => 'debug',
|
|
# 'message' => 'app has no login template defined'
|
|
# }
|
|
# ]
|
|
|
|
# Failed test 'Redirect after login to given return_url works'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 953.
|
|
# got: undef
|
|
# expected: 'http://localhost/foobar'
|
|
|
|
# Failed test '... and we see expected message in logs.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 958.
|
|
# Comparing $data as a SuperBag
|
|
# Missing: 1 reference
|
|
# []
|
|
|
|
# Failed test '... and checking /loggedin route shows we are logged in'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 968.
|
|
# 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'
|
|
# Looks like you failed 8 tests of 57.
|
|
|
|
# Failed test 'Plugin login_logout tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
|
|
# Failed test 'POST /login with good username/password is_redirect'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1033.
|
|
|
|
# Failed test '... and redirect location is correct.'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1034.
|
|
# got: undef
|
|
# expected: 'http://localhost/'
|
|
# Looks like you failed 2 tests of 10.
|
|
|
|
# Failed test 'Plugin logged_in_user tests'
|
|
# at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 122.
|
|
Can't use string ("none") as a HASH ref while "strict refs" in use at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/Dancer2/Plugin/Auth/Extensible/Test.pm line 1042.
|
|
# Tests were run but no plan was declared and done_testing() was not seen.
|
|
# Looks like your test exited with 255 just after 13.
|
|
t/provider-dbic.t .................
|
|
Dubious, test returned 255 (wstat 65280, 0xff00)
|
|
Failed 3/13 subtests
|
|
|
|
Test Summary Report
|
|
-------------------
|
|
t/provider-dbic-user_as_object.t (Wstat: 65280 Tests: 17 Failed: 7)
|
|
Failed tests: 8, 11, 13-17
|
|
Non-zero exit status: 255
|
|
Parse errors: No plan found in TAP output
|
|
t/provider-dbic.t (Wstat: 65280 Tests: 13 Failed: 3)
|
|
Failed tests: 8, 12-13
|
|
Non-zero exit status: 255
|
|
Parse errors: No plan found in TAP output
|
|
Files=4, Tests=40, 2 wallclock secs ( 0.05 usr 0.00 sys + 1.94 cusr 0.09 csys = 2.08 CPU)
|
|
Result: FAIL
|
|
Failed 2/4 test programs. 10/40 subtests failed.
|
|
Makefile:885: recipe for target 'test_dynamic' failed
|
|
make: *** [test_dynamic] Error 255
|
|
! Installing Dancer2::Plugin::Auth::Extensible::Provider::DBIC failed. See /home/ryan/.cpanm/work/1493089717.31381/build.log for details. Retry with --force to force install it.
|
|
FAIL
|
|
Command [cpanm --reinstall --verbose Dancer2::Plugin::Auth::Extensible::Provider::DBIC] 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
|