[PKG-Openstack-devel] Bug#877614: python-oslo.vmware: FTBFS tests fail: ModuleNotFoundError: No module named 'ddt'

Andreas Beckmann anbe at debian.org
Tue Oct 3 13:24:37 UTC 2017


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

And the search for missing build dependencies continues:

===> Testing with python3.6 (python3)
+ rm -rf .testrepository
+ testr-python3 init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.UhHFdxiUFo
+ PYTHONPATH=/build/python-oslo.vmware-2.23.0 PYTHON=python3.6 testr-python3 run --subunit oslo_vmware\.tests\.(?!.*test_service\.MemoryCacheTest\.test_shared_cache.*)
+ subunit2pyunit
+ tee /tmp/tmp.UhHFdxiUFo
Non-zero exit code (2) from test listing.
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 errors ---
Failed to import test module: oslo_vmware.tests.test_service
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/build/python-oslo.vmware-2.23.0/oslo_vmware/tests/test_service.py", line 22, in <module>
    import ddt
ModuleNotFoundError: No module named 'ddt'

----------------------------------------------------------------------
Ran 0 tests in 0.527s

OK
+ subunit-stats
+ subunit-filter -s --no-passthrough
+ cat /tmp/tmp.UhHFdxiUFo
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags: 
+ rm -f /tmp/tmp.UhHFdxiUFo
+ testr-python3 slowest
debian/rules:20: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 3


I'd recommend to do source-only uploads (also for packages building
(only) arch:all packages), unless you have to go through NEW.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-oslo.vmware_2.23.0-2.log.gz
Type: application/gzip
Size: 16171 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20171003/6e61da7d/attachment-0001.bin>


More information about the Openstack-devel mailing list