[tryton-debian] Bug#743373: vatnumber tries to connect to the network during the build
Matthias Klose
doko at debian.org
Wed Apr 2 07:49:44 UTC 2014
Package: vatnumber
Version: 1:1.1-4
Severity: serious
Tags: sid jessie
vatnumber tries to connect to the network during the build, seen on the Ubuntu
buildds which don't have access to the network.
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py test
running test
running egg_info
creating vatnumber.egg-info
writing requirements to vatnumber.egg-info/requires.txt
writing vatnumber.egg-info/PKG-INFO
writing top-level names to vatnumber.egg-info/top_level.txt
writing dependency_links to vatnumber.egg-info/dependency_links.txt
writing manifest file 'vatnumber.egg-info/SOURCES.txt'
reading manifest file 'vatnumber.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'vatnumber.egg-info/SOURCES.txt'
running build_ext
test_countries (vatnumber.tests.VatNumberTest) ... ok
test_vat_numbers (vatnumber.tests.VatNumberTest) ... ok
test_vies (vatnumber.tests.VatNumberTest) ... ERROR
======================================================================
ERROR: test_vies (vatnumber.tests.VatNumberTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/buildd/vatnumber-1.1/vatnumber/tests.py", line 209, in test_vies
self.assert_(vatnumber.check_vies(vat))
File "/build/buildd/vatnumber-1.1/vatnumber/__init__.py", line 1242, in
check_vies
client = Client(VIES_URL)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 112, in __init__
self.wsdl = reader.open(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 152, in open
d = self.fn(url, self.options)
File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 136, in __init__
d = reader.open(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 79, in open
d = self.download(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 95, in download
fp = self.options.transport.open(Request(url))
File "/usr/lib/python2.7/dist-packages/suds/transport/https.py", line 60, in open
return HttpTransport.open(self, request)
File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 62, in open
return self.u2open(u2request)
File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 118, in
u2open
return url.open(u2request, timeout=tm)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>
----------------------------------------------------------------------
Ran 3 tests in 0.032s
FAILED (errors=1)
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1:
python2.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13
make: *** [build] Error 13
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the tryton-debian
mailing list