[infinispan-issues] [JBoss JIRA] (ISPN-8217) RestStoreTest.tearDown

Ryan Emerson (JIRA) issues at jboss.org
Wed Aug 23 10:15:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-8217:
-------------------------------
    Description: 
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.


  was:
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|https://github.com/netty/netty/pull/6907]. Upgrading Netty to the latest version should hopefully resolve this issue.




> RestStoreTest.tearDown
> ----------------------
>
>                 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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list