[
https://issues.apache.org/jira/browse/CASSANDRA-14114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513359#comment-16513359
]
Dinesh Joshi commented on CASSANDRA-14114:
------------------------------------------
This is possibly due to the fact that {{net.ipv4.ip_nonlocal_bind}} is set
which allows non-local binding of sockets.
> uTest failed: NettyFactoryTest.createServerChannel_UnbindableAddress()
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-14114
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14114
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jay Zhuang
> Priority: Minor
> Labels: Testing
>
> {noformat}
> [junit] Testcase:
> createServerChannel_UnbindableAddress(org.apache.cassandra.net.async.NettyFactoryTest):
> FAILED
> [junit] Expected exception:
> org.apache.cassandra.exceptions.ConfigurationException
> [junit] junit.framework.AssertionFailedError: Expected exception:
> org.apache.cassandra.exceptions.ConfigurationException
> [junit]
> [junit]
> [junit] Test org.apache.cassandra.net.async.NettyFactoryTest FAILED
> {noformat}
> I'm unable to reproduce the problem on a mac or circleCI, but on some hosts
> (Linux 4.4.38), it's able to bind IP {{1.1.1.1}}, or any other valid IP
> (which breaks the testcase):
> {noformat}
> ...
> [junit] INFO [main] 2017-12-13 21:20:48,470 NettyFactory.java:190 -
> Starting Messaging Service on /1.1.1.1:9876 , encryption: disabled
> ...
> {noformat}
> Is it because a network/kernal configuration?
> +[~jasobrown]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]