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 2023/11/22 18:48:00 UTC
[jira] [Comment Edited] (CASSANDRA-18944) Test failure: org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest
[ https://issues.apache.org/jira/browse/CASSANDRA-18944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788860#comment-17788860 ]
Ekaterina Dimitrova edited comment on CASSANDRA-18944 at 11/22/23 6:47 PM:
---------------------------------------------------------------------------
I forgot to post this:
[https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2546/workflows/55061b41-7947-4f5d-b4d5-52dc004c0206]
I tried to reproduce also on 4.1, but it doesn't reproduce so it seems it is a 5.0 regression, unfortunately.
On the other hand, in 4.1, the simulator tests are run on JDK8 only. The reported failing runs are on JDK11. There might be an issue with JDK11 that also exists on previous branches. (I haven't dug into the problem, so I am just giving points for thinking from experience for whoever assigns this ticket). If it turns out to be a Cassandra bug - we need to check the previous branches, too.
was (Author: e.dimitrova):
I forgot to post this:
[https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2546/workflows/55061b41-7947-4f5d-b4d5-52dc004c0206]
I tried to reproduce also on 4.1, but it doesn't reproduce so it seems it is a 5.0 regression, unfortunately.
> Test failure: org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18944
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18944
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Andres de la Peña
> Priority: Normal
> Fix For: 5.0-rc, 5.x
>
>
> The simulator test {{org.apache.cassandra.simulator.test.ShortPaxosSimulationTest#simulationTest}} is flaky on 5.0 and trunk:
> * https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/332/workflows/946e28f4-2dec-4384-ac38-de011093f6c6/jobs/25735/tests
> * https://app.circleci.com/pipelines/github/adelapena/cassandra/3253/workflows/e48b49e9-cf36-412a-a811-d813031e6f01/jobs/83735/tests
> * https://app.circleci.com/pipelines/github/adelapena/cassandra/3254/workflows/69f451ef-fb39-48e4-b1d1-40ee4141b0c1/jobs/83739/tests
> {code}
> org.apache.cassandra.simulator.SimulationException: Failed on seed 0xb01206bb3b021127
> Caused by: java.lang.ClassCastException: class org.apache.cassandra.net.NoPayload cannot be cast to class org.apache.cassandra.gms.GossipShutdown (org.apache.cassandra.net.NoPayload and org.apache.cassandra.gms.GossipShutdown are in unnamed module of loader org.apache.cassandra.distributed.shared.InstanceClassLoader @68801feb)
> at org.apache.cassandra.gms.GossipShutdown$Serializer.serialize(GossipShutdown.java:41)
> at org.apache.cassandra.net.Message$Serializer.serialize(Message.java:722)
> at org.apache.cassandra.distributed.impl.Instance.serializeMessage(Instance.java:427)
> at org.apache.cassandra.distributed.impl.Instance.lambda$registerOutboundFilter$5(Instance.java:370)
> at org.apache.cassandra.net.OutboundSink$Filtered.accept(OutboundSink.java:54)
> at org.apache.cassandra.net.OutboundSink.accept(OutboundSink.java:70)
> at org.apache.cassandra.net.MessagingService.send(MessagingService.java:449)
> at org.apache.cassandra.net.MessagingService.send(MessagingService.java:419)
> at org.apache.cassandra.gms.Gossiper.unsafeSendShutdown(Gossiper.java:2634)
> at org.apache.cassandra.simulator.cluster.OnInstanceSendShutdown.lambda$invokableSendShutdown$1(OnInstanceSendShutdown.java:48)
> 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 org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> at org.apache.cassandra.concurrent.SyncFutureTask$1.call(SyncFutureTask.java:46)
> at org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
> at org.apache.cassandra.simulator.systems.InterceptingExecutor$AbstractSingleThreadedExecutorPlus.lambda$new$0(InterceptingExecutor.java:584)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:829)
> {code}
> The test failure can easily be reproduced on CircleCI with:
> {code}
> .circleci/generate.sh -sp \
> -e REPEATED_SIMULATOR_DTESTS=org.apache.cassandra.simulator.test.ShortPaxosSimulationTest \
> -e REPEATED_SIMULATOR_DTESTS_COUNT=100
> {code}
> Flakiness seems ~18%.
> The test failure is not reported on Butler because simulator tests are not run by Jenkins.
--
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