cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13831) NettyFactoryTest is failing in trunk on MacOS
Date Thu, 31 Aug 2017 12:30:01 GMT

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

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

pushed a fix for the test:

||13831||
|[branch|https://github.com/jasobrown/cassandra/tree/13831]|
|[utests|https://circleci.com/gh/jasobrown/cassandra/tree/13831]|


> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message