-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
9
-
windows
This test failed 1 time during JDK 9 same binary run(OS: Win 7 x64).
TESTFAIL:sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java
error message:
Passed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA in TLSv1.2 mode
----------System.err:(51/3114)----------
javax.net.ssl.SSLHandshakeException: Invalid Padding length: 82
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1917)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1001)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:909)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
at CipherTest$Server.handleRequest(CipherTest.java:77)
at JSSEServer$1.run(JSSEServer.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 82
at sun.security.ssl.CipherBox.removePadding(CipherBox.java:743)
at sun.security.ssl.CipherBox.decrypt(CipherBox.java:491)
at sun.security.ssl.InputRecord.decrypt(InputRecord.java:172)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:996)
... 9 more
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1991)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1104)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:728)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.OutputStream.write(OutputStream.java:75)
at CipherTest$Client.sendRequest(CipherTest.java:378)
at JSSEClient.runTest(JSSEClient.java:57)
at CipherTest$Client.run(CipherTest.java:365)
at java.lang.Thread.run(Thread.java:745)
java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
at CipherTest.run(CipherTest.java:323)
at CipherTest.main(CipherTest.java:445)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:60)
at PKCS11Test.premain(PKCS11Test.java:81)
at PKCS11Test.testNSS(PKCS11Test.java:359)
at PKCS11Test.main(PKCS11Test.java:91)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:47)
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:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
TESTFAIL:sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java
error message:
Passed TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA in TLSv1.2 mode
----------System.err:(51/3114)----------
javax.net.ssl.SSLHandshakeException: Invalid Padding length: 82
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1917)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1001)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:909)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
at CipherTest$Server.handleRequest(CipherTest.java:77)
at JSSEServer$1.run(JSSEServer.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 82
at sun.security.ssl.CipherBox.removePadding(CipherBox.java:743)
at sun.security.ssl.CipherBox.decrypt(CipherBox.java:491)
at sun.security.ssl.InputRecord.decrypt(InputRecord.java:172)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:996)
... 9 more
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1991)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1104)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:728)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.OutputStream.write(OutputStream.java:75)
at CipherTest$Client.sendRequest(CipherTest.java:378)
at JSSEClient.runTest(JSSEClient.java:57)
at CipherTest$Client.run(CipherTest.java:365)
at java.lang.Thread.run(Thread.java:745)
java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
at CipherTest.run(CipherTest.java:323)
at CipherTest.main(CipherTest.java:445)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:60)
at PKCS11Test.premain(PKCS11Test.java:81)
at PKCS11Test.testNSS(PKCS11Test.java:359)
at PKCS11Test.main(PKCS11Test.java:91)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:47)
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:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***