JDK-8138877 : [TEST] Intermittent test failure: javax/net/ssl/DTLS/WeakCipherSuite.java
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-10-05
  • Updated: 2016-09-30
  • Resolved: 2016-05-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
javax/net/ssl/DTLS/WeakCipherSuite.java is failing intermittently.
The following exception is thrown:

command: main WeakCipherSuite SSL_DHE_RSA_WITH_DES_CBC_SHA
reason: User specified action: run main/othervm WeakCipherSuite SSL_DHE_RSA_WITH_DES_CBC_SHA 
elapsed time (seconds): 199.016
----------System.out:(18/1179)----------
java.lang.RuntimeException: Too much loops to produce handshake packets
	at DTLSOverDatagram.handshake(DTLSOverDatagram.java:153)
	at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:94)
	at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:515)
	at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:505)
	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
	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:747)
java.lang.Exception: Not ready for application data yet
	at DTLSOverDatagram.handshake(DTLSOverDatagram.java:225)
	at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:116)
	at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:549)
	at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:539)
	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
	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:747)
----------System.err:(36/2343)----------
java.util.concurrent.ExecutionException: java.lang.Exception: Not ready for application data yet
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at DTLSOverDatagram.runTest(DTLSOverDatagram.java:488)
	at WeakCipherSuite.main(WeakCipherSuite.java:59)
	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:520)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:747)
	Suppressed: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Too much loops to produce handshake packets
		... 10 more
	Caused by: java.lang.RuntimeException: Too much loops to produce handshake packets
		at DTLSOverDatagram.handshake(DTLSOverDatagram.java:153)
		at DTLSOverDatagram.doServerSide(DTLSOverDatagram.java:94)
		at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:515)
		at DTLSOverDatagram$ServerCallable.call(DTLSOverDatagram.java:505)
		at java.util.concurrent.FutureTask.run(FutureTask.java:265)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
		... 1 more
Caused by: java.lang.Exception: Not ready for application data yet
	at DTLSOverDatagram.handshake(DTLSOverDatagram.java:225)
	at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:116)
	at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:549)
	at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:539)
	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	... 1 more

JavaTest Message: Test threw exception: java.util.concurrent.ExecutionException: java.lang.Exception: Not ready for application data yet
Comments
This looks like a duplicate of JDK-8129389. Both javax/net/ssl/DTLS/CipherSuite and javax/net/ssl/DTLS/WeakCipherSuite.java are based on DTLSOverDatagram.java.
19-05-2016