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

jdk8_j9_sanity.functional_ppc64_aix J9vmTest_2 failed Unable to initialize alarm thread for time-based GC scheduling #7912

Closed AdamBrousseau closed 4 years ago

AdamBrousseau commented 4 years ago

Internal Nightly JDK8 Sanity.Functional AIX Machine: aix72p7rt1

[2019-11-28T05:35:47.872Z] ===============================================
[2019-11-28T05:35:48.684Z] Running test J9vmTest_2 ...
[2019-11-28T05:35:48.684Z] ===============================================
[2019-11-28T05:35:49.503Z] J9vmTest_2 Start Time: Wed Nov 27 23:31:30 2019 Epoch Time (ms): 1574919090645
[2019-11-28T05:35:49.503Z] "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
[2019-11-28T05:35:49.503Z] JVMSHRC005I No shared class caches available
[2019-11-28T05:35:49.503Z] JVMSHRC005I No shared class caches available
[2019-11-28T05:35:49.503Z] cache cleanup done
[2019-11-28T05:35:50.386Z] variation: Mode351
[2019-11-28T05:35:50.386Z] JVM_OPTIONS: -Xcompressedrefs -Xgcpolicy:metronome -Xcompressedrefs 
[2019-11-28T05:35:50.386Z] { itercnt=1; \
[2019-11-28T05:35:50.386Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../TestConfig/test_output_1574916636387/J9vmTest_2"; \
[2019-11-28T05:35:50.386Z] cd "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../TestConfig/test_output_1574916636387/J9vmTest_2"; \
[2019-11-28T05:35:50.386Z] export LIBPATH="/opt/java8_64/jre/lib/ppc64/j9vm:/opt/java8_64/jre/lib/ppc64:/opt/java8_64/jre/lib/ppc64/jli:/opt/java8_64/jre/../lib/ppc64:/usr/lib:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/openjdk-test-image/openj9:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/jre/bin/../lib/ppc64/compressedrefs:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/jre/bin/../lib/ppc64/j9vm"; \
[2019-11-28T05:35:50.386Z] "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -Xgcpolicy:metronome -Xcompressedrefs  -Xdump -Xint \
[2019-11-28T05:35:50.386Z] -cp "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../../jvmtest/functional/VM_Test/VM_Test.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../TestConfig/lib/asm-all.jar" \
[2019-11-28T05:35:50.386Z] j9vm.runner.Menu A -exe='/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java -Xcompressedrefs -Xgcpolicy:metronome -Xcompressedrefs  -Xdump' -version=8 -jar="/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../../jvmtest/functional/VM_Test/VM_Test.jar" -xlist="/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../../jvmtest/functional/VM_Test/j9vm.xml" \
[2019-11-28T05:35:50.386Z] -xids=all,aix_ppc-64_cr; \
[2019-11-28T05:35:50.386Z] if [ $? -eq 0 ] ; then echo ""; echo "J9vmTest_2""_PASSED"; echo ""; cd /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/..;  else echo ""; echo "J9vmTest_2""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdk-tests/TestConfig/../TestConfig/test_output_1574916636387/TestTargetResult";
[2019-11-28T05:35:51.372Z] Unable to initialize alarm thread for time-based GC scheduling
[2019-11-28T05:35:51.372Z] Most likely cause is non-supported version of OS
[2019-11-28T05:35:51.372Z] JVMJ9GC070E Failed to startup the Garbage Collector
[2019-11-28T05:35:51.372Z] Error: Could not create the Java Virtual Machine.
[2019-11-28T05:35:51.372Z] Error: A fatal exception has occurred. Program will exit.
[2019-11-28T05:35:51.372Z] 
[2019-11-28T05:35:51.372Z] J9vmTest_2_FAILED
[2019-11-28T05:35:51.372Z] 
[2019-11-28T05:35:51.372Z] "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
[2019-11-28T05:35:51.372Z] 
[2019-11-28T05:35:51.372Z] Attempting to destroy all caches in cacheDir /home/jenkins/javasharedresources/
[2019-11-28T05:35:51.372Z] 
[2019-11-28T05:35:51.372Z] JVMSHRC806I Compressed references persistent shared cache "sharedcc_jenkins" has been destroyed. Use option -Xnocompressedrefs if you want to destroy a non-compressed references cache.
[2019-11-28T05:35:51.372Z] JVMSHRC005I No shared class caches available
[2019-11-28T05:35:51.372Z] cache cleanup done
[2019-11-28T05:35:51.372Z] J9vmTest_2 Finish Time: Wed Nov 27 23:31:33 2019 Epoch Time (ms): 1574919093112
[2019-11-28T04:30:45.541Z] Run /home/jenkins/workspace/Test_openjdk8_j9_sanity.functional_ppc64_aix_Nightly/openjdkbinary/j2sdk-image/bin/java -version
[2019-11-28T04:30:45.541Z] openjdk version "1.8.0_242-internal"
[2019-11-28T04:30:45.541Z] OpenJDK Runtime Environment (build 1.8.0_242-internal-jenkins_2019_11_27_21_24-b00)
[2019-11-28T04:30:45.541Z] Eclipse OpenJ9 VM (build ibm_sdk-212974ddc5, JRE 1.8.0 AIX ppc64-64-Bit Compressed References 20191127_232 (JIT enabled, AOT enabled)
[2019-11-28T04:30:45.541Z] OpenJ9   - 212974ddc5
[2019-11-28T04:30:45.541Z] OMR      - 30afb774d
[2019-11-28T04:30:45.541Z] JCL      - 680fa0e62d based on jdk8u242-b01)
AdamBrousseau commented 4 years ago

Also failed for same reason cmdLineTester_jvmtitests_5 cmdLineTester_jvmtitests_hcr_SE80_7 cmdLineTester_jvmtitests_debug_5

pshipton commented 4 years ago

I note the message Most likely cause is non-supported version of OS in the output.

pshipton commented 4 years ago

@dmitripivkine any hints on how to figure out what is wrong?

dmitripivkine commented 4 years ago

I believe the High Resolution Clock support is missed in OS and must to be configured. In the past we had manual how to do it for AIX

AdamBrousseau commented 4 years ago

This is on the new 7.2 machine Cc @jdekonin

dmitripivkine commented 4 years ago

https://w3-connections.ibm.com/wikis/home?lang=en-us#!/wiki/j9/page/Real%20Time%20Configuration%20for%20AIX

AdamBrousseau commented 4 years ago

Closing this as it's an internal machine config issue.

jdekonin commented 4 years ago

chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE, chgroup adms=root staff and export AIXTHREAD_HRT=true settings are in the playbook but I noticed that these are setup for different userids on the various external and internal machines.

I think I have them all updated correctly.