You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2023/01/24 11:18:00 UTC

[jira] [Commented] (CASSANDRA-18191) Native Transport SSL tests failing

    [ https://issues.apache.org/jira/browse/CASSANDRA-18191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680182#comment-17680182 ] 

Stefan Miklosovic commented on CASSANDRA-18191:
-----------------------------------------------

Thanks for reporting this, [~claude]. I think that our changes are not relevant here. I tried to execute the test locally and it is failing as well, regardless how "far" I checkout 3.0 branch, way more beyond our recent commits. I see that when I was testing CASSANDRA-12525 (1) it was not failing yet but it strangely started to fail afterwards.

Is not this related to our recent support of Python 3.11?

I also see this in the log locally:
{code:java}
native_transport_ssl_test.py::TestNativeTransportSSL::test_connect_to_ssl
  /home/fermat/dev/cassandra/cassandra-dtest/lib/python3.10/site-packages/ccmlib/common.py:481: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    version = LooseVersion(str(version))

native_transport_ssl_test.py: 239 warnings
  /home/fermat/dev/cassandra/cassandra-dtest/dtest.py:284: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion('4.0') <= cassandra_version:

native_transport_ssl_test.py: 239 warnings
  /home/fermat/dev/cassandra/cassandra-dtest/dtest.py:286: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    elif LooseVersion('3.0') <= cassandra_version:

native_transport_ssl_test.py: 119 warnings
  /home/fermat/dev/cassandra/cassandra-dtest/dtest_setup.py:248: DeprecationWarning: Using ssl_options without ssl_context is deprecated and will result in an error in the next major release. Please use ssl_context to prepare for that release.
    cluster = PyCluster([node_ip],

native_transport_ssl_test.py: 119 warnings
  /home/fermat/dev/cassandra/cassandra-dtest/src/cassandra-driver/cassandra/io/libevreactor.py:267: DeprecationWarning: ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket()
    self._connect_socket()

native_transport_ssl_test.py: 119 warnings
  /usr/lib/python3.10/ssl.py:1434: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    context = SSLContext(ssl_version)
{code}
note: I have Python 3.10.6 locally.

(1) [https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2185/]

> Native Transport SSL tests failing
> ----------------------------------
>
>                 Key: CASSANDRA-18191
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18191
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Claude Warren
>            Assignee: Brandon Williams
>            Priority: Normal
>
>  
> Cassandra 3.0
>  
> TestNativeTransportSSL.test_connect_to_ssl and TestNativeTransportSSL.test_connect_to_ssl (novnode)
> [https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.0/failure/native_transport_ssl_test/TestNativeTransportSSL/test_connect_to_ssl]
> As well as 
> TestNativeTransportSSL.test_connect_to_ssl_optional and TestNativeTransportSSL.test_connect_to_ssl_optional (nvnode)
> [https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.0/failure/native_transport_ssl_test/TestNativeTransportSSL/test_use_custom_ssl_port]
> are failing after 2 merges that don't seem like they would impact SSL or server availaibility.
> Most recent error message is:
> cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers',
> {'127.0.0.1:9042': PermissionError(1, "Tried connecting to [('127.0.0.1', 9042)]. Last error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:992)")}
> )
>  
> Most recent changes made by 
> [@smiklosovic|https://github.com/apache/cassandra/commits?author=smiklosovic] and [@driftx|https://github.com/apache/cassandra/commits?author=driftx] .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org