Comment 0 for bug 1537071

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote : [Tempest] [SSL] 2 tests for object storage failed with ssl configuration: test_web_listing_css and test_web_index

Steps To Reproduce:
1. Deploy environment with TLS
2. Run all Tempest tests for object storage using mos-tempest-runner scripts [1]

Expected Result:
All tests will pass

Observed Result:
Two tests will fail, if disable SSL, these tests pass.

Tests failed with the following error:
traceback
Traceback (most recent call last):
  File "/home/developer/mos-tempest-runner/tempest/tempest/test.py", line 171, in wrapper
    return func(*func_args, **func_kwargs)
  File "/home/developer/mos-tempest-runner/tempest/tempest/api/object_storage/test_container_staticweb.py", line 134, in test_web_listing_css
    headers={})
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 627, in request
    headers=headers, body=body)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 526, in _request
    req_url, method, headers=req_headers, body=req_body)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 557, in raw_request
    headers=headers, body=body)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/tempest_lib/common/http.py", line 25, in request
    return super(ClosingHttp, self).request(*args, **new_kwargs)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/httplib2/__init__.py", line 1609, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/httplib2/__init__.py", line 1404, in _request
    redirections=redirections - 1)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/tempest_lib/common/http.py", line 25, in request
    return super(ClosingHttp, self).request(*args, **new_kwargs)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/httplib2/__init__.py", line 1609, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/httplib2/__init__.py", line 1351, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/developer/mos-tempest-runner/.venv/lib/python2.7/site-packages/httplib2/__init__.py", line 1307, in _conn_request
    response = conn.getresponse()
  File "/usr/local/lib/python2.7/httplib.py", line 1073, in getresponse
    response.begin()
  File "/usr/local/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python2.7/httplib.py", line 379, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

[1] https://github.com/Mirantis/mos-tempest-runner