[PKG-Openstack-devel] Bug#909371: neutron-taas: FTBFS (module 'neutron.common.rpc' from '/usr/lib/python3/dist-packages/neutron/common/rpc.py'> does not have the attribute 'create_connection')
Santiago Vila
sanvila at debian.org
Sat Sep 22 17:43:20 BST 2018
Package: src:neutron-taas
Version: 3.0.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in sid 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 build-indep --buildsystem=python_distutils --with python3
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_autoreconf -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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 ...]
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1343, in get_original
"%s does not have the attribute %r" % (target, name)
AttributeError: <module 'neutron.common.rpc' from '/usr/lib/python3/dist-packages/neutron/common/rpc.py'> does not have the attribute 'create_connection'
======================================================================
FAIL: neutron_taas.tests.unit.services.taas.test_taas_plugin.TestTaasPlugin.test_delete_tap_service_with_flow
neutron_taas.tests.unit.services.taas.test_taas_plugin.TestTaasPlugin.test_delete_tap_service_with_flow
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/neutron_taas/tests/unit/services/taas/test_taas_plugin.py", line 42, in setUp
mock.patch.object(n_rpc, 'create_connection', auto_spec=True).start()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1500, in start
result = self.__enter__()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in __enter__
original, local = self.get_original()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1343, in get_original
"%s does not have the attribute %r" % (target, name)
AttributeError: <module 'neutron.common.rpc' from '/usr/lib/python3/dist-packages/neutron/common/rpc.py'> does not have the attribute 'create_connection'
======================================================================
FAIL: neutron_taas.tests.unit.services.taas.test_taas_plugin.TestTaasPlugin.test_verify_taas_id_reused
neutron_taas.tests.unit.services.taas.test_taas_plugin.TestTaasPlugin.test_verify_taas_id_reused
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/neutron_taas/tests/unit/services/taas/test_taas_plugin.py", line 42, in setUp
mock.patch.object(n_rpc, 'create_connection', auto_spec=True).start()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1500, in start
result = self.__enter__()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1369, in __enter__
original, local = self.get_original()
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1343, in get_original
"%s does not have the attribute %r" % (target, name)
AttributeError: <module 'neutron.common.rpc' from '/usr/lib/python3/dist-packages/neutron/common/rpc.py'> does not have the attribute 'create_connection'
----------------------------------------------------------------------
Ran 55 tests in 10.252s
FAILED (failures=14, skipped=14)
make[1]: *** [debian/rules:27: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/neutron-taas.html
where you can get a full build log if you need it.
I guess you need to upload version 13.0.0 to fix this.
Thanks.
More information about the Openstack-devel
mailing list