[ 
https://issues.apache.org/jira/browse/CASSANDRA-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542754#comment-14542754
 ] 

Tyler Hobbs commented on CASSANDRA-9369:
----------------------------------------

I've disabled this test temporarily with the {{@require}} decorator.

> HSHA dtest for closing connections is failing on trunk
> ------------------------------------------------------
>
>                 Key: CASSANDRA-9369
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9369
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Tyler Hobbs
>            Assignee: Ariel Weisberg
>             Fix For: 2.2.x
>
>
> The {{thrift_hsha_test.ThriftHSHATest.test_closing_connections}} dtest is 
> failing against trunk (but not against 2.1).  Here's an example failure: 
> {noformat}
> ~/cassandra-dtest $ CASSANDRA_DIR=/home/thobbs/cassandra nosetests 
> thrift_hsha_test.py:ThriftHSHATest.test_closing_connections
> F
> ======================================================================
> FAIL: test_closing_connections (thrift_hsha_test.ThriftHSHATest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/thobbs/cassandra-dtest/thrift_hsha_test.py", line 59, in 
> test_closing_connections
>     self.assertEqual(len(lines), 0, "There are non-closed connections: %s" % 
> stdout)
> AssertionError: There are non-closed connections: lsof: WARNING: can't stat() 
> ext4 file system /var/lib/docker/aufs
>       Output information may be incomplete.
> -------------------- >> begin captured logging << --------------------
> dtest: DEBUG: Using jna.jar in CASSANDRA_DIR/lib..
> dtest: DEBUG: cluster ccm directory: /tmp/dtest-lH_n0m
> cassandra.cluster: WARNING: [control connection] Error connecting to 
> 127.0.0.1:
> Traceback (most recent call last):
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 1892, in 
> _reconnect_internal
>     return self._try_connect(host)
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 1909, in 
> _try_connect
>     connection = self._cluster.connection_factory(host.address, 
> is_control_connection=True)
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 710, in 
> connection_factory
>     return self.connection_class.factory(address, *args, **kwargs)
>   File "build/bdist.linux-x86_64/egg/cassandra/io/libevreactor.py", line 242, 
> in factory
>     conn = cls(*args, **kwargs)
>   File "build/bdist.linux-x86_64/egg/cassandra/io/libevreactor.py", line 277, 
> in __init__
>     raise socket.error(sockerr.errno, "Tried connecting to %s. Last error: 
> %s" % ([a[4] for a in addresses], sockerr.strerror))
> error: [Errno 111] Tried connecting to [('127.0.0.1', 9042)]. Last error: 
> Connection refused
> cassandra.cluster: ERROR: Control connection failed to connect, shutting down 
> Cluster:
> Traceback (most recent call last):
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 756, in 
> connect
>     self.control_connection.connect()
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 1866, in 
> connect
>     self._set_new_connection(self._reconnect_internal())
>   File "build/bdist.linux-x86_64/egg/cassandra/cluster.py", line 1901, in 
> _reconnect_internal
>     raise NoHostAvailable("Unable to connect to any servers", errors)
> NoHostAvailable: ('Unable to connect to any servers', {'127.0.0.1': 
> error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection 
> refused")})
> dtest: DEBUG: Creating connection pools..
> dtest: DEBUG: Disabling/Enabling thrift iteration #0
> dtest: DEBUG: Closing connections from the client side..
> pycassa.pool: INFO: Pool 140535693143568 was disposed
> pycassa.pool: INFO: Pool 140535693272016 was disposed
> pycassa.pool: INFO: Pool 140535710507920 was disposed
> --------------------- >> end captured logging << ---------------------
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to