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

javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently

    Details

      Backports

        Description

        javax/net/ssl/ciphersuites/DisabledAlgorithms.java fails intermittently

        ----------System.out:(28/2284)----------
        jdk.tls.disabledAlgorithms = SSLv3, RC4
        Server: enable cipher suites: [TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_ECDH_anon_WITH_RC4_128_SHA, SSL_DH_anon_WITH_RC4_128_MD5]
        Server: started
        Client: enable cipher suite: TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: TLS_ECDHE_RSA_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: SSL_RSA_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: TLS_ECDH_ECDSA_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: TLS_ECDH_RSA_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: SSL_RSA_WITH_RC4_128_MD5
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: TLS_ECDH_anon_WITH_RC4_128_SHA
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Client: enable cipher suite: SSL_DH_anon_WITH_RC4_128_MD5
        Client: connect to server
        Expected exception on client side: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        Server: finished
        ----------System.err:(14/897)----------
        java.lang.RuntimeException: Expected SSL exception not thrown on server side
        at DisabledAlgorithms.checkFailure(DisabledAlgorithms.java:136)
        at DisabledAlgorithms.main(DisabledAlgorithms.java:91)
        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:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected SSL exception not thrown on server side
        JavaTest Message: shutting down test

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asmotrak Artem Smotrakov
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: