[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17020600#comment-17020600
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

asfgit commented on pull request #665: DISPATCH-1513: Made changes CMake v 2.8 
compatible
URL: https://github.com/apache/qpid-dispatch/pull/665
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17020599#comment-17020599
 ] 

ASF subversion and git services commented on DISPATCH-1513:
---

Commit 6ebdff0c9d997a3c3769df954dfbf57146c4835d in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=6ebdff0 ]

DISPATCH-1513: Made changes CMake v 2.8 compatible. This closes #665


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-17 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017957#comment-17017957
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

mgoulish commented on pull request #642: DISPATCH-1513: add LWS flag to allow 
plain HTTP on an HTTPS listener.
URL: https://github.com/apache/qpid-dispatch/pull/642
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-17 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017958#comment-17017958
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

mgoulish commented on issue #642: DISPATCH-1513: add LWS flag to allow plain 
HTTP on an HTTPS listener.
URL: https://github.com/apache/qpid-dispatch/pull/642#issuecomment-575608020
 
 
   Fixed on master.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017622#comment-17017622
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ganeshmurthy commented on issue #665: DISPATCH-1513: Made changes CMake v 2.8 
compatible
URL: https://github.com/apache/qpid-dispatch/pull/665#issuecomment-575422187
 
 
   I saw the following failure on RHEL 7 systems, hence this fix - 
   Found Threads: TRUE  
   -- Found Proton: 
optimized;/usr/lib64/libqpid-proton.so;debug;/usr/lib64/libqpid-proton.so 
(found version "0.31.0")
   -- Found LIBWEBSOCKETS: 3.0.1  
   CMake Error at cmake/FindLibWebSockets.cmake:70 (if):
 if given arguments:
   
   "LIBWEBSOCKETS_VERSION_STRING" "AND" "(" "LIBWEBSOCKETS_VERSION_STRING" 
"VERSION_GREATER_EQUAL" "LWS_VERSION_WITH_SSL_FIX" ")"
   
 Unknown arguments specified
   Call Stack (most recent call first):
 CMakeLists.txt:63 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017620#comment-17017620
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ganeshmurthy commented on pull request #665: DISPATCH-1513: Made changes CMake 
v 2.8 compatible
URL: https://github.com/apache/qpid-dispatch/pull/665
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-16 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017396#comment-17017396
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

asfgit commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17017395#comment-17017395
 ] 

ASF subversion and git services commented on DISPATCH-1513:
---

Commit f2336b596a39cb5608cae83d67857ed0edfa29a8 in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=f2336b5 ]

DISPATCH-1513 - Fixed router crash when running http requests over https. This 
fix is available only on systems that are running libwebsockets version 3.2.0 
and above. This closes #660.


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016342#comment-17016342
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

codecov-io commented on issue #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#issuecomment-573859128
 
 
   # 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=h1) 
Report
   > Merging 
[#660](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=desc) into 
[master](https://codecov.io/gh/apache/qpid-dispatch/commit/655145d8e5c9d3a947e407e8bbf08deb13830db3?src=pr=desc)
 will **increase** coverage by `0.03%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/qpid-dispatch/pull/660/graphs/tree.svg?width=650=rk2Cgd27pP=150=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #660  +/-   ##
   ==
   + Coverage   86.53%   86.57%   +0.03% 
   ==
 Files  91   92   +1 
 Lines   2065221022 +370 
   ==
   + Hits1787218200 +328 
   - Misses   2780 2822  +42
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[src/router\_core/route\_tables.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlX3RhYmxlcy5j)
 | `70.63% <0%> (-5.05%)` | :arrow_down: |
   | 
[src/router\_pynode.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9weW5vZGUuYw==)
 | `80.55% <0%> (-3.71%)` | :arrow_down: |
   | 
[src/python\_embedded.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3B5dGhvbl9lbWJlZGRlZC5j)
 | `77.65% <0%> (-0.8%)` | :arrow_down: |
   | 
[src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL2l0ZXJhdG9yLmM=)
 | `89.17% <0%> (-0.17%)` | :arrow_down: |
   | 
[src/router\_core/exchange\_bindings.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2V4Y2hhbmdlX2JpbmRpbmdzLmM=)
 | `91.11% <0%> (-0.04%)` | :arrow_down: |
   | 
[src/router\_core/modules/edge\_router/edge\_mgmt.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvZWRnZV9tZ210LmM=)
 | `85% <0%> (ø)` | :arrow_up: |
   | 
[...router\_core/modules/edge\_router/link\_route\_proxy.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvbGlua19yb3V0ZV9wcm94eS5j)
 | `78.69% <0%> (ø)` | :arrow_up: |
   | 
[src/router\_core/core\_events.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2NvcmVfZXZlbnRzLmM=)
 | `100% <0%> (ø)` | :arrow_up: |
   | 
[...uter\_core/modules/edge\_router/connection\_manager.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvY29ubmVjdGlvbl9tYW5hZ2VyLmM=)
 | `96.87% <0%> (ø)` | :arrow_up: |
   | 
[src/router\_core/modules/edge\_router/addr\_proxy.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvYWRkcl9wcm94eS5j)
 | `91.83% <0%> (ø)` | :arrow_up: |
   | ... and [12 
more](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree-more)
 | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=footer).
 Last update 
[655145d...54aeeae](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016314#comment-17016314
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ganeshmurthy commented on pull request #660: DISPATCH-1513 - Fixed router crash 
when running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r367099480
 
 

 ##
 File path: tests/system_tests_http.py.in
 ##
 @@ -250,8 +250,9 @@ def listener(**kwargs):
 self.assert_get("https://localhost:%s; % r.ports[0])
 # requireSsl=false Allows simple-ssl HTTP
 
-# Commenting out the following assert until DISPATCH-1513 is fixed.
-#self.assert_get("http://localhost:%s; % r.ports[0])
+# The following test will be commented out if you are runnung a 
version lower than
 
 Review comment:
   We do have c code that is conditionally compiled using an extra flag based 
on the version of LWS available on the system. The python tests have to be 
dealt with separately as well, so we test the version in the  
cmake/FindLibWebSockets.cmake  file
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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


[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016281#comment-17016281
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ChugR commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r367075938
 
 

 ##
 File path: tests/system_tests_http.py.in
 ##
 @@ -250,8 +250,9 @@ def listener(**kwargs):
 self.assert_get("https://localhost:%s; % r.ports[0])
 # requireSsl=false Allows simple-ssl HTTP
 
-# Commenting out the following assert until DISPATCH-1513 is fixed.
-#self.assert_get("http://localhost:%s; % r.ports[0])
+# The following test will be commented out if you are runnung a 
version lower than
 
 Review comment:
   These are compile-time tests that build software with or without some 
features. Don't we really want code that is compiled to handle both cases and 
then detect what to do at run-time?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

-
To unsubscribe, e-mail: 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016272#comment-17016272
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

kgiusti commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r367072994
 
 

 ##
 File path: tests/system_tests_http.py.in
 ##
 @@ -250,8 +250,9 @@ def listener(**kwargs):
 self.assert_get("https://localhost:%s; % r.ports[0])
 # requireSsl=false Allows simple-ssl HTTP
 
-# Commenting out the following assert until DISPATCH-1513 is fixed.
-#self.assert_get("http://localhost:%s; % r.ports[0])
+# The following test will be commented out if you are runnung a 
version lower than
 
 Review comment:
   "runnung" 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016271#comment-17016271
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

kgiusti commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r367073048
 
 

 ##
 File path: src/http-libwebsockets.c
 ##
 @@ -354,7 +354,11 @@ static void listener_start(qd_http_listener_t *hl, 
qd_http_server_t *hs) {
 
 info.options |=
 LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
+#if (LWS_LIBRARY_VERSION_MAJOR == 3 && LWS_LIBRARY_VERSION_MINOR >= 2)
 
 Review comment:
   What happens when LWS_LIBRARY_VERSION_MAJOR == 4?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016243#comment-17016243
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

codecov-io commented on issue #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#issuecomment-573859128
 
 
   # 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=h1) 
Report
   > Merging 
[#660](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=desc) into 
[master](https://codecov.io/gh/apache/qpid-dispatch/commit/655145d8e5c9d3a947e407e8bbf08deb13830db3?src=pr=desc)
 will **decrease** coverage by `<.01%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/qpid-dispatch/pull/660/graphs/tree.svg?width=650=rk2Cgd27pP=150=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #660  +/-   ##
   ==
   - Coverage   86.53%   86.53%   -0.01% 
   ==
 Files  91   92   +1 
 Lines   2065221022 +370 
   ==
   + Hits1787218192 +320 
   - Misses   2780 2830  +50
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[src/router\_core/route\_tables.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL3JvdXRlX3RhYmxlcy5j)
 | `70.63% <0%> (-5.05%)` | :arrow_down: |
   | 
[src/router\_pynode.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9weW5vZGUuYw==)
 | `80.55% <0%> (-3.71%)` | :arrow_down: |
   | 
[src/python\_embedded.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3B5dGhvbl9lbWJlZGRlZC5j)
 | `77.65% <0%> (-0.8%)` | :arrow_down: |
   | 
[src/router\_core/transfer.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL3RyYW5zZmVyLmM=)
 | `93.17% <0%> (-0.74%)` | :arrow_down: |
   | 
[src/router\_core/connections.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2Nvbm5lY3Rpb25zLmM=)
 | `93.79% <0%> (-0.21%)` | :arrow_down: |
   | 
[src/container.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL2NvbnRhaW5lci5j)
 | `82.16% <0%> (-0.19%)` | :arrow_down: |
   | 
[src/iterator.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL2l0ZXJhdG9yLmM=)
 | `89.17% <0%> (-0.17%)` | :arrow_down: |
   | 
[src/message.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL21lc3NhZ2UuYw==)
 | `90.8% <0%> (-0.1%)` | :arrow_down: |
   | 
[src/router\_core/exchange\_bindings.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2V4Y2hhbmdlX2JpbmRpbmdzLmM=)
 | `91.11% <0%> (-0.04%)` | :arrow_down: |
   | 
[src/router\_core/modules/edge\_router/edge\_mgmt.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9yb3V0ZXIvZWRnZV9tZ210LmM=)
 | `85% <0%> (ø)` | :arrow_up: |
   | ... and [13 
more](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree-more)
 | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=footer).
 Last update 
[655145d...65f2f16](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016090#comment-17016090
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

kgiusti commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r366935052
 
 

 ##
 File path: src/http-libwebsockets.c.in
 ##
 @@ -354,7 +354,7 @@ static void listener_start(qd_http_listener_t *hl, 
qd_http_server_t *hs) {
 
 info.options |=
 LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
-(config->ssl_required ? 0 : 
LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT) |
+(config->ssl_required ? 0 : 
LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT 
${OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER}) |
 
 Review comment:
   libwebsockets exports its version as the following:
   LWS_LIBRARY_VERSION_MAJOR
   LWS_LIBRARY_VERSION_MINOR
   
   you should be able to simply do
   
   #if LWS_LIBRARY_VERSION_MAJOR > 3 || (LWS_LIBRARY_VERSION_MAJOR == 3 && 
LWS_LIBRARY_VERSION_MINOR >= 2)
   set the HTTPS_ON_HTTPS_LISTENER flags etc
   #endif 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



--
This message 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016088#comment-17016088
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

kgiusti commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r366935052
 
 

 ##
 File path: src/http-libwebsockets.c.in
 ##
 @@ -354,7 +354,7 @@ static void listener_start(qd_http_listener_t *hl, 
qd_http_server_t *hs) {
 
 info.options |=
 LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
-(config->ssl_required ? 0 : 
LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT) |
+(config->ssl_required ? 0 : 
LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT 
${OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER}) |
 
 Review comment:
   libwebsockets exports its version as the following:
   LWS_LIBRARY_VERSION_MAJOR
   LWS_LIBRARY_VERSION_MINOR
   
   you should be able to simply do
   
   #if LWS_LIBRARY_VERSION_MAJOR > 3 || (LWS_LIBRARY_VERSION_MAJOR == 3 && 
LWS_LIBRARY_VERSION_MINOR >= 2)
   
   #endif 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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


[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17016087#comment-17016087
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

kgiusti commented on pull request #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#discussion_r366918885
 
 

 ##
 File path: cmake/FindLibWebSockets.cmake
 ##
 @@ -60,6 +60,20 @@ else()
 LIBWEBSOCKETS DEFAULT_MSG LIBWEBSOCKETS_VERSION_STRING 
LIBWEBSOCKETS_LIBRARIES LIBWEBSOCKETS_INCLUDE_DIRS)
 endif()
 
+
+if (LIBWEBSOCKETS_FOUND)
+ # This is a fix for DISPATCH-1513. libwebsockets versions 3.2.0 introduces a 
new flag called LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER
+ # The new flag allows (as the flag says) HTTP pver HTTPS listeners. Since 
this flag is not available before lws 3.2.0 we need
+ # to selectively include the flag in http-libwebsockets.c
+ set(OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER "")
+ set(TEST_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER "#")
+ set(LWS_VERSION_WITH_SSL_FIX "3.2.0")
+ if (LIBWEBSOCKETS_VERSION_STRING AND (LIBWEBSOCKETS_VERSION_STRING 
VERSION_GREATER_EQUAL LWS_VERSION_WITH_SSL_FIX))
+   set(OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER "| 
LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER")
 
 Review comment:
   Can you instead check the libwebsockets version directly in 
http-libwebsockets.c?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-13 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17014644#comment-17014644
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

codecov-io commented on issue #660: DISPATCH-1513 - Fixed router crash when 
running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660#issuecomment-573859128
 
 
   # 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=h1) 
Report
   > Merging 
[#660](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=desc) into 
[master](https://codecov.io/gh/apache/qpid-dispatch/commit/655145d8e5c9d3a947e407e8bbf08deb13830db3?src=pr=desc)
 will **increase** coverage by `0.01%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/qpid-dispatch/pull/660/graphs/tree.svg?width=650=rk2Cgd27pP=150=pr)](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #660  +/-   ##
   ==
   + Coverage   86.53%   86.55%   +0.01% 
   ==
 Files  91   91  
 Lines   2065220652  
   ==
   + Hits1787217875   +3 
   + Misses   2780 2777   -3
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[src/router\_core/forwarder.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2ZvcndhcmRlci5j)
 | `93.95% <0%> (-0.47%)` | :arrow_down: |
   | 
[src/router\_core/core\_client\_api.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2NvcmVfY2xpZW50X2FwaS5j)
 | `91.41% <0%> (-0.38%)` | :arrow_down: |
   | 
[src/router\_node.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9ub2RlLmM=)
 | `93.23% <0%> (ø)` | :arrow_up: |
   | 
[src/router\_core/connections.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL2Nvbm5lY3Rpb25zLmM=)
 | `94.1% <0%> (+0.11%)` | :arrow_up: |
   | 
[src/server.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3NlcnZlci5j)
 | `86.56% <0%> (+0.12%)` | :arrow_up: |
   | 
[src/router\_core/transfer.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL3RyYW5zZmVyLmM=)
 | `94.14% <0%> (+0.24%)` | :arrow_up: |
   | 
[...re/modules/edge\_addr\_tracking/edge\_addr\_tracking.c](https://codecov.io/gh/apache/qpid-dispatch/pull/660/diff?src=pr=tree#diff-c3JjL3JvdXRlcl9jb3JlL21vZHVsZXMvZWRnZV9hZGRyX3RyYWNraW5nL2VkZ2VfYWRkcl90cmFja2luZy5j)
 | `87.09% <0%> (+1.61%)` | :arrow_up: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=footer).
 Last update 
[655145d...f43200f](https://codecov.io/gh/apache/qpid-dispatch/pull/660?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2020-01-13 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17014626#comment-17014626
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ganeshmurthy commented on pull request #660: DISPATCH-1513 - Fixed router crash 
when running http requests over ht…
URL: https://github.com/apache/qpid-dispatch/pull/660
 
 
   …tps. This fix is available only on systems that are running libwebsockets 
version 3.2.0 and above
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Ganesh Murthy
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2019-12-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16993583#comment-16993583
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

ganeshmurthy commented on issue #642: DISPATCH-1513: add LWS flag to allow 
plain HTTP on an HTTPS listener.
URL: https://github.com/apache/qpid-dispatch/pull/642#issuecomment-564562413
 
 
   Compiling this on Fedora 29 gives the following error - 
   /home/gmurthy/opensource/qpid-dispatch/src/http-libwebsockets.c: In function 
‘listener_start’:
   /home/gmurthy/opensource/qpid-dispatch/src/http-libwebsockets.c:357:87: 
error: ‘LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER’ undeclared (first use 
in this function); did you mean ‘LWS_SERVER_OPTION_ALLOW_LISTEN_SHARE’?
(config->ssl_required ? 0 : 
LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT | 
LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER ) |

  ^~

  LWS_SERVER_OPTION_ALLOW_LISTEN_SHARE
   /home/gmurthy/opensource/qpid-dispatch/src/http-libwebsockets.c:357:87: 
note: each undeclared identifier is reported only once for each function it 
appears in
   make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/build.make:978: 
src/CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o] Error 1
   make[1]: *** [CMakeFiles/Makefile2:987: 
src/CMakeFiles/qpid-dispatch.dir/all] Error 2
   make: *** [Makefile:141: all] Error 2
   [gmurthy@localhost build]$ 
   
   Looks like the flag LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER was 
introduced in libwebsockets 3.2.0 ?
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Michael Goulish
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = 

[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2019-12-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16993572#comment-16993572
 ] 

ASF GitHub Bot commented on DISPATCH-1513:
--

mgoulish commented on pull request #642: DISPATCH-1513: add LWS flag to allow 
plain HTTP on an HTTPS listener.
URL: https://github.com/apache/qpid-dispatch/pull/642
 
 
   One line fix -- we just need to tell Libwebsockets that we want it to do 
this, and it will let us.
   
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Michael Goulish
>Priority: Major
> Fix For: 1.11.0
>
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2019-12-06 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989852#comment-16989852
 ] 

ASF subversion and git services commented on DISPATCH-1513:
---

Commit 420ab0eadb0feea2e71a02dd46e17321158b10f2 in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=420ab0e ]

DISPATCH-1513 - Commented out a single assert until DISPATCH-1513 is fixed


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Improvement
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Michael Goulish
>Priority: Major
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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



[jira] [Commented] (DISPATCH-1513) system_tests_http failing with libwebsockets 3.2 on Fedora 31

2019-12-06 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16989850#comment-16989850
 ] 

ASF subversion and git services commented on DISPATCH-1513:
---

Commit 420ab0eadb0feea2e71a02dd46e17321158b10f2 in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=420ab0e ]

DISPATCH-1513 - Commented out a single assert until DISPATCH-1513 is fixed


> system_tests_http failing with libwebsockets 3.2 on Fedora 31
> -
>
> Key: DISPATCH-1513
> URL: https://issues.apache.org/jira/browse/DISPATCH-1513
> Project: Qpid Dispatch
>  Issue Type: Improvement
>  Components: Tests
>Reporter: Ganesh Murthy
>Assignee: Michael Goulish
>Priority: Major
>
> Fedora 31 has the latest libwebsockets v 3.2.0 and system_tests_http is 
> failing -
> To reproduce
>  # cd qpid-dispatch/dockerfiles
>  # Open the file Dockerfile-fedora and comment out the line ENTRYPOINT 
> ["qdrouterd"]  and uncomment CMD ["/bin/bash"]. Save the file.
>  # sudo docker build -t fedora31/dispatch --file=Dockerfile-fedora .
>  # sudo docker run -i -t fedora31/dispatch
>  # cd /main/qpid-dispatch/build
>  # ctest -V -R system_tests_http. You will see the following error
> I am commenting out the failing test until the underlying problem is fixed.
> {noformat}
> [root@13552f9cbb69 build]# /usr/bin/python 
> "/main/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" 
> "system_tests_http.RouterTestHttp.test_https_get"
> test_https_get (system_tests_http.RouterTestHttp) ... 
> /main/qpid-dispatch/tests/system_tests_http.py:54: DeprecationWarning: 
> cafile, capath and cadefault are deprecated, use a custom context instead.
>   http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
> ERROR==
> ERROR: test_https_get (system_tests_http.RouterTestHttp)
> --
> Traceback (most recent call last):
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 252, in 
> test_https_get
> self.assert_get("http://localhost:%s; % r.ports[0])
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 83, in 
> assert_get
> self.assertEqual(u'HTTP test\n', self.get("%s/system_tests_http.txt" % 
> url))
>   File "/main/qpid-dispatch/tests/system_tests_http.py", line 54, in get
> http_data = urlopen(url, cafile=cls.ssl_file('ca-certificate.pem'))
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 525, in open
> response = self._open(req, data)
>   File "/usr/lib64/python3.7/urllib/request.py", line 543, in _open
> '_open', req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
> result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1345, in http_open
> return self.do_open(http.client.HTTPConnection, req)
>   File "/usr/lib64/python3.7/urllib/request.py", line 1320, in do_open
> r = h.getresponse()
>   File "/usr/lib64/python3.7/http/client.py", line 1344, in getresponse
> response.begin()
>   File "/usr/lib64/python3.7/http/client.py", line 306, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python3.7/http/client.py", line 275, in _read_status
> raise RemoteDisconnected("Remote end closed connection without"
> http.client.RemoteDisconnected: Remote end closed connection without 
> response--
> Ran 1 test in 0.164s  {noformat}



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

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