Bug#848408: libapp-termcast-perl: FTBFS randomly (failing tests)

Santiago Vila sanvila at unex.es
Sat Dec 17 12:10:42 UTC 2016


Package: src:libapp-termcast-perl
Version: 0.13-2
Severity: serious

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: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
	perl -I. Makefile.PL INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for App::Termcast
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -i
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/App/Termcast.pm blib/lib/App/Termcast.pm
cp bin/termcast blib/script/termcast
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/termcast
cp bin/stream_ttyrec blib/script/stream_ttyrec
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/stream_ttyrec
Manifying 2 pod documents
Manifying 1 pod document
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
	make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=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-compile.t ......... 
1..3
ok 1 - App/Termcast.pm loaded ok
ok 2 - bin/stream_ttyrec compiled ok
ok 3 - bin/termcast compiled ok
ok
t/basic.t .............. 
ok 1 - got the correct login info
ok 2
ok 3 - got the right thing on stdout
1..3
ok

#   Failed test 'sent the right data to the server'
#   at t/read-write.t line 88.
#          got: 'foo

# foo

# bar

# bar

# '
#     expected: 'foo

# foo

# bar

# bar

# 

# '

#   Failed test at t/read-write.t line 61.
#          got: undef
#     expected: '

# '
# Looks like you failed 2 tests of 5.
t/read-write.t ......... 
ok 1 - got the correct login info
ok 2
ok 3
not ok 4 - sent the right data to the server
not ok 5
1..5
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests 
t/write-to-termcast.t .. 
ok 1 - got the correct login info
ok 2
ok 3 - pty isn't created
1..3
ok

Test Summary Report
-------------------
t/read-write.t       (Wstat: 512 Tests: 5 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2
Files=4, Tests=14, 15 wallclock secs ( 0.03 usr  0.02 sys +  3.79 cusr  0.46 csys =  4.30 CPU)
Result: FAIL
Failed 1/4 test programs. 2/14 subtests failed.
Makefile:877: 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
--------------------------------------------------------------------------------

The failure happens randomly on the single-CPU KVM/QEMU virtual machines
I use as autobuilders. The approximate failure rate is about 3.3%.

I attach several build logs (made on different autobuilders).

If you could not reproduce this using sbuild on a single CPU virtual
machine (as I did), of course trying a lot of times (because of the
failure rate above), please do not downgrade or mark as unreproducible,
I would then consider giving you access to a virtual machine on which
I can reproduce it so that you can as well. (In such case, please
contact me off-list for details).

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161211T072530Z.gz
Type: application/gzip
Size: 7962 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161212T174504Z.gz
Type: application/gzip
Size: 7571 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161216T195955Z.gz
Type: application/gzip
Size: 7508 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161216T201555Z.gz
Type: application/gzip
Size: 7490 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161216T202202Z.gz
Type: application/gzip
Size: 7933 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161216T203820Z.gz
Type: application/gzip
Size: 7578 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapp-termcast-perl_0.13-2_amd64-20161216T211332Z.gz
Type: application/gzip
Size: 7529 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161217/dd5b54bc/attachment-0013.bin>


More information about the pkg-perl-maintainers mailing list