[PKG-Openstack-devel] Bug#834839: manila: FTBFS too much often (ImportError: No module named pep8)

Santiago Vila sanvila at debian.org
Fri Aug 19 17:17:33 UTC 2016


Package: src:manila
Version: 1:2.0.0-4
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 build-indep --buildsystem=python_distutils --with python2,systemd,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
   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
py3versions: no X-Python3-Version in control file, using supported versions

[... snipped ...]

manila.tests.volume.test_cinder.CinderApiTestCase.test_get
manila.tests.volume.test_cinder.CinderApiTestCase.test_get ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_all
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_all ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_all_snapshots
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_all_snapshots ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_failed_1
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_failed_1 ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_failed_2
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_failed_2 ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_snapshot
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_snapshot ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_snapshot_failed
manila.tests.volume.test_cinder.CinderApiTestCase.test_get_snapshot_failed ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_initialize_connection
manila.tests.volume.test_cinder.CinderApiTestCase.test_initialize_connection ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_reserve_volume
manila.tests.volume.test_cinder.CinderApiTestCase.test_reserve_volume ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_roll_detaching
manila.tests.volume.test_cinder.CinderApiTestCase.test_roll_detaching ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_terminate_connection
manila.tests.volume.test_cinder.CinderApiTestCase.test_terminate_connection ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_unreserve_volume
manila.tests.volume.test_cinder.CinderApiTestCase.test_unreserve_volume ... ok
manila.tests.volume.test_cinder.CinderApiTestCase.test_update
manila.tests.volume.test_cinder.CinderApiTestCase.test_update ... ok

======================================================================
FAIL: unittest2.loader._FailedTest.manila.tests.test_hacking
unittest2.loader._FailedTest.manila.tests.test_hacking
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: manila.tests.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 "manila/tests/test_hacking.py", line 19, in <module>
    import pep8
ImportError: No module named pep8


----------------------------------------------------------------------
Ran 5751 tests in 233.447s

FAILED (failures=1, skipped=14)
debian/rules:52: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: 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