Open pshipton opened 2 years ago
Still fails on the latest b05.
sun/security/tools/keytool/autotest.sh on rhel9x86-rt2-1 grinder (head) - still fails, but passed on another machine (ub18x64rt1-1)
Also on rhel9, head, try xlinux grinder - failed same as above and plinux grinder - failed same as above
and temurin xlinux - failed same as above
Not an OpenJ9 issue.
Just for the record, same failure on rhel9 aarch64 JDK11 (internal link)
00:10:16.763 java version "11.0.19" 2023-04-18
00:10:16.763 IBM Semeru Runtime Certified Edition 11.0.19.0-rc1 (build 11.0.19+7)
00:10:16.763 Eclipse OpenJ9 VM 11.0.19.0-rc1 (build v0.38.0-release-d57d05932, JRE 11 Linux aarch64-64-Bit Compressed References 20230501_301 (JIT enabled, AOT enabled)
00:10:16.763 OpenJ9 - d57d05932
00:10:16.763 OMR - 855813495
00:10:16.763 JCL - 1539bdcd45 based on jdk-11.0.19+7)
2023-05-02T17:19:55.127Z] loadProviderByName: SunPKCS11
[2023-05-02T17:19:55.127Z] keytool error: java.io.IOException: load failed
[2023-05-02T17:19:55.127Z]
[2023-05-02T17:19:55.127Z] Exception in thread "main" java.io.IOException: load failed
[2023-05-02T17:19:55.127Z] at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:765)
[2023-05-02T17:19:55.127Z] at java.base/java.security.KeyStore.load(KeyStore.java:1479)
[2023-05-02T17:19:55.127Z] at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1010)
[2023-05-02T17:19:55.127Z] at java.base/sun.security.tools.keytool.Main.run(Main.java:421)
[2023-05-02T17:19:55.127Z] at java.base/sun.security.tools.keytool.Main.main(Main.java:414)
[2023-05-02T17:19:55.127Z] at KeyToolTest.test(KeyToolTest.java:174)
[2023-05-02T17:19:55.127Z] at KeyToolTest.test(KeyToolTest.java:142)
[2023-05-02T17:19:55.127Z] at KeyToolTest.testOK(KeyToolTest.java:197)
[2023-05-02T17:19:55.127Z] at KeyToolTest.testPKCS11(KeyToolTest.java:687)
[2023-05-02T17:19:55.127Z] at KeyToolTest.main(KeyToolTest.java:1839)
[2023-05-02T17:19:55.127Z] Caused by: javax.security.auth.login.LoginException
[2023-05-02T17:19:55.127Z] at jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1616)
[2023-05-02T17:19:55.127Z] at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:865)
[2023-05-02T17:19:55.127Z] at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:752)
[2023-05-02T17:19:55.127Z] ... 9 more
[2023-05-02T17:19:55.127Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID
[2023-05-02T17:19:55.127Z] at jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1600)
[2023-05-02T17:19:55.127Z] ... 11 more
JDK8 aarch64_linux(rhel9-aarch64-3
)
openjdk version "1.8.0_392"
IBM Semeru Runtime Open Edition (build 1.8.0_392-b08)
Eclipse OpenJ9 VM (build v0.41.0-release-a803f004b, JRE 1.8.0 Linux aarch64-64-Bit Compressed References 20231116_775 (JIT enabled, AOT enabled)
OpenJ9 - a803f004b
OMR - 5eee6ad9d
JCL - b73cbdd342 based on jdk8u392-b08)
[2023-11-16T09:33:30.467Z] ERR is:
[2023-11-16T09:33:30.467Z]
[2023-11-16T09:33:30.467Z] OUT is:
[2023-11-16T09:33:30.467Z] keytool error: java.io.IOException: load failed
[2023-11-16T09:33:30.467Z]
[2023-11-16T09:33:30.467Z] Exception in thread "main" java.io.IOException: load failed
[2023-11-16T09:33:30.467Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:764)
[2023-11-16T09:33:30.467Z] at java.security.KeyStore.load(KeyStore.java:1445)
[2023-11-16T09:33:30.467Z] at sun.security.tools.keytool.Main.doCommands(Main.java:869)
[2023-11-16T09:33:30.467Z] at sun.security.tools.keytool.Main.run(Main.java:378)
[2023-11-16T09:33:30.467Z] at sun.security.tools.keytool.Main.main(Main.java:371)
[2023-11-16T09:33:30.467Z] at KeyToolTest.test(KeyToolTest.java:159)
[2023-11-16T09:33:30.467Z] at KeyToolTest.test(KeyToolTest.java:127)
[2023-11-16T09:33:30.467Z] at KeyToolTest.testOK(KeyToolTest.java:182)
[2023-11-16T09:33:30.467Z] at KeyToolTest.testPKCS11(KeyToolTest.java:525)
[2023-11-16T09:33:30.467Z] at KeyToolTest.main(KeyToolTest.java:1345)
[2023-11-16T09:33:30.467Z] Caused by: javax.security.auth.login.LoginException
[2023-11-16T09:33:30.467Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1534)
[2023-11-16T09:33:30.467Z] at sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:864)
[2023-11-16T09:33:30.467Z] at sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:751)
[2023-11-16T09:33:30.467Z] ... 9 more
[2023-11-16T09:33:30.467Z] Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID
[2023-11-16T09:33:30.467Z] at sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1518)
[2023-11-16T09:33:30.467Z] ... 11 more
[2023-11-16T09:47:13.141Z] jdk_security3_0_FAILED
Originally reported in https://github.com/eclipse-openj9/openj9/issues/15663#issuecomment-1232188736
A similar internal failure (
rhel9s390xrt-2
) - anotherrhel9