Repository: eclipse-openj9/openj9

Issue #16969: JDK20 jdk_security3_0_FAILED RuntimeException: Signature verification failed
Created: 2023-03-20T18:46:15Z
Failure link
From an internal build(rhel7s390x-4-1):
09:00:53  openjdk version "20-internal" 2023-03-21
09:00:53  OpenJDK Runtime Environment (build 20-internal-adhoc.jenkins.BuildJDK20s390xlinuxPersonal)
09:00:53  Eclipse OpenJ9 VM (build master-8cc902bc75f, JRE 20 Linux s390x-64-Bit Compressed References 20230316_13 (JIT enabled, AOT enabled)
09:00:53  OpenJ9   - 8cc902bc75f
09:00:53  OMR      - 035ec68ec0c
09:00:53  JCL      - 10a35739269 based on jdk-20+36)

Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
10:44:37  variation: Mode150
10:44:37  JVM_OPTIONS:  -XX:+UseCompressedOops 

11:02:40  TEST: sun/security/rsa/pss/SerializedPSSKey.java

11:02:40  STDERR:
11:02:40  java.lang.RuntimeException: Signature verification failed
11:02:40  	at SerializedPSSKey.testSignature(SerializedPSSKey.java:132)
11:02:40  	at SerializedPSSKey.test(SerializedPSSKey.java:105)
11:02:40  	at SerializedPSSKey.main(SerializedPSSKey.java:89)
11:02:40  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
11:02:40  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
11:02:40  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
11:02:40  	at java.base/java.lang.Thread.run(Thread.java:1639)
11:02:40  
11:02:40  JavaTest Message: Test threw exception: java.lang.RuntimeException
11:02:40  JavaTest Message: shutting down test
11:02:40  
11:02:40  
11:02:40  TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Signature verification failed

11:24:08  Test results: passed: 874; failed: 5
11:24:08  Report written to /home/jenkins/workspace/Test_openjdk20_j9_extended.openjdk_s390x_linux_Personal/aqa-tests/TKG/output_16789717578283/jdk_security3_0/report/html/report.html
11:24:08  Results written to /home/jenkins/workspace/Test_openjdk20_j9_extended.openjdk_s390x_linux_Personal/aqa-tests/TKG/output_16789717578283/jdk_security3_0/work
11:24:08  Error: Some tests failed or other problems occurred.
11:24:08  -----------------------------------
11:24:08  jdk_security3_0_FAILED

50x internal grinder

Duplicate issue #16967: JDK20 java/security/MessageDigest/ThreadSafetyTest.java RuntimeException: MessageDigest SHA-512/224 in the provider SUN is not thread-safe
Created: 2023-03-20T18:38:49Z
Failure link
From an internal build(rhel7s390x-4-1):
09:00:53  openjdk version "20-internal" 2023-03-21
09:00:53  OpenJDK Runtime Environment (build 20-internal-adhoc.jenkins.BuildJDK20s390xlinuxPersonal)
09:00:53  Eclipse OpenJ9 VM (build master-8cc902bc75f, JRE 20 Linux s390x-64-Bit Compressed References 20230316_13 (JIT enabled, AOT enabled)
09:00:53  OpenJ9   - 8cc902bc75f
09:00:53  OMR      - 035ec68ec0c
09:00:53  JCL      - 10a35739269 based on jdk-20+36)

Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
10:14:16  variation: Mode150
10:14:16  JVM_OPTIONS:  -XX:+UseCompressedOops 

10:17:39  TEST: java/security/MessageDigest/ThreadSafetyTest.java

10:17:39  STDERR:
10:17:39  java.lang.RuntimeException: MessageDigest SHA-512/224 in the provider SUN is not thread-safe.
10:17:39  	at ThreadSafetyTest.testThreadSafety(ThreadSafetyTest.java:127)
10:17:39  	at ThreadSafetyTest.main(ThreadSafetyTest.java:73)
10:17:39  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
10:17:39  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
10:17:39  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
10:17:39  	at java.base/java.lang.Thread.run(Thread.java:1639)
10:17:39  
10:17:39  JavaTest Message: Test threw exception: java.lang.RuntimeException

10:23:45  jdk_security1_0_FAILED

50x internal grinder

Closing comment (2023-05-03T23:17:12Z): Closing as dup of #16969