Bug#728588: FTBFS: test requires internet connectivity

2013-11-03 Thread Felix Geyer
Package: libnet-https-nb-perl
Version: 0.20-1
Severity: serious
Justification: fails to build from source

This package requires internet connectivity for its test suite
to pass. Package builds must not not rely on external network
connectivity, but should be self-contained.

t/proxy-with-https.t tries to fetch 
https://www.google.co.uk/images/srpr/logo4w.png

Build log:

   dh_auto_test
make[1]: Entering directory `/tmp/buildd/libhttp-async-perl-0.20'
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 
'blib/lib', 'blib/arch') t/*.t
t/bad-connections.t ... ok
t/bad-headers.t ... ok
t/bad-hosts.t . ok
t/dead-connection.t ... ok
t/headers.t ... ok
t/local-addr.t  skipped: test requires Sys::HostIP to be installed
t/make-url-absolute.t . ok
t/not-modified.t .. ok
t/pod-coverage.t .. ok
t/pod.t ... ok
t/polite.t  ok
t/poll-interval.t . ok

#   Failed test 'check for proxy header 'yes''
#   at t/proxy-with-https.t line 47.
#  got: ''
# expected: 'yes'
# Looks like you failed 1 test of 5.
t/proxy-with-https.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 
t/proxy.t . ok
t/real-servers.t .. skipped: enable these tests by setting REAL_SERVERS
t/redirects.t . ok
t/release-cpan-changes.t .. skipped: install Test::CPAN::Changes to run this 
test
t/setup.t . ok
t/strip-host-from-uri.t ... ok
t/template.t .. skipped: just a template to base other tests on
t/timeout.t ... ok

Test Summary Report
---
t/proxy-with-https.t(Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=21, Tests=163, 37 wallclock secs ( 0.09 usr  0.03 sys +  2.56 cusr  0.44 
csys =  3.12 CPU)
Result: FAIL
Failed 1/21 test programs. 1/163 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/tmp/buildd/libhttp-async-perl-0.20'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#728588: FTBFS: test requires internet connectivity

2013-11-03 Thread gregor herrmann
Control: reassign -1 libhttp-async-perl 0.20-1
Control: retitle -1 libhttp-async-perl: FTBFS: test requires internet 
connectivity
Control: tag -1 + confirmed

On Sun, 03 Nov 2013 13:27:53 +0100, Felix Geyer wrote:

dh_auto_test
 make[1]: Entering directory `/tmp/buildd/libhttp-async-perl-0.20'
[..]
 
 #   Failed test 'check for proxy header 'yes''
 #   at t/proxy-with-https.t line 47.
 #  got: ''
 # expected: 'yes'
 # Looks like you failed 1 test of 5.
 t/proxy-with-https.t .. 
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/5 subtests 
[..]

Same here, thanks for reporting.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ostbahn-Kurti  Die Chefpartie: Nochschicht (88)


signature.asc
Description: Digital signature