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

sun/security/pkcs11/tls/tls12/FipsModeTLS12.java fails due to SSLProtocolException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: security-libs
    • Labels:

      Description

      The following test failure was spotted in the JDK13 CI:

      sun/security/pkcs11/tls/tls12/FipsModeTLS12.java

      Here's a snippet of the log file:

      ----------System.err:(39/2839)----------
      javax.net.ssl.SSLProtocolException
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:129)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:325)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:268)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
      at java.base/sun.security.ssl.SessionTicketExtension$SessionTicketSpec.encrypt(SessionTicketExtension.java:289)
      at java.base/sun.security.ssl.NewSessionTicket$T12NewSessionTicketProducer.produce(NewSessionTicket.java:459)
      at java.base/sun.security.ssl.Finished$T12FinishedProducer.onProduceFinished(Finished.java:449)
      at java.base/sun.security.ssl.Finished$T12FinishedProducer.produce(Finished.java:382)
      at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:440)
      at java.base/sun.security.ssl.Finished$T12FinishedConsumer.onConsumeFinished(Finished.java:636)
      at java.base/sun.security.ssl.Finished$T12FinishedConsumer.consume(Finished.java:536)
      at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
      at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:445)
      at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:420)
      at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:182)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
      at java.base/sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:700)
      at java.base/sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:655)
      at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:470)
      at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:446)
      at java.base/javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:634)
      at FipsModeTLS12$testTLS12SunPKCS11Communication.run(FipsModeTLS12.java:318)
      at FipsModeTLS12.main(FipsModeTLS12.java:99)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      Caused by: java.lang.NullPointerException
      at java.base/sun.security.ssl.SSLSessionImpl.write(SSLSessionImpl.java:540)
      at java.base/sun.security.ssl.SessionTicketExtension$SessionTicketSpec.encrypt(SessionTicketExtension.java:276)
      ... 24 more

      JavaTest Message: Test threw exception: javax.net.ssl.SSLProtocolException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: javax.net.ssl.SSLProtocolException

      Because this is a Tier2 failure, I'm starting this one out at P3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ascarpino Anthony Scarpino
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: