[
https://issues.apache.org/jira/browse/CASSANDRA-16493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297921#comment-17297921
]
Berenguer Blasi commented on CASSANDRA-16493:
---------------------------------------------
The test repro'es the failure if you run it under j11
{noformat}
java.lang.OutOfMemoryError: Direct buffer memory
[junit-timeout] at java.base/java.nio.Bits.reserveMemory(Bits.java:175)
[junit-timeout] at
java.base/java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:118)
[junit-timeout] at
java.base/java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:317)
[junit-timeout] at
io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:645)
[junit-timeout] at
io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:621)
[junit-timeout] at
io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:204)
[junit-timeout] at
io.netty.buffer.PoolArena.tcacheAllocateSmall(PoolArena.java:174)
[junit-timeout] at
io.netty.buffer.PoolArena.allocate(PoolArena.java:136)
[junit-timeout] at
io.netty.buffer.PoolArena.allocate(PoolArena.java:128)
[junit-timeout] at
io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:378)
[junit-timeout] at
io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:187)
[junit-timeout] at
io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:178)
[junit-timeout] at
io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:139)
[junit-timeout] at
io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:114)
[junit-timeout] at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:150)
[junit-timeout] at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
[junit-timeout] at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
[junit-timeout] at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
[junit-timeout] at
io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
[junit-timeout] at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
[junit-timeout] at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[junit-timeout] at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
[junit-timeout] at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}
> IPMembershipTest.sameIPFailWithoutReplace fails with timeout
> ------------------------------------------------------------
>
> Key: CASSANDRA-16493
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16493
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/java
> Reporter: Adam Holmberg
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 4.0, 4.0-beta
>
>
> https://ci-cassandra.apache.org/job/Cassandra-trunk/307/testReport/junit/org.apache.cassandra.distributed.test/IPMembershipTest/sameIPFailWithoutReplace/
> {noformat}
> java.lang.RuntimeException:
> com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s)
> tried for query failed (tried: localhost/0:0:0:0:0:0:0:1:9042
> (com.datastax.driver.core.exceptions.TransportException:
> [localhost/0:0:0:0:0:0:0:1:9042] Cannot connect), localhost/127.0.0.1:9042
> (com.datastax.driver.core.exceptions.OperationTimedOutException:
> [localhost/127.0.0.1:9042] Operation timed out))
> at
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:146)
> at
> org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:114)
> at
> org.apache.cassandra.stress.settings.SettingsSchema.createKeySpaces(SettingsSchema.java:66)
> at
> org.apache.cassandra.stress.settings.StressSettings.maybeCreateKeyspaces(StressSettings.java:154)
> at org.apache.cassandra.stress.StressAction.run(StressAction.java:56)
> at org.apache.cassandra.stress.Stress.run(Stress.java:155)
> at org.apache.cassandra.stress.Stress.main(Stress.java:63)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]