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: ''
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: developer/ mos-tempest- runner/ tempest/ tempest/ test.py" , line 171, in wrapper developer/ mos-tempest- runner/ tempest/ tempest/ api/object_ storage/ test_container_ staticweb. py", line 134, in test_web_ listing_ css developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 627, in request headers, body=body) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 526, in _request req_headers, body=req_body) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 557, in raw_request headers, body=body) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ tempest_ lib/common/ http.py" , line 25, in request *args, **new_kwargs) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ httplib2/ __init_ _.py", line 1609, in request developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ httplib2/ __init_ _.py", line 1404, in _request s=redirections - 1) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ tempest_ lib/common/ http.py" , line 25, in request *args, **new_kwargs) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ httplib2/ __init_ _.py", line 1609, in request developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ httplib2/ __init_ _.py", line 1351, in _request request( conn, request_uri, method, body, headers) developer/ mos-tempest- runner/ .venv/lib/ python2. 7/site- packages/ httplib2/ __init_ _.py", line 1307, in _conn_request lib/python2. 7/httplib. py", line 1073, in getresponse begin() lib/python2. 7/httplib. py", line 415, in begin lib/python2. 7/httplib. py", line 379, in _read_status BadStatusLine: ''
traceback
Traceback (most recent call last):
File "/home/
return func(*func_args, **func_kwargs)
File "/home/
headers={})
File "/home/
headers=
File "/home/
req_url, method, headers=
File "/home/
headers=
File "/home/
return super(ClosingHttp, self).request(
File "/home/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/
redirection
File "/home/
return super(ClosingHttp, self).request(
File "/home/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/
(response, content) = self._conn_
File "/home/
response = conn.getresponse()
File "/usr/local/
response.
File "/usr/local/
version, status, reason = self._read_status()
File "/usr/local/
raise BadStatusLine(line)
httplib.
[1] https:/ /github. com/Mirantis/ mos-tempest- runner