Bug#728588: FTBFS: test requires internet connectivity
Felix Geyer
fgeyer at debian.org
Sun Nov 3 12:27:53 UTC 2013
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
More information about the pkg-perl-maintainers
mailing list