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

HSHA dtest for closing connections is failing on trunk

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • None

    Description

      The thrift_hsha_test.ThriftHSHATest.test_closing_connections dtest is failing against trunk (but not against 2.1). Here's an example failure:

      Error Message
      
      There are non-closed connections: COMMAND   PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
      java    28202 automaton    7u  IPv4  60767      0t0  TCP localhost:58436->localhost:9160 (CLOSE_WAIT)
      
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /tmp/dtest-U0pP7H
      dtest: DEBUG: Creating connection pools..
      dtest: DEBUG: Disabling/Enabling thrift iteration #0
      dtest: DEBUG: Closing connections from the client side..
      pycassa.pool: INFO: Pool 139721997822224 was disposed
      pycassa.pool: INFO: Pool 139721997714512 was disposed
      pycassa.pool: INFO: Pool 139721997749904 was disposed
      --------------------- >> end captured logging << ---------------------
      
      Stacktrace
      
        File "/usr/lib/python2.7/unittest/case.py", line 331, in run
          testMethod()
        File "/home/automaton/cassandra-dtest/thrift_hsha_test.py", line 59, in test_closing_connections
          self.assertEqual(len(lines), 0, "There are non-closed connections: %s" % stdout)
        File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
          assertion_func(first, second, msg=msg)
        File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
          raise self.failureException(msg)
      'There are non-closed connections: COMMAND   PID      USER   FD   TYPE DEVICE SIZE/OFF NODE NAME\njava    28202 automaton    7u  IPv4  60767      0t0  TCP localhost:58436->localhost:9160 (CLOSE_WAIT)\n\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /tmp/dtest-U0pP7H\ndtest: DEBUG: Creating connection pools..\ndtest: DEBUG: Disabling/Enabling thrift iteration #0\ndtest: DEBUG: Closing connections from the client side..\npycassa.pool: INFO: Pool 139721997822224 was disposed\npycassa.pool: INFO: Pool 139721997714512 was disposed\npycassa.pool: INFO: Pool 139721997749904 was disposed\n--------------------- >> end captured logging << ---------------------'
      

      Attachments

        Issue Links

        Activity

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

          People

            aweisberg Ariel Weisberg Assign to me
            thobbs Tom Hobbs
            Ariel Weisberg
            Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment