adoptium / aqa-tests

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

jdk_jfr issues across multiple platforms #4352

Open smlambert opened 1 year ago

smlambert commented 1 year ago

This is an umbrella issue under which to track the large number of jfr issues seen across multiple platforms.

This issue will remain open and used to exclude tests under, until issues can be fixed (product and/or test updates upstream, etc), and allow us to close the multiple issues for specific versions and platforms that have accumulated in this repository since we have been running the jdk_jfr target.

We should revisit the ProblemList files and verify which jdk_jfr testcases are problematic and need to remain excluded, and see what upstream changes need to occur to stabilize the tests on various platforms to get them reenabled/fixed (and attempt to reduce the number of jfr testcases that need to be disabled).

Amalgamate and close the above list of issues, ideally by resolving the core issue, but at the very least by updating ProblemList files to refer to the correct upstream issue, or this one.

sophia-guo commented 7 months ago

Some failures might be obsolete. I'm going through each version to upload latest status.

For jdk21, the most problematic testcases fail on windows32 and arm32, both of which are not supported in jdk21 in adoptium https://github.com/adoptium/aqa-tests/issues/4983. Should we just ignore those failures https://github.com/adoptium/aqa-tests/blob/master/openjdk/excludes/ProblemList_openjdk21.txt#L421-L446 @smlambert

rerun jdk/jfr/jcmd/TestJcmdDump.java jdk/jfr/event/gc/detailed/TestZUncommitEvent.java on linux-x64, max-x64,windows-x64 - all passed https://ci.adoptium.net/view/Test_grinder/job/Grinder/8682/console https://ci.adoptium.net/view/Test_grinder/job/Grinder/8685/console https://ci.adoptium.net/view/Test_grinder/job/Grinder/8686/console

on all other platforms - all passed. https://ci.adoptium.net/view/Test_grinder/job/Grinder/8737/ ... https://ci.adoptium.net/view/Test_grinder/job/Grinder/8742/ https://ci.adoptium.net/view/Test_grinder/job/Grinder/8745/ https://ci.adoptium.net/view/Test_grinder/job/Grinder/8747/

will update the problemlist

sophia-guo commented 7 months ago

jdk17: excluded on window32 https://ci.adoptium.net/view/Test_grinder/job/Grinder/8688/ jdk/jfr/event/gc/collection/TestG1ParallelPhases.java.TestG1ParallelPhases failed

arm https://ci.adoptium.net/view/Test_grinder/job/Grinder/8751/ - all passed

smlambert commented 7 months ago

re: https://github.com/adoptium/aqa-tests/issues/4352#issuecomment-1915204757 - yes, consider this list a snapshot in time. Feel free to close those related to jdk21 for 32-bit platforms.

We do however want to investigate stuff the other failures, noting that exclusion is typically a "temporary state", with the goal to solve issues and have tests re-included and running.

roberttoyonaga commented 7 months ago

Hi, I'll try to help out with this!

sophia-guo commented 7 months ago

@roberttoyonaga the list in description https://github.com/adoptium/aqa-tests/issues/4352#issue-1590346332 might be obsolete. You can also check the ProblemList_openjdk*. Problematic tests are excluded in the jdk_jfr sections in those problem list files.

sophia-guo commented 7 months ago

Rerun failed tests with jdk11 on windows32, ppc64le, linux-arm, all passed

https://ci.adoptium.net/view/Test_grinder/job/Grinder/8753/ https://ci.adoptium.net/view/Test_grinder/job/Grinder/8754/ https://ci.adoptium.net/view/Test_grinder/job/Grinder/8755/

sophia-guo commented 7 months ago

jdk8: jdk/jfr/ on arm https://ci.adoptium.net/view/Test_grinder/job/Grinder/8756/

sophia-guo commented 7 months ago

@roberttoyonaga after the rerun it seems that most jfr test issues are with jdk8. See my recent run with jdk8 on arm32. https://ci.adoptium.net/view/Test_grinder/job/Grinder/8756/

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0xf62dd0fc, pid=2812, tid=0xd33e7460
#
# JRE version: OpenJDK Runtime Environment (8.0_402-b06) (build 1.8.0_402-b06)
# Java VM: OpenJDK Client VM (25.402-b06 mixed mode linux-aarch32 )
# Problematic frame:
# V  [libjvm.so+0x33b0fc]  write_checkpoint_header(unsigned char*, long long, long long, bool, unsigned int)+0xe8
#
# Core dump written. Default location: /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17073383472530/jdk_custom_0/work/scratch/2/core or core.2812
#
# An error report file with more information is saved as:
# /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17073383472530/jdk_custom_0/work/scratch/2/hs_err_pid2812.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#