eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

JDK19 langtools_custom_0_FAILED Exception while calling user-specified class: requires.VMProps #15264

Open JasonFengJ9 opened 2 years ago

JasonFengJ9 commented 2 years ago

Failure link

From an internal build job/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/1/consoleFull(ub18-aarch64-7):

11:36:29  openjdk version "19-internal" 2022-09-20
11:36:29  OpenJDK Runtime Environment (build 19-internal-adhoc.jenkins.BuildJDKnextaarch64linuxPersonal)
11:36:29  Eclipse OpenJ9 VM (build exclude19-52f04efbff5, JRE 19 Linux aarch64-64-Bit Compressed References 20220607_35 (JIT enabled, AOT enabled)
11:36:29  OpenJ9   - 52f04efbff5
11:36:29  OMR      - c60867497c6
11:36:29  JCL      - 5ccf02de16a based on jdk-19+25)

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

Optional info

Failure output (captured from console output)

11:42:34  ===============================================
11:42:34  Running test langtools_custom_0 ...
11:42:34  ===============================================
11:42:34  langtools_custom_0 Start Time: Tue Jun  7 11:42:33 2022 Epoch Time (ms): 1654616553740
11:42:34  "/home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
11:42:34  JVMSHRC005I No shared class caches available
11:42:34  JVMSHRC005I No shared class caches available
11:42:34  cache cleanup done
11:42:34  variation: Mode150
11:42:34  JVM_OPTIONS:  -XX:+UseCompressedOops 

11:42:46  Exception while calling user-specified class: requires.VMProps
11:42:46  java.lang.UnsatisfiedLinkError: jdk/test/whitebox/WhiteBox.registerNatives()V
11:42:46    at jdk.test.whitebox.WhiteBox.<clinit>(WhiteBox.java:67)
11:42:46    at requires.VMProps.<clinit>(VMProps.java:64)
11:42:46    at java.base/java.lang.Class.forNameImpl(Native Method)
11:42:46    at java.base/java.lang.Class.forName(Class.java:369)
11:42:46    at java.base/java.lang.Class.forName(Class.java:349)
11:42:46    at com.sun.javatest.regtest.agent.GetJDKProperties.run(GetJDKProperties.java:78)
11:42:46    at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:54)
11:42:46  failed to get JDK properties for /home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/j2sdk-image/bin/java -ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.library.path=/home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/openjdk-test-image/jdk/jtreg/native; exit code 1
11:42:46  Error: failed to get JDK properties for /home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/j2sdk-image/bin/java -ea -esa -Xmx512m -XX:+UseCompressedOops -Djava.library.path=/home/jenkins/workspace/Test_openjdknext_j9_extended.openjdk_aarch64_linux_Personal/openjdkbinary/openjdk-test-image/jdk/jtreg/native; exit code 1
11:42:46  
11:42:46  langtools_custom_0_FAILED

This appears a test issue.

pshipton commented 2 years ago

If it needs whitebox (Hotspot) natives we'll have to exclude it.