adoptium / aqa-tests

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

jdk17+: java/util/regex/NegativeArraySize.java intermittently failed on linux-all #3818

Open sophia-guo opened 2 years ago

sophia-guo commented 2 years ago

jdk17: java/util/regex/NegativeArraySize.java intermittently failed on linux-x64 https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_sanity.openjdk_x86-64_linux/187/console

08:49:33  ACTION: testng -- Failed. Unexpected exit from test [exit code: 137]
08:49:33  REASON: User specified action: run testng/othervm -Xms5G -Xmx5G NegativeArraySize 
08:49:33  TIME:   8.376 seconds
08:49:33  messages:
08:49:33  command: testng -Xms5G -Xmx5G NegativeArraySize
08:49:33  reason: User specified action: run testng/othervm -Xms5G -Xmx5G NegativeArraySize 
08:49:33  Mode: othervm [/othervm specified]
08:49:33  elapsed time (seconds): 8.376

History shows it only happened to test-docker-ubuntu1804-x64-1 https://trss.adoptium.net/deepHistory?testId=62b8b5d7250c3c428c48a119

Rerun 10X, didn't reproduce. https://ci.adoptopenjdk.net/job/Grinder/5073/

sophia-guo commented 2 years ago

happened to different machines https://trss.adoptium.net/deepHistory?testId=62cb2354250c3c428c7f870e

recent failures https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_sanity.openjdk_x86-64_linux/195/

sophia-guo commented 2 years ago

jdk18 ppc64le https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_sanity.openjdk_ppc64le_linux/132/

sophia-guo commented 2 years ago

jdk17 windows https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_sanity.openjdk_x86-64_windows/185/

sophia-guo commented 2 years ago

This should be test case issues, which needs os.maxMemory >= 5g and run tests with -Xms5G. Some machines may not have required minimal heap? The issue happened to all newly added tests in jdk17 with -Xms5G option.