Open JasonFengJ9 opened 9 months ago
50x internal grinder - 20/50 failed
Reproduced the initial IOException: Invalid response:
.
22:04:08 STDERR:
22:04:08 java.io.IOException: Invalid response: HTPjÜСO÷³H;
22:04:08 at CipherTest$Client.sendRequest(CipherTest.java:281)
22:04:08 at JSSEClient.runTest(JSSEClient.java:74)
22:04:08 at CipherTest$Client.run(CipherTest.java:252)
22:04:08 at java.base/java.lang.Thread.run(Thread.java:1595)
22:04:08 java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
22:04:08 at CipherTest.run(CipherTest.java:209)
22:04:08 at CipherTest.main(CipherTest.java:337)
22:04:08 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:67)
22:04:08 at PKCS11Test.premain(PKCS11Test.java:870)
22:04:08 at PKCS11Test.testNSS(PKCS11Test.java:486)
22:04:08 at PKCS11Test.main(PKCS11Test.java:186)
22:04:08 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:57)
22:04:08 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
22:04:08 at java.base/java.lang.reflect.Method.invoke(Method.java:586)
22:04:08 at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
22:04:08 at java.base/java.lang.Thread.run(Thread.java:1595)
Also PKCS11Exception: CKR_ENCRYPTED_DATA_INVALID
18:48:17 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ENCRYPTED_DATA_INVALID
18:48:17 at jdk.crypto.cryptoki/sun.security.pkcs11.P11AEADCipher.implDoFinal(P11AEADCipher.java:770)
18:48:17 ... 15 more
18:48:17 at jdk.crypto.cryptoki/sun.security.pkcs11.P11AEADCipher.implDoFinal(P11AEADCipher.java:785)
18:48:17 at jdk.crypto.cryptoki/sun.security.pkcs11.P11AEADCipher.engineDoFinal(P11AEADCipher.java:605)
18:48:17 at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2543)
18:48:17 at java.base/sun.security.ssl.SSLCipher$T12CC20P1305ReadCipherGenerator$CC20P1305ReadCipher.decrypt(SSLCipher.java:2169)
18:48:17 at java.base/sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:264)
18:48:17 at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:181)
18:48:17 at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
18:48:17 ... 9 more
18:48:17 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ENCRYPTED_DATA_INVALID
18:48:17 java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
18:48:17 at jdk.crypto.cryptoki/sun.security.pkcs11.P11AEADCipher.implDoFinal(P11AEADCipher.java:770)
18:48:17 ... 15 more
18:48:17 at CipherTest.run(CipherTest.java:209)
18:48:17 at CipherTest.main(CipherTest.java:337)
18:48:17 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:67)
18:48:17 at PKCS11Test.premain(PKCS11Test.java:870)
18:48:17 at PKCS11Test.testNSS(PKCS11Test.java:486)
18:48:17 at PKCS11Test.main(PKCS11Test.java:186)
18:48:17 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:57)
18:48:17 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
18:48:17 at java.base/java.lang.reflect.Method.invoke(Method.java:586)
18:48:17 at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
18:48:17 at java.base/java.lang.Thread.run(Thread.java:1595)
18:48:17
18:48:17 JavaTest Message: Test threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
SocketException: Socket is closed
20:14:36 javax.net.ssl|WARNING|A1|Client 2|2024-01-29 17:14:22.713 PST|SSLSocketImpl.java:576|SSLSocket duplex close failed. Debug info only. Exception details: (
20:14:36 "throwable" : {
20:14:36 java.net.SocketException: Socket is closed
20:14:36 at java.base/java.net.Socket.shutdownInput(Socket.java:1756)
20:14:36 at java.base/sun.security.ssl.BaseSSLSocketImpl.shutdownInput(BaseSSLSocketImpl.java:224)
20:14:36 at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:850)
20:14:36 at java.base/sun.security.ssl.SSLSocketImpl.bruteForceCloseInput(SSLSocketImpl.java:799)
20:14:36 at java.base/sun.security.ssl.SSLSocketImpl.duplexCloseOutput(SSLSocketImpl.java:664)
20:14:36 at java.base/sun.security.ssl.SSLSocketImpl.close(SSLSocketImpl.java:584)
20:14:36 at JSSEClient.runTest(JSSEClient.java:108)
20:14:36 at CipherTest$Client.run(CipherTest.java:252)
20:14:36 at java.base/java.lang.Thread.run(Thread.java:1595)}
20:14:36
20:14:36 )
20:14:36 java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
Similar failures occurred w/ RI
09:11:43 openjdk version "21.0.2" 2024-01-16 LTS
09:11:43 OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS)
09:11:43 OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode, sharing)
09:01:55 Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ENCRYPTED_DATA_INVALID
09:01:55 at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_Decrypt(Native Method)
09:01:55 at jdk.crypto.cryptoki/sun.security.pkcs11.P11AEADCipher.implDoFinal(P11AEADCipher.java:770)
09:01:55 ... 14 more
09:01:55 java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
09:01:55 at CipherTest.run(CipherTest.java:209)
09:01:55 at CipherTest.main(CipherTest.java:337)
09:01:55 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:67)
09:01:55 at PKCS11Test.premain(PKCS11Test.java:870)
09:01:55 at PKCS11Test.testNSS(PKCS11Test.java:486)
09:01:55 at PKCS11Test.main(PKCS11Test.java:186)
09:01:55 at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:57)
09:01:55 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
09:01:55 at java.base/java.lang.reflect.Method.invoke(Method.java:580)
09:01:55 at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
09:01:55 at java.base/java.lang.Thread.run(Thread.java:1583)
09:01:55
09:01:55 JavaTest Message: Test threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
This is not an OpenJ9 JVM issue.
Failure link
From an internal build(
rhel8le-svl-rt6-1
):Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
50x internal grinder - 20/50 failed