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

ConnectionBurnTest fails with NullPointerException

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsStart ReviewNeeds Committer
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Test/burn
    • None
    • Correctness
    • Normal
    • Challenging
    • User Report
    • All
    • None
    • Hide

      Run ConnectionBurnTest locally.

      Show
      Run ConnectionBurnTest locally.

    Description

      The ConnectionBurnTest is used to check the throughput of outgoing and incoming connections and report the results of execution to the log. During the test run, I noticed a couple of errors that actually prevent us from getting any results.

      1. The NullPointerException is thrown during the test execution
        java.lang.NullPointerException: null
        	at org.apache.cassandra.metrics.ClientMetrics.unpauseConnection(ClientMetrics.java:69)
        	at org.apache.cassandra.net.AbstractMessageHandler.onReserveCapacityRegained(AbstractMessageHandler.java:314)
        	at org.apache.cassandra.net.AbstractMessageHandler.onGlobalReserveCapacityRegained(AbstractMessageHandler.java:289)
        	at org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$Ticket.reactivateHandler(AbstractMessageHandler.java:792)
        	at org.apache.cassandra.net.AbstractMessageHandler$WaitQueue$ReactivateHandlers.run(AbstractMessageHandler.java:740)
        
      2. The exception is swallowed and the test exits almost immediately, but the exception itself is not rethrown and the exit code is zero. The test is always green on CI, but a fatal exception has occurred;

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mmuzaf Maxim Muzafarov Assign to me
            mmuzaf Maxim Muzafarov
            Maxim Muzafarov

            Dates

              Created:
              Updated:

              Slack

                Issue deployment