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
This is how to reproduce the bug:
check out a clean copy of solum code; then run .api.v1. test_root: TestRootControl ler.test_ platform
nosetests --tests functionaltests
Got: ======= ======= ======= ======= ======= ======= ======= ======= ======= .api.v1. test_root. TestRootControl ler.test_ platform ------- ------- ------- ------- ------- ------- ------- ------- ------- solum/functiona ltests/ api/v1/ test_root. py", line 37, in test_platform get('v1' ) tempest/ tempest/ common/ rest_client. py", line 204, in get tempest/ tempest/ common/ rest_client. py", line 452, in request tempest/ tempest/ common/ rest_client. py", line 548, in _error_checker ServerFault( message)
=======
ERROR: functionaltests
-------
_StringException: Traceback (most recent call last):
File "/opt/stack/
resp, body = self.client.
File "/opt/stack/
return self.request('GET', url, extra_headers, headers)
File "/opt/stack/
resp, resp_body)
File "/opt/stack/
raise exceptions.
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)