Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-19997

ShortPaxosSimulationTest failure on seed 0x23a7663eab53fc38

    XMLWordPrintableJSON

Details

    • Correctness - Test Failure
    • Normal
    • Challenging
    • Fuzz Test
    • All
    • None
    • NA
    • Hide

      Existing test suites. I also ran the simulation test for several hours with many seeds, which highlighted another failing seed. 

      Show
      Existing test suites. I also ran the simulation test for several hours with many seeds, which highlighted another failing seed. 

    Description

      This appears to reproduce locally w/ --seed 0x23a7663eab53fc38:

      [junit-timeout] Testcase: simulationTest(org.apache.cassandra.simulator.test.ShortPaxosSimulationTest)-_jdk11:	Caused an ERROR
      [junit-timeout] Failed on seed 0x23a7663eab53fc38
      [junit-timeout] org.apache.cassandra.simulator.SimulationException: Failed on seed 0x23a7663eab53fc38
      [junit-timeout] Caused by: java.lang.AssertionError: (from replicasForPrimaryKey) [1, 4, 5] != [3, 4, 5] (predicted)
      [junit-timeout] 	at org.apache.cassandra.simulator.cluster.ClusterActions.validateReplicasForKeys(ClusterActions.java:274)
      [junit-timeout] 	at org.apache.cassandra.simulator.cluster.OnClusterChangeTopology.lambda$before$0(OnClusterChangeTopology.java:62)
      [junit-timeout] 	at org.apache.cassandra.simulator.systems.NonInterceptible.execute(NonInterceptible.java:58)
      [junit-timeout] 	at org.apache.cassandra.simulator.cluster.OnClusterChangeTopology.before(OnClusterChangeTopology.java:61)
      [junit-timeout] 	at org.apache.cassandra.simulator.cluster.OnClusterLeave.performSimple(OnClusterLeave.java:53)
      [junit-timeout] 	at org.apache.cassandra.simulator.Action.performAndRegister(Action.java:468)
      [junit-timeout] 	at org.apache.cassandra.simulator.Action.perform(Action.java:486)
      [junit-timeout] 	at org.apache.cassandra.simulator.ActionSchedule.next(ActionSchedule.java:379)
      [junit-timeout] 	at org.apache.cassandra.simulator.paxos.PaxosSimulation$2.next(PaxosSimulation.java:217)
      [junit-timeout] 	at org.apache.cassandra.simulator.paxos.PaxosSimulation.run(PaxosSimulation.java:189)
      [junit-timeout] 	at org.apache.cassandra.simulator.paxos.PairOfSequencesPaxosSimulation.run(PairOfSequencesPaxosSimulation.java:351)
      [junit-timeout] 	at org.apache.cassandra.simulator.SimulationRunner$Run.run(SimulationRunner.java:363)
      [junit-timeout] 	at org.apache.cassandra.simulator.SimulationRunner$BasicCommand.run(SimulationRunner.java:344)
      [junit-timeout] 	at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner$Run.run(PaxosSimulationRunner.java:34)
      [junit-timeout] 	at org.apache.cassandra.simulator.paxos.PaxosSimulationRunner.main(PaxosSimulationRunner.java:148)
      [junit-timeout] 	at org.apache.cassandra.simulator.test.ShortPaxosSimulationTest.simulationTest(ShortPaxosSimulationTest.java:101)
      [junit-timeout] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [junit-timeout] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [junit-timeout] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

      Attachments

        1. ci_summary.html
          62 kB
          Sam Tunnicliffe

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              maedhroz Caleb Rackliffe
              Sam Tunnicliffe
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: