Bug#852641: libplack-app-proxy-perl: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Wed Jan 25 23:03:52 UTC 2017


Package: src:libplack-app-proxy-perl
Version: 0.29-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
	perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Plack::App::Proxy
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -i
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'

[... snipped ...]

#   Failed test at t/middleware/rewrite.t line 36.
#          got: undef
#     expected: 'http://perl.org/'
# Looks like you failed 2 tests of 16.
t/middleware/rewrite.t .............. 
not ok 1
ok 2
not ok 3
ok 4
ok 5
ok 6
ok 7 - got right status for request at /foo
ok 8 - got right proxied redirect URL
ok 9 - got right non-proxied redirect URL
ok 10 - got right status for request at /foo
ok 11 - got right proxied redirect URL
ok 12 - got right non-proxied redirect URL
ok 13
ok 14 - Location header should be rewritten
ok 15
ok 16 - Location header should be rewritten
1..16
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests 
t/status.t .......................... 
ok 1
ok 2
1..2
ok

Test Summary Report
-------------------
t/middleware/rewrite.t            (Wstat: 512 Tests: 16 Failed: 2)
  Failed tests:  1, 3
  Non-zero exit status: 2
Files=11, Tests=155,  3 wallclock secs ( 0.06 usr  0.01 sys +  2.79 cusr  0.64 csys =  3.50 CPU)
Result: FAIL
Failed 1/11 test programs. 2/155 subtests failed.
Makefile:804: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/libplack-app-proxy-perl/

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).

Thanks.



More information about the pkg-perl-maintainers mailing list