[PKG-Openstack-devel] Bug#892747: python-tempest-lib FTBFS: ImportError: cannot import name mockpatch
Adrian Bunk
bunk at debian.org
Mon Mar 12 14:09:18 UTC 2018
Source: python-tempest-lib
Version: 0.14.0-3
Severity: serious
Some recent change in unstable makes python-tempest-lib FTBFS:
https://tests.reproducible-builds.org/debian/history/python-tempest-lib.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-tempest-lib.html
...
======================================================================
FAIL: unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_agents_client
unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_agents_client
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: tempest_lib.tests.services.compute.test_agents_client
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 "tempest_lib/tests/services/compute/test_agents_client.py", line 17, in <module>
from tempest_lib.tests.services.compute import base
File "tempest_lib/tests/services/compute/base.py", line 17, in <module>
from oslotest import mockpatch
ImportError: cannot import name mockpatch
======================================================================
FAIL: unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_aggregates_client
unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_aggregates_client
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: tempest_lib.tests.services.compute.test_aggregates_client
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 "tempest_lib/tests/services/compute/test_aggregates_client.py", line 17, in <module>
from tempest_lib.tests.services.compute import base
File "tempest_lib/tests/services/compute/base.py", line 17, in <module>
from oslotest import mockpatch
ImportError: cannot import name mockpatch
======================================================================
FAIL: unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_availability_zone_client
unittest2.loader._FailedTest.tempest_lib.tests.services.compute.test_availability_zone_client
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: tempest_lib.tests.services.compute.test_availability_zone_client
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 "tempest_lib/tests/services/compute/test_availability_zone_client.py", line 17, in <module>
from tempest_lib.tests.services.compute import base
File "tempest_lib/tests/services/compute/base.py", line 17, in <module>
from oslotest import mockpatch
ImportError: cannot import name mockpatch
...
======================================================================
FAIL: unittest2.loader._FailedTest.tempest_lib.tests.test_rest_client
unittest2.loader._FailedTest.tempest_lib.tests.test_rest_client
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: tempest_lib.tests.test_rest_client
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 "tempest_lib/tests/test_rest_client.py", line 20, in <module>
from oslotest import mockpatch
ImportError: cannot import name mockpatch
----------------------------------------------------------------------
Ran 125 tests in 16.535s
FAILED (failures=37, skipped=2)
make[1]: *** [debian/rules:35: override_dh_auto_test] Error 1
More information about the Openstack-devel
mailing list