Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8217

RestStoreTest.tearDown intermittent failure

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.1.5.Final
    • 9.1.0.Final
    • Loaders and Stores
    • None

      The test fails intermittently with the following:

            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
         
      

      I believe this is caused by Netty not closing connections properly. See here. Upgrading Netty to the latest version should hopefully resolve this issue.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: