[PKG-Openstack-devel] Bug#909287: python-httpretty accesses the internet during the build

Adrian Bunk bunk at debian.org
Fri Sep 21 07:34:04 BST 2018


Source: python-httpretty
Version: 0.9.5-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-httpretty.html

...
-----------------------------------------------------------------------------
1) ERROR: fakesock.socket#getpeercert should return a hardcoded fake certificate

   Traceback (most recent call last):
    /usr/lib/python2.7/dist-packages/nose/case.py line 197 in runTest
      self.test(*self.arg)
    /usr/lib/python2.7/dist-packages/mock/mock.py line 1305 in patched
      return func(*args, **keywargs)
    tests/unit/test_core.py line 201 in test_fakesock_socket_getpeercert
      socket.connect(('somewhere.com', 80))
    httpretty/core.py line 404 in connect
      self.truesock.connect(self._address)
    /usr/lib/python2.7/socket.py line 228 in meth
      return getattr(self._sock,name)(*args)
   gaierror: [Errno -3] Temporary failure in name resolution


-----------------------------------------------------------------------------
12 tests run in 1.5 seconds. 
1 error (11 tests passed)
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list