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

Test SessionTimeOutTests fails intermittently

    Details

      Backports

        Description

        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)----------

          Activity

          Show
          ssides Steve Sides added a comment - http://java.se.oracle.com/mach5/view/All/job/9-dev-tier2-windows-x64-failuresHistory/Failure_History/
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/c20bc888feea
          User: xuelei
          Date: 2016-01-16 00:19:27 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/c20bc888feea User: xuelei Date: 2016-01-16 00:19:27 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/c20bc888feea
          User: lana
          Date: 2016-01-27 21:42:04 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/c20bc888feea User: lana Date: 2016-01-27 21:42:04 +0000

            People

            • Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: