[PKG-Openstack-devel] Bug#834684: python-pbr: FTBFS too much often (failing tests)

Santiago Vila sanvila at debian.org
Wed Aug 17 23:50:07 UTC 2016


Package: src:python-pbr
Version: 1.8.0-4.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
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_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

[... snipped ...]

    stderr=subprocess.PIPE, cwd=cwd)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


======================================================================
FAIL: pbr.tests.test_packaging.TestVersions.test_valid_tag_honoured(postversioned)
pbr.tests.test_packaging.TestVersions.test_valid_tag_honoured(postversioned)
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'pbr'
  stderr

stdout: {{{Initialized empty Git repository in /tmp/tmpkKFWL8/tmpv7w8vy/testpackage/.git/}}}
traceback-1: {{{
Traceback (most recent call last):
  File "pbr/tests/test_packaging.py", line 275, in setUp
    self.useFixture(GPGKeyFixture())
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 679, in useFixture
    reraise(*exc_info)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 666, in useFixture
    fixture.setUp()
  File "pbr/tests/test_packaging.py", line 103, in setUp
    gnupg_version = base._run_cmd(['gpg', '--version'], tempdir.path)
  File "pbr/tests/base.py", line 202, in _run_cmd
    stderr=subprocess.PIPE, cwd=cwd)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
}}}


----------------------------------------------------------------------
Ran 140 tests in 9.468s

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



More information about the Openstack-devel mailing list