JDK-8157898 : SupportedDSAParamGen.java failed with timeout
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-05-25
  • Updated: 2019-01-14
  • Resolved: 2016-06-07
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 7 JDK 8 JDK 9 Other
7u191Fixed 8u181Fixed 9 b123Fixed openjdk7uFixed
Related Reports
Relates :  
Description
sun/security/provider/DSA/SupportedDSAParamGen.java

Test is seen to timeout.

----------messages:(3/106)----------
command: build SupportedDSAParamGen
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:main
----------messages:(8/326)----------
command: main SupportedDSAParamGen 3072 256
reason: User specified action: run main/timeout=450 SupportedDSAParamGen 3072 256 
Mode: agentvm
Timeout signalled after 1,800 seconds
Timeout information:
Could not find process id for the process that timed out.
Skipping timeout handling.
elapsed time (seconds): 1800.056
Comments
It has been observed that the mathematical calculation required to generate DSA parameter for (prime, subprime)=(3072, 256) takes longer time in some cases with some platform in some machine. One of possible solution could be modify the timeout period to higher value, so that the mathematical calculation can completed. This is a rare failure when the timeout set to 450 second. Lets modify it to 500 second and verify the behavior in future. If still the problem exist again this value need to be incremented.
30-05-2016