Bug#1054774: libcgi-application-plugin-session-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:31:20 BST 2023


Source: libcgi-application-plugin-session-perl
Version: 1.05-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> 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..15
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - Retrieved Session Config
> ok 6 - session_config called after session created
> ok 7 - session found
> ok 8 - session parameter retrieved
> ok 9 - session cookie set
> ok 10 - session found
> ok 11 - session parameter retrieved
> ok 12 - session cookie not set
> ok 13 - session created
> ok 14 - session parameter not found
> ok 15 - session cookie set
> ok
> t/02_cookie.t ............. 
> 1..7
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - domain found in cookie
> ok 6 - path found in cookie
> ok 7 - expires found in cookie
> ok
> t/03_nocookie.t ........... 
> 1..4
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie not set
> ok 4 - found session id
> ok
> t/04_cgisimple.t .......... 
> 1..12
> ok 1 - session created
> ok 2 - using CGI::Simple
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - session found
> ok 6 - session parameter retrieved
> ok 7 - using CGI::Simple
> ok 8 - session cookie not set
> ok 9 - session created
> ok 10 - session parameter not found
> ok 11 - using CGI::Simple
> ok 12 - session cookie set
> ok
> t/05_sid.t ................ 
> 1..10
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - session found
> ok 6 - session parameter retrieved
> ok 7 - session cookie not set
> ok 8 - session created
> ok 9 - session parameter not found
> ok 10 - session cookie set
> ok
> 
> #   Failed test 'Expiry should not change'
> #   at t/06_expiry.t line 69.
> #          got: undef
> #     expected: '-1'
> # Looks like you failed 1 test of 16.
> t/06_expiry.t ............. 
> 1..16
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - expiry set correctly
> ok 3 - session cookie set
> ok 4 - session cookie expiry set
> ok 5 - found session id
> ok 6 - expiry set correctly
> ok 7 - session cookie set
> ok 8 - session cookie expiry set
> ok 9 - Expiry should not change
> ok 10 - found session id
> ok 11 - Session was reused
> ok 12 - expiry set correctly
> ok 13 - session cookie set
> ok 14 - session cookie expiry set
> not ok 15 - Expiry should not change
> ok 16 - found session id
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/16 subtests 
> t/07_defaults.t ........... 
> 1..3
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - found session id
> ok
> t/08_notcgipm.t ........... 
> 1..13
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - session found
> ok 6 - session parameter retrieved
> ok 7 - session cookie set
> ok 8 - session found
> ok 9 - session parameter retrieved
> ok 10 - session cookie not set
> ok 11 - session created
> ok 12 - session parameter not found
> ok 13 - session cookie set
> ok
> t/09_options.t ............ 
> 1..9
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - CGI_SESSION_OPTIONS defined
> ok 3 - SEND_COOKIE defined
> ok 4 - DEFAULT_EXPIRY defined
> ok 5 - COOKIE_PARAMS defined
> ok 6 - Can not call config_session after session created
> ok 7 - CGI_SESSION_OPTIONS should be an arrayref
> ok 8 - COOKIE_PARAMS should be a hashref
> ok 9 - invalid option
> ok
> t/10_sessioncookie.t ...... 
> 1..17
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - domain found in cookie
> ok 6 - path found in cookie
> ok 7 - expires not found in cookie
> ok 8 - existing session cookie was deleted
> ok 9 - new session cookie set
> ok 10 - found session id
> ok 11 - existing session cookie was deleted
> ok 12 - new session cookie set
> ok 13 - existing cookie was not deleted
> ok 14 - found session id
> ok 15 - new session cookie set
> ok 16 - existing cookie was not deleted
> ok 17 - found session id
> ok
> t/11_sessiondelete.t ...... 
> 1..20
> ok 1 - use CGI::Application::Plugin::Session;
> ok 2 - session created
> ok 3 - session cookie set
> ok 4 - found session id
> ok 5 - vanilla output came through ok
> ok 6 - new session cookie not in output
> ok 7 - delete session cookie in output
> ok 8 - expirations are different
> ok 9 # skip Date::Parse not installed
> ok 10 # skip Date::Parse not installed
> ok 11 - session_delete wiped the flat file ok
> ok 12 - vanilla output came through ok
> ok 13 - new session cookie not in output
> ok 14 - delete session cookie in output
> ok 15 - test cookie in output
> ok 16 - second test cookie in output
> ok 17 - vanilla output came through ok
> ok 18 - new session cookie not in output
> ok 19 - delete session cookie in output
> ok 20 - test cookie in output
> ok
> t/12_badconfig.t .......... 
> 1..3
> ok 1 - creation of CGI::Session object fails with a bad config
> ok 2 - cookie and session name don't match
> ok 3
> ok
> t/13_sessioncookiename.t .. 
> 1..2
> ok 1 - session in output
> ok 2 - session cookie with custom name
> ok
> t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
> t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
> 
> Test Summary Report
> -------------------
> t/06_expiry.t           (Wstat: 256 (exited 1) Tests: 16 Failed: 1)
>   Failed test:  15
>   Non-zero exit status: 1
> Files=15, Tests=131,  2 wallclock secs ( 0.08 usr  0.04 sys +  1.64 cusr  0.28 csys =  2.04 CPU)
> Result: FAIL
> Failed 1/15 test programs. 1/131 subtests failed.
> make[1]: *** [Makefile:835: test_dynamic] Error 255
> make[1]: 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/27/libcgi-application-plugin-session-perl_1.05-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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