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 cmake : testSCCMLSnapshot_1_FAILED #8665

Open JasonFengJ9 opened 4 years ago

JasonFengJ9 commented 4 years ago

Failure link

From an internal cmake build:

01:07:19  openjdk version "1.8.0_252-internal"
01:07:19  OpenJDK Runtime Environment (build 1.8.0_252-internal-jenkins_2020_02_25_21_15-b00)
01:07:19  Eclipse OpenJ9 VM (build ibm_sdk-e649a669ba, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20200225_1 (JIT enabled, AOT enabled)
01:07:19  OpenJ9   - unknown
01:07:19  OMR      - 4ef97da3b
01:07:19  JCL      - 39c21e45680 based on jdk8u252-b03)

Optional info

Failure output (captured from console output)

Testing: Test 11: Restore a non-persistent cache that has a different buildID
Test start time: 2020/02/26 00:27:52 Pacific Standard Time
Running command: "/home/jenkins/workspace/Test_openjdk8_j9_extended.functional_x86-64_linux_cm_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -Xcompressedrefs -Xjit -Xgcpolicy:gencon  -Xshareclasses:name=ShareClassesCMLTests,nonpersistent,restoreFromSnapshot
Time spent starting: 1 milliseconds
Time spent executing: 306 milliseconds
Test result: FAILED
 [ERR] JVMSHRC698I Non-persistent shared cache "ShareClassesCMLTests" has been restored successfully from the snapshot
>> Success condition was not found: [Output match: The snapshot was created by a different JVM build and doesn't match the running JVM]
>> Required condition was not found: [Output match: Failed to restore the non-persistent shared cache "ShareClassesCMLTests" from the snapshot]
>> Failure condition was not found: [Output match: error]
>> Failure condition was found: [Output match: has been restored successfully]
>> Failure condition was not found: [Output match: Unhandled Exception]
>> Failure condition was not found: [Output match: Exception:]
>> Failure condition was not found: [Output match: corrupt]
>> Failure condition was not found: [Output match: Processing dump event]

Testing: Test 12: Restore a non-persistent cache that has a different buildID with noAutoPunt option
Test start time: 2020/02/26 00:27:52 Pacific Standard Time
Running command: "/home/jenkins/workspace/Test_openjdk8_j9_extended.functional_x86-64_linux_cm_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xcompressedrefs -Xcompressedrefs -Xjit -Xgcpolicy:gencon  -Xshareclasses:name=ShareClassesCMLTests,nonpersistent,noAutoPunt,restoreFromSnapshot
Time spent starting: 3 milliseconds
Time spent executing: 29 milliseconds
Test result: FAILED
 [ERR] JVMSHRC726E Non-persistent shared cache "ShareClassesCMLTests" already exists. It cannot be restored from the snapshot.
 [ERR] JVMSHRC726E Non-persistent shared cache "ShareClassesCMLTests" already exists. It cannot be restored from the snapshot.
>> Success condition was not found: [Output match: Non-persistent shared cache "ShareClassesCMLTests" has been restored successfully from the snapshot]
>> Failure condition was not found: [Output match: Failed to restore]
>> Failure condition was not found: [Output match: error]
>> Failure condition was not found: [Output match: Unhandled Exception]
>> Failure condition was not found: [Output match: Exception:]
>> Failure condition was not found: [Output match: corrupt]
>> Failure condition was not found: [Output match: Processing dump event]

To rebuild the failed tests in =https://ci.adoptopenjdk.net/job/Grinder, use the following links: 04:37:16 https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=8&JDK_IMPL=openj9&BUILD_LIST=functional&PLATFORM=x86-64_linux&TARGET=testSCCMLSnapshot_1

Note: this is a cmake issue so the link about is just for reference.

hangshao0 commented 4 years ago

Does it fail in the non-cmake build ?

JasonFengJ9 commented 4 years ago

Does it fail in the non-cmake build ?

Not observed in other builds.

hangshao0 commented 4 years ago
00:59:36  Run /home/jenkins/workspace/Test_openjdk8_j9_extended.functional_x86-64_linux_cm_Nightly/openjdkbinary/j2sdk-image/bin/java -version
00:59:36  openjdk version "1.8.0_252-internal"
00:59:36  OpenJDK Runtime Environment (build 1.8.0_252-internal-jenkins_2020_02_25_21_15-b00)
00:59:36  Eclipse OpenJ9 VM (build ibm_sdk-e649a669ba, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20200225_1 (JIT enabled, AOT enabled)
00:59:36  OpenJ9   - unknown
00:59:36  OMR      - 4ef97da3b
00:59:36  JCL      - 39c21e45680 based on jdk8u252-b03)

These tests check the OpenJ9 SHA. However, OpenJ9 SHA of this build is unknown. Something is wrong in the build process.

pshipton commented 4 years ago

@dnakamura see https://github.com/eclipse/openj9/issues/8665#issuecomment-591527532

pshipton commented 4 years ago

fyi I created a project to hold test failures which are likely specific to the cmake build. https://github.com/eclipse/openj9/projects/15