[PKG-Openstack-devel] Bug#909991: python-ceilometermiddleware: FTBFS (RuntimeError: generator raised StopIteration)

Santiago Vila sanvila at debian.org
Mon Oct 1 00:03:54 BST 2018


Package: src:python-ceilometermiddleware
Version: 1.2.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster 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,python3,sphinxdoc
   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.
   dh_auto_build -i -O--buildsystem=python_distutils
dh_auto_build: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_build: This feature will be removed in compat 12.
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions

[... snipped ...]


======================================================================
FAIL: ceilometermiddleware.tests.test_swift.TestSwift.test_put_with_swift_source
ceilometermiddleware.tests.test_swift.TestSwift.test_put_with_swift_source
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/ceilometermiddleware/swift.py", line 270, in iter_response
    chunk = next(iterator)
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/<<PKGBUILDDIR>>/ceilometermiddleware/tests/test_swift.py", line 432, in test_put_with_swift_source
    list(app(req.environ, self.start_response))
RuntimeError: generator raised StopIteration


======================================================================
FAIL: ceilometermiddleware.tests.test_swift.TestSwift.test_reseller_prefix
ceilometermiddleware.tests.test_swift.TestSwift.test_reseller_prefix
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/ceilometermiddleware/swift.py", line 270, in iter_response
    chunk = next(iterator)
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/<<PKGBUILDDIR>>/ceilometermiddleware/tests/test_swift.py", line 331, in test_reseller_prefix
    list(app(req.environ, self.start_response))
RuntimeError: generator raised StopIteration


----------------------------------------------------------------------
Ran 25 tests in 0.983s

FAILED (failures=18)
make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-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/python-ceilometermiddleware.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Openstack-devel mailing list