-
Bug
-
Resolution: Duplicate
-
P2
-
13
-
x86_64
-
linux
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.
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.
- duplicates
-
JDK-8226338 Updates to Stateless Resumption
- Resolved
- relates to
-
JDK-8225730 Add sun/security/pkcs11/tls/tls12/FipsModeTLS12.java to ProblemList for linux
- Resolved
-
JDK-8211018 Session Resumption without Server-Side State
- Resolved
-
JDK-8225739 sun/security/pkcs11/tls/tls12/FipsModeTLS12.java is not reliable
- Open