Package: src:python-keystoneauth1
Version: 2.4.1-1
Severity: serious
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
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)
dh build-indep --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh_testdir -i -O--buildsystem=python_distutils
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_build -i -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to
debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
[... snipped ...]
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_given_optionsl
... ok
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_requests_lesser_than_2_4_1
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_requests_lesser_than_2_4_1
... ok
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepcnt
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepcnt
... ok
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepidle
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepidle
... ok
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepintvl
keystoneauth1.tests.unit.test_session.TCPKeepAliveAdapterTest.test_init_poolmanager_with_tcp_keepintvl
... ok
keystoneauth1.tests.unit.test_token_endpoint.AdminTokenTest.test_token_endpoint_deprecated_options
keystoneauth1.tests.unit.test_token_endpoint.AdminTokenTest.test_token_endpoint_deprecated_options
... ok
keystoneauth1.tests.unit.test_token_endpoint.AdminTokenTest.test_token_endpoint_options
keystoneauth1.tests.unit.test_token_endpoint.AdminTokenTest.test_token_endpoint_options
... ok
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_basic_case
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_basic_case
... ok
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_basic_endpoint_case
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_basic_endpoint_case
... ok
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_token_endpoint_user_id
keystoneauth1.tests.unit.test_token_endpoint.TokenEndpointTest.test_token_endpoint_user_id
... ok
keystoneauth1.tests.unit.test_utils.UtilsTests.test_get_logger
keystoneauth1.tests.unit.test_utils.UtilsTests.test_get_logger ... ok
======================================================================
FAIL: unittest2.loader._FailedTest.keystoneauth1.tests.unit.test_hacking_checks
unittest2.loader._FailedTest.keystoneauth1.tests.unit.test_hacking_checks
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module:
keystoneauth1.tests.unit.test_hacking_checks
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in
_find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in
_get_module_from_name
__import__(name)
File "keystoneauth1/tests/unit/test_hacking_checks.py", line 16, in <module>
import pep8
ImportError: No module named pep8
----------------------------------------------------------------------
Ran 336 tests in 2.340s
FAILED (failures=1)
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:11: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.
For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:
https://tests.reproducible-builds.org/
Thanks.