-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
23
-
x86_64
-
windows
command: main -DSERVER_PROTOCOL=SSLv3,TLSv1,TLSv1.1 -DCLIENT_PROTOCOL=TLSv1.1 -DCIPHER=TLS_RSA_WITH_AES_256_CBC_SHA TestJSSE
reason: User specified action: run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1,TLSv1.1 -DCLIENT_PROTOCOL=TLSv1.1 -DCIPHER=TLS_RSA_WITH_AES_256_CBC_SHA TestJSSE
started: Fri Apr 12 22:23:34 UTC 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management,java.base --add-exports java.base/sun.security.ec=ALL-UNNAMED
finished: Fri Apr 12 22:23:35 UTC 2024
elapsed time (seconds): 1.695
----------configuration:(4/111)----------
Boot Layer
add modules: java.management java.base
add exports: java.base/sun.security.ec ALL-UNNAMED
----------System.out:(89/7217)----------
ServerProtocol = SSLv3,TLSv1,TLSv1.1
ClientProtocol = TLSv1.1
Cipher = TLS_RSA_WITH_AES_256_CBC_SHA
This is server
Testing protocol: SSLv3,TLSv1,TLSv1.1
Testing cipher : TLS_RSA_WITH_AES_256_CBC_SHA
Initializing test 'Server JSSE'...
--- SSL ServerSocket Info ---
SupportedProtocols : [TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, SSLv3, SSLv2Hello]
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.804 UTC|SSLSocketInputRecord.java:214|READ: TLSv1.1 application_data, length = 64
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.804 UTC|SSLSocketInputRecord.java:247|READ: TLSv1.1 application_data, length = 64
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.805 UTC|SSLSocketInputRecord.java:214|READ: TLSv1.1 alert, length = 48
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.805 UTC|SSLSocketInputRecord.java:247|READ: TLSv1.1 alert, length = 48
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|Alert.java:232|Received alert message (
"Alert": {
"level" : "warning",
"description": "close_notify"
}
)
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketOutputRecord.java:71|WRITE: TLSv1.1 alert(close_notify), length = 18
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketImpl.java:577|duplex close of SSLSocket
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketImpl.java:1750|close the underlying socket
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.807 UTC|SSLSocketImpl.java:1776|close the SSL connection (passive)
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.807 UTC|SSLSocketImpl.java:836|close inbound of SSLSocket
javax.net.ssl|WARNING|32|MainThread|2024-04-12 22:23:35.809 UTC|SSLSocketImpl.java:595|SSLSocket duplex close failed. Debug info only. Exception details: (
"throwable" : {
java.net.SocketException: Socket is closed
at java.base/java.net.Socket.shutdownInput(Socket.java:1790)
at java.base/sun.security.ssl.BaseSSLSocketImpl.shutdownInput(BaseSSLSocketImpl.java:224)
at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:852)
at java.base/sun.security.ssl.SSLSocketImpl.bruteForceCloseInput(SSLSocketImpl.java:801)
at java.base/sun.security.ssl.SSLSocketImpl.duplexCloseInput(SSLSocketImpl.java:778)
at java.base/sun.security.ssl.SSLSocketImpl.close(SSLSocketImpl.java:589)
at JSSEClient.runTest(JSSEClient.java:112)
at CipherTestUtils$Client.lambda$run$1(CipherTestUtils.java:396)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:611)
at CipherTestUtils$Client.run(CipherTestUtils.java:393)
at CipherTestUtils.mainClient(CipherTestUtils.java:540)
at TestJSSE.client(TestJSSE.java:65)
at TestJSSE.main(TestJSSE.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)}
)
java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at CipherTestUtils.checkResult(CipherTestUtils.java:348)
at CipherTestUtils.mainClient(CipherTestUtils.java:541)
at TestJSSE.client(TestJSSE.java:65)
at TestJSSE.main(TestJSSE.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
reason: User specified action: run main/othervm -DSERVER_PROTOCOL=SSLv3,TLSv1,TLSv1.1 -DCLIENT_PROTOCOL=TLSv1.1 -DCIPHER=TLS_RSA_WITH_AES_256_CBC_SHA TestJSSE
started: Fri Apr 12 22:23:34 UTC 2024
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.management,java.base --add-exports java.base/sun.security.ec=ALL-UNNAMED
finished: Fri Apr 12 22:23:35 UTC 2024
elapsed time (seconds): 1.695
----------configuration:(4/111)----------
Boot Layer
add modules: java.management java.base
add exports: java.base/sun.security.ec ALL-UNNAMED
----------System.out:(89/7217)----------
ServerProtocol = SSLv3,TLSv1,TLSv1.1
ClientProtocol = TLSv1.1
Cipher = TLS_RSA_WITH_AES_256_CBC_SHA
This is server
Testing protocol: SSLv3,TLSv1,TLSv1.1
Testing cipher : TLS_RSA_WITH_AES_256_CBC_SHA
Initializing test 'Server JSSE'...
--- SSL ServerSocket Info ---
SupportedProtocols : [TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, SSLv3, SSLv2Hello]
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.804 UTC|SSLSocketInputRecord.java:214|READ: TLSv1.1 application_data, length = 64
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.804 UTC|SSLSocketInputRecord.java:247|READ: TLSv1.1 application_data, length = 64
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.805 UTC|SSLSocketInputRecord.java:214|READ: TLSv1.1 alert, length = 48
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.805 UTC|SSLSocketInputRecord.java:247|READ: TLSv1.1 alert, length = 48
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|Alert.java:232|Received alert message (
"Alert": {
"level" : "warning",
"description": "close_notify"
}
)
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketOutputRecord.java:71|WRITE: TLSv1.1 alert(close_notify), length = 18
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketImpl.java:577|duplex close of SSLSocket
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.806 UTC|SSLSocketImpl.java:1750|close the underlying socket
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.807 UTC|SSLSocketImpl.java:1776|close the SSL connection (passive)
javax.net.ssl|DEBUG|32|MainThread|2024-04-12 22:23:35.807 UTC|SSLSocketImpl.java:836|close inbound of SSLSocket
javax.net.ssl|WARNING|32|MainThread|2024-04-12 22:23:35.809 UTC|SSLSocketImpl.java:595|SSLSocket duplex close failed. Debug info only. Exception details: (
"throwable" : {
java.net.SocketException: Socket is closed
at java.base/java.net.Socket.shutdownInput(Socket.java:1790)
at java.base/sun.security.ssl.BaseSSLSocketImpl.shutdownInput(BaseSSLSocketImpl.java:224)
at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:852)
at java.base/sun.security.ssl.SSLSocketImpl.bruteForceCloseInput(SSLSocketImpl.java:801)
at java.base/sun.security.ssl.SSLSocketImpl.duplexCloseInput(SSLSocketImpl.java:778)
at java.base/sun.security.ssl.SSLSocketImpl.close(SSLSocketImpl.java:589)
at JSSEClient.runTest(JSSEClient.java:112)
at CipherTestUtils$Client.lambda$run$1(CipherTestUtils.java:396)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:611)
at CipherTestUtils$Client.run(CipherTestUtils.java:393)
at CipherTestUtils.mainClient(CipherTestUtils.java:540)
at TestJSSE.client(TestJSSE.java:65)
at TestJSSE.main(TestJSSE.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)}
)
java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at CipherTestUtils.checkResult(CipherTestUtils.java:348)
at CipherTestUtils.mainClient(CipherTestUtils.java:541)
at TestJSSE.client(TestJSSE.java:65)
at TestJSSE.main(TestJSSE.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: FAILED: got unexpected exception: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message