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

[TEST BUG] Test SSLSession/SessionCacheSizeTests socket accept timed out

    Details

      Backports

        Description

        javax/net/ssl/SSLSession/SessionCacheSizeTests.java test failed with java.net.ConnectException: Connection refused


        Server died...
        Server died...
        Server died...
        Server died...
        java.net.SocketTimeoutException: Accept timed out
        at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199)
        at java.net.ServerSocket.implAccept(ServerSocket.java:546)
        at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
        at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:135)
        at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:425)
        java.net.SocketTimeoutException: Accept timed out
        at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199)
        at java.net.ServerSocket.implAccept(ServerSocket.java:546)
        at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
        at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:135)
        at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:425)
        java.net.SocketTimeoutException: Accept timed out
        at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199)
        at java.net.ServerSocket.implAccept(ServerSocket.java:546)
        at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
        at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:135)
        at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:425)
        java.net.SocketTimeoutException: Accept timed out
        at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199)
        at java.net.ServerSocket.implAccept(ServerSocket.java:546)
        at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
        at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:135)
        at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:425)
        java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:402)
        at java.net.Socket.connect(Socket.java:591)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:655)
        at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:422)
        at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
        at SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:175)
        at SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:470)
        at SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:347)
        at SessionCacheSizeTests.main(SessionCacheSizeTests.java:312)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:520)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:804)
        Caused by: java.net.SocketTimeoutException: Accept timed out
        at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199)
        at java.net.ServerSocket.implAccept(ServerSocket.java:546)
        at sun.security.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:352)
        at SessionCacheSizeTests.doServerSide(SessionCacheSizeTests.java:135)
        at SessionCacheSizeTests$1.run(SessionCacheSizeTests.java:425)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xuelei Xue-Lei Fan
                  Reporter:
                  tidu Tim Du (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: