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

Brandon Williams commented on CASSANDRA-18829:
----------------------------------------------

This is probably very difficult to reproduce, but it's clear the problem is 
selecting an automatically allocated port at class creation, not at server 
start, so things may have changed in between.  Jenkins probably allows for a 
greater delay between these events, and this likely affects all tests using 
CQLTester.

||Branch||CI||
|[5.0|https://github.com/driftx/cassandra/tree/CASSANDRA-18829-5.0]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1262/workflows/fefa3b5c-6c62-41ba-8216-4890ead4a607],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1262/workflows/2a76df31-d7de-450c-ac5d-6fffa96a2473]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18829-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1263/workflows/13288964-08ba-4421-8582-65c0a23daf12],
 
[j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1263/workflows/a2f7b83d-ff8e-46a8-b34e-d870891d3435]|


> Fix flaky test: 
> org.apache.cassandra.index.sai.disk.SelectiveIntersectionTest.tracingIsCorrectlyReported
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18829
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18829
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SAI
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>
> https://ci-cassandra.apache.org/job/Cassandra-5.0/27/testReport/org.apache.cassandra.index.sai.disk/SelectiveIntersectionTest/tracingIsCorrectlyReported_cdc_jdk17/
> {quote}
> Error Message
> Failed to bind port 34357 on 127.0.0.1.
> Stacktrace
> java.lang.IllegalStateException: Failed to bind port 34357 on 127.0.0.1.
>       at org.apache.cassandra.transport.Server.start(Server.java:132)
>       at org.apache.cassandra.cql3.CQLTester.startServer(CQLTester.java:649)
>       at 
> org.apache.cassandra.cql3.CQLTester.requireNetwork(CQLTester.java:606)
>       at 
> org.apache.cassandra.cql3.CQLTester.requireNetwork(CQLTester.java:591)
>       at 
> org.apache.cassandra.index.sai.disk.SelectiveIntersectionTest.setup(SelectiveIntersectionTest.java:52)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at 
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
> Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: 
> Address already in use
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to