You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/05/10 19:28:00 UTC

[jira] [Updated] (DISPATCH-2031) [macOS] Unexpected urllib.error.URLError: in system_tests_http

     [ https://issues.apache.org/jira/browse/DISPATCH-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti updated DISPATCH-2031:
---------------------------------
    Fix Version/s: Backlog

> [macOS] Unexpected urllib.error.URLError: <urlopen error [Errno 22] Invalid argument> in system_tests_http
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-2031
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2031
>             Project: Qpid Dispatch
>          Issue Type: Test
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>             Fix For: Backlog
>
>
> https://travis-ci.com/github/apache/qpid-dispatch/jobs/495863512#L4545
> {noformat}
> 57: ======================================================================
> 57: ERROR: test_https_get (system_tests_http.RouterTestHttp)
> 57: ----------------------------------------------------------------------
> 57: Traceback (most recent call last):
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1350, in do_open
> 57:     encode_chunked=req.has_header('Transfer-encoding'))
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1277, in request
> 57:     self._send_request(method, url, body, headers, encode_chunked)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1323, in _send_request
> 57:     self.endheaders(body, encode_chunked=encode_chunked)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1272, in endheaders
> 57:     self._send_output(message_body, encode_chunked=encode_chunked)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1032, in _send_output
> 57:     self.send(msg)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 972, in send
> 57:     self.connect()
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1447, in connect
> 57:     server_hostname=server_hostname)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 423, in wrap_socket
> 57:     session=session
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 849, in _create
> 57:     self.getpeername()
> 57: OSError: [Errno 22] Invalid argument
> 57: 
> 57: During handling of the above exception, another exception occurred:
> 57: 
> 57: Traceback (most recent call last):
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_tests_http.py", line 351, in test_https_get
> 57:     ret_val = retry(lambda: self.is_get_request_failing("https://localhost:%s/system_tests_http.txt" % r.ports[3], use_get_cert=True), timeout=10, delay=2)
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_test.py", line 146, in retry
> 57:     ret = function()
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_tests_http.py", line 351, in <lambda>
> 57:     ret_val = retry(lambda: self.is_get_request_failing("https://localhost:%s/system_tests_http.txt" % r.ports[3], use_get_cert=True), timeout=10, delay=2)
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_tests_http.py", line 113, in is_get_request_failing
> 57:     raise e
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_tests_http.py", line 105, in is_get_request_failing
> 57:     self.get_cert(url)
> 57:   File "/Users/travis/build/apache/qpid-dispatch/tests/system_tests_http.py", line 72, in get_cert
> 57:     return opener.open(url).read().decode('utf-8')
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
> 57:     response = self._open(req, data)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
> 57:     '_open', req)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
> 57:     result = func(*args)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1393, in https_open
> 57:     context=self._context, check_hostname=self._check_hostname)
> 57:   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1352, in do_open
> 57:     raise URLError(err)
> 57: urllib.error.URLError: <urlopen error [Errno 22] Invalid argument>
> 57: 
> 57: ----------------------------------------------------------------------
> 57: Ran 6 tests in 2.991s
> 57: 
> 57: FAILED (errors=1)
> 57/69 Test #57: system_tests_http .................................***Failed    3.23 sec
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org