Comment 0 for bug 1314255

Revision history for this message
James Li (james-li-3) wrote : Functional test 'test_platform' fails if solum.egg-info is missing

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)