Checking if your kit is complete... Looks good Writing Makefile for CGI::Application::Plugin::Authentication cp lib/CGI/Application/Plugin/Authentication/Driver/Dummy.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Dummy.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/md5.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/md5.pm cp lib/CGI/Application/Plugin/Authentication/Store/Session.pm blib/lib/CGI/Application/Plugin/Authentication/Store/Session.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Authen/Simple.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Authen/Simple.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/lc.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/lc.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/sha1.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/sha1.pm cp lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm cp lib/CGI/Application/Plugin/Authentication.pm blib/lib/CGI/Application/Plugin/Authentication.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/crypt.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/crypt.pm cp lib/CGI/Application/Plugin/Authentication/Store/Cookie.pm blib/lib/CGI/Application/Plugin/Authentication/Store/Cookie.pm cp lib/CGI/Application/Plugin/Authentication/Driver/HTPasswd.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/HTPasswd.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm cp lib/CGI/Application/Plugin/Authentication/Store.pm blib/lib/CGI/Application/Plugin/Authentication/Store.pm cp lib/CGI/Application/Plugin/Authentication/Driver.pm blib/lib/CGI/Application/Plugin/Authentication/Driver.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/strip.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/strip.pm cp lib/CGI/Application/Plugin/Authentication/Driver/Filter/uc.pm blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/uc.pm Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::md5.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Dummy.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Store::Session.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::lc.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Authen::Simple.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::sha1.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::DBI.3 Manifying blib/man3/CGI::Application::Plugin::Authentication.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Store::Cookie.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::crypt.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::strip.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Store.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Generic.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::HTPasswd.3 Manifying blib/man3/CGI::Application::Plugin::Authentication::Driver::Filter::uc.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01_basic..................1..9 ok 1 - require CGI::Application::Plugin::Authentication; ok 2 - warning when the plugin is used in a non-CGIApp module ok 3 - instance dies when called passed non CGI::App module ok 4 - ->authen called as a class method works ok 5 - The object isa CGI::Application::Plugin::Authentication ok 6 - The object isa CGI::Application::Plugin::Authentication ok 7 - Objects have same different address ok 8 - Objects have same address ok 9 - instance dies when called incorrectly ok t/02_config.................1..69 ok 1 - All config parameters accepted ok 2 - credentials set ok 3 - The object isa CGI::Application::Plugin::Authentication::Driver::Generic ok 4 - The object isa Store::Dummy ok 5 - All config parameters accepted ok 6 - config dies when DRIVER is passed a hashref ok 7 - config accepts single DRIVER without options ok 8 - config accepts single DRIVER with options ok 9 - config accepts multiple DRIVERs ok 10 - config dies when STORE is passed a hashref ok 11 - config accepts STORE without options ok 12 - config accepts STORE with options ok 13 - config dies when LOGIN_RUNMODE is passed a hashref ok 14 - config accepts LOGIN_RUNMODE as a string ok 15 - config dies when LOGIN_URL is passed a hashref ok 16 - config accepts LOGIN_URL as a string ok 17 - LOGIN_URL ignored when LOGIN_RUNMODE is configured ok 18 - config dies when LOGOUT_RUNMODE is passed a hashref ok 19 - config accepts LOGOUT_RUNMODE as a string ok 20 - config dies when LOGOUT_URL is passed a hashref ok 21 - config accepts LOGOUT_URL as a string ok 22 - LOGOUT_URL ignored when LOGOUT_RUNMODE is configured ok 23 - config dies when POST_LOGIN_RUNMODE is passed a hashref ok 24 - config accepts POST_LOGIN_RUNMODE as a string ok 25 - config dies when POST_LOGIN_URL is passed a hashref ok 26 - config accepts POST_LOGIN_URL as a string ok 27 - POST_LOGIN_UR_URL ignored when POST_LOGIN_RUNMODE is configured ok 28 - config dies when POST_LOGIN_CALLBACK is passed a hashref ok 29 - config dies when POST_LOGIN_CALLBACK is passed a string ok 30 - config accepts POST_LOGIN_CALLBACK as a coderef ok 31 - config dies when RENDER_LOGIN is passed a hashref ok 32 - config dies when RENDER_LOGIN is passed a string ok 33 - config accepts RENDER_LOGIN as a coderef ok 34 - config dies when LOGIN_FORM is passed a string ok 35 - config accepts LOGIN_FORM as a hashref ok 36 - config dies when CREDENTIALS is passed a hashref ok 37 - config accepts CREDENTIALS as a string ok 38 - config accepts CREDENTIALS as an arrayref ok 39 - config accepts LOGIN_SESSION_TIMEOUT as a string ok 40 - config accepts LOGIN_SESSION_TIMEOUT with IDLE_FOR option ok 41 - config accepts LOGIN_SESSION_TIMEOUT with EVERY option ok 42 - config accepts LOGIN_SESSION_TIMEOUT with CUSTOM option ok 43 - config accepts LOGIN_SESSION_TIMEOUT as a hashref ok 44 - config dies when LOGIN_SESSION_TIMEOUT is passed a hashref ok 45 - config dies when LOGIN_SESSION_TIMEOUT recieves an unparsable string ok 46 - config dies when LOGIN_SESSION_TIMEOUT IDLE_FOR recieves an unparsable string ok 47 - config dies when LOGIN_SESSION_TIMEOUT EVERY recieves an unparsable string ok 48 - config dies when LOGIN_SESSION_TIMEOUT CUSTOM receives something other than a coderef ok 49 - config dies when LOGIN_SESSION_TIMEOUT recieves an unparsable string ok 50 - config can be called as a class method ok 51 - config can be called with a hashref or hash ok 52 - current configuration returned ok 53 - config dies when passed an invalid parameter ok 54 - config dies when called after initialization with new configuration info ok 55 - _time_to_seconds works with number only ok 56 - _time_to_seconds works with seconds ok 57 - _time_to_seconds works with minutes ok 58 - _time_to_seconds works with hours ok 59 - _time_to_seconds works with days ok 60 - _time_to_seconds works with weeks ok 61 - _time_to_seconds works with months ok 62 - _time_to_seconds works with years ok 63 - _time_to_seconds works with decimal values ok 64 - _time_to_seconds works with decimal values ok 65 - _time_to_seconds works with decimal values ok 66 - _time_to_seconds works with decimal values ok 67 - _time_to_seconds works with decimal values ok 68 - _time_to_seconds works with decimal value that wouldn't result in an integer offset ok 69 - _time_to_seconds fails with decimal values and no modifier ok t/03_authenticate...........1..0 # Skip CGI::Application::Plugin::Session required for this test skipped all skipped: CGI::Application::Plugin::Session required for this test t/04_attributes.............1..7 ok 1 - runmode one is open ok 2 - runmode two is protected ok 3 - runmode three is protected ok 4 - runmode four is protected ok 5 - successful login ok 6 - successful login - username set ok 7 - runmode three is visible after login ok t/05_autorunmode............1..14 ok 1 - runmode one is open ok 2 - runmode two is protected ok 3 - runmode three is protected ok 4 - runmode four is protected ok 5 - successful login ok 6 - successful login - username set ok 7 - runmode three is visible after login ok 8 - runmode five is open ok 9 - runmode six is protected ok 10 - runmode seven is protected ok 11 - runmode eight is protected ok 12 - successful login ok 13 - successful login - username set ok 14 - runmode seven is visible after login ok t/06_timeout................1..13 # The following tests have some small time delays ok 1 - successful login ok 2 - username set ok 3 - username set in store ok 4 - last access looks reasonable ok 5 - last login looks reasonable ok 6 - last access updated on next request ok 7 - Logout manually ok 8 - user logged out ok 9 - logout not caused by timeout ok 10 - IDLE_FOR idle time exceeded so user logged out ok 11 - logout caused by timeout ok 12 - EVERY idle time exceeded so user logged out ok 13 - CUSTOM idle time exceeded so user logged out ok t/07_protected_runmodes.....1..22 ok 1 - we can register protected runmodes ok 2 - verify that runmode is registered correctly ok 3 - we can register multiple protected runmodes ok 4 - verify that runmodes are cummulative ok 5 - we can register protected runmodes as a regexp ok 6 - verify that this test was added ok 7 - we can register protected runmodes as a subroutine reference ok 8 - verify that this test was added ok 9 - Test 'is_protected_runmode' with valid string ok 10 - Test 'is_protected_runmode' with valid string ok 11 - Test 'is_protected_runmode' with valid string ok 12 - Test 'is_protected_runmode' with valid regexp test string ok 13 - Test 'is_protected_runmode' with valid subroutine test string ok 14 - Test 'is_protected_runmode' with invalid value ok 15 - Test 'is_protected_runmode' with invalid value ok 16 - Test 'is_protected_runmode' with invalid value ok 17 - Test 'is_protected_runmode' with empty string value ok 18 - Test 'is_protected_runmode' with invalid value (arrayref) ok 19 - Test 'is_protected_runmode' with invalid value (arrayref) ok 20 - we can mark all runmodes as protected ok 21 - verify that this test was added ok 22 - Test 'is_protected_runmode' with any string ok t/40_encoder_crypt..........1..4 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::crypt; ok 2 - encode ok 3 - check passes ok 4 - check fails ok t/40_encoder_lc.............1..4 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::lc; ok 2 - filter ok 3 - check passes ok 4 - check fails ok t/40_encoder_md5............1..17 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::md5; ok 2 - filter ok 3 - check passes ok 4 - check fails ok 5 - check passes ok 6 - check fails ok 7 - filter ok 8 - check passes ok 9 - check fails ok 10 - check passes ok 11 - check fails ok 12 - filter ok 13 - check passes ok 14 - check fails ok 15 - filter ok 16 - check passes ok 17 - check fails ok t/40_encoder_sha1...........1..17 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::sha1; ok 2 - filter ok 3 - check passes ok 4 - check fails ok 5 - check passes ok 6 - check fails ok 7 - filter ok 8 - check passes ok 9 - check fails ok 10 - check passes ok 11 - check fails ok 12 - filter ok 13 - check passes ok 14 - check fails ok 15 - filter ok 16 - check passes ok 17 - check fails ok t/40_encoder_strip..........1..4 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::strip; ok 2 - filter ok 3 - check passes ok 4 - check fails ok t/40_encoder_uc.............1..4 ok 1 - use CGI::Application::Plugin::Authentication::Driver::Filter::uc; ok 2 - filter ok 3 - check passes ok 4 - check fails ok t/50_driver_authensimple....1..8 ok 1 - successful login ok 2 - successful login - username set ok 3 - missing credentials - login failure ok 4 - missing credentials - username not set ok 5 - login failure ok 6 - login failure - username not set ok 7 - failed credentials - login failure ok 8 - failed credentials - username not set ok t/50_driver_dbi.............1..74 ok 1 - successful login ok 2 - successful login - username set ok 3 - missing credentials - login failure ok 4 - missing credentials - username not set ok 5 - login failure ok 6 - login failure - username not set ok 7 - successful login ok 8 - successful login - username set ok 9 - missing credentials - login failure ok 10 - missing credentials - username not set ok 11 - login failure ok 12 - login failure - username not set ok 13 - successful login ok 14 - successful login - username set ok 15 - missing credentials - login failure ok 16 - missing credentials - username not set ok 17 - login failure ok 18 - login failure - username not set ok 19 - successful login ok 20 - successful login - username set ok 21 - missing credentials - login failure ok 22 - missing credentials - username not set ok 23 - login failure ok 24 - login failure - username not set ok 25 - successful login ok 26 - successful login - username set ok 27 - missing credentials - login failure ok 28 - missing credentials - username not set ok 29 - login failure ok 30 - login failure - username not set ok 31 - successful login ok 32 - successful login - username set ok 33 - missing credentials - login failure ok 34 - missing credentials - username not set ok 35 - login failure ok 36 - login failure - username not set ok 37 - successful login ok 38 - successful login - username set ok 39 - missing credentials - login failure ok 40 - missing credentials - username not set ok 41 - login failure ok 42 - login failure - username not set ok 43 - successful login ok 44 - successful login - username set ok 45 - missing credentials - login failure ok 46 - missing credentials - username not set ok 47 - login failure ok 48 - login failure - username not set ok 49 - successful login ok 50 - successful login - username set ok 51 - missing credentials - login failure ok 52 - missing credentials - username not set ok 53 - login failure ok 54 - login failure - username not set ok 55 - failed credentials - login failure ok 56 - failed credentials - username not set ok 57 - successful login ok 58 - successful login - username set ok 59 - missing credentials - login failure ok 60 - missing credentials - username not set ok 61 - login failure ok 62 - login failure - username not set ok 63 - failed credentials - login failure ok 64 - failed credentials - username not set ok 65 - failed credentials - login failure ok 66 - failed credentials - username not set ok 67 - failed credentials - login failure ok 68 - failed credentials - username not set ok 69 # skip CGI::Application::Plugin::DBH not available ok 70 # skip CGI::Application::Plugin::DBH not available ok 71 # skip CGI::Application::Plugin::DBH not available ok 72 # skip CGI::Application::Plugin::DBH not available ok 73 # skip CGI::Application::Plugin::DBH not available ok 74 # skip CGI::Application::Plugin::DBH not available ok 6/74 skipped: various reasons t/50_driver_dummy...........1..8 ok 1 - failed credentials - login failure ok 2 - failed credentials - username not set ok 3 - failed credentials - login failure ok 4 - failed credentials - username not set ok 5 - failed credentials - login failure ok 6 - failed credentials - username not set ok 7 - failed credentials - login failure ok 8 - failed credentials - username not set ok t/50_driver_generic.........1..32 ok 1 - successful login ok 2 - successful login - username set ok 3 - missing credentials - login failure ok 4 - missing credentials - username not set ok 5 - login failure ok 6 - login failure - username not set ok 7 - successful login ok 8 - successful login - username set ok 9 - missing credentials - login failure ok 10 - missing credentials - username not set ok 11 - login failure ok 12 - login failure - username not set ok 13 - successful login ok 14 - successful login - username set ok 15 - missing credentials - login failure ok 16 - missing credentials - username not set ok 17 - login failure ok 18 - login failure - username not set ok 19 - successful login ok 20 - successful login - username set ok 21 - missing credentials - login failure ok 22 - missing credentials - username not set ok 23 - login failure ok 24 - login failure - username not set ok 25 - failed credentials - login failure ok 26 - failed credentials - username not set ok 27 - failed credentials - login failure ok 28 - failed credentials - username not set ok 29 - failed credentials - login failure ok 30 - failed credentials - username not set ok 31 - failed credentials - login failure ok 32 - failed credentials - username not set ok t/50_driver_htpasswd........1..30 ok 1 - successful login ok 2 - successful login - username set ok 3 - missing credentials - login failure ok 4 - missing credentials - username not set ok 5 - login failure ok 6 - login failure - username not set ok 7 - successful login ok 8 - successful login - username set ok 9 - missing credentials - login failure ok 10 - missing credentials - username not set ok 11 - login failure ok 12 - login failure - username not set ok 13 - successful login ok 14 - successful login - username set ok 15 - missing credentials - login failure ok 16 - missing credentials - username not set ok 17 - login failure ok 18 - login failure - username not set ok 19 - successful login ok 20 - successful login - username set ok 21 - missing credentials - login failure ok 22 - missing credentials - username not set ok 23 - login failure ok 24 - login failure - username not set ok 25 - successful login ok 26 - successful login - username set ok 27 - missing credentials - login failure ok 28 - missing credentials - username not set ok 29 - login failure ok 30 - login failure - username not set ok t/60_store..................Can't locate CGI/Application/Plugin/Session.pm in @INC (@INC contains: t /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/CGI-Application-Plugin-Authentication/blib/lib /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/CGI-Application-Plugin-Authentication/blib/arch /Users/cpanrun/depot/main/Apps/CPAN_Run/lib /Users/cpanrun/build/5.10.0/site/lib /Users/cpanrun/build/5.10.0/lib .) at t/60_store.t line 19. BEGIN failed--compilation aborted at t/60_store.t line 19. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) t/60_store_cookie...........1..17 ok 1 - Store entry not created when calling unprotected page ok 2 - Store entry not created when calling protected page without valid login ok 3 - Expiry on the cookie is set ok 4 - failed login attempt ok 5 - Store entry created when calling protected page with invalid login ok 6 - Store entry contained the right username ok 7 - Store entry contained the right value for login_attempts ok 8 - Expiry on the cookie is set ok 9 - failed login attempt ok 10 - Store entry created when calling protected page with invalid login ok 11 - Store entry contained the right username ok 12 - Store entry contained the right value for login_attempts ok 13 - Expiry on the cookie is set ok 14 - successful login ok 15 - Store entry created when calling protected page with valid login ok 16 - Store entry contained the right username ok 17 - Store entry cleared login_attempts ok t/60_store_session..........Can't locate CGI/Application/Plugin/Session.pm in @INC (@INC contains: t /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/CGI-Application-Plugin-Authentication/blib/lib /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/CGI-Application-Plugin-Authentication/blib/arch /Users/cpanrun/depot/main/Apps/CPAN_Run/lib /Users/cpanrun/build/5.10.0/site/lib /Users/cpanrun/build/5.10.0/lib .) at t/60_store_session.t line 16. BEGIN failed--compilation aborted at t/60_store_session.t line 16. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) t/98_pod....................1..16 ok 1 - blib/lib/CGI/Application/Plugin/Authentication.pm ok 2 - blib/lib/CGI/Application/Plugin/Authentication/Driver.pm ok 3 - blib/lib/CGI/Application/Plugin/Authentication/Store.pm ok 4 - blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm ok 5 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Dummy.pm ok 6 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm ok 7 - blib/lib/CGI/Application/Plugin/Authentication/Driver/HTPasswd.pm ok 8 - blib/lib/CGI/Application/Plugin/Authentication/Store/Cookie.pm ok 9 - blib/lib/CGI/Application/Plugin/Authentication/Store/Session.pm ok 10 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Authen/Simple.pm ok 11 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/crypt.pm ok 12 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/lc.pm ok 13 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/md5.pm ok 14 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/sha1.pm ok 15 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/strip.pm ok 16 - blib/lib/CGI/Application/Plugin/Authentication/Driver/Filter/uc.pm ok t/99_pod_coverage...........1..0 # Skip Test::Pod::Coverage 1.00 required for testing POD coverage skipped all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/60_store.t 255 65280 ?? ?? ?? t/60_store_session.t 255 65280 ?? ?? ?? 2 tests and 6 subtests skipped. Failed 2/23 test scripts. 0/369 subtests failed. Files=23, Tests=369, 9 wallclock secs ( 3.87 cusr + 1.02 csys = 4.89 CPU) Failed 2/23 test programs. 0/369 subtests failed. make: *** [test_dynamic] Error 255