[pkg-go] Bug#791514: golang-mreiferson-httpclient: FTBFS without internet access: attempts to connect to a service on the internet during tests

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Jul 5 17:33:01 UTC 2015

Source: golang-mreiferson-httpclient
Version: 0.0~git20140425-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package's tests fail when run on a pbuilder without networking,
it attempts to make a request to a website on the internet:
=== RUN TestHttpsConnection
--- FAIL: TestHttpsConnection (0.00s)
	httpclient_test.go:93: 1st request failed - Get https://httpbin.org/ip: dial tcp: lookup httpbin.org: no such host

Packages are required to build without a network connection.

Full build log:

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Pkg-go-maintainers mailing list