[PKG-Openstack-devel] Bug#867501: python-jingo FTBFS: test failures
Adrian Bunk
bunk at debian.org
Thu Jul 6 22:02:59 UTC 2017
Source: python-jingo
Version: 0.9-1
Severity: serious
Tags: buster sid
Some recent change in unstable makes python-jingo FTBFS:
https://tests.reproducible-builds.org/debian/history/python-jingo.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-jingo.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/python-jingo-0.9'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh /usr/share/openstack-pkg-tools/pkgos.make --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh: Unknown sequence /usr/share/openstack-pkg-tools/pkgos.make (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)
set -e ; for pyvers in 2.7 3.6 3.5; do \
python$pyvers run_tests.py ; \
done
..E..................................E.
======================================================================
ERROR: jingo.tests.test_basics.test_render
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/build/1st/python-jingo-0.9/jingo/tests/test_basics.py", line 24, in test_render
response = render(Mock(), sentinel.template, status=32)
File "/usr/lib/python2.7/dist-packages/django/shortcuts.py", line 31, in render
return HttpResponse(content, content_type, status)
File "/usr/lib/python2.7/dist-packages/django/http/response.py", line 301, in __init__
super(HttpResponse, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/http/response.py", line 59, in __init__
raise ValueError('HTTP status code must be an integer from 100 to 599.')
ValueError: HTTP status code must be an integer from 100 to 599.
======================================================================
ERROR: jingo.tests.test_monkey.test_monkey_patch
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/build/1st/python-jingo-0.9/jingo/tests/test_monkey.py", line 26, in test_monkey_patch
jingo.monkey.patch()
File "/build/1st/python-jingo-0.9/jingo/monkey.py", line 41, in patch
widgets.RadioFieldRenderer,
AttributeError: 'module' object has no attribute 'RadioFieldRenderer'
----------------------------------------------------------------------
Ran 39 tests in 1.762s
FAILED (errors=2)
debian/rules:24: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
More information about the Openstack-devel
mailing list