Source: barbican
Version: 1:5.0.0-1
Severity: serious
Justification: fails to build from source

Hi,

barbican/experimental FTBFS in a clean minimal sid+experimental
environment:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/barbican-5.0.0'
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
===> Running tests
set -e ; set -x ; for i in 2.7 ; do \
        PYMAJOR=`echo $i | cut -d'.' -f1` ; \
        echo "===> Testing with python$i (python$PYMAJOR)" ; \
        rm -rf .testrepository ; \
        testr-python$PYMAJOR init ; \
        TEMP_REZ=`mktemp -t` ; \
        PYTHONPATH=/build/barbican-5.0.0 PYTHON=python$i testr-python$PYMAJOR 
run --subunit 
'barbican\.tests\.(?!(.*common.test_utils\.WhenTestingAcceptEncodingGetter\.test_get_correct_fullname_for_class.*|.*common\.test_utils\.WhenTestingGenerateFullClassnameForInstance\.test_returns_qualified_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificateEventPluginManager\.test_get_plugin_by_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_get_plugin_by_ca_id.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_get_plugin_by_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_refresh_ca_list.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_delete_secret_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_generate_asymmetric_key_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_generate_symmetric_k
 
ey_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_opaque.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_private_key.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_public_key.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_symmetric.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_store_private_key_secret_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_store_symmetric_secret_assert_called.*|.*tasks\.test_keystone_consumer\.WhenUsingKeystoneEventConsumerProcessMethod\.test_existing_project_entities_cleanup_for_plain_secret.*))'
 | tee $TEMP_REZ | subunit2pyunit ; \
        cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
        rm -f $TEMP_REZ ; \
        testr-python$PYMAJOR slowest ; \
done
+ cut -d. -f1
+ echo 2.7
+ PYMAJOR=2
+ echo ===> Testing with python2.7 (python2)
===> Testing with python2.7 (python2)
+ rm -rf .testrepository
+ testr-python2 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.UxsswwFjJr
+ PYTHONPATH=/build/barbican-5.0.0 PYTHON=python2.7 testr-python2 run --subunit 
barbican\.tests\.(?!(.*common.test_utils\.WhenTestingAcceptEncodingGetter\.test_get_correct_fullname_for_class.*|.*common\.test_utils\.WhenTestingGenerateFullClassnameForInstance\.test_returns_qualified_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificateEventPluginManager\.test_get_plugin_by_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_get_plugin_by_ca_id.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_get_plugin_by_name.*|.*plugin\.interface\.test_certificate_manager\.WhenTestingCertificatePluginManager\.test_refresh_ca_list.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_delete_secret_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_generate_asymmetric_key_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_generate_symmetric_key_assert_cal
 
led.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_opaque.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_private_key.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_public_key.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_get_secret_symmetric.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_store_private_key_secret_assert_called.*|.*plugin\.test_kmip\.WhenTestingKMIPSecretStore\.test_store_symmetric_secret_assert_called.*|.*tasks\.test_keystone_consumer\.WhenUsingKeystoneEventConsumerProcessMethod\.test_existing_project_entities_cleanup_for_plain_secret.*))
+ tee /tmp/tmp.UxsswwFjJr
+ subunit2pyunit
/usr/lib/python2.7/dist-packages/sqlalchemy/orm/mapper.py:1034: SAWarning: 
Reassigning polymorphic association for identity 'Certificate' from <Mapper at 
0x7fd84d40d410; Certificate> to <Mapper at 0x7fd84d40d910; X509Certificate>: 
Check for duplicate use of 'Certificate' as value for polymorphic_identity.
  self, self.polymorphic_identity)
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
${PYTHON:-python} -m subunit.run discover -s ${OS_TEST_PATH:-./barbican/tests/} 
-t . --list 
--- import erroNon-zero exit code (2) from test listing.
rs ---
Failed to import test module: barbican.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 "barbican/tests/test_hacking.py", line 19, in <module>
    import pep8
ImportError: No module named pep8

----------------------------------------------------------------------
Ran 0 tests in 2.790s

OK
+ cat /tmp/tmp.UxsswwFjJr
+ subunit-filter -s --no-passthrough
+ subunit-stats
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags: 
+ rm -f /tmp/tmp.UxsswwFjJr
+ testr-python2 slowest
debian/rules:17: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3
make[1]: Leaving directory '/build/barbican-5.0.0'


Andreas

Attachment: barbican_1%5.0.0-1.log.gz
Description: application/gzip

Reply via email to