aqa-tests icon indicating copy to clipboard operation
aqa-tests copied to clipboard

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

Open ChangLu0607 opened this issue 2 years ago • 5 comments

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

ChangLu0607 avatar Apr 13 '22 09:04 ChangLu0607

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 avatar Apr 26 '22 17:04 sophia-guo

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 avatar Apr 26 '22 18:04 sophia-guo

@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

ChangLu0607 avatar May 06 '22 04:05 ChangLu0607

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/

sophia-guo avatar May 06 '22 16:05 sophia-guo

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

sendaoYan avatar Jul 25 '22 07:07 sendaoYan