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

[TEST_BUG] Intermittent test failures in sun/security/ssl/javax/net/ssl/NewAPIs

    Details

    • Subcomponent:
    • Resolved In Build:
      b106
    • Verification:
      Verified

      Backports

        Description

        Observed same-binary test failure(s) with observed probability of failure:

        TESTFAIL:sun/security/ssl/javax/net/ssl/NewAPIs/SessionCacheSizeTests.java, 0.004319654427645789
        TESTFAIL:sun/security/ssl/javax/net/ssl/NewAPIs/SessionTimeOutTests.java, 0.0021598272138228943

          Issue Links

            Activity

            Hide
            xuelei Xue-Lei Fan added a comment -
            SessionCacheSizeTests.java:
            =====================
            java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:578)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:641)
            at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:404)
            at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
            at SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:200)
            at SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:412)
            at SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:335)
            at SessionCacheSizeTests.main(SessionCacheSizeTests.java:301)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:474)
            at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
            at java.lang.Thread.run(Thread.java:722)

            SessionTimeOutTests.java:
            ===================
            Timeout
            Show
            xuelei Xue-Lei Fan added a comment - SessionCacheSizeTests.java: ===================== java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:578) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:641) at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:404) at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) at SessionCacheSizeTests.doClientSide(SessionCacheSizeTests.java:200) at SessionCacheSizeTests.startClient(SessionCacheSizeTests.java:412) at SessionCacheSizeTests.<init>(SessionCacheSizeTests.java:335) at SessionCacheSizeTests.main(SessionCacheSizeTests.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:722) SessionTimeOutTests.java: =================== Timeout
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ec827a62070a
            User: xuelei
            Date: 2013-08-22 02:47:17 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ec827a62070a User: xuelei Date: 2013-08-22 02:47:17 +0000
            Hide
            xuelei Xue-Lei Fan added a comment -
            The timeout issue of SessionTimeOutTests.java is still unknown. This
            fix is just try to use new SSL testing template so as to expose more
            information.

            The issue of SessionCacheSizeTests is that the client side may kick off
            a connection before server is ready to listen on a particular port.
            Show
            xuelei Xue-Lei Fan added a comment - The timeout issue of SessionTimeOutTests.java is still unknown. This fix is just try to use new SSL testing template so as to expose more information. The issue of SessionCacheSizeTests is that the client side may kick off a connection before server is ready to listen on a particular port.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/ec827a62070a
            User: lana
            Date: 2013-08-31 01:29:26 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/ec827a62070a User: lana Date: 2013-08-31 01:29:26 +0000
            Hide
            zailiu Kevin Liu (Inactive) added a comment -
            this tests have passed in B106 build
            Show
            zailiu Kevin Liu (Inactive) added a comment - this tests have passed in B106 build

              People

              • Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                darcy Joe Darcy
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: