Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xxx@ubuntu:/opt/stack/python-glanceclient$
- xxx@ubuntu:/opt/stack/python-glanceclient$ ./run_tests.sh
- py27 develop-inst-nodeps: /opt/stack/python-glanceclient
- py27 runtests: PYTHONHASHSEED='0'
- py27 runtests: commands[0] | python setup.py testr --testr-args=
- running testr
- running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_base
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_base
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_base.py", line 19, in <module>
- from glanceclient.openstack.common.apiclient import base
- File "glanceclient/__init__.py", line 18, in <module>
- import glanceclient.client
- File "glanceclient/client.py", line 16, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 38, in <module>
- from glanceclient.openstack.common import strutils
- File "glanceclient/openstack/common/strutils.py", line 27, in <module>
- from glanceclient.openstack.common.gettextutils import _
- File "glanceclient/openstack/common/gettextutils.py", line 89, in <module>
- _translators = TranslatorFactory('glanceclient')
- NameError: name 'TranslatorFactory' is not defined
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_exc
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_exc
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_exc.py", line 18, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_http
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_http
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_http.py", line 25, in <module>
- from glanceclient.common import http
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_shell
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_shell
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_shell.py", line 22, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_ssl
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_ssl
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_ssl.py", line 22, in <module>
- from glanceclient.common import http
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.test_utils
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.test_utils
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/test_utils.py", line 21, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_client
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v1.test_client
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v1/test_client.py", line 18, in <module>
- from glanceclient.v1 import client
- File "glanceclient/v1/__init__.py", line 16, in <module>
- from glanceclient.v1.client import Client # noqa
- File "glanceclient/v1/client.py", line 16, in <module>
- from glanceclient.common.http import HTTPClient
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_image_members
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v1.test_image_members
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v1/test_image_members.py", line 18, in <module>
- import glanceclient.v1.image_members
- File "glanceclient/v1/__init__.py", line 16, in <module>
- from glanceclient.v1.client import Client # noqa
- File "glanceclient/v1/client.py", line 16, in <module>
- from glanceclient.common.http import HTTPClient
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_images
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v1.test_images
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v1/test_images.py", line 23, in <module>
- from glanceclient.v1 import client
- File "glanceclient/v1/__init__.py", line 16, in <module>
- from glanceclient.v1.client import Client # noqa
- File "glanceclient/v1/client.py", line 16, in <module>
- from glanceclient.common.http import HTTPClient
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v1.test_shell
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v1.test_shell
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v1/test_shell.py", line 27, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_client
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_client
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_client.py", line 18, in <module>
- from glanceclient.v2 import client
- File "glanceclient/v2/client.py", line 17, in <module>
- from glanceclient.common import http
- File "glanceclient/common/http.py", line 38, in <module>
- from glanceclient.common import https
- File "glanceclient/common/https.py", line 31, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_images
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_images
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_images.py", line 22, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_members
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_members
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_members.py", line 18, in <module>
- from glanceclient.v2 import image_members
- File "glanceclient/v2/image_members.py", line 18, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_metadefs_namespaces
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_metadefs_namespaces
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_metadefs_namespaces.py", line 18, in <module>
- from glanceclient.v2 import metadefs
- File "glanceclient/v2/metadefs.py", line 20, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_metadefs_objects
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_metadefs_objects
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_metadefs_objects.py", line 19, in <module>
- from glanceclient.v2 import metadefs
- File "glanceclient/v2/metadefs.py", line 20, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_metadefs_properties
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_metadefs_properties
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_metadefs_properties.py", line 18, in <module>
- from glanceclient.v2 import metadefs
- File "glanceclient/v2/metadefs.py", line 20, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_metadefs_resource_types
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_metadefs_resource_types
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_metadefs_resource_types.py", line 18, in <module>
- from glanceclient.v2 import metadefs
- File "glanceclient/v2/metadefs.py", line 20, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_shell_v2
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_shell_v2
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_shell_v2.py", line 20, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- ======================================================================
- FAIL: unittest.loader.ModuleImportFailure.tests.v2.test_tags
- tags: worker-0
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- ImportError: Failed to import test module: tests.v2.test_tags
- Traceback (most recent call last):
- File "/opt/stack/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/run.py", line 472, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "tests/v2/test_tags.py", line 18, in <module>
- from glanceclient.v2 import image_tags
- File "glanceclient/v2/image_tags.py", line 18, in <module>
- from glanceclient.common import utils
- File "glanceclient/common/utils.py", line 36, in <module>
- from glanceclient import exc
- ImportError: cannot import name exc
- Ran 33 (-189) tests in 0.130s (-1.165s)
- FAILED (id=7, failures=19 (-1))
- error: testr failed (1)
- ERROR: InvocationError: '/opt/stack/python-glanceclient/.tox/py27/bin/python setup.py testr --testr-args='
- ___________________________________ summary ____________________________________
- ERROR: py27: commands failed
- xxx@ubuntu:/opt/stack/python-glanceclient$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement