You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2023/03/01 19:48:00 UTC

[jira] [Commented] (CASSANDRA-18047) fix flaky o.a.c.distributed.test.PaxosRepair2Test.paxosRepairHistoryIsntUpdatedInForcedRepair

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

David Capwell commented on CASSANDRA-18047:
-------------------------------------------

I saw this issue in CASSANDRA-18292 and found it was due to the test stopping node3 but not block waiting for that to complete, so some times the test runs with node3 alive, causing repair to fail.

I fixed the test in CASSANDRA-18292 by blocking on the future, which should make it stable.  

CASSANDRA-18048 looks like a different issue, so think that is still open

> fix flaky o.a.c.distributed.test.PaxosRepair2Test.paxosRepairHistoryIsntUpdatedInForcedRepair
> ---------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18047
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18047
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CI
>            Reporter: Stefan Miklosovic
>            Priority: Normal
>
> This test was introduced by CASSANDRA-18029
>  
> {code:java}
> junit.framework.AssertionFailedError: Repair failed with errors: [Repair session 864c53d0-61fe-11ed-935f-5103a8e332f7 for range [(-3074457345618258603,3074457345618258601], (9223372036854775805,-3074457345618258603], (3074457345618258601,9223372036854775805]] failed with error UNKNOWN failure response from /127.0.0.3:7012, Repair command #1 finished with error] at org.apache.cassandra.distributed.test.PaxosRepair2Test.lambda$repair$54f7d7c2$1(PaxosRepair2Test.java:186) at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96) at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61) at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748)
> {code}
> different error:
> {code:java}
> junit.framework.AssertionFailedError: Repair failed with errors: [Endpoint not alive: /127.0.0.3:7012, Repair command #1 finished with error]
> 	at org.apache.cassandra.distributed.test.PaxosRepair2Test.lambda$repair$54f7d7c2$1(PaxosRepair2Test.java:186)
> 	at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> 	at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> 	at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



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

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