[PKG-Openstack-devel] Bug#877129: python-cliff: FTBFS: test fail: ModuleNotFoundError: No module named 'docutils'

Andreas Beckmann anbe at debian.org
Thu Sep 28 23:45:09 UTC 2017


Source: python-cliff
Version: 2.8.0-1
Severity: serious
Justification: fails to build from source

Hi,

python-cliff/experimental FTBFS with

[...]
cliff.tests.test_show.TestShow.test_formatter_args
cliff.tests.test_show.TestShow.test_formatter_args ... ok
cliff.tests.test_show.TestShow.test_no_exist_column
cliff.tests.test_show.TestShow.test_no_exist_column ... ok
unittest2.loader._FailedTest.cliff.tests.test_sphinxext
unittest2.loader._FailedTest.cliff.tests.test_sphinxext ... FAIL
cliff.tests.test_utils.TestTerminalWidth.test
cliff.tests.test_utils.TestTerminalWidth.test ... ok
cliff.tests.test_utils.TestTerminalWidth.test_get_terminal_size
cliff.tests.test_utils.TestTerminalWidth.test_get_terminal_size ... ok
cliff.tests.test_utils.TestTerminalWidth.test_ioctl
cliff.tests.test_utils.TestTerminalWidth.test_ioctl ... skipped u'only needed for python 3.2 and before'
cliff.tests.test_utils.TestTerminalWidth.test_windows
cliff.tests.test_utils.TestTerminalWidth.test_windows ... skipped u'only needed for python 3.2 and before'
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 ./ ./cliff  

======================================================================
FAIL: unittest2.loader._FailedTest.cliff.tests.test_sphinxext
unittest2.loader._FailedTest.cliff.tests.test_sphinxext
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: cliff.tests.test_sphinxext
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-cliff-2.8.0/cliff/tests/test_sphinxext.py", line 18, in <module>
    from cliff import sphinxext
  File "/build/python-cliff-2.8.0/cliff/sphinxext.py", line 19, in <module>
    from docutils import nodes
ModuleNotFoundError: No module named 'docutils'


----------------------------------------------------------------------
Ran 152 tests in 1.107s

FAILED (failures=1, skipped=2)
debian/rules:35: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1


Full log attached.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-cliff_2.8.0-1.log.gz
Type: application/gzip
Size: 15009 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20170929/8b3ba0ec/attachment-0001.bin>


More information about the Openstack-devel mailing list