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

MessagingServiceTest listenOptionalSecureConnection and listenRequiredSecureConnection fail sporadically

    XMLWordPrintableJSON

Details

    Description

      This popped up in a recent CircleCI run: https://app.circleci.com/pipelines/github/maedhroz/cassandra/351/workflows/f8dbf599-df72-4982-8a12-a72a5b8ddd3b/jobs/2195

      I was able to reproduce it locally on trunk as well in a single run, although it happens perhaps once per 3-4 runs of the MessagingServiceTest suite. It looks like we open the sockets in an InboundSockets container, await on the future that returns, and then assert that all those sockets are open. It’s not clear to me yet why this assertion fails sporadically, or what state changes exactly are racing.

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              maedhroz Caleb Rackliffe
              David Capwell
              Benedict Elliott Smith, Caleb Rackliffe
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: