[
https://issues.apache.org/jira/browse/CASSANDRA-14595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560426#comment-16560426
]
Jay Zhuang commented on CASSANDRA-14595:
----------------------------------------
Tested locally with {{3.11}} and works fine:
{noformat}
$ pytest --count=10 --cassandra-dir=~/ws/cassandra
thrift_hsha_test.py::TestThriftHSHA::test_closing_connections
===================================================================================================================================
test session starts
===================================================================================================================================
platform darwin -- Python 3.6.5, pytest-3.6.0, py-1.5.3, pluggy-0.6.0
rootdir: /Users/zjay/ws/cassandra-dtest, inifile: pytest.ini
plugins: timeout-1.2.1, repeat-0.5.0, flaky-3.4.0
timeout: 900.0s method: signal
collected 10 items
thrift_hsha_test.py ..........
[100%]
===Flaky Test Report===
test_closing_connections[1/10] passed 1 out of the required 1 times. Success!
test_closing_connections[2/10] passed 1 out of the required 1 times. Success!
test_closing_connections[3/10] passed 1 out of the required 1 times. Success!
test_closing_connections[4/10] passed 1 out of the required 1 times. Success!
test_closing_connections[5/10] passed 1 out of the required 1 times. Success!
test_closing_connections[6/10] passed 1 out of the required 1 times. Success!
test_closing_connections[7/10] passed 1 out of the required 1 times. Success!
test_closing_connections[8/10] passed 1 out of the required 1 times. Success!
test_closing_connections[9/10] passed 1 out of the required 1 times. Success!
test_closing_connections[10/10] passed 1 out of the required 1 times. Success!
===End Flaky Test Report===
===============================================================================================================================
10 passed in 446.70 seconds
===============================================================================================================================
{noformat}
> [dtest] test_closing_connections - thrift_hsha_test.TestThriftHSHA
> ------------------------------------------------------------------
>
> Key: CASSANDRA-14595
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14595
> Project: Cassandra
> Issue Type: Improvement
> Components: Testing
> Reporter: Jason Brown
> Priority: Major
> Labels: dtest
>
> dtest constantly failing on 2.2 / 3.0 / 3.11 with this error:
> ccmlib.node.ToolError: Subprocess ['nodetool', '-h', 'localhost', '-p',
> '7100', 'enablethrift'] exited with non-zero status; exit status: 2; stderr:
> error: Could not create ServerSocket on address /127.0.0.1:9160. – StackTrace
> – org.apache.thrift.transport.TTransportException: Could not create
> ServerSocket on address /127.0.0.1:9160. at
> org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:96)
> at
> org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:79)
> at
> org.apache.thrift.transport.TNonblockingServerSocket.<init>(TNonblockingServerSocket.java:75)
> at
> org.apache.cassandra.thrift.TCustomNonblockingServerSocket.<init>(TCustomNonblockingServerSocket.java:39)
> at
> org.apache.cassandra.thrift.THsHaDisruptorServer$Factory.buildTServer(THsHaDisruptorServer.java:80)
> at
> org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:55)
> at
> org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>(ThriftServer.java:128)
> at org.apache.cassandra.thrift.ThriftServer.start(ThriftServer.java:55) at
> org.apache.cassandra.service.StorageService.startRPCServer(StorageService.java:364)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
> at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
> at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
> at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
> at
> javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
> at
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
> at
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
> at
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at
> sun.rmi.transport.Transport$1.run(Transport.java:200) at
> sun.rmi.transport.Transport$1.run(Transport.java:197) at
> java.security.AccessController.doPrivileged(Native Method) at
> sun.rmi.transport.Transport.serviceCall(Transport.java:196) at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
> at java.security.AccessController.doPrivileged(Native Method) at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>
> (sorry for the crappy formatting)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]