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

RestStoreTest.tearDown intermittent failure

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: