Keith Wall created PROTON-299:
---------------------------------
Summary:
proton_tests.ssl.SslTest.test_server_hostname_authentication occasionally fails
against proton-c
Key: PROTON-299
URL: https://issues.apache.org/jira/browse/PROTON-299
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: 0.5
Environment: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
2.6.18-128.7.1.el5
openssl-0.9.8e-22.el5_8.4.x86_64
openssl-0.9.8e-22.el5_8.4.i686
Python 2.7.3
Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Reporter: Keith Wall
I've noticed that SslTest.test_server_hostname_authentication occasionally
fails. Running the test in isolation in a loop I see the test fail about 1
time in 15 with command:
{noformat}
while proton-test proton_tests.ssl.SslTest.test_server_hostname_authentication
; do echo; done
{noformat}
fails in the following manner:
{noformat}
proton_tests.ssl.SslTest.test_server_hostname_authentication
Error during test: Traceback (most recent call last):
File "tests/python/proton-test", line 340, in run
phase()
File "/home/keith/src/proton/tests/python/proton_tests/ssl.py", line 636,
in test_server_hostname_authentication
self._do_handshake( client, server )
File "/home/keith/src/proton/tests/python/proton_tests/ssl.py", line 99, in
_do_handshake
self._pump(client, server)
File "/home/keith/src/proton/tests/python/proton_tests/ssl.py", line 77, in
_pump
number_client_consumed = ssl_client.transport.input(out_server)
File "/home/keith/src/proton/proton-c/bindings/python/proton.py", line
2338, in input
return self._check(n)
File "/home/keith/src/proton/proton-c/bindings/python/proton.py", line
2312, in _check
raise exc("[%s]: %s" % (err,
pn_error_text(pn_transport_error(self._trans))))
TransportException: [-2]: SSL Failure: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira