Package: python-formencode Version: 1.2.6-1 Severity: serious Tags: sid jessie
python-formencode tries to download files during the test target and fails to build without network access. dh_auto_test -O--buildsystem=pybuild I: pybuild base:170: cd /build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose --with-doctest ................S..........F....................F... ====================================================================== FAIL: Doctest: formencode.validators.Email ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2226, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for formencode.validators.Email File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1228, in Email ---------------------------------------------------------------------- File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1269, in formencode.validators.Email Failed example: e.to_python('doesnotex...@colorstudy.com') Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest formencode.validators.Email[11]>", line 1, in <module> e.to_python('doesnotex...@colorstudy.com') File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/api.py", line 442, in to_python vp(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1351, in validate_python value, state) Invalid: The domain of the email address does not exist (the portion after the @: colorstudy.com) ---------------------------------------------------------------------- File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1271, in formencode.validators.Email Failed example: e.to_python('t...@nyu.edu') Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest formencode.validators.Email[12]>", line 1, in <module> e.to_python('t...@nyu.edu') File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/api.py", line 442, in to_python vp(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1351, in validate_python value, state) Invalid: The domain of the email address does not exist (the portion after the @: nyu.edu) ---------------------------------------------------------------------- File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1278, in formencode.validators.Email Failed example: e.to_python(u't...@google.com') Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest formencode.validators.Email[14]>", line 1, in <module> e.to_python(u't...@google.com') File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/api.py", line 442, in to_python vp(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1351, in validate_python value, state) Invalid: The domain of the email address does not exist (the portion after the @: google.com) ====================================================================== FAIL: Doctest: formencode.validators.URL ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2226, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for formencode.validators.URL File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1357, in URL ---------------------------------------------------------------------- File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1397, in formencode.validators.URL Failed example: u.to_python('http://google.com') Exception raised: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest formencode.validators.URL[13]>", line 1, in <module> u.to_python('http://google.com') File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/api.py", line 439, in to_python value = tp(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1488, in _to_python self._check_url_exists(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1530, in _check_url_exists self.message('socketError', state, error=e), state, url) Invalid: An error occured when trying to connect to the server: [Errno -2] Name or service not known ---------------------------------------------------------------------- File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1403, in formencode.validators.URL Failed example: u.to_python('http://www.formencode.org/does/not/exist/page.html') Expected: Traceback (most recent call last): ... Invalid: The server responded that the page could not be found Got: Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 1315, in __run compileflags, 1) in test.globs File "<doctest formencode.validators.URL[15]>", line 1, in <module> u.to_python('http://www.formencode.org/does/not/exist/page.html') File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/api.py", line 439, in to_python value = tp(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1488, in _to_python self._check_url_exists(value, state) File "/build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build/formencode/validators.py", line 1530, in _check_url_exists self.message('socketError', state, error=e), state, url) Invalid: An error occured when trying to connect to the server: [Errno -2] Name or service not known ---------------------------------------------------------------------- Ran 52 tests in 0.642s FAILED (SKIP=1, failures=2) E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: cd /build/buildd/python-formencode-1.2.6/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose --with-doctest dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir . returned exit code 13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org