Bug#850261: libmodule-starter-perl: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Thu Jan 5 12:56:07 UTC 2017


Package: src:libmodule-starter-perl
Version: 1.710+dfsg-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
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=/<<BUILDDIR>>/libmodule-starter-perl-1.710+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/libmodule-starter-perl-1.710+dfsg=. -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 Module::Starter
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -i
	make -j1

[... snipped ...]

                # Subtest: ignores_type = 1000
                1..0 # SKIP Only testing a 1% sample
            ok 9 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1001
                1..0 # SKIP Only testing a 1% sample
            ok 10 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1010
                1..0 # SKIP Only testing a 1% sample
            ok 11 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1011
                1..0 # SKIP Only testing a 1% sample
            ok 12 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1100
                1..0 # SKIP Only testing a 1% sample
            ok 13 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1101
                1..0 # SKIP Only testing a 1% sample
            ok 14 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1110
                1..0 # SKIP Only testing a 1% sample
            ok 15 # skip Only testing a 1% sample
                # Subtest: ignores_type = 1111
                1..0 # SKIP Only testing a 1% sample
            ok 16 # skip Only testing a 1% sample
        ok 5 - minperl = v5.24.1
    ok 16 - license = lgpl3
ok 5 - builder = Module::Install
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 

Test Summary Report
-------------------
t/test-dist.t     (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=6, Tests=26, 24 wallclock secs ( 4.66 usr  0.67 sys + 13.54 cusr  1.30 csys = 20.17 CPU)
Result: FAIL
Failed 1/6 test programs. 1/26 subtests failed.
Makefile:902: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/libmodule-starter-perl-1.710+dfsg'
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/libmodule-starter-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