JDK-8299485 : Test sun/security/pkcs11/Cipher/TestCICOWithGCMAndAAD.java timed out
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 21
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2023-01-03
  • Updated: 2023-07-21
  • Resolved: 2023-07-21
Related Reports
Duplicate :  
Relates :  
Description
Nothing to go on in the logs:

#section:main
----------messages:(10/311)----------
command: main TestCICOWithGCMAndAAD
reason: User specified action: run main TestCICOWithGCMAndAAD 
started: Mon Jan 02 16:44:18 UTC 2023
Mode: agentvm
Agent id: 24
Timeout refired 480 times
Timeout information:
--- Timeout information end.


Comments
I am closing this as a duplicate of JDK-8307185.
21-07-2023

The test fails intermittently; I haven't successfully reproduced it, yet. I need to examine the failures a bit more. The stack traces are very similar between the bugs.
20-07-2023

Is the test failure not reproducible after fix for JDK-8307185?
20-07-2023

Yes, I believe it is.
20-07-2023

Could this be due to JDK-8307185: "pkcs11 native libraries make JNI calls into java code while holding GC lock" since Cipher/p11_crypto.c is involved? The fix was integrated yesterday.
20-07-2023

This test uses Random.nextBytes to generate data so can block and result in timeout.
09-01-2023