Source: python-oslo.vmware
Version: 2.23.0-1
Severity: serious
Justification: fails to build from source

Hi,

python-oslo.vmware/experimental FTBFS in a current sid+experimental
environment:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/python-oslo.vmware-2.23.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 3.6 3.5 ; 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/python-oslo.vmware-2.23.0 PYTHON=python$i 
testr-python$PYMAJOR run --subunit 
'oslo_vmware\.tests\.(?!.*test_service\.MemoryCacheTest\.test_shared_cache.*)' 
| tee $TEMP_REZ | subunit2pyuni
t ; \
        cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
        rm -f $TEMP_REZ ; \
        testr-python$PYMAJOR slowest ; \
done
+ echo 2.7
+ cut -d. -f1
+ 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.qV0v7hpqwZ
+ PYTHONPATH=/build/python-oslo.vmware-2.23.0 PYTHON=python2.7 testr-python2 
run --subunit 
oslo_vmware\.tests\.(?!.*test_service\.MemoryCacheTest\.test_shared_cache.*)
+ tee /tmp/tmp.qV0v7hpqwZ
+ subunit2pyunit
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ . --list 
--- import errNon-zero exit code (2) from test listing.
ors ---
Failed to import test module: oslo_vmware.tests.test_image_transfer
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 "oslo_vmware/tests/test_image_transfer.py", line 24, in <module>
    from oslo_vmware import image_transfer
  File "oslo_vmware/image_transfer.py", line 31, in <module>
    from oslo_vmware import image_util
  File "oslo_vmware/image_util.py", line 16, in <module>
    from lxml import etree  # nosec (bandit bug 1582516)
ImportError: No module named lxml

Failed to import test module: oslo_vmware.tests.test_image_util
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 "oslo_vmware/tests/test_image_util.py", line 22, in <module>
    from oslo_vmware import image_util
  File "oslo_vmware/image_util.py", line 16, in <module>
    from lxml import etree  # nosec (bandit bug 1582516)
ImportError: No module named lxml

----------------------------------------------------------------------
Ran 0 tests in 0.704s

OK
+ cat /tmp/tmp.qV0v7hpqwZ
+ 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.qV0v7hpqwZ
+ testr-python2 slowest
debian/rules:20: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3
make[1]: Leaving directory '/build/python-oslo.vmware-2.23.0'


Andreas

Attachment: python-oslo.vmware_2.23.0-1.log.gz
Description: application/gzip

Reply via email to