File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/System/Volumes/Data/anaconda3/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 146, in _new_conn
(self.host, self.timeout))
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7fb6ca884908>, 'Connection to 10.3.20.42 timed out. (connect timeout=30)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
module = self._get_module_from_name(name)
File "/System/Volumes/Data/anaconda3/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_click/test_click.py", line 11, in <module>
from config.prod.params import params_click
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/config/prod/params.py", line 12, in <module>
from testcase.run_all_cases import IMEI
ImportError: cannot import name 'IMEI'
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.3.20.42', port=8083): Max retries exceeded with url: /tkio/ye6zEja?imei=925765017772&ip=9.134.136.147&vid=test_vid (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fb6ca884908>, 'Connection to 10.3.20.42 timed out. (connect timeout=30)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/zhaihuitao/.jenkins/workspace/tkio_interface_test/testcase/android_click/test_click.py", line 22, in testclick
p = requests.get(url=click_url, params=params_click, timeout=30, verify=False)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/api.py", line 72, in get
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/System/Volumes/Data/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 496, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='10.3.20.42', port=8083): Max retries exceeded with url: /tkio/ye6zEja?imei=925765017772&ip=9.134.136.147&vid=test_vid (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fb6ca884908>, 'Connection to 10.3.20.42 timed out. (connect timeout=30)'))
</pre>
...
...
@@ -196,30 +243,29 @@ ImportError: cannot import name 'IMEI'