You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2022/06/08 13:32:00 UTC

[jira] [Comment Edited] (CASSANDRA-17301) Test Failure: org.apache.cassandra.net.ProxyHandlerConnectionsTest.suddenDisconnect-cdc

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

Ekaterina Dimitrova edited comment on CASSANDRA-17301 at 6/8/22 1:31 PM:
-------------------------------------------------------------------------

This seems like a timeout issue.

I don't see it failing in Butler in 4.0, only 4.1 and trunk and I cannot reproduce in CircleCI. Locally it fails with super significant decrease of the timeout  [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/net/ProxyHandlerConnectionsTest.java#L279]

My suggestion is to increase the timeout to 40-50 seconds and see how Jenkins behaves. It has so many issues lately that I think it was just lagging a lot.

[4.0|https://github.com/ekaterinadimitrova2/cassandra/commit/35949190397239bf25863c0c36dfdad6f686a048] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1776/]

[4.1|https://github.com/ekaterinadimitrova2/cassandra/commit/c7692fce558fbb136d62d0db3bd96e7b05196a19] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1777/] (pending start)

[trunk|https://github.com/ekaterinadimitrova2/cassandra/commit/6f425c17a8ba1f61b394769847dbb8e11c0a0502] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1776/]  (pending start)


was (Author: e.dimitrova):
This seems like a timeout issue.

I don't see it failing in Butler in 4.0, only 4.1 and trunk and I cannot reproduce in CircleCI. Locally it fails with super significant decrease of the timeout  [here|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/net/ProxyHandlerConnectionsTest.java#L279]

My suggestion is to increase the timeout to 40-50 seconds and see how Jenkins behaves. It has so many issues lately that I think it was just lagging a lot.

[4.0|https://github.com/ekaterinadimitrova2/cassandra/commit/35949190397239bf25863c0c36dfdad6f686a048] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1776/]

[4.1|https://github.com/ekaterinadimitrova2/cassandra/commit/c7692fce558fbb136d62d0db3bd96e7b05196a19] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1777/] (pending start)

[trunk|https://github.com/ekaterinadimitrova2/cassandra/commit/6f425c17a8ba1f61b394769847dbb8e11c0a0502] | [Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1776/]  (pending start[Jenkins|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1777/])

> Test Failure: org.apache.cassandra.net.ProxyHandlerConnectionsTest.suddenDisconnect-cdc
> ---------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17301
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17301
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Josh McKenzie
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 4.0.x, 4.1-beta, 4.1.x
>
>
> https://ci-cassandra.apache.org/job/Cassandra-4.0/316/testReport/org.apache.cassandra.net/ProxyHandlerConnectionsTest/suddenDisconnect_cdc/
> See same failure on org.apache.cassandra.net.ProxyHandlerConnectionsTest.suddenDisconnect-compression as well
> Failed 1 times in the last 11 runs. Flakiness: 10%, Stability: 90%
> {code}
> Stacktrace
> java.util.concurrent.TimeoutException
> 	at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
> 	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
> 	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.waitForCondition(ProxyHandlerConnectionsTest.java:279)
> 	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.lambda$suddenDisconnect$29(ProxyHandlerConnectionsTest.java:237)
> 	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.doTestManual(ProxyHandlerConnectionsTest.java:385)
> 	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.testManual(ProxyHandlerConnectionsTest.java:344)
> 	at org.apache.cassandra.net.ProxyHandlerConnectionsTest.suddenDisconnect(ProxyHandlerConnectionsTest.java:225)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Standard Output
> DEBUG [main] 2022-01-23 13:09:13,779 InternalLoggerFactory.java:63 - Using SLF4J as the default logging framework
> DEBUG [main] 2022-01-23 13:09:13,805 PlatformDependent0.java:417 - -Dio.netty.noUnsafe: false
> DEBUG [main] 2022-01-23 13:09:13,805 PlatformDependent0.java:897 - Java version: 8
> DEBUG [main] 2022-01-23 13:09:13,807 PlatformDependent0.java:130 - sun.misc.Unsafe.theUnsafe: available
> DEBUG [main] 2022-01-23 13:09:13,808 PlatformDependent0.java:154 - sun.misc.Unsafe.copyMemory: available
> ...[truncated 417667 chars]...
> ol$Initiate.maybeDecode(HandshakeProtocol.java:167)
> 	at org.apache.cassandra.net.InboundConnectionInitiator$Handler.initiate(InboundConnectionInitiator.java:242)
> 	at org.apache.cassandra.net.InboundConnectionInitiator$Handler.decode(InboundConnectionInitiator.java:235)
> 	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508)
> 	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447)
> 	... 29 common frames omitted
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org