[PKG-Openstack-devel] Bug#836508: barbican: FTBFS in testing (failing tests)

Santiago Vila sanvila at debian.org
Sat Sep 3 15:16:09 UTC 2016


Package: src:barbican
Version: 1:2.0.0-5
Severity: serious

Dear maintainer:

I tried to build this package in stretch 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,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

[... snipped ...]

barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_handle_success_result_large_statuses_clipped
barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_handle_success_result_large_statuses_clipped ... ok
barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_handle_success_result_no_follow_on_needed
barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_handle_success_result_no_follow_on_needed ... ok
barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_retrieve_entity
barbican.tests.tasks.test_resources.WhenUsingOrderTaskHelper.test_should_retrieve_entity ... ok

======================================================================
FAIL: barbican.tests.plugin.test_snakeoil_ca.CertManagerTestCase.test_gen_cert_no_file_storage
barbican.tests.plugin.test_snakeoil_ca.CertManagerTestCase.test_gen_cert_no_file_storage
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "barbican/tests/plugin/test_snakeoil_ca.py", line 166, in test_gen_cert_no_file_storage
    self.verify_sig(cert_enc)
  File "barbican/tests/plugin/test_snakeoil_ca.py", line 157, in verify_sig
    crypto.verify(self.ca.cert, sig[1:], der[0], 'sha256')
  File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 2605, in verify
    md_ctx = _ffi.new("EVP_MD_CTX*")
TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size


======================================================================
FAIL: barbican.tests.plugin.test_snakeoil_ca.CertManagerTestCase.test_gen_cert_with_file_storage
barbican.tests.plugin.test_snakeoil_ca.CertManagerTestCase.test_gen_cert_with_file_storage
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "barbican/tests/plugin/test_snakeoil_ca.py", line 182, in test_gen_cert_with_file_storage
    self.verify_sig(cert_enc)
  File "barbican/tests/plugin/test_snakeoil_ca.py", line 157, in verify_sig
    crypto.verify(self.ca.cert, sig[1:], der[0], 'sha256')
  File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 2605, in verify
    md_ctx = _ffi.new("EVP_MD_CTX*")
TypeError: cannot instantiate ctype 'EVP_MD_CTX' of unknown size


----------------------------------------------------------------------
Ran 1216 tests in 80.278s

FAILED (failures=2, skipped=4)
debian/rules:20: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:9: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The failure does not seem related to using "dpkg-buildpackage -A".

Thanks.



More information about the Openstack-devel mailing list