]
Ryan Emerson updated ISPN-8217:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
RestStoreTest.tearDown intermittent failure
-------------------------------------------
Key: ISPN-8217
URL:
https://issues.jboss.org/browse/ISPN-8217
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.1.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 9.1.1.Final
The test fails intermittently with the following:
{code:java}
io.netty.channel.ChannelException: eventfd_write() failed: Bad file descriptor
at io.netty.channel.epoll.Native.eventFdWrite(Native Method)
at io.netty.channel.epoll.EpollEventLoop.wakeup(EpollEventLoop.java:126)
at
io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:589)
at
io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:163)
at org.infinispan.server.core.transport.NettyTransport.stop(NettyTransport.java:161)
at
org.infinispan.server.core.AbstractProtocolServer.stop(AbstractProtocolServer.java:144)
at org.infinispan.persistence.rest.RestStoreTest.tearDown(RestStoreTest.java:73)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 18 stack frames
{code}
I believe this is caused by Netty not closing connections properly. See
[here|http://netty.io/news/2017/07/06/4-0-49-Final-4-1-13-Final.html]. Upgrading Netty to
the latest version should hopefully resolve this issue.