Ekaterina Dimitrova created CASSANDRA-19279:
-----------------------------------------------

             Summary: Test Failure: 
org.apache.cassandra.simulator.test.HarrySimulatorTest
                 Key: CASSANDRA-19279
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19279
             Project: Cassandra
          Issue Type: Bug
            Reporter: Ekaterina Dimitrova


Failing 421 times out of 468 runs as visible in this repeated run:
[https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2619/workflows/5a5c0104-16a8-493b-99a2-092e2aba2799/jobs/53164/tests]
{code:java}
java.lang.RuntimeException: java.util.concurrent.ExecutionException: 
java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Direct 
buffer memory
        at org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:79)
        at 
org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:547)
        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.test.HarrySimulatorTest.simulate(HarrySimulatorTest.java:543)
        at 
org.apache.cassandra.simulator.test.HarrySimulatorTest.harryTest(HarrySimulatorTest.java:228)
        at 
org.apache.cassandra.simulator.test.HarrySimulatorTest.test(HarrySimulatorTest.java:204)
        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.ExecutionException: 
java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Direct 
buffer memory
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.getWhenDone(AbstractFuture.java:239)
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:254)
        at 
org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:539)
        Suppressed: java.util.concurrent.ExecutionException: 
java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Direct 
buffer memory
        Caused by: java.util.concurrent.ExecutionException: 
java.lang.RuntimeException: java.util.concurrent.ExecutionException: 
java.lang.OutOfMemoryError: Direct buffer memory
                at 
org.apache.cassandra.utils.concurrent.AbstractFuture.getWhenDone(AbstractFuture.java:239)
                at 
org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:246)
                at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$47(Instance.java:975)
                at 
org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
                at 
org.apache.cassandra.simulator.systems.SimulatedExecution$NoIntercept$1Run.run(SimulatedExecution.java:82)
                at 
org.apache.cassandra.simulator.systems.InterceptingExecutor$InterceptingPooledExecutor$WaitingThread.lambda$new$1(InterceptingExecutor.java:318)
                at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:829)
        Caused by: java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Direct 
buffer memory
                at 
org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:79)
                at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$46(Instance.java:969)
                at 
org.apache.cassandra.distributed.impl.IsolatedExecutor.lambda$async$10(IsolatedExecutor.java:156)
                at 
org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        Caused by: java.util.concurrent.ExecutionException: 
java.lang.OutOfMemoryError: Direct buffer memory
                at 
org.apache.cassandra.utils.concurrent.AbstractFuture.getWhenDone(AbstractFuture.java:239)
                at 
org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:246)
                at 
org.apache.cassandra.hints.HintsService.shutdownBlocking(HintsService.java:282)
                at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$17(Instance.java:898)
                at 
org.apache.cassandra.distributed.impl.Instance.lambda$parallelRun$52(Instance.java:1193)
        Caused by: java.lang.OutOfMemoryError: Direct buffer memory
                at java.base/java.nio.Bits.reserveMemory(Bits.java:175)
                at 
java.base/java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:118)
                at 
java.base/java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:317)
                at 
org.apache.cassandra.hints.HintsBuffer.create(HintsBuffer.java:77)
                at 
org.apache.cassandra.hints.HintsBufferPool.createBuffer(HintsBufferPool.java:150)
                at 
org.apache.cassandra.hints.HintsBufferPool.initializeCurrentBuffer(HintsBufferPool.java:121)
                at 
org.apache.cassandra.hints.HintsBufferPool.currentBuffer(HintsBufferPool.java:113)
                at 
org.apache.cassandra.hints.HintsWriteExecutor$FlushBufferPoolTask.run(HintsWriteExecutor.java:168)
                at 
org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
                at 
org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
                at 
org.apache.cassandra.simulator.systems.SimulatedExecution$NoIntercept$1Run.run(SimulatedExecution.java:82)
                at 
org.apache.cassandra.simulator.systems.InterceptingExecutor$AbstractSingleThreadedExecutorPlus.lambda$new$0(InterceptingExecutor.java:585)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Direct 
buffer memory
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.getWhenDone(AbstractFuture.java:239)
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:246)
        at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$47(Instance.java:975)
        at 
org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
        at 
org.apache.cassandra.simulator.systems.SimulatedExecution$NoIntercept$1Run.run(SimulatedExecution.java:82)
        at 
org.apache.cassandra.simulator.systems.InterceptingExecutor$InterceptingPooledExecutor$WaitingThread.lambda$new$1(InterceptingExecutor.java:318)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: 
java.lang.OutOfMemoryError: Direct buffer memory
        at org.apache.cassandra.utils.Throwables.maybeFail(Throwables.java:79)
        at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$46(Instance.java:969)
        at 
org.apache.cassandra.distributed.impl.IsolatedExecutor.lambda$async$10(IsolatedExecutor.java:156)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: 
Direct buffer memory
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.getWhenDone(AbstractFuture.java:239)
        at 
org.apache.cassandra.utils.concurrent.AbstractFuture.get(AbstractFuture.java:246)
        at 
org.apache.cassandra.hints.HintsService.shutdownBlocking(HintsService.java:282)
        at 
org.apache.cassandra.distributed.impl.Instance.lambda$shutdown$17(Instance.java:898)
        at 
org.apache.cassandra.distributed.impl.Instance.lambda$parallelRun$52(Instance.java:1193)
Caused by: java.lang.OutOfMemoryError: Direct buffer memory
        at java.base/java.nio.Bits.reserveMemory(Bits.java:175)
        at java.base/java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:118)
        at java.base/java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:317)
        at org.apache.cassandra.hints.HintsBuffer.create(HintsBuffer.java:77)
        at 
org.apache.cassandra.hints.HintsBufferPool.createBuffer(HintsBufferPool.java:150)
        at 
org.apache.cassandra.hints.HintsBufferPool.initializeCurrentBuffer(HintsBufferPool.java:121)
        at 
org.apache.cassandra.hints.HintsBufferPool.currentBuffer(HintsBufferPool.java:113)
        at 
org.apache.cassandra.hints.HintsWriteExecutor$FlushBufferPoolTask.run(HintsWriteExecutor.java:168)
        at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
        at 
org.apache.cassandra.concurrent.SyncFutureTask.run(SyncFutureTask.java:68)
        at 
org.apache.cassandra.simulator.systems.SimulatedExecution$NoIntercept$1Run.run(SimulatedExecution.java:82)
        at 
org.apache.cassandra.simulator.systems.InterceptingExecutor$AbstractSingleThreadedExecutorPlus.lambda$new$0(InterceptingExecutor.java:585)
test-_jdk11
{code}
 
{code:java}
junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please 
note the time in the report does not reflect the time until the VM exit.
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.util.Vector.forEach(Vector.java:1394)
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.util.Vector.forEach(Vector.java:1394)
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to