JDK-8268616 : sun/security/pkcs11/Cipher/TestCICOWithGCMAndAAD.java timed out
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 17
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86_64
  • Submitted: 2021-06-11
  • Updated: 2023-08-08
  • Resolved: 2021-12-09
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 18
18Resolved
Related Reports
Duplicate :  
Description
The following test timed out in the JDK17 CI:

sun/security/pkcs11/Cipher/TestCICOWithGCMAndAAD.java

Here's a snippet from the log file:

#section:main
----------messages:(8/234)----------
command: main TestCICOWithGCMAndAAD
reason: User specified action: run main TestCICOWithGCMAndAAD 
Mode: agentvm
Agent id: 21
Timeout refired 480 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 689.659
----------configuration:(18/2452)----------
Boot Layer
  class path: /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar 
              /opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar 
  patch:      java.base /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78984/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a449ecc8-5cd6-438b-b31b-707f3d83fcdb/runs/91fdebf6-9797-4427-a117-6f781aac6b46/testoutput/test-support/jtreg_open_test_jdk_tier2_part1/patches/java.base

Test Layer
  class path: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78984/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a449ecc8-5cd6-438b-b31b-707f3d83fcdb/runs/91fdebf6-9797-4427-a117-6f781aac6b46/testoutput/test-support/jtreg_open_test_jdk_tier2_part1/classes/1/sun/security/pkcs11/Cipher/TestCICOWithGCMAndAAD.d
              /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+27-2448/src.full/open/test/jdk/sun/security/pkcs11/Cipher
              /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78984/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a449ecc8-5cd6-438b-b31b-707f3d83fcdb/runs/91fdebf6-9797-4427-a117-6f781aac6b46/testoutput/test-support/jtreg_open_test_jdk_tier2_part1/classes/1/test/lib
              /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+27-2448/src.full/open/test/lib
              /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78984/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a449ecc8-5cd6-438b-b31b-707f3d83fcdb/runs/91fdebf6-9797-4427-a117-6f781aac6b46/testoutput/test-support/jtreg_open_test_jdk_tier2_part1/classes/1/sun/security/pkcs11
              /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+27-2448/src.full/open/test/jdk/sun/security/pkcs11

----------rerun:(30/6910)*----------

<snip>

result: Error. Agent error: java.lang.Exception: Agent 21 timed out with a timeout of 480 seconds; check console log for any additional details
Comments
This test is using Random (not SecureRandom) to generate data so can get blocked causing it to timeout.
14-06-2021