You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2017/08/31 10:37:00 UTC
[jira] [Created] (CASSANDRA-13831) NettyFactoryTest is failing in
trunk on MacOS
Aleksey Yeschenko created CASSANDRA-13831:
---------------------------------------------
Summary: 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
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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org