Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18704

Test Failure: HandshakeTest.testOutboundConnectionfFallbackDuringUpgrades ClassCastException: Established -> Disconnected

    XMLWordPrintableJSON

Details

    Description

      The following has been witnesses a number of times in repeated runs, in different jdks and different test configurations.

      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)
      

      ref: https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/217/workflows/ce7392fa-756a-4392-b3a5-206bb2940553/jobs/15965/tests

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              mck Michael Semb Wever
              Maxim Muzafarov
              Jon Meredith, Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h