Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209362

sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK12 CI:

      sun/security/ssl/SSLSocketImpl/ReuseAddr.java

      Here is a snippet of the log file:

      ----------System.out:(0/0)----------
      ----------System.err:(17/1026)----------
      Server died...
      java.net.BindException: Address already in use (Bind failed)
      at java.base/java.net.PlainSocketImpl.socketBind(Native Method)
      at java.base/java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:436)
      at java.base/java.net.ServerSocket.bind(ServerSocket.java:381)
      at java.base/java.net.ServerSocket.<init>(ServerSocket.java:243)
      at java.base/java.net.ServerSocket.<init>(ServerSocket.java:187)
      at java.base/javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:136)
      at java.base/sun.security.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:71)
      at java.base/sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:73)
      at ReuseAddr.doServerSide(ReuseAddr.java:114)
      at ReuseAddr$1.run(ReuseAddr.java:225)

      JavaTest Message: Test threw exception: java.net.BindException: Address already in use (Bind failed)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.BindException: Address already in use (Bind failed)
      ----------rerun:(31/4343)*----------

        Attachments

          Activity

            People

            Assignee:
            jjiang John Jiang
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: