Bug 1253709
| Summary: | Bad Status Line on the api response when running tempest tests CertificatesV2TestJSON | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | mathieu bultel <mbultel> |
| Component: | openstack-keystone | Assignee: | Nathan Kinder <nkinder> |
| Status: | CLOSED NOTABUG | QA Contact: | yeylon <yeylon> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Director | CC: | ayoung, ebagdasa, jschluet, nkinder, srevivo, whayutin, yeylon |
| Target Milestone: | z5 | Keywords: | AutomationBlocker, Triaged, ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-31 13:38:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 1293871 has been marked as a duplicate of this bug. *** This is not reproducing in the latest builds |
Description of problem: When running tempest on OSP-D tests CertificatesV2TestJSON failed with the following stack trace: tempest.api.compute.certificates.test_certificates.CertificatesV2TestJSON.test_get_root_certificate[id-3ac273d0-92d2-4632-bdfc-afbc21d4606c] -------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/stack/tempest/tempest/api/compute/certificates/test_certificates.py", line 34, in test_get_root_certificate body = self.certificates_client.show_certificate('root') File "/home/stack/tempest/tempest/services/compute/json/certificates_client.py", line 26, in show_certificate resp, body = self.get(url) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 267, in get return self.request('GET', url, extra_headers, headers) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 616, in request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 516, in _request req_url, method, headers=req_headers, body=req_body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 547, in raw_request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/http.py", line 25, in request return super(ClosingHttp, self).request(*args, **new_kwargs) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1605, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1353, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1323, in _conn_request response = conn.getresponse() File "/usr/lib64/python2.7/httplib.py", line 1045, in getresponse response.begin() File "/usr/lib64/python2.7/httplib.py", line 409, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.7/httplib.py", line 373, in _read_status raise BadStatusLine(line) BadStatusLine: '' Traceback (most recent call last): _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/home/stack/tempest/tempest/api/compute/certificates/test_certificates.py", line 34, in test_get_root_certificate body = self.certificates_client.show_certificate('root') File "/home/stack/tempest/tempest/services/compute/json/certificates_client.py", line 26, in show_certificate resp, body = self.get(url) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 267, in get return self.request('GET', url, extra_headers, headers) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 616, in request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 516, in _request req_url, method, headers=req_headers, body=req_body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 547, in raw_request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/http.py", line 25, in request return super(ClosingHttp, self).request(*args, **new_kwargs) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1605, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1353, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1323, in _conn_request response = conn.getresponse() File "/usr/lib64/python2.7/httplib.py", line 1045, in getresponse response.begin() File "/usr/lib64/python2.7/httplib.py", line 409, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.7/httplib.py", line 373, in _read_status raise BadStatusLine(line) BadStatusLine: '' Traceback (most recent call last): _StringException: Empty attachments: pythonlogging:'' stderr stdout Traceback (most recent call last): File "/home/stack/tempest/tempest/api/compute/certificates/test_certificates.py", line 34, in test_get_root_certificate body = self.certificates_client.show_certificate('root') File "/home/stack/tempest/tempest/services/compute/json/certificates_client.py", line 26, in show_certificate resp, body = self.get(url) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 267, in get return self.request('GET', url, extra_headers, headers) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 616, in request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 516, in _request req_url, method, headers=req_headers, body=req_body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 547, in raw_request headers=headers, body=body) File "/usr/lib/python2.7/site-packages/tempest_lib/common/http.py", line 25, in request return super(ClosingHttp, self).request(*args, **new_kwargs) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1605, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1353, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1323, in _conn_request response = conn.getresponse() File "/usr/lib64/python2.7/httplib.py", line 1045, in getresponse response.begin() File "/usr/lib64/python2.7/httplib.py", line 409, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.7/httplib.py", line 373, in _read_status raise BadStatusLine(line) BadStatusLine: '' ====== Totals ====== Ran: 2 tests in 189.0000 sec. - Passed: 0 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 2 Sum of execute time for each test: 180.1784 sec. ============== Worker Balance ============== - Worker 0 (2 tests) => 0:03:00.178989s