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

uTest failed: NettyFactoryTest.createServerChannel_UnbindableAddress()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • Legacy/Testing
    • 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?
      +jasobrown

      Attachments

        Activity

          People

            djoshi Dinesh Joshi
            jay.zhuang Jay Zhuang
            Dinesh Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: