2014-04-30 16:07:39 |
James Li |
description |
This is how to reproduce the bug:
check out a clean copy of solum code; then run
nosetests --tests functionaltests.api.v1.test_root:TestRootController.test_platform
Got:
======================================================================
ERROR: functionaltests.api.v1.test_root.TestRootController.test_platform
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/solum/functionaltests/api/v1/test_root.py", line 37, in test_platform
resp, body = self.client.get('v1')
File "/opt/stack/tempest/tempest/common/rest_client.py", line 204, in get
return self.request('GET', url, extra_headers, headers)
File "/opt/stack/tempest/tempest/common/rest_client.py", line 452, in request
resp, resp_body)
File "/opt/stack/tempest/tempest/common/rest_client.py", line 548, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: {"debuginfo": null, "faultcode": "Server", "faultstring": "Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?"}
----------------------------------------------------------------------
Ran 1 test in 0.172s
FAILED (errors=1) |
This is how to reproduce the bug:
check out a clean copy of solum code;
set up tempest (my tempest config: http://paste.openstack.org/show/78008/);
then run
nosetests --tests functionaltests.api.v1.test_root:TestRootController.test_platform
Got:
======================================================================
ERROR: functionaltests.api.v1.test_root.TestRootController.test_platform
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/opt/stack/solum/functionaltests/api/v1/test_root.py", line 37, in test_platform
resp, body = self.client.get('v1')
File "/opt/stack/tempest/tempest/common/rest_client.py", line 204, in get
return self.request('GET', url, extra_headers, headers)
File "/opt/stack/tempest/tempest/common/rest_client.py", line 452, in request
resp, resp_body)
File "/opt/stack/tempest/tempest/common/rest_client.py", line 548, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: {"debuginfo": null, "faultcode": "Server", "faultstring": "Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?"}
----------------------------------------------------------------------
Ran 1 test in 0.172s
FAILED (errors=1) |
|