Bug: Test Failure: org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest
Status: Resolved
Priority: Normal
Resolution: Duplicate
Created: 30/Nov/23 15:07
Resolved: 30/Nov/23 20:54

The test is not flaky on 5.0 - https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2590/workflows/47dedf52-87fd-4178-bc89-d179e58b6562
But it is significantly flaky on trunk - https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2591/workflows/1150aab2-4961-4fe3-a126-b96356fdb939/jobs/49867/tests
{code:java}
org.apache.cassandra.simulator.SimulationException: Failed on seed 0xf2b8eff98afd45dd
	Suppressed: java.lang.RuntimeException: java.util.concurrent.TimeoutException
		at org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:79)
		at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:537)
		at org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1098)
		at org.apache.cassandra.simulator.ClusterSimulation.close(ClusterSimulation.java:854)
		at org.apache.cassandra.simulator.SimulationRunner$Run.run(SimulationRunner.java:361)
		at org.apache.cassandra.simulator.SimulationRunner$BasicCommand.run(SimulationRunner.java:346)
		at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner$Run.run(PaxosSimulationRunner.java:34)
		at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner.main(PaxosSimulationRunner.java:148)
		at org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest(ShortPaxosSimulationTest.java:101)
		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)
	Caused by: java.util.concurrent.TimeoutException
		at org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:253)
		at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:529)
		Suppressed: java.util.concurrent.TimeoutException
		Suppressed: java.util.concurrent.TimeoutException
		Suppressed: java.util.concurrent.TimeoutException
		Suppressed: java.util.concurrent.TimeoutException
		Suppressed: java.util.concurrent.TimeoutException
Caused by: java.lang.NullPointerException
	at org.apache.cassandra.simulator.cluster.KeyspaceActions.scheduleAndUpdateTopologyOnCompletion(KeyspaceActions.java:352)
	at org.apache.cassandra.simulator.cluster.KeyspaceActions.next(KeyspaceActions.java:291)
	at org.apache.cassandra.simulator.Actions.next(Actions.java:147)
	at org.apache.cassandra.simulator.Actions.lambda$streamNextSupplier$3(Actions.java:156)
	at org.apache.cassandra.simulator.Actions$LambdaAction.performSimple(Actions.java:63)
	at org.apache.cassandra.simulator.Action.performAndRegister(Action.java:468)
	at org.apache.cassandra.simulator.Action.perform(Action.java:486)
	at org.apache.cassandra.simulator.ActionSchedule.next(ActionSchedule.java:379)
	at org.apache.cassandra.simulator.paxos.PaxosSimulation$2.next(PaxosSimulation.java:217)
	at org.apache.cassandra.simulator.paxos.PaxosSimulation.run(PaxosSimulation.java:189)
	at org.apache.cassandra.simulator.paxos.PairOfSequencesPaxosSimulation.run(PairOfSequencesPaxosSimulation.java:351)
	at org.apache.cassandra.simulator.SimulationRunner$Run.run(SimulationRunner.java:365)
	at org.apache.cassandra.simulator.SimulationRunner$BasicCommand.run(SimulationRunner.java:346)
	at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner$Run.run(PaxosSimulationRunner.java:34)
	at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner.main(PaxosSimulationRunner.java:148)
	at org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest(ShortPaxosSimulationTest.java:101)
	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)
{code}