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

2016-12-03 Thread gregor herrmann
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


signature.asc
Description: Digital Signature


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

2016-12-03 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + confirmed
Bug #846721 [src:libaudio-mpd-perl] libaudio-mpd-perl: FTBFS: Test failures
Added tag(s) confirmed.

-- 
846721: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846721
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2016-12-03 Thread Lucas Nussbaum
Source: libaudio-mpd-perl
Version: 2.004-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161202 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> 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, 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.
> dh_auto_test: perl Build test --verbose 1 --test_files=t/21-new.t t/24-info.t 
> t/author-pod-coverage.t t/00-compile.t t/author-pod-syntax.t 
> t/30-collection.t t/22-general.t t/25-settings.t t/00-report-prereqs.t 
> t/26-playback.t t/20-connection.t t/40-playlist.t returned exit code 255
> debian/rules:10: recipe for target 'override_dh_auto_test' failed

The full build log is available from:
   http://aws-logs.debian.net/2016/12/02/libaudio-mpd-perl_2.004-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.