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

Test Failure: org.apache.cassandra.distributed.upgrade.MixedModeTTLOverflowUpgradeTest.testTTLOverflowDuringUpgrade-_jdk11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Test/dtest/java
    • None
    • Code - Bug - Unclear Impact
    • Normal
    • Normal
    • DTest
    • All
    • None

    Description

      Failed in Circle:

      https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20534/tests

      junit.framework.AssertionFailedError: Error in test '4.1.4 -> [5.1]' while upgrading to '5.1'; successful upgrades [4.0.12 -> [5.1]]
      	at org.apache.cassandra.distributed.upgrade.UpgradeTestBase$TestCase.run(UpgradeTestBase.java:397)
      	at org.apache.cassandra.distributed.upgrade.MixedModeTTLOverflowUpgradeTest.testTTLOverflow(MixedModeTTLOverflowUpgradeTest.java:134)
      	at org.apache.cassandra.distributed.upgrade.MixedModeTTLOverflowUpgradeTest.testTTLOverflowDuringUpgrade(MixedModeTTLOverflowUpgradeTest.java:49)
      	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.RuntimeException: java.lang.OutOfMemoryError: Java heap space
      	at org.apache.cassandra.utils.Throwables.unchecked(Throwables.java:308)
      	at org.apache.cassandra.utils.Throwables.cleaned(Throwables.java:327)
      	at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:550)
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.handleMutation(CommitLogReplayer.java:521)
      	at org.apache.cassandra.db.commitlog.CommitLogReader.readMutation(CommitLogReader.java:478)
      	at org.apache.cassandra.db.commitlog.CommitLogReader.readSection(CommitLogReader.java:397)
      	at org.apache.cassandra.db.commitlog.CommitLogReader.readCommitLogSegment(CommitLogReader.java:244)
      	at org.apache.cassandra.db.commitlog.CommitLogReader.readCommitLogSegment(CommitLogReader.java:147)
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer.replayFiles(CommitLogReplayer.java:195)
      	at org.apache.cassandra.db.commitlog.CommitLog.recoverFiles(CommitLog.java:223)
      	at org.apache.cassandra.db.commitlog.CommitLog.recoverSegmentsOnDisk(CommitLog.java:204)
      	at org.apache.cassandra.tcm.Startup.initializeFromGossip(Startup.java:259)
      	at org.apache.cassandra.tcm.Startup.initialize(Startup.java:115)
      	at org.apache.cassandra.distributed.impl.Instance.partialStartup(Instance.java:711)
      	at org.apache.cassandra.distributed.impl.Instance.lambda$startup$7(Instance.java:615)
      	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 java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: java.lang.OutOfMemoryError: Java heap space
      	at java.base/java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:61)
      	at java.base/java.nio.ByteBuffer.allocate(ByteBuffer.java:348)
      	at org.apache.cassandra.utils.memory.SlabAllocator.getRegion(SlabAllocator.java:139)
      	at org.apache.cassandra.utils.memory.SlabAllocator.allocate(SlabAllocator.java:104)
      	at org.apache.cassandra.utils.memory.MemtableBufferAllocator$1.allocate(MemtableBufferAllocator.java:40)
      	at org.apache.cassandra.utils.memory.ByteBufferCloner.clone(ByteBufferCloner.java:77)
      	at org.apache.cassandra.utils.memory.ByteBufferCloner.clone(ByteBufferCloner.java:63)
      	at org.apache.cassandra.utils.memory.ByteBufferCloner.clone(ByteBufferCloner.java:46)
      	at org.apache.cassandra.db.memtable.SkipListMemtable.put(SkipListMemtable.java:115)
      	at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1451)
      	at org.apache.cassandra.db.CassandraTableWriteHandler.write(CassandraTableWriteHandler.java:38)
      	at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626)
      	at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:483)
      	at org.apache.cassandra.db.commitlog.CommitLogReplayer$MutationInitiator$1.runMayThrow(CommitLogReplayer.java:316)
      	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:26)
      	at org.apache.cassandra.concurrent.FutureTask$3.call(FutureTask.java:130)
      	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.SEPWorker.run(SEPWorker.java:143)
      

      Attachments

        Issue Links

          Activity

            People

              samt Sam Tunnicliffe
              samt Sam Tunnicliffe
              Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: