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

Mac/AIX testSCCMLTests2 Corrupt the cache Required condition was not found: [Output match: JVM requested System dump using] #20370

Closed
pshipton opened this issue Oct 17, 2024 · 8 comments · Fixed by #20382

Comments

@pshipton
Copy link
Member

pshipton commented Oct 17, 2024

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.functional_ppc64_aix_Nightly_testList_1/802
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_ppc64_aix_Nightly_testList_0/834/

https://openj9-jenkins.osuosl.org/job/Test_openjdk23_j9_extended.functional_aarch64_mac_Nightly_testList_0/53/
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.functional_aarch64_mac_Nightly_testList_1/273/
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.functional_x86-64_mac_Nightly_testList_0/267/
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.functional_aarch64_mac_Nightly_testList_0/599/
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.functional_x86-64_mac_Nightly_testList_0/619/
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_aarch64_mac_Nightly_testList_1/597/
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_x86-64_mac_Nightly_testList_0/663
testSCCMLTests2

03:44:40  Testing: Test 105: Design 40220: Corrupt the cache.
03:44:40  Test start time: 2024/10/17 04:44:40 Atlantic Standard Time
03:44:40  Running command: "/Users/jenkins/workspace/Test_openjdk11_j9_extended.functional_x86-64_mac_Nightly_testList_0/jdkbinary/j2sdk-image/bin/java"  -Xjit -Xgcpolicy:gencon -Xnocompressedrefs  -Xmx4m -Xdump:system:file=shrcmltest.dmp -Xdump:java:file=shrcmltest.txt -Xdump:snap:file=shrcmltest.trc -Xshareclasses:name=ShareClassesCMLTests,verbose,testFakeCorruption -version
03:44:40  Time spent starting: 3 milliseconds
03:44:40  	Match (success): jvmshrc443e cache crc is incorrect indicating a corrupt cache. incorrect cache crc: 0x0.
03:44:40  	Match (required): JVMDUMP039I Processing dump event "corruptcache", detail "" at 2024/10/17 04:44:40 - please wait.
03:44:40  Time spent executing: 84 milliseconds
03:44:40  Test result: FAILED
03:44:40  	Match (success):  [err] [-xshareclasses persistent cache enabled]
03:44:40   [err] [-xshareclasses verbose output enabled]
03:44:40   [err] jvmshrc237i opened shared classes persistent cache shareclassescmltests
03:44:40   [err] jvmshrc246i attached shared classes persistent cache shareclassescmltests
03:44:40   [err] jvmshrc443e cache crc is incorrect indicating a corrupt cache. incorrect cache crc: 0x0.
03:44:40   [err] jvmdump039i processing dump event "corruptcache", detail "" at 2024/10/17 04:44:40 - please wait.
03:44:40  
03:44:40  	Match (required):  [ERR] [-Xshareclasses persistent cache enabled]
03:44:40   [ERR] [-Xshareclasses verbose output enabled]
03:44:40   [ERR] JVMSHRC237I Opened shared classes persistent cache ShareClassesCMLTests
03:44:40   [ERR] JVMSHRC246I Attached shared classes persistent cache ShareClassesCMLTests
03:44:40   [ERR] JVMSHRC443E Cache CRC is incorrect indicating a corrupt cache. Incorrect cache CRC: 0x0.
03:44:40   [ERR] JVMDUMP039I Processing dump event "corruptcache", detail "" at 2024/10/17 04:44:40 - please wait.
03:44:40  
03:44:40   [ERR] [-Xshareclasses persistent cache enabled]
03:44:40   [ERR] [-Xshareclasses verbose output enabled]
03:44:40   [ERR] JVMSHRC237I Opened shared classes persistent cache ShareClassesCMLTests
03:44:40   [ERR] JVMSHRC246I Attached shared classes persistent cache ShareClassesCMLTests
03:44:40   [ERR] JVMSHRC443E Cache CRC is incorrect indicating a corrupt cache. Incorrect cache CRC: 0x0.
03:44:40   [ERR] JVMDUMP039I Processing dump event "corruptcache", detail "" at 2024/10/17 04:44:40 - please wait.
03:44:40  >> Success condition was found: [Output match: Cache CRC is incorrect indicating a corrupt cache]
03:44:40  >> Required condition was found: [Output match: Processing dump event]
03:44:40  >> Required condition was not found: [Output match: JVM requested System dump using]
03:44:40  >> Required condition was not found: [Output match: System dump written]
03:44:40  >> Required condition was not found: [Output match: JVM requested Java dump]
03:44:40  >> Required condition was not found: [Output match: Java dump written]
03:44:40  >> Required condition was not found: [Output match: JVM requested Snap dump]
03:44:40  >> Required condition was not found: [Output match: Snap dump written]
03:44:40  >> Failure condition was not found: [Output match: Error in Java dump]
03:44:40  >> Failure condition was not found: [Output match: Unhandled Exception]
03:44:40  >> Failure condition was not found: [Output match: Exception:]
03:44:40  >> Failure condition was not found: [Output match: IEATDUMP failed]
03:44:40  >> Failure condition was not found: [Output match: Error in System dump]
Copy link

Issue Number: 20370
Status: Open
Recommended Components: comp:test, comp:gc, comp:vm
Recommended Assignees: llxia, hangshao0, pshipton

@pshipton pshipton changed the title testSCCMLTests2 Corrupt the cache Required condition was not found: [Output match: JVM requested System dump using] Mac testSCCMLTests2 Corrupt the cache Required condition was not found: [Output match: JVM requested System dump using] Oct 17, 2024
@pshipton
Copy link
Member Author

Seems a likely regression caused by #20366

@pshipton pshipton changed the title Mac testSCCMLTests2 Corrupt the cache Required condition was not found: [Output match: JVM requested System dump using] Mac/AIX testSCCMLTests2 Corrupt the cache Required condition was not found: [Output match: JVM requested System dump using] Oct 17, 2024
@hangshao0
Copy link
Contributor

It is interesting that the test passed on AIX Java 8 in my personal build.

@hangshao0
Copy link
Contributor

Both on AIX Java 8, seems that the test is failing in https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.functional_ppc64_aix_Nightly_testList_0/861/

But I tried a grinder on the latest internal acceptance build, it passed:

Testing: Test 105: Design 40220: Corrupt the cache.
Test start time: 2024/10/17 14:54:11 Eastern Standard Time
Running command: "/bluebird/builds/bld_79929/sdk/ap6480/bin/java"  -Xcompressedrefs -Xjit -Xgcpolicy:gencon  -Xmx4m -Xdump:system:file=shrcmltest.dmp -Xdump:java:file=shrcmltest.txt -Xdump:snap:file=shrcmltest.trc -Xshareclasses:name=ShareClassesCMLTests,verbose,testFakeCorruption -version
Time spent starting: 16 milliseconds
        Match (success): jvmshrc443e cache crc is incorrect indicating a corrupt cache. incorrect cache crc: 0x0.
        Match (required): JVMDUMP039I Processing dump event "corruptcache", detail "" at 2024/10/17 14:54:11 - please wait.
        Match (required): JVMDUMP032I JVM requested System dump using '/tmp/bld_79929/testSCCMLTests2_1/shrcmltest.dmp' in response to an event
        Match (required): JVMDUMP010I System dump written to /tmp/bld_79929/testSCCMLTests2_1/shrcmltest.dmp
        Match (required): JVMDUMP032I JVM requested Java dump using '/tmp/bld_79929/testSCCMLTests2_1/shrcmltest.txt' in response to an event
        Match (required): JVMDUMP010I Java dump written to /tmp/bld_79929/testSCCMLTests2_1/shrcmltest.txt
        Match (required): JVMDUMP032I JVM requested Snap dump using '/tmp/bld_79929/testSCCMLTests2_1/shrcmltest.trc' in response to an event
        Match (required): JVMDUMP010I Snap dump written to /tmp/bld_79929/testSCCMLTests2_1/shrcmltest.trc
Time spent executing: 2437 milliseconds
Test result: PASSED
...
...
---TEST RESULTS---
Number of PASSED tests: 67 out of 67
Number of FAILED tests: 0 out of 67

testSCCMLTests2_1_PASSED

@hangshao0
Copy link
Contributor

The test is able to pass after reverting #20366.

Copy link

Issue Number: 20370
Status: Closed
Actual Components: comp:vm, test failure
Actual Assignees: No one :(
PR Assignees: hangshao0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants