Created
March 8, 2019 08:13
-
-
Save Kiechlus/f5de445784969d54aa6cdb1a8edc1ec0 to your computer and use it in GitHub Desktop.
Test failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(138139140 bytes read)', IncompleteRead(138139140 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b | |
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(11179229 bytes read)', IncompleteRead(11179229 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b | |
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(7737398 bytes read)', IncompleteRead(7737398 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b | |
ERROR | |
====================================================================== | |
ERROR: testUpAndDownload (test_uat_001_upload_download.TestUAT001) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/http/client.py", line 544, in _get_chunk_left | |
chunk_left = self._read_next_chunk_size() | |
File "/usr/local/lib/python3.7/http/client.py", line 511, in _read_next_chunk_size | |
return int(line, 16) | |
ValueError: invalid literal for int() with base 16: b'' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/http/client.py", line 561, in _readall_chunked | |
chunk_left = self._get_chunk_left() | |
File "/usr/local/lib/python3.7/http/client.py", line 546, in _get_chunk_left | |
raise IncompleteRead(b'') | |
http.client.IncompleteRead: IncompleteRead(0 bytes read) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 360, in _error_catcher | |
yield | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 438, in read | |
data = self._fp.read() | |
File "/usr/local/lib/python3.7/http/client.py", line 454, in read | |
return self._readall_chunked() | |
File "/usr/local/lib/python3.7/http/client.py", line 568, in _readall_chunked | |
raise IncompleteRead(b''.join(value)) | |
http.client.IncompleteRead: IncompleteRead(6186441 bytes read) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 616, in urlopen | |
**response_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 525, in from_httplib | |
**response_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 209, in __init__ | |
self._body = self.read(decode_content=decode_content) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 459, in read | |
raise IncompleteRead(self._fp_bytes_read, self.length_remaining) | |
File "/usr/local/lib/python3.7/contextlib.py", line 130, in __exit__ | |
self.gen.throw(type, value, traceback) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/response.py", line 378, in _error_catcher | |
raise ProtocolError('Connection broken: %r' % e, e) | |
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(6186441 bytes read)', IncompleteRead(6186441 bytes read)) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/tests/functional_tests/tests/test_uat_001_upload_download.py", line 75, in testUpAndDownload | |
downloaded_file = self.rhs.psps.download_patient_scan(patient_scan_id) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/api/patientscansid_api.py", line 144, in download_patient_scan | |
(data) = self.download_patient_scan_with_http_info(id, **kwargs) # noqa: E501 | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/api/patientscansid_api.py", line 215, in download_patient_scan_with_http_info | |
collection_formats=collection_formats) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/api_client.py", line 335, in call_api | |
_preload_content, _request_timeout) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/api_client.py", line 166, in __call_api | |
_request_timeout=_request_timeout) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/api_client.py", line 356, in request | |
headers=headers) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/rest.py", line 237, in GET | |
query_params=query_params) | |
File "/usr/local/lib/python3.7/site-packages/py_rhs_patient_scan_provisioning/rest.py", line 210, in request | |
headers=headers) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/request.py", line 68, in request | |
**urlopen_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/request.py", line 89, in request_encode_url | |
return self.urlopen(method, url, **extra_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/poolmanager.py", line 323, in urlopen | |
response = conn.urlopen(method, u.request_uri, **kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen | |
**response_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen | |
**response_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 667, in urlopen | |
**response_kw) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment | |
raise MaxRetryError(_pool, url, error or ResponseError(cause)) | |
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='rhs-d12.robotics-rd.stryker.com', port=443): Max retries exceeded with url: //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b (Caused by ProtocolError('Connection broken: IncompleteRead(6186441 bytes read)', IncompleteRead(6186441 bytes read))) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/tests/functional_tests/tests/test_uat_001_upload_download.py", line 78, in testUpAndDownload | |
self.assertEqual(e.status, 423) | |
AttributeError: 'MaxRetryError' object has no attribute 'status' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment