Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openJcePlusTests_0 FAILED OCKException: ICC_RSA_generate_key() failed #20789

Open
JasonFengJ9 opened this issue Dec 9, 2024 · 1 comment
Open

Comments

@JasonFengJ9
Copy link
Member

Failure link

From internal Test_openjdk21_j9_extended.functional_ppc64le_linux_fips140_3_openjceplusfips (sles15le-svl-rt1-1)

java version "21.0.6-beta" 2025-01-21
IBM Semeru Runtime Certified Edition 21.0.6+6-202412071603 (build 21.0.6-beta+6-202412071603)
Eclipse OpenJ9 VM 21.0.6+6-202412071603 (build master-501751012f, JRE 21 Linux ppc64le-64-Bit Compressed References 20241207_322 (JIT enabled, AOT enabled)
OpenJ9   - 501751012f
OMR      - b893b2be2
JCL      - 71fff4eae based on jdk-21.0.6+6)

Rerun in Grinder - Change TARGET to run only the failed test targets

Optional info

Failure output (captured from console output)

[2024-12-07T17:04:22.435Z] variation: NoOptions
[2024-12-07T17:04:22.435Z] JVM_OPTIONS:   -Dsemeru.fips=true -Dsemeru.customprofile=OpenJCEPlusFIPS

[2024-12-07T17:47:49.402Z] executing testRSA_2048
[2024-12-07T17:50:44.637Z] java.security.ProviderException: Failure in generateKeyPair
[2024-12-07T17:50:44.638Z] 	at openjceplus/com.ibm.crypto.plus.provider.OpenJCEPlusFIPS.providerException(OpenJCEPlusFIPS.java:850)
[2024-12-07T17:50:44.638Z] 	at openjceplus/com.ibm.crypto.plus.provider.RSAKeyPairGenerator.generateKeyPair(RSAKeyPairGenerator.java:125)
[2024-12-07T17:50:44.638Z] 	at openjceplus/com.ibm.crypto.plus.provider.RSAKeyPairGenerator$Legacy.generateKeyPair(RSAKeyPairGenerator.java:129)
[2024-12-07T17:50:44.638Z] 	at java.base/java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:722)
[2024-12-07T17:50:44.638Z] 	at ibm.jceplus.junit.base.BaseTestRSA.setUp(BaseTestRSA.java:89)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestCase.runBare(TestCase.java:140)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestResult$1.protect(TestResult.java:122)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestResult.runProtected(TestResult.java:142)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestResult.run(TestResult.java:125)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestCase.run(TestCase.java:130)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestSuite.runTest(TestSuite.java:241)
[2024-12-07T17:50:44.638Z] 	at junit.framework.TestSuite.run(TestSuite.java:236)
[2024-12-07T17:50:44.638Z] Caused by: com.ibm.crypto.plus.provider.ock.OCKException: ICC_RSA_generate_key() failed
[2024-12-07T17:50:44.638Z] 	at openjceplus/com.ibm.crypto.plus.provider.ock.RSAKey.generateKeyPair(RSAKey.java:41)
[2024-12-07T17:50:44.638Z] 	at openjceplus/com.ibm.crypto.plus.provider.RSAKeyPairGenerator.generateKeyPair(RSAKeyPairGenerator.java:119)
[2024-12-07T17:50:44.638Z] 	... 10 more

[2024-12-07T18:36:32.978Z] openJcePlusTests_0_FAILED

FYI @jasonkatonica

Copy link

github-actions bot commented Dec 9, 2024

Issue Number: 20789
Status: Open
Recommended Components: comp:test, comp:vm, comp:jclextensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants