Bug#1054973: libcgi-application-plugin-authentication-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2
Lucas Nussbaum
lucas at debian.org
Sat Oct 28 22:50:26 BST 2023
Source: libcgi-application-plugin-authentication-perl
Version: 0.23+~cs0.5-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231028 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/driver-dbic'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, '../blib/lib', '../blib/arch')" t/*.t
> t/00-signature.t ........ skipped: Set the environment variable TEST_SIGNATURE to enable this test.
> # Testing CGI::Application::Plugin::Authentication::Driver::DBIC 0.02, Perl 5.036000, /usr/bin/perl
> t/01-load.t .............
> 1..1
> ok 1 - use CGI::Application::Plugin::Authentication::Driver::DBIC;
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( \%condition ) instead at /<<PKGBUILDDIR>>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm line 121
> t/authenticate.t ........
> 1..8
> ok 1 - missing credentials - login failure
> ok 2 - missing credentials - username not set
> ok 3 - successful login
> ok 4 - successful login - username set
> ok 5 - successful login - failed login count
> ok 6 - login failure
> ok 7 - login failure - username not set
> ok 8 - login failure - failed login count
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( \%condition ) instead at /<<PKGBUILDDIR>>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm line 121
> t/authenticate_crypt.t ..
> 1..3
> ok 1 - successful login crypt
> ok 2 - successful login crypt - username set
> ok 3 - successful login crypt - failed login count
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use search( \%condition ) instead at /<<PKGBUILDDIR>>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm line 121
> t/authenticate_md5.t ....
> 1..3
> ok 1 - successful login MD5
> ok 2 - successful login MD5 - username set
> ok 3 - successful login MD5 - failed login count
> ok
> t/pod-coverage.t ........ skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
> t/pod.t ................. skipped: Test::Pod 1.14 required for testing POD
> All tests successful.
> Files=7, Tests=15, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.97 cusr 0.20 csys = 1.21 CPU)
> Result: PASS
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/driver-dbic'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
> t/01_basic.t ........................
> 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 - An object of class 'CGI::Application::Plugin::Authentication' isa 'CGI::Application::Plugin::Authentication'
> ok 6 - An object of class 'CGI::Application::Plugin::Authentication' 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.t .......................
> 1..69
> ok 1 - All config parameters accepted
> ok 2 - credentials set
> ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Driver::Generic' isa 'CGI::Application::Plugin::Authentication::Driver::Generic'
> ok 4 - An object of class 'Store::Dummy' 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.t .................
> 1..11
> ok 1 - missing credentials - login failure
> ok 2 - missing credentials - username not set
> ok 3 - missing credentials - POST_LOGIN_CALLBACK executed
> ok 4 - successful login
> ok 5 - successful login - username set
> ok 6 - successful login - failed login count
> ok 7 - successful login - POST_LOGIN_CALLBACK executed
> ok 8 - login failure
> ok 9 - login failure - username not set
> ok 10 - login failure - failed login count
> ok 11 - login failure - POST_LOGIN_CALLBACK executed
> ok
>
> # Failed test 'redirection'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | 1|'Status: 302 Found |'Status: 302 Found |
> # * 2|Set-Cookie: CAPAUTH_DATA=bGFzdF9sb2dpbj0xNjk4NTA4OTM4AHVzZXJuYW1lPXVzZXIxAGxhc3RfYWNjZXNzPTE2OTg1MDg5MzgAbG9naW5fYXR0ZW1wdHM9MABjPUtRbDdDY25CMnp2QWd0RVg1ZjJRZFNUZG5VOA%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 3|Date |Date |
> # | 4|Location: http://news.bbc.co.uk |Location: http://news.bbc.co.uk |
> # | 5| | |
> # | 6|' |' |
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'straightforward use of destination parameter'
> # at t/03_destination.t line 84.
>
> # Failed test 'crlf'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=bGFzdF9hY2Nlc3M9MTY5ODUwODkzOABsYXN0X2xvZ2luPTE2OTg1MDg5MzgAdXNlcm5hbWU9dXNlcjEAbG9naW5fYXR0ZW1wdHM9MABjPUtRbDdDY25CMnp2QWd0RVg1ZjJRZFNUZG5VOA%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # | 5|<html><body>TWO</body></html>' |<html><body>TWO</body></html>' |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'redirection including CRLF'
> # at t/03_destination.t line 97.
>
> # Failed test 'restricted'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=bGFzdF9hY2Nlc3M9MTY5ODUwODkzOABsYXN0X2xvZ2luPTE2OTg1MDg5MzgAdXNlcm5hbWU9dXNlcjEAYz1LUWw3Q2NuQjJ6dkFndEVYNWYyUWRTVGRuVTgAbG9naW5fYXR0ZW1wdHM9MA%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # | 5|<html><body>TWO</body></html>' |<html><body>TWO</body></html>' |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'redirection with constraining taint check'
> # at t/03_destination.t line 111.
>
> # Failed test 'username'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=Yz1jam1sNXdGa1U4LzVjeUZpWU5INU0wVk9YN3MAbG9naW5fYXR0ZW1wdHM9MQ%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'user name failing taint check'
> # at t/03_destination.t line 125.
>
> # Failed test 'username basic'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=bG9naW5fYXR0ZW1wdHM9MQBjPWNqbWw1d0ZrVTgvNWN5RmlZTkg1TTBWT1g3cw%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # +---+-----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'user name failing taint check - basic'
> # at t/03_destination.t line 140.
>
> # Failed test 'loginurl'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | 1|'Status: 302 Found |'Status: 302 Found |
> # * 2|Set-Cookie: CAPAUTH_DATA=bG9naW5fYXR0ZW1wdHM9MABjPUtRbDdDY25CMnp2QWd0RVg1ZjJRZFNUZG5VOABsYXN0X2xvZ2luPTE2OTg1MDg5MzgAdXNlcm5hbWU9dXNlcjEAbGFzdF9hY2Nlc3M9MTY5ODUwODkzOA%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 3|Date |Date |
> # | 4|Location: http://www.perl.org |Location: http://www.perl.org |
> # | 5| | |
> # | 6|' |' |
> # +---+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # Looks like you failed 1 test of 5.
>
> # Failed test 'POST_LOGIN_URL usage'
> # at t/03_destination.t line 154.
>
> # Failed test 'runmode'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=bGFzdF9hY2Nlc3M9MTY5ODUwODkzOABsYXN0X2xvZ2luPTE2OTg1MDg5MzgAdXNlcm5hbWU9dXNlcjEAYz1LUWw3Q2NuQjJ6dkFndEVYNWYyUWRTVGRuVTgAbG9naW5fYXR0ZW1wdHM9MA%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # | 5|<html><body>THREE</body></html>' |<html><body>THREE</body></html>' |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 6.
>
> # Failed test 'POST_LOGIN_RUNMODE usage'
> # at t/03_destination.t line 173.
>
> # Failed test 'logout'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+--------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+--------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # | 1|'Status: 302 Found |'Status: 302 Found |
> # * 2|Set-Cookie: CAPAUTH_DATA=Yz1nRTlDT2xaUUZvV0didVpKRGZ0NURwY0ZlcGM%3D; path=/; expires=Sun, 27 Oct 2024 16:02:18 GMT |Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 3|Date |Date |
> # | 4|Location: / |Location: / |
> # | 5| | |
> # | 6|' |' |
> # +---+--------------------------------------------------------------------------------------------------------------------+----------------------------------------------+
> # Looks like you failed 1 test of 2.
>
> # Failed test 'LOGOUT usage'
> # at t/03_destination.t line 184.
> # Looks like you failed 8 tests of 11.
> t/03_destination.t ..................
> 1..11
> ok 1 - taint checking is on
> # Subtest: straightforward use of destination parameter
> 1..5
> not ok 1 - redirection
> ok 2 - login success
> ok 3 - login success - username set
> ok 4 - successful login - failed login count
> ok 5 - successful login - POST_LOGIN_CALLBACK executed
> not ok 2 - straightforward use of destination parameter
> # Subtest: redirection including CRLF
> 1..5
> not ok 1 - crlf
> ok 2 - login success
> ok 3 - login success - username set
> ok 4 - successful login - failed login count
> ok 5 - successful login - POST_LOGIN_CALLBACK executed
> not ok 3 - redirection including CRLF
> # Subtest: redirection with constraining taint check
> 1..5
> not ok 1 - restricted
> ok 2 - login success
> ok 3 - login success - username set
> ok 4 - successful login - failed login count
> ok 5 - successful login - POST_LOGIN_CALLBACK executed
> not ok 4 - redirection with constraining taint check
> # Subtest: user name failing taint check
> 1..5
> not ok 1 - username
> ok 2 - login failure
> ok 3 - login failure - username not set
> ok 4 - failed login - failed login count
> ok 5 - failed login - POST_LOGIN_CALLBACK executed
> not ok 5 - user name failing taint check
> # Subtest: user name failing taint check - basic
> 1..5
> not ok 1 - username basic
> ok 2 - login failure
> ok 3 - login failure - username not set
> ok 4 - failed login - failed login count
> ok 5 - failed login - POST_LOGIN_CALLBACK executed
> not ok 6 - user name failing taint check - basic
> # Subtest: POST_LOGIN_URL usage
> 1..5
> not ok 1 - loginurl
> ok 2 - login success
> ok 3 - login success - username set
> ok 4 - successful login - failed login count
> ok 5 - successful login - POST_LOGIN_CALLBACK executed
> not ok 7 - POST_LOGIN_URL usage
> # Subtest: POST_LOGIN_RUNMODE usage
> 1..6
> ok 1 - checking generated warning
> not ok 2 - runmode
> ok 3 - login success
> ok 4 - login success - username set
> ok 5 - successful login - failed login count
> ok 6 - successful login - POST_LOGIN_CALLBACK executed
> not ok 8 - POST_LOGIN_RUNMODE usage
> # Subtest: LOGOUT usage
> 1..2
> not ok 1 - logout
> ok 2 - logout success
> not ok 9 - LOGOUT usage
> # Subtest: Redirection failure
> 1..1
> ok 1 - redirection_failure
> ok 10 - Redirection failure
> # Subtest: Redirection failure [Basic]
> 1..1
> ok 1 - redirection_failure [Basic]
> ok 11 - Redirection failure [Basic]
> Dubious, test returned 8 (wstat 2048, 0x800)
> Failed 8/11 subtests
> # Color::Calc required for this sub test
> # Color::Calc required for this sub test
> # Color::Calc required for this sub test
> # Color::Calc required for this sub test
> t/03_login_box.t ....................
> 1..7
> ok 1 - taint checking is on
> # Subtest: default
> 1..11
> ok 1 - default - login failure
> ok 2 - default - username not set
> ok 3 - default - POST_LOGIN_CALLBACK executed
> ok 4 - default - _detaint_destination
> ok 5 - default - _detaint_destination untainted
> ok 6 - default - _detaint_selfurl
> ok 7 - default - _detaint_selfurl untainted
> ok 8 - default - _detaint_url
> ok 9 - default - _detaint_url untainted
> not ok 10 - default - verify login box # TODO Checking output against past runs is incompatible with
> random hash order. URLs with params are generated from the keys of a
> hash and thus each run can have some minor differences in URLs.
> # Failed test 'default - verify login box'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +----+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> # | Ln|Got |Expected |
> # +----+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> # | 162| </div> | </div> |
> # | 163| </div> | </div> |
> # | 164| </div> | </div> |
> # * 165| <input type="hidden" name="destination" value="http://localhost?authen_username=user1;rm=two" /> | <input type="hidden" name="destination" value="http://localhost?rm=two;authen_username=user1" /> *
> # | 166| <input type="hidden" name="rm" value="authen_login" /> | <input type="hidden" name="rm" value="authen_login" /> |
> # | 167|</form> |</form> |
> # | 168|<script type="text/javascript" language="JavaScript">document.loginform.authen_username.select(); |<script type="text/javascript" language="JavaScript">document.loginform.authen_username.select(); |
> # +----+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> ok 11 - default - check login box taint
> ok 2 - default
> # Subtest: cosmetic
> 1..11
> ok 1 - cosmetic - login failure
> ok 2 - cosmetic - username not set
> ok 3 - cosmetic - POST_LOGIN_CALLBACK executed
> ok 4 - cosmetic - _detaint_destination
> ok 5 - cosmetic - _detaint_destination untainted
> ok 6 - cosmetic - _detaint_selfurl
> ok 7 - cosmetic - _detaint_selfurl untainted
> ok 8 - cosmetic - _detaint_url
> ok 9 - cosmetic - _detaint_url untainted
> not ok 10 - cosmetic - verify login box # TODO Checking output against past runs is incompatible with
> random hash order. URLs with params are generated from the keys of a
> hash and thus each run can have some minor differences in URLs.
> # Failed test 'cosmetic - verify login box'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> # | Ln|Got |Expected |
> # +---+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> # | 24| </div> | </div> |
> # | 25| </div> | </div> |
> # | 26| </div> | </div> |
> # * 27| <input type="hidden" name="destination" value="http://localhost?authen_username=user1;rm=two" /> | <input type="hidden" name="destination" value="http://localhost?rm=two;authen_username=user1" /> *
> # | 28| <input type="hidden" name="rm" value="authen_login" /> | <input type="hidden" name="rm" value="authen_login" /> |
> # | 29|</form> |</form> |
> # | 30|<script type="text/javascript" language="JavaScript">document.loginform.authen_username.select(); |<script type="text/javascript" language="JavaScript">document.loginform.authen_username.select(); |
> # +---+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------+
> ok 11 - cosmetic - check login box taint
> ok 3 - cosmetic
> ok 4 - red
> ok 5 - green
> ok 6 - grey_extra
> ok 7 - grey_extra2
> ok
> t/03_login_box_basic.t ..............
> 1..6
> ok 1 - taint checking is on
> # Subtest: empty
> 1..14
> ok 1 - login failure
> ok 2 - username not set
> ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display'
> ok 4 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display::Basic'
> ok 5 - title
> ok 6 - login box
> ok 7 - logout_form
> ok 8 - is_authenticated
> ok 9 - username
> ok 10 - last_login
> ok 11 - last_access
> ok 12 - is_login_timeout
> ok 13 - login_attempts
> ok 14 - not authenticated
> ok 2 - empty
> # Subtest: authenticated
> 1..14
> ok 1 - login success
> ok 2 - username set
> ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display'
> ok 4 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display::Basic'
> ok 5 - title
> ok 6 - login box
> ok 7 - logout_form
> ok 8 - is_authenticated
> ok 9 - username
> ok 10 - last_login
> ok 11 - last_access
> ok 12 - is_login_timeout
> ok 13 - login_attempts
> ok 14 - authenticated
> ok 3 - authenticated
> # Subtest: failure_and_options
> 1..8
> ok 1 - login failure
> ok 2 - username not set
> ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display'
> ok 4 - An object of class 'CGI::Application::Plugin::Authentication::Display::Basic' isa 'CGI::Application::Plugin::Authentication::Display::Basic'
> ok 5 - title
> ok 6 - login box
> ok 7 - logout_form
> ok 8 - is_authenticated
> ok 4 - failure_and_options
> # Subtest: null
> 1..14
> ok 1 - login failure
> ok 2 - username not set
> ok 3 - An object of class 'CGI::Application::Plugin::Authentication::Display::Null' isa 'CGI::Application::Plugin::Authentication::Display'
> ok 4 - An object of class 'CGI::Application::Plugin::Authentication::Display::Null' isa 'CGI::Application::Plugin::Authentication::Display::Null'
> ok 5 - title
> ok 6 - login box
> ok 7 - logout_form
> ok 8 - is_authenticated
> ok 9 - username
> ok 10 - last_login
> ok 11 - last_access
> ok 12 - is_login_timeout
> ok 13 - login_attempts
> ok 14 - not authenticated
> ok 5 - null
> ok 6 - no warnings
> ok
> # Color::Calc required
> t/03_login_box_other.t .............. skipped: Color::Calc required
> t/03_missing_color.t ................
> 1..4
> ok 1 - taint checking is on
> # Subtest: Base color
> 1..2
> ok 1 - checking generated warning
> ok 2 - Missing color
> ok 2 - Base color
> # Subtest: No Base color
> 1..1
> ok 1 - Missing color
> ok 3 - No Base color
> ok 4 - no warnings
> ok
> t/04_attributes.t ...................
> 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.t ..................
> 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
> # The following tests have some small time delays
> t/06_timeout.t ......................
> 1..13
> 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.t ...........
> 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.t ................
> 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.t ...................
> 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.t ..................
> 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.t .................
> 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.t ................
> 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.t ...................
> 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_missing_modules.t .......
> 1..11
> ok 1 - taint checking is on
> ok 2 - nothing cached yet
> ok 3 - We should have just one driver
> ok 4 - cached now
> ok 5 - crypt - salt=UDI
> ok 6 - crypt - salt=JJJ
> ok 7 - crypt - no salt
> ok 8 - crypt - bland salt
> ok 9 - undefined filter
> ok 10 - Digest::MD5 not present
> ok 11 - Digest::SHA not present
> ok
> t/50_driver_undefined.t .............
> 1..46
> ok 1 - taint checking is on
> ok 2 - We should have just one driver
> ok 3 - Tom
> ok 4 - Dick
> ok 5 - Harry
> ok 6 - undefined function caught okay
> ok 7 - nothing cached yet
> ok 8 - We should have just one driver
> ok 9 - cached now
> ok 10 - We should have just one driver
> ok 11 - test caching
> ok 12 - Tom
> ok 13 - Dick
> ok 14 - Harry
> ok 15 - We should have just one driver
> ok 16 - 'Dummy is the default driver' isa 'CGI::Application::Plugin::Authentication::Driver::Dummy'
> ok 17 - Non existent driver
> ok 18 - Suicidal driver
> ok 19 - nothing cached yet
> ok 20 - We should have just one driver
> ok 21 - cached now
> ok 22 - crypt - salt=UDI
> ok 23 - crypt - salt=JJJ
> ok 24 - crypt - no salt
> ok 25 - crypt - bland salt
> ok 26 - undefined filter
> ok 27 - Unknown MD5 parameter
> ok 28 - Unknown SHA1 parameter
> ok 29 - nothing cached yet
> ok 30 - We should have just one driver
> ok 31 - cached now
> ok 32 - undefined filter
> ok 33 - undefined filter
> ok 34 - nothing cached yet
> ok 35 - We should have just one driver
> ok 36 - cached now
> ok 37 - undefined filter
> ok 38 - nothing cached yet
> ok 39 - We should have just one driver
> ok 40 - cached now
> ok 41 - custom filter
> ok 42 - Unknown options for Generic Driver
> ok 43 - The DBI driver requires a hash of options
> ok 44 - No DBH
> ok 45 - undefined username
> ok 46
> ok
> t/51_driver_dummy.t .................
> 1..8
> ok 1 - good credentials - login success
> ok 2 - good credentials - username set
> ok 3 - good credentials - login success
> ok 4 - good credentials - username set
> ok 5 - good credentials - login success
> ok 6 - good credentials - username set
> ok 7 - good credentials - login success
> ok 8 - good credentials - username set
> ok
> t/52_driver_generic.t ...............
> 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/53_driver_dbi.t ...................
> 1..90
> 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 - successful login
> ok 64 - successful login - username set
> ok 65 - missing credentials - login failure
> ok 66 - missing credentials - username not set
> ok 67 - login failure
> ok 68 - login failure - username not set
> ok 69 - failed credentials - login failure
> ok 70 - failed credentials - username not set
> ok 71 - failed credentials - login failure
> ok 72 - failed credentials - username not set
> ok 73 - successful login
> ok 74 - successful login - username set
> ok 75 - missing credentials - login failure
> ok 76 - missing credentials - username not set
> ok 77 - login failure
> ok 78 - login failure - username not set
> ok 79 - failed credentials - login failure
> ok 80 - failed credentials - username not set
> ok 81 - failed credentials - login failure
> ok 82 - failed credentials - username not set
> ok 83 - failed credentials - login failure
> ok 84 - failed credentials - username not set
> ok 85 - successful login
> ok 86 - successful login - username set
> ok 87 - missing credentials - login failure
> ok 88 - missing credentials - username not set
> ok 89 - login failure
> ok 90 - login failure - username not set
> ok
> t/53_driver_dbi_bad.t ...............
> 1..9
> ok 1 - no TABLE
> ok 2 - COLUMNS not a hashref
> ok 3 - CONSTRAINTS not a hashref
> ok 4 - DBI syntax error
> ok 5 - DBD:SQLite
> ok 6 - good credentials - login success
> ok 7 - good credentials - username set
> ok 8 - failed credentials - login failure
> ok 9 - failed credentials - username not set
> ok
> t/53_driver_dbi_die.t ...............
> 1..1
> ok 1 - throws error correctly
> ok
> t/53_driver_dbi_syntax.t ............
> 1..2
> ok 1 - Syntax error
> ok 2 - checking warnings
> ok
> t/54_driver_htpasswd.t ..............
> 1..31
> 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 - no htpasswd files
> ok
> t/55_driver_authensimple.t ..........
> 1..11
> 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 9 - failed credentials - login failure
> ok 10 - failed credentials - username not set
> ok 11 - impossible case
> ok
> t/55_driver_authensimple_die.t ......
> 1..1
> ok 1 - throws error correctly
> ok
> t/55_driver_missing_authensimple.t ..
> 1..4
> ok 1 - nothing cached yet
> ok 2 - We should have just one driver
> ok 3 - cached now
> ok 4 - missing Authen::Simple
> ok
> t/60_parsimony.t ....................
> 1..6
> ok 1 - TestAppParsimony, unprotected (header match)
> ok 2 - TestAppParsimony, unprotected (body match)
> ok 3 - TestAppParsimony, protected (header match)
> ok 4 - TestAppParsimony, protected (body match)
> ok 5 - TestAppParsimony, unprotected reprise (header match)
> ok 6 - TestAppParsimony, unprotected reprise (body match)
> ok
> t/60_store.t ........................
> 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 - failed login attempt
> ok 4 - Store entry created when calling protected page with invalid login
> ok 5 - Store entry contained the right username
> ok 6 - Store entry contained the right value for login_attempts
> ok 7 - failed login attempt
> ok 8 - Store entry created when calling protected page with invalid login
> ok 9 - Store entry contained the right username
> ok 10 - Store entry contained the right value for login_attempts
> ok 11 - successful login
> ok 12 - Store entry created when calling protected page with valid login
> ok 13 - Store entry contained the right username
> ok 14 - Store entry cleared login_attempts
> ok 15 - Store dies when fetch is called without being overridden in the subclass
> ok 16 - Store dies when save is called without being overridden in the subclass
> ok 17 - Store dies when delete is called without being overridden in the subclass
> ok
> t/60_store_cookie.t .................
> 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.t ................
> 1..14
> 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 - failed login attempt
> ok 4 - Store entry created when calling protected page with invalid login
> ok 5 - Store entry contained the right username
> ok 6 - Store entry contained the right value for login_attempts
> ok 7 - failed login attempt
> ok 8 - Store entry created when calling protected page with invalid login
> ok 9 - Store entry contained the right username
> ok 10 - Store entry contained the right value for login_attempts
> ok 11 - successful login
> ok 12 - Store entry created when calling protected page with valid login
> ok 13 - Store entry contained the right username
> ok 14 - Store entry cleared login_attempts
> ok
> t/61_cookie_badargs.t ...............
> 1..2
> ok 1 - invalid args
> ok 2 - no warnings
> ok
> t/61_store_cookie_noexpiry.t ........
> 1..21
> 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 not set
> ok 4 - bad SECRET warning
> ok 5 - failed login attempt
> ok 6 - Store entry created when calling protected page with invalid login
> ok 7 - Store entry contained the right username
> ok 8 - Store entry contained the right value for login_attempts
> ok 9 - Expiry on the cookie is not set
> ok 10 - bad SECRET warning
> ok 11 - failed login attempt
> ok 12 - Store entry created when calling protected page with invalid login
> ok 13 - Store entry contained the right username
> ok 14 - Store entry contained the right value for login_attempts
> ok 15 - Expiry on the cookie is not set
> ok 16 - bad SECRET warning
> ok 17 - successful login
> ok 18 - Store entry created when calling protected page with valid login
> ok 19 - Store entry contained the right username
> ok 20 - Store entry cleared login_attempts
> ok 21 - no warnings
> ok
> t/61_store_cookie_other.t ...........
> 1..25
> 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 - bad SECRET warning
> ok 5 - failed login attempt
> ok 6 - Store entry created when calling protected page with invalid login
> ok 7 - Store entry contained the right username
> ok 8 - Store entry contained the right value for login_attempts
> ok 9 - Expiry on the cookie is set
> ok 10 - bad SECRET warning
> ok 11 - failed login attempt
> ok 12 - Store entry created when calling protected page with invalid login
> ok 13 - Store entry contained the right username
> ok 14 - Store entry contained the right value for login_attempts
> ok 15 - Expiry on the cookie is set
> ok 16 - bad SECRET warning
> ok 17 - successful login
> ok 18 - Store entry created when calling protected page with valid login
> ok 19 - Store entry contained the right username
> ok 20 - Store entry cleared login_attempts
> ok 21 - decode nothing
> ok 22 - decode warning
> ok 23 - decode nonsense
> ok 24 - decode nonsense with secret
> ok 25 - no warnings
> ok
> t/70_action_dispatch.t .............. skipped: CGI::Application::Plugin::ActionDispatch required
>
> # Failed test 'success'
> # at /usr/share/perl5/Test/Regression.pm line 92.
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # | Ln|Got |Expected |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # * 1|'Set-Cookie: CAPAUTH_DATA=dXNlcm5hbWU9dXNlcjEAYz05bjNLV0xWekpIMXpCcURTOWhQTGFyZERTRm8AbG9naW5fYXR0ZW1wdHM9MABsYXN0X2FjY2Vzcz0xNjk4NTA4OTQ1AGxhc3RfbG9naW49MTY5ODUwODk0NQ%3D%3D; path=/; expires=Sun, 27 Oct 2024 16:02:25 GMT |'Set-Cookie: CAPAUTH_DATA=; path=/; expires=; *
> # | 2|Date |Date |
> # | 3|Content-Type: text/html; charset=ISO-8859-1 |Content-Type: text/html; charset=ISO-8859-1 |
> # | 4| | |
> # +---+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------+
> # Looks like you failed 1 test of 4.
>
> # Failed test 'successful login'
> # at t/80_devpopup.t line 107.
> # Looks like you failed 1 test of 4.
> t/80_devpopup.t .....................
> 1..4
> ok 1 - taint checking is on
> # Subtest: front page
> 1..2
> ok 1 - frontpage
> ok 2 - not authenticated
> ok 2 - front page
> # Subtest: interception
> 1..2
> ok 1 - login
> ok 2 - not authenticated
> ok 3 - interception
> # Subtest: successful login
> 1..4
> not ok 1 - success
> ok 2 - login success
> ok 3 - login success - username set
> ok 4 - successful login - failed login count
> not ok 4 - successful login
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/4 subtests
> t/98_pod.t .......................... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
> t/99_pod_coverage.t ................. skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
> t/author-pod-syntax.t ............... skipped: these tests are for testing by the author
> t/changes.t ......................... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
> t/manifest.t ........................ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
> t/podspell.t ........................ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
> t/prereq.t .......................... skipped: Author test. Set $ENV{TEST_PREREQ} to a true value to run.
> t/release-changes_has_content.t ..... skipped: these tests are for release candidate testing
>
> Test Summary Report
> -------------------
> t/03_destination.t (Wstat: 2048 (exited 8) Tests: 11 Failed: 8)
> Failed tests: 2-9
> Non-zero exit status: 8
> t/80_devpopup.t (Wstat: 256 (exited 1) Tests: 4 Failed: 1)
> Failed test: 4
> Non-zero exit status: 1
> Files=47, Tests=575, 8 wallclock secs ( 0.16 usr 0.10 sys + 4.17 cusr 0.78 csys = 5.21 CPU)
> Result: FAIL
> Failed 2/47 test programs. 9/575 subtests failed.
> make[2]: *** [Makefile:944: test_dynamic] Error 255
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2
The full build log is available from:
http://qa-logs.debian.net/2023/10/28/libcgi-application-plugin-authentication-perl_0.23+~cs0.5-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231028;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231028&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-perl-maintainers
mailing list