Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5626 Track and Address Flaky tests
  3. HDDS-9963

Intermittent failure in TestInterSCMGrpcProtocolService due to port conflict

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • test

    Description

      [INFO] Running org.apache.hadoop.hdds.scm.ha.TestInterSCMGrpcProtocolService
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.447 s <<< FAILURE! -- in org.apache.hadoop.hdds.scm.ha.TestInterSCMGrpcProtocolService
      [ERROR] org.apache.hadoop.hdds.scm.ha.TestInterSCMGrpcProtocolService.testMTLSOnInterScmGrpcProtocolServiceAccess -- Time elapsed: 3.413 s <<< ERROR!
      java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:45378
      	at org.apache.ratis.thirdparty.io.grpc.netty.NettyServer.start(NettyServer.java:326)
      	at org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl.start(ServerImpl.java:185)
      	at org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl.start(ServerImpl.java:94)
      	at org.apache.hadoop.hdds.scm.ha.InterSCMGrpcProtocolService.start(InterSCMGrpcProtocolService.java:102)
      	at org.apache.hadoop.hdds.scm.ha.TestInterSCMGrpcProtocolService.testMTLSOnInterScmGrpcProtocolServiceAccess(TestInterSCMGrpcProtocolService.java:99)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.util.ArrayList.forEach(ArrayList.java:1259)
      	at java.util.ArrayList.forEach(ArrayList.java:1259)
      Caused by: org.apache.ratis.thirdparty.io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: