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

uTest failed: NettyFactoryTest.createServerChannel_UnbindableAddress()

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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?
      +Jason Brown

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment