[ 
https://issues.apache.org/jira/browse/CASSANDRA-13831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156981#comment-16156981
 ] 

Jason Brown commented on CASSANDRA-13831:
-----------------------------------------

ahh, sorry, already pushed that change about 10 minutes after the last UPDATE 
tag. Marking Patch Available now.

> NettyFactoryTest is failing in trunk on MacOS
> ---------------------------------------------
>
>                 Key: CASSANDRA-13831
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13831
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Aleksey Yeschenko
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 4.x
>
>
> Example failure:
> {code}
>     [junit] Testcase: 
> getEventLoopGroup_EpollWithoutIoRatioBoost(org.apache.cassandra.net.async.NettyFactoryTest):
>     Caused an ERROR
>     [junit] failed to load the required native library
>     [junit] java.lang.UnsatisfiedLinkError: failed to load the required 
> native library
>     [junit]   at 
> io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:78)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoop.<clinit>(EpollEventLoop.java:53)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:134)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:35)
>     [junit]   at 
> io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84)
>     [junit]   at 
> io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
>     [junit]   at 
> io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
>     [junit]   at 
> io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:104)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:91)
>     [junit]   at 
> io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:68)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactory.getEventLoopGroup(NettyFactory.java:175)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactoryTest.getEventLoopGroup_Epoll(NettyFactoryTest.java:187)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactoryTest.getEventLoopGroup_EpollWithoutIoRatioBoost(NettyFactoryTest.java:205)
>     [junit] Caused by: java.lang.ExceptionInInitializerError
>     [junit]   at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:33)
>     [junit]   at 
> org.apache.cassandra.service.NativeTransportService.useEpoll(NativeTransportService.java:162)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactory.<clinit>(NettyFactory.java:94)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactoryTest.getEventLoopGroup_Nio(NettyFactoryTest.java:216)
>     [junit]   at 
> org.apache.cassandra.net.async.NettyFactoryTest.getEventLoopGroup_NioWithoutIoRatioBoost(NettyFactoryTest.java:211)
>     [junit] Caused by: java.lang.IllegalStateException: Only supported on 
> Linux
>     [junit]   at 
> io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:189)
>     [junit]   at io.netty.channel.epoll.Native.<clinit>(Native.java:61)
> {code}
> It's obviously caused by epoll being unavailable on MacOS, but the tests 
> should still be made to pass.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to