[PKG-Openstack-devel] Bug#834841: sahara: FTBFS too much often (ImportError: No module named pep8)
Santiago Vila
sanvila at debian.org
Fri Aug 19 17:17:38 UTC 2016
Package: src:sahara
Version: 1:4.0.0-2
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
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 python2,sphinxdoc,systemd
dh_testdir -i -O--buildsystem=python_distutils
dh_update_autotools_config -i -O--buildsystem=python_distutils
dh_auto_configure -i -O--buildsystem=python_distutils
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
[... snipped ...]
utils.test_ssh_remote.TestInstanceInteropHelper.test_use_floating_ips ... ok
Arguments dropped when creating context: {'token': 'test_auth_token'}
utils.test_ssh_remote.TestInstanceInteropHelper.test_use_namespaces
utils.test_ssh_remote.TestInstanceInteropHelper.test_use_namespaces ... ok
utils.test_types.TypesTestCase.test_is_int
utils.test_types.TypesTestCase.test_is_int ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_add_equal_separated_dict
utils.test_xml_utils.XMLUtilsTestCase.test_add_equal_separated_dict ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_add_property_to_configuration
utils.test_xml_utils.XMLUtilsTestCase.test_add_property_to_configuration ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_add_tagged_list
utils.test_xml_utils.XMLUtilsTestCase.test_add_tagged_list ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_adjust_description
utils.test_xml_utils.XMLUtilsTestCase.test_adjust_description ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_create_hadoop_xml
utils.test_xml_utils.XMLUtilsTestCase.test_create_hadoop_xml ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_get_if_not_exist_and_add_text_element
utils.test_xml_utils.XMLUtilsTestCase.test_get_if_not_exist_and_add_text_element ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_get_if_not_exist_and_add_to_element
utils.test_xml_utils.XMLUtilsTestCase.test_get_if_not_exist_and_add_to_element ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_load_xml_defaults
utils.test_xml_utils.XMLUtilsTestCase.test_load_xml_defaults ... ok
utils.test_xml_utils.XMLUtilsTestCase.test_load_xml_document_strip
utils.test_xml_utils.XMLUtilsTestCase.test_load_xml_document_strip ... ok
======================================================================
FAIL: unittest2.loader._FailedTest.utils.test_hacking
unittest2.loader._FailedTest.utils.test_hacking
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: utils.test_hacking
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 "/<<PKGBUILDDIR>>/sahara/tests/unit/utils/test_hacking.py", line 17, in <module>
from sahara.utils.hacking import checks
File "sahara/utils/hacking/checks.py", line 16, in <module>
import pep8
ImportError: No module named pep8
----------------------------------------------------------------------
Ran 1146 tests in 65.224s
FAILED (failures=1, skipped=5)
debian/rules:17: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:13: 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
doing "dpkg-buildpackage -A" does not mean anything special.
Thanks.
More information about the Openstack-devel
mailing list