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

Brandon Williams commented on CASSANDRA-16526:
----------------------------------------------

Checking nightlies, there is one other failure from November 9th of last year:

{noformat}
      <testcase classname="org.apache.cassandra.utils.binlog.BinLogTest" 
name="testTrucationReleasesLogSpace-cdc" time="5.043">
          <failure message="missing currentCycle, 
file=/home/jenkins/jenkins-slave/workspace/Cassandra-trunk-test-cdc/jdk/jdk_1.8_latest/label/cassandra/tmp/foo17bar/20201109-222009.cq4"
 type="junit.framework.A
ssertionFailedError">junit.framework.AssertionFailedError: missing 
currentCycle, 
file=/home/jenkins/jenkins-slave/workspace/Cassandra-trunk-test-cdc/jdk/jdk_1.8_latest/label/cassandra/tmp/foo17bar/20201109-2220
09.cq4
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueue$StoreSupplier.nextCycle(SingleChronicleQueue.java:931)
        at 
net.openhft.chronicle.queue.impl.WireStorePool.nextCycle(WireStorePool.java:106)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueue.nextCycle(SingleChronicleQueue.java:412)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.nextIndexWithNextAvailableCycle0(SingleChronicleQueueExcerpts.java:1509)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.nextIndexWithNextAvailableCycle(SingleChronicleQueueExcerpts.java:1465)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.endOfCycle(SingleChronicleQueueExcerpts.java:1255)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.next0(SingleChronicleQueueExcerpts.java:1230)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.readingDocument(SingleChronicleQueueExcerpts.java:1175)
        at 
net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.readDocument(SingleChronicleQueueExcerpts.java:1096)
        at 
org.apache.cassandra.utils.binlog.BinLogTest.readBinLogRecords(BinLogTest.java:481)
        at 
org.apache.cassandra.utils.binlog.BinLogTest.lambda$testTrucationReleasesLogSpace$8(BinLogTest.java:444)
        at org.apache.cassandra.Util.spinAssertEquals(Util.java:599)
        at org.apache.cassandra.Util.spinAssertEquals(Util.java:589)
        at 
org.apache.cassandra.utils.binlog.BinLogTest.testTrucationReleasesLogSpace(BinLogTest.java:444)
</failure>
{noformat}


> BinLogTest is flaky
> -------------------
>
>                 Key: CASSANDRA-16526
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16526
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0-rc
>
>
> Probably due to increasing the runners:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to