(novadev27) root@dev-u:/home/sunjiyun/17.0.7/nova# tox -e cover
/home/sunjiyun/17.0.7/nova/.tox/cover/local/lib/python2.7/site-packages/setuptools/dist.py:45: DistDeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DistDeprecationWarning)
cover develop-inst-noop: /home/sunjiyun/17.0.7/nova
··································
cover run-test-pre: PYTHONHASHSEED='3527988970'
cover run-test: commands[0] | coverage erase
cover run-test: commands[1] | find . -type f -name '*.pyc' -delete
cover run-test: commands[2] | stestr run ''
=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: nova.tests.unit
Traceback (most recent call last):
File "/home/sunjiyun/17.0.7/nova/.tox/cover/local/lib/python2.7/site-packages/unittest2/loader.py", line 490, in _find_test_path
package = self._get_module_from_name(name)
File "/home/sunjiyun/17.0.7/nova/.tox/cover/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "nova/__init__.py", line 33, in <module>
import oslo_service # noqa
ImportError: No module named oslo_service
================================================================================
The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
ERROR: InvocationError for command /home/sunjiyun/17.0.7/nova/.tox/cover/bin/stestr run '' (exited with code 100)
_________________________________________________________________________________________________ summary __________________________________________________________________________________________________
ERROR: cover: commands failed
|
|