Bug#846721: libaudio-mpd-perl: FTBFS: Test failures

gregor herrmann gregoa at debian.org
Sat Dec 3 16:05:10 UTC 2016


Control: tag -1 + confirmed

On Sat, 03 Dec 2016 08:42:45 +0100, Lucas Nussbaum wrote:

> During a rebuild of all packages in sid, your package failed to build on
> amd64.

> > Test Summary Report
> > -------------------
> > t/40-playlist.t        (Wstat: 0 Tests: 14 Failed: 0)
> >   Parse errors: Bad plan.  You planned 24 tests but ran 14.
> > Files=12, Tests=201, 31 wallclock secs ( 0.08 usr  0.03 sys +  7.57 cusr  0.75 csys =  8.43 CPU)
> > Result: FAIL
> > Failed 1/12 test programs. 0/201 subtests failed.

Works for me locally, and on the buildd and on ci.d.n.
But the reproducible builds had a failure as well on 1 of the 3
architectures:

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/libaudio-mpd-perl_2.004-1.rbuild.log

Could not create socket: Connection refused
# Looks like you planned 24 tests but ran 14.
# Looks like your test exited with 256 just after 14.
t/40-playlist.t .......... 
1..24
ok 1 - 'playlist return an Audio::MPD::Playlist object' isa 'Audio::MPD::Playlist'
ok 2 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 3 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 4 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 5 - first song reported first
ok 6 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 7 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 8 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 9 - first song reported first
ok 10 - add() songs
ok 11 - delete() songs
ok 12 - deleteid() songs
ok 13 - clear() leaves 0 songs
ok 14 - clear() changes playlist length
Failed 10/24 subtests 

Test Summary Report
-------------------
t/40-playlist.t        (Wstat: 0 Tests: 14 Failed: 0)
  Parse errors: Bad plan.  You planned 24 tests but ran 14.
Files=12, Tests=201, 40 wallclock secs ( 0.10 usr  0.04 sys + 15.63 cusr  1.72 csys = 17.49 CPU)
Result: FAIL
Failed 1/12 test programs. 0/201 subtests failed.


(Same problem as in Lucas' test: "Could not create socket: Connection
refused".)


Oh, and now I get the failure as well, not during build but with
autopkgtests:

t/40-playlist.t ..........
1..24
ok 1 - 'playlist return an Audio::MPD::Playlist object' isa 'Audio::MPD::Playlist'
ok 2 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 3 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 4 - 'as_items() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 5 - first song reported first
ok 6 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 7 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 8 - 'items_changed_since() returns AMC::Item::Song objects' isa 'Audio::MPD::Common::Item::Song'
ok 9 - first song reported first
ok 10 - add() songs
Could not create socket: Connection refused
# Looks like you planned 24 tests but ran 10.
# Looks like your test exited with 256 just after 10.
Failed 14/24 subtests


Note that here more tests are failing / the connection problem arises
earlier.


We're already skipping t/23-output.t, maybe we should just skip
t/40-playlist.t as well? Better ideas?


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 of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Various Artists: The Two Conneeleys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161203/9fec83bc/attachment.sig>


More information about the pkg-perl-maintainers mailing list