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

Test SessionTimeOutTests fails intermittently

XMLWordPrintable

        javax/net/ssl/SSLSession/SessionTimeOutTests.java

        Test timeout issue was ever been fixed in JDK-8144313, but after that, test still fail or timeout, intermittently.

        Test failure log:
        =============
        #section:main
        ----------messages:(3/136)----------
        command: main SessionTimeOutTests
        reason: User specified action: run main/othervm SessionTimeOutTests
        elapsed time (seconds): 0.859
        ----------System.out:(0/0)----------
        ----------System.err:(27/1932)----------
        java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
        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 SessionTimeOutTests.doClientSide(SessionTimeOutTests.java:163)
        at SessionTimeOutTests.startClient(SessionTimeOutTests.java:487)
        at SessionTimeOutTests.<init>(SessionTimeOutTests.java:363)
        at SessionTimeOutTests.main(SessionTimeOutTests.java:327)
        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)

        Test timeout log:
        =============
        #section:main
        ----------messages:(6/247)----------
        command: main SessionTimeOutTests
        reason: User specified action: run main/othervm SessionTimeOutTests
        Timeout information:
        Could not find process id for the process that timed out.
        Skipping timeout handling.
        elapsed time (seconds): 480.008
        ----------System.out:(1/37)----------
        Timeout signalled after 480 seconds
        ----------System.err:(0/0)----------

              xuelei Xuelei Fan
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: