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

FIPS jdk_util_0_FAILED various failures #15863

Open
JasonFengJ9 opened this issue Sep 9, 2022 · 0 comments
Open

FIPS jdk_util_0_FAILED various failures #15863

JasonFengJ9 opened this issue Sep 9, 2022 · 0 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build(rhel8x64-fips1-1):

openjdk version "1.8.0_352"
IBM Semeru Runtime Open Edition (build 1.8.0_352-b05)
Eclipse OpenJ9 VM (build v0.35.0-release-7dd982ba7, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20220908_469 (JIT enabled, AOT enabled)
OpenJ9   - 7dd982ba7
OMR      - 938f0686f
JCL      - d0e3108595 based on jdk8u352-b05)

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

Optional info

Failure output (captured from console output)

[2022-09-09T01:35:46.593Z] variation: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache Mode150
[2022-09-09T01:35:46.593Z] JVM_OPTIONS:  -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:+UseCompressedOops -Dsemeru.fips=true

[2022-09-09T01:39:32.993Z] TEST: java/util/jar/JarFile/ScanSignedJar.java
[2022-09-09T01:39:32.996Z] STDERR:
[2022-09-09T01:39:32.996Z] java.lang.Exception: Failed to detect that the JAR file is signed
[2022-09-09T01:39:32.996Z] 	at ScanSignedJar.main(ScanSignedJar.java:63)
[2022-09-09T01:39:32.997Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-09-09T01:39:32.997Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-09-09T01:39:32.997Z] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-09-09T01:39:32.997Z] 	at java.lang.reflect.Method.invoke(Method.java:498)
[2022-09-09T01:39:32.997Z] 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2022-09-09T01:39:32.997Z] 	at java.lang.Thread.run(Thread.java:826)

[2022-09-09T01:39:32.997Z] TEST: java/util/jar/JarFile/TurkCert.java
[2022-09-09T01:39:33.000Z] STDERR:
[2022-09-09T01:39:33.000Z] java.lang.Exception: Null certificate for test.class.
[2022-09-09T01:39:33.000Z] 	at TurkCert.main(TurkCert.java:50)
[2022-09-09T01:39:33.000Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-09-09T01:39:33.000Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-09-09T01:39:33.000Z] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-09-09T01:39:33.000Z] 	at java.lang.reflect.Method.invoke(Method.java:498)
[2022-09-09T01:39:33.000Z] 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2022-09-09T01:39:33.000Z] 	at java.lang.Thread.run(Thread.java:826)

[2022-09-09T01:39:33.001Z] TEST: java/util/jar/JarInputStream/ExtraFileInMetaInf.java
[2022-09-09T01:39:33.003Z] STDERR:
[2022-09-09T01:39:33.003Z] java.lang.SecurityException: System.exit() forbidden by JT Harness
[2022-09-09T01:39:33.003Z] 	at com.sun.javatest.regtest.agent.JavaTestSecurityManager.checkExit(JavaTestSecurityManager.java:116)
[2022-09-09T01:39:33.003Z] 	at java.lang.Runtime.exit(Runtime.java:101)
[2022-09-09T01:39:33.003Z] 	at java.lang.System.exit(System.java:389)
[2022-09-09T01:39:33.003Z] 	at sun.security.tools.keytool.Main.run(Main.java:386)
[2022-09-09T01:39:33.003Z] 	at sun.security.tools.keytool.Main.main(Main.java:371)
[2022-09-09T01:39:33.003Z] 	at ExtraFileInMetaInf.main(ExtraFileInMetaInf.java:50)
[2022-09-09T01:39:33.003Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-09-09T01:39:33.003Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-09-09T01:39:33.003Z] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-09-09T01:39:33.003Z] 	at java.lang.reflect.Method.invoke(Method.java:498)
[2022-09-09T01:39:33.003Z] 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2022-09-09T01:39:33.003Z] 	at java.lang.Thread.run(Thread.java:826)

[2022-09-09T01:39:33.003Z] TEST: java/util/jar/JarInputStream/ScanSignedJar.java
[2022-09-09T01:39:33.005Z] STDERR:
[2022-09-09T01:39:33.005Z] java.lang.Exception: Count.class should be signed
[2022-09-09T01:39:33.005Z] 	at ScanSignedJar.main(ScanSignedJar.java:74)
[2022-09-09T01:39:33.005Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-09-09T01:39:33.005Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-09-09T01:39:33.005Z] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-09-09T01:39:33.006Z] 	at java.lang.reflect.Method.invoke(Method.java:498)
[2022-09-09T01:39:33.006Z] 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2022-09-09T01:39:33.006Z] 	at java.lang.Thread.run(Thread.java:826)

[2022-09-09T01:39:33.006Z] TEST: java/util/jar/JarInputStream/TestIndexedJarWithBadSignature.java
[2022-09-09T01:39:33.012Z] STDERR:
[2022-09-09T01:39:33.012Z] java.lang.RuntimeException: Test Failed:Security Exception not being thrown
[2022-09-09T01:39:33.012Z] 	at TestIndexedJarWithBadSignature.main(TestIndexedJarWithBadSignature.java:49)
[2022-09-09T01:39:33.012Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-09-09T01:39:33.012Z] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-09-09T01:39:33.012Z] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-09-09T01:39:33.012Z] 	at java.lang.reflect.Method.invoke(Method.java:498)
[2022-09-09T01:39:33.012Z] 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2022-09-09T01:39:33.012Z] 	at java.lang.Thread.run(Thread.java:826)
[2022-09-09T01:39:33.012Z] 
[2022-09-09T01:39:33.012Z] JavaTest Message: Test threw exception: java.lang.RuntimeException
[2022-09-09T01:39:33.012Z] JavaTest Message: shutting down test
[2022-09-09T01:39:33.012Z] 
[2022-09-09T01:39:33.012Z] 
[2022-09-09T01:39:33.012Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed:Security Exception not being thrown
[2022-09-09T01:39:33.012Z] --------------------------------------------------
[2022-09-09T01:45:34.390Z] Test results: passed: 649; failed: 5
[2022-09-09T01:45:34.390Z] Report written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_linux_fips_testList_0/aqa-tests/TKG/output_16626869907321/jdk_util_0/report/html/report.html
[2022-09-09T01:45:34.390Z] Results written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_linux_fips_testList_0/aqa-tests/TKG/output_16626869907321/jdk_util_0/work
[2022-09-09T01:45:34.390Z] Error: Some tests failed or other problems occurred.
[2022-09-09T01:45:34.390Z] 
[2022-09-09T01:45:34.390Z] jdk_util_0_FAILED
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

1 participant