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

BinLogTest is flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-rc1
    • Component/s: Test/unit
    • Labels:
      None

      Description

      Probably due to increasing the runners:

      java.lang.RuntimeException: java.lang.IllegalStateException: Expected file to exist for cycle: 1616021848, file: /home/jenkins/jenkins-slave/workspace/Cassandra-devbranch-test-compression/jdk/jdk_11_latest/label/cassandra/tmp/foo17bar/20210317-225728T.cq4.
      minCycle: 1616021850, maxCycle: 1616021852
      Available files: [20210317-225730T.cq4, 20210317-225732T.cq4]
      	at org.apache.cassandra.utils.binlog.BinLogTest.readBinLogRecords(BinLogTest.java:492)
      	at org.apache.cassandra.utils.binlog.BinLogTest.lambda$testTrucationReleasesLogSpace$8(BinLogTest.java:444)
      	at org.apache.cassandra.Util.spinAssertEquals(Util.java:605)
      	at org.apache.cassandra.Util.spinAssertEquals(Util.java:595)
      	at org.apache.cassandra.utils.binlog.BinLogTest.testTrucationReleasesLogSpace(BinLogTest.java:444)
      	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.lang.IllegalStateException: Expected file to exist for cycle: 1616021848, file: /home/jenkins/jenkins-slave/workspace/Cassandra-devbranch-test-compression/jdk/jdk_11_latest/label/cassandra/tmp/foo17bar/20210317-225728T.cq4.
      minCycle: 1616021850, maxCycle: 1616021852
      Available files: [20210317-225730T.cq4, 20210317-225732T.cq4]
      	at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue$StoreSupplier.nextCycle(SingleChronicleQueue.java:1157)
      	at net.openhft.chronicle.queue.impl.WireStorePool.nextCycle(WireStorePool.java:66)
      	at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue.nextCycle(SingleChronicleQueue.java:507)
      	at net.openhft.chronicle.queue.impl.single.StoreTailer.nextIndexWithNextAvailableCycle(StoreTailer.java:507)
      	at net.openhft.chronicle.queue.impl.single.StoreTailer.endOfCycle(StoreTailer.java:323)
      	at net.openhft.chronicle.queue.impl.single.StoreTailer.next0(StoreTailer.java:295)
      	at net.openhft.chronicle.queue.impl.single.StoreTailer.readingDocument(StoreTailer.java:202)
      	at net.openhft.chronicle.queue.impl.single.StoreTailer.readDocument(StoreTailer.java:108)
      	at org.apache.cassandra.utils.binlog.BinLogTest.readBinLogRecords(BinLogTest.java:481)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brandon.williams Brandon Williams
                Reporter:
                brandon.williams Brandon Williams
                Authors:
                Brandon Williams
                Reviewers:
                Yifan Cai
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: