[PKG-Openstack-devel] Bug#792161: FTBFS: test_http etc. fail with ConnectionError: "Connection aborted"

Chris West (Faux) solo-debianbugs at goeswhere.com
Sun Jul 12 10:29:09 UTC 2015


Source: python-wsgi-intercept
Version: 0.8.1-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 fails to build:

test/test_httplib2.py .......
test/test_requests.py FFF.FFF
test/test_urllib.py ......
test/test_wsgi_compliance.py .....

=================================== FAILURES ===================================
__________________________________ test_http ___________________________________

    def test_http():
        with InstalledApp(wsgi_app.simple_app, host=HOST, port=80) as app:
>           resp = requests.get('http://some_hopefully_nonexistant_domain:80/')

test/test_requests.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/dist-packages/requests/api.py:69: in get
    return request('get', url, params=params, **kwargs)
/usr/lib/python2.7/dist-packages/requests/api.py:50: in request
    response = session.request(method=method, url=url, **kwargs)
/usr/lib/python2.7/dist-packages/requests/sessions.py:465: in request
    resp = self.send(prep, **send_kwargs)
/usr/lib/python2.7/dist-packages/requests/sessions.py:573: in send
    r = adapter.send(request, **kwargs)

....

        except (ProtocolError, socket.error) as err:
>           raise ConnectionError(err, request=request)
E           ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

/usr/lib/python2.7/dist-packages/requests/adapters.py:415: ConnectionError

....

===================== 6 failed, 23 passed in 0.84 seconds ======================
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: cd /tmp/buildd/python-wsgi-intercept-0.8.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest 


This happens on builders with public internet connectivity, and on builders with only `lo`.

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-wsgi-intercept.html

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

Kernel: Linux 3.19.0-22-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 Openstack-devel mailing list