adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
131 stars 310 forks source link

jdk_jdi_jdk8 fails because of TestClassLoaderLeak.java failed when GC cycles are not happening #3572

Open ChangLu0607 opened 2 years ago

ChangLu0607 commented 2 years ago

Describe the bug TestClassLoaderLeak.java faild with JDK8 hotspot

To Reproduce make _jdk_jdi_jdk8_0

Expected behavior all test cases pass

Screenshots image

Additional context realated issue in latest version of openJDK: https://bugs.openjdk.java.net/browse/JDK-8274563 https://github.com/openjdk/jdk/commit/47bfc8aa9367ff852ea5d901f1fa3c6ef316913e locally verified this patch solved this failure

sophia-guo commented 2 years ago

Test passed in adoptium recent release build with temurin https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/37/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/.

@ChangLu0607 are you using the recent jdk8 release branch?

sophia-guo commented 2 years ago

Test did fail in recent run in adoptium with bisheng jdk.

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_bisheng_sanity.openjdk_x86-64_linux/124/testReport/com_sun_jdi_RedefineCrossEvent/java/RedefineCrossEvent

ChangLu0607 commented 2 years ago

@sophia-guo I believe that you are looking at an other failed test case. BiSheng JDK also pass this test case in adoptium. So I believe it may be a environment setting problem that makes the test case failed intermittently. And according to the modification from adopt openjdk community can make the test case more relible

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_bisheng_extended.openjdk_aarch64_linux/lastCompletedBuild/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/

Test did fail in recent run in adoptium with bisheng jdk.

https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_bisheng_sanity.openjdk_x86-64_linux/124/testReport/com_sun_jdi_RedefineCrossEvent/java/RedefineCrossEvent

sophia-guo commented 2 years ago

Yes, I was looking at the other failed test case for another issue. The test passed in adoptium bisheng build. https://ci.adoptopenjdk.net/job/Test_openjdk8_bisheng_extended.openjdk_x86-64_linux_testList_1/28/testReport/jdk_jfr_event_oldobject_TestClassLoaderLeak/java/

sendaoYan commented 2 years ago

I think it's a testcae bug for this fail.

Should we disable this testcase by add this testcase to openjdk/excludes/ProblemList_openjdk8.txt ?

image

image