Bug#991649: libhttp-cookiejar-perl: FTBFS: dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Thu Jul 29 16:12:38 BST 2021


Source: libhttp-cookiejar-perl
Version: 0.010-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210728 ftbfs-bullseye

Hi,

During a rebuild of all packages in bullseye, 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
> # 
> # Versions for all modules listed in MYMETA.json (including optional ones):
> # 
> # === Configure Requires ===
> # 
> #     Module              Want Have
> #     ------------------- ---- ----
> #     ExtUtils::MakeMaker 6.17 7.44
> # 
> # === Build Requires ===
> # 
> #     Module              Want Have
> #     ------------------- ---- ----
> #     ExtUtils::MakeMaker  any 7.44
> # 
> # === Test Requires ===
> # 
> #     Module                Want     Have
> #     ------------------- ------ --------
> #     ExtUtils::MakeMaker    any     7.44
> #     File::Spec             any     3.78
> #     Test::Deep             any    1.130
> #     Test::More            0.96 1.302175
> #     Test::Requires         any     0.11
> #     Time::Local         1.1901     1.28
> #     URI                    any     5.08
> #     lib                    any     0.65
> # 
> # === Test Recommends ===
> # 
> #     Module         Want     Have
> #     ---------- -------- --------
> #     CPAN::Meta 2.120900 2.150010
> # 
> # === Runtime Requires ===
> # 
> #     Module        Want  Have
> #     ----------- ------ -----
> #     Carp           any  1.50
> #     HTTP::Date     any  6.05
> #     Time::Local 1.1901  1.28
> #     parent         any 0.238
> #     strict         any  1.11
> #     warnings       any  1.47
> # 
> # === Runtime Recommends ===
> # 
> #     Module                Want    Have
> #     --------------------- ---- -------
> #     Mozilla::PublicSuffix  any missing
> # 
> t/00-report-prereqs.t .. 
> 1..1
> ok 1 - Reported prereqs
> ok
> t/add.t ................ 
> ok 1 - no cookies
> ok 2 - simple key=value
> ok 3 - invalid cookie not stored
> ok 4 - localhost treated as host only
> ok 5 - single domain level treated as host only
> ok 6 - different domain not stored
> ok 7 - subdomain not stored
> ok 8 - superdomain stored
> ok 9 - path prefix /foo/ stored
> ok 10 - path prefix /foo stored
> ok 11 - last cookie wins
> ok 12 - expired supercedes prior
> ok 13 - separated by path
> ok 14 - max-age supercedes expires
> 1..14
> ok
> 
>     #   Failed test at t/examples.t line 42.
>     #          got: ''
>     #     expected: 'lang=en-US'
>     # Looks like you failed 1 test of 2.
> 
> #   Failed test 'expiration'
> #   at t/examples.t line 45.
> # Looks like you failed 1 test of 6.
> t/examples.t ........... 
> ok 1 - An object of class 'HTTP::CookieJar' isa 'HTTP::CookieJar'
> # Subtest: just key & value
>     ok 1
>     1..1
> ok 2 - just key & value
> # Subtest: secure
>     ok 1
>     ok 2
>     1..2
> ok 3 - secure
> # Subtest: not a subdomain
>     ok 1
>     1..1
> ok 4 - not a subdomain
> # Subtest: wrong path
>     ok 1
>     1..1
> ok 5 - wrong path
> # Subtest: expiration
>     not ok 1
>     ok 2
>     1..2
> not ok 6 - expiration
> 1..6
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/6 subtests 
> t/parse.t .............. 
> ok 1 - ''
> ok 2 - SID=
> ok 3 - =31d4d96e407aad42
> ok 4 - ; Max-Age: 1360343635
> ok 5 - SID=31d4d96e407aad42
> ok 6 - SID=ID=31d4d96e407aad42
> ok 7 - SID=31d4d96e407aad42 ; ; ; 
> ok 8 - SID=31d4d96e407aad42; Path=/; Secure; HttpOnly
> ok 9 - SID=31d4d96e407aad42; Domain=.example.com
> ok 10 - SID=31d4d96e407aad42; Path=/; Domain=example.com
> ok 11 - SID=31d4d96e407aad42; Path=/; Domain=
> ok 12 - lang=en-US; Expires = Wed, 09 Jun 2021 10:18:14 GMT
> ok 13 - lang=en-US; Expires = Wed, 09 Jun 2021 10:18:14 GMT; Max-Age=3600
> 1..13
> ok
> t/publicsuffix.t ....... skipped: Test requires module 'Mozilla::PublicSuffix' but it's not found
> t/save.t ............... 
> # Subtest: empty cookie jar
>     ok 1 - dumped zero cookies
>     ok 2 - load new cookie jar
>     ok 3 - second jar is empty
>     1..3
> ok 1 - empty cookie jar
> # Subtest: roundtrip
>     ok 1 - dumped correct number of cookies
>     ok 2 - load new cookie jar
>     ok 3 - second jar has correct count
>     ok 4 - old and new jars are the same
>     1..4
> ok 2 - roundtrip
> # Subtest: persistent
>     ok 1 - dumped correct number of cookies
>     ok 2 - load new cookie jar
>     ok 3 - second jar has correct count
>     1..3
> ok 3 - persistent
> # Subtest: liberal load
>     ok 1 - load_cookies with raw cookies
>     ok 2 - jar has correct count
>     1..2
> ok 4 - liberal load
> 1..4
> ok
> t/sort.t ............... 
> ok 1 - path length
> ok 2 - creation time
> 1..2
> ok
> t/zzz-lwp.t ............ 
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> ok 8
> ok 9
> ok 10
> ok 11
> ok 12
> ok 13
> ok 14
> ok 15
> ok 16
> ok 17
> ok 18
> ok 19
> ok 20
> ok 21
> ok 22
> ok 23
> ok 24
> ok 25
> ok 26
> ok 27
> ok 28
> ok 29
> ok 30
> ok 31
> ok 32
> ok 33
> ok 34
> ok 35
> ok 36
> ok 37
> ok 38
> ok 39
> ok 40
> ok 41
> ok 42 - empty cookie not set
> ok 43 - empty attribute ignored
> ok 44 - version ignored
> ok 45 - far future and past
> ok 46 - merging cookies
> 1..46
> ok
> 
> Test Summary Report
> -------------------
> t/examples.t         (Wstat: 256 Tests: 6 Failed: 1)
>   Failed test:  6
>   Non-zero exit status: 1
> Files=8, Tests=86,  0 wallclock secs ( 0.04 usr  0.01 sys +  0.53 cusr  0.07 csys =  0.65 CPU)
> Result: FAIL
> Failed 1/8 test programs. 1/86 subtests failed.
> make[1]: *** [Makefile:862: test_dynamic] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2

The full build log is available from:
   http://qa-logs.debian.net/2021/07/28/libhttp-cookiejar-perl_0.010-1_testing.log

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 marking 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.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list