Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14114

uTest failed: NettyFactoryTest.createServerChannel_UnbindableAddress()

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Legacy/Testing
    • Labels:
    • Severity:
      Low

      Description

          [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
      

      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):

      ...
          [junit] INFO  [main] 2017-12-13 21:20:48,470 NettyFactory.java:190 - Starting Messaging Service on /1.1.1.1:9876 , encryption: disabled
      ...
      

      Is it because a network/kernal configuration?
      +Jason Brown

        Attachments

          Activity

            People

            • Assignee:
              djoshi3 Dinesh Joshi
              Reporter:
              jay.zhuang Jay Zhuang
              Authors:
              Dinesh Joshi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: