Bug#1017278: libnet-sip-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2
gregor herrmann
gregoa at debian.org
Sun Aug 14 15:33:36 BST 2022
Control: tag -1 + confirmed
On Sun, 14 Aug 2022 09:46:19 +0200, Lucas Nussbaum wrote:
> Source: libnet-sip-perl
> Version: 0.833-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20220813 ftbfs-bookworm
> > # Failed test 'DTMF audio generator and extractor for codec pcmu works'
> > # at t/24_dtmf_audio.t line 24.
> > # Structures begin differing at:
> > # $got->[12] = 'B'
> > # $expected->[12] = 'A'
> > # Looks like you failed 1 test of 2.
> > t/24_dtmf_audio.t .......................
> > not ok 1 - DTMF audio generator and extractor for codec pcmu works
> > ok 2 - DTMF audio generator and extractor for codec pcma works
> > 1..2
> > Dubious, test returned 1 (wstat 256, 0x100)
> > Failed 1/2 subtests
> > t/25_register_tcp_timeout.t .............
> > 1..4
> > ok 1
> > ok 2
> > ok 3
> > ok 4
> > ok
> >
> > Test Summary Report
> > -------------------
> > t/24_dtmf_audio.t (Wstat: 256 Tests: 2 Failed: 1)
> > Failed test: 1
> > Non-zero exit status: 1
The test still passes for me (cowbuilder amd64):
t/24_dtmf_audio.t .......................
ok 1 - DTMF audio generator and extractor for codec pcmu works
ok 2 - DTMF audio generator and extractor for codec pcma works
1..2
ok
Or not …
My suspicion about "get B expected A" is that this might be a timing
issue; when I run t/24_dtmf_audio.t in a loop and create some load on
my laptop, I indeed get failures after some iterations:
t/24_dtmf_audio.t ..
not ok 1 - DTMF audio generator and extractor for codec pcmu works
# Failed test 'DTMF audio generator and extractor for codec pcmu works'
# at t/24_dtmf_audio.t line 24.
# Structures begin differing at:
# $got->[6] = '7'
# $expected->[6] = '6'
not ok 2 - DTMF audio generator and extractor for codec pcma works
# Failed test 'DTMF audio generator and extractor for codec pcma works'
# at t/24_dtmf_audio.t line 24.
# Structures begin differing at:
# $got->[9] = '*'
# $expected->[9] = '9'
1..2
# Looks like you failed 2 tests of 2.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Looking at the cpan testers at http://matrix.cpantesters.org/?dist=Net-SIP+0.833
we also see failures in t/24_dtmf_audio.t
So this looks a bit fragile; I guess we can disable the test or mark
it TODO, or someone has a better idea on how to fix it.
As a workaround, bumping $duration from 10 too 100 at the top of
t/24_dtmf_audio.t seems to make the test pass for me.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20220814/af4f228b/attachment.sig>
More information about the pkg-perl-maintainers
mailing list