[
https://issues.apache.org/jira/browse/CASSANDRA-18704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749296#comment-17749296
]
Maxim Muzafarov commented on CASSANDRA-18704:
---------------------------------------------
Another type of the same error that is swallowed (The error is reproduced
locally).
{code}
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - java.lang.ClassCastException: class
org.apache.cassandra.net.OutboundConnection$Established cannot be cast to class
org.apache.cassandra.net.OutboundConnection$Disconnected
(org.apache.cassandra.net.OutboundConnection$Established and
org.apache.cassandra.net.OutboundConnection$Disconnected are in unnamed module
of loader 'app')
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.net.OutboundConnection$State.disconnected(OutboundConnection.java:201)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.net.OutboundConnection$1Initiate.onCompletedHandshake(OutboundConnection.java:1126)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.net.OutboundConnection$1Initiate.lambda$attempt$1(OutboundConnection.java:1239)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList.notifyListener(ListenerList.java:134)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList.notifyListener(ListenerList.java:148)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList$GenericFutureListenerList.notifySelf(ListenerList.java:190)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList.lambda$notifyExclusive$0(ListenerList.java:124)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.IntrusiveStack.forEach(IntrusiveStack.java:195)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList.notifyExclusive(ListenerList.java:124)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,643
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.ListenerList.notify(ListenerList.java:96)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,644
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.AsyncFuture.trySet(AsyncFuture.java:104)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,644
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.AbstractFuture.trySuccess(AbstractFuture.java:143)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,644
SubstituteLogger.java:265 - at
org.apache.cassandra.utils.concurrent.AsyncPromise.trySuccess(AsyncPromise.java:117)
ERROR [Messaging-EventLoop-6-1] 2023-07-31 19:12:15,644
SubstituteLogger.java:265 - at
org.apache.cassandra.net.OutboundConnectionInitiator$Handler.decode(OutboundConnectionInitiator.java:434)
{code}
> Test Failure: HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades
> ClassCastException: Established -> Disconnected
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18704
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18704
> Project: Cassandra
> Issue Type: Bug
> Components: Messaging/Internode
> Reporter: Michael Semb Wever
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 5.x
>
>
> The following has been witnesses a number of times in repeated runs, in
> different jdks and different test configurations.
> {noformat}
> java.lang.ClassCastException: class
> org.apache.cassandra.net.OutboundConnection$Established cannot be cast to
> class org.apache.cassandra.net.OutboundConnection$Disconnected
> (org.apache.cassandra.net.OutboundConnection$Established and
> org.apache.cassandra.net.OutboundConnection$Disconnected are in unnamed
> module of loader 'app')
> at
> org.apache.cassandra.net.OutboundConnection$State.disconnected(OutboundConnection.java:201)
> at
> org.apache.cassandra.net.OutboundConnection$1Initiate.initiate(OutboundConnection.java:1248)
> at
> org.apache.cassandra.net.OutboundConnection.initiate(OutboundConnection.java:1254)
> at
> org.apache.cassandra.net.HandshakeTest.initiateOutbound(HandshakeTest.java:365)
> at
> org.apache.cassandra.net.HandshakeTest.testOutboundFallbackOnSSLHandshakeFailure(HandshakeTest.java:380)
> at
> org.apache.cassandra.net.HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades(HandshakeTest.java:255)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {noformat}
> ref:
> https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/217/workflows/ce7392fa-756a-4392-b3a5-206bb2940553/jobs/15965/tests
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]