[ https://issues.apache.org/jira/browse/CASSANDRA-14110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288359#comment-16288359 ]
Jay Zhuang commented on CASSANDRA-14110: ---------------------------------------- I'm able to reproduce the problem on a Linux machine. The patch adds try-catch for {{OperationTimedOutException}}, so the test could retry, please review: | Branch | uTest | | [14110|https://github.com/cooldoger/cassandra/tree/14110] | [!https://circleci.com/gh/cooldoger/cassandra/tree/14110.svg?style=svg!|https://circleci.com/gh/cooldoger/cassandra/tree/14110] | Also, these trivial changes (CASSANDRA-14111, CASSANDRA-13077) could be useful for debugging such issue. > ViewLongTest.testConflictResolution() failed > -------------------------------------------- > > Key: CASSANDRA-14110 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14110 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Jay Zhuang > Assignee: Jay Zhuang > > The test works fine on my mac, but failed in the > [CircleCI|https://circleci.com/gh/cooldoger/cassandra/157]: > {noformat} > $ ant long-test -Dtest.name=ViewLongTest > ... > [junit] Testcase: > testConflictResolution(org.apache.cassandra.cql3.ViewLongTest): Caused an > ERROR > [junit] [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] com.datastax.driver.core.exceptions.OperationTimedOutException: > [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] at > com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44) > [junit] at > com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26) > [junit] at > com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37) > [junit] at > com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245) > [junit] at > com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68) > [junit] at > com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:51) > [junit] at > org.apache.cassandra.cql3.CQLTester.executeNet(CQLTester.java:829) > [junit] at > org.apache.cassandra.cql3.ViewLongTest.testConflictResolution(ViewLongTest.java:138) > [junit] Caused by: > com.datastax.driver.core.exceptions.OperationTimedOutException: > [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] at > com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:800) > [junit] at > com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1382) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:663) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:738) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:466) > [junit] at > com.datastax.shaded.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) > [junit] at java.lang.Thread.run(Thread.java:745) > [junit] > [junit] > [junit] Testcase: > testConflictResolution(org.apache.cassandra.cql3.ViewLongTest): Caused an > ERROR > [junit] [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] com.datastax.driver.core.exceptions.OperationTimedOutException: > [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] at > com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44) > [junit] at > com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26) > [junit] at > com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37) > [junit] at > com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245) > [junit] at > com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68) > [junit] at > com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:51) > [junit] at > org.apache.cassandra.cql3.CQLTester.executeNet(CQLTester.java:829) > [junit] at > org.apache.cassandra.cql3.ViewLongTest.end(ViewLongTest.java:66) > [junit] Caused by: > com.datastax.driver.core.exceptions.OperationTimedOutException: > [localhost/127.0.0.1:40644] Timed out waiting for server response > [junit] at > com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:800) > [junit] at > com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1382) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:663) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:738) > [junit] at > com.datastax.shaded.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:466) > [junit] at > com.datastax.shaded.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) > [junit] at java.lang.Thread.run(Thread.java:745) > [junit] > [junit] > [junit] Test org.apache.cassandra.cql3.ViewLongTest FAILED > ... > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org