adoptium / aqa-tests

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

Change generated core files current dir to reportdir #5389

Closed sophiaxu0424 closed 3 months ago

sophiaxu0424 commented 3 months ago

This is to change the directory of core files to the correct one

Related to issue: https://github.com/adoptium/aqa-tests/issues/5373

Signed-off-by: sophiaxu0424 xuminghong0424@gmail.com

sophiaxu0424 commented 3 months ago

Grinder Test: https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/41379/consoleFull Ran into a failure in running Target: openJcePlusTests But the path changes was working fine, was able to processing with the test, the concern is that it can't not find the key words in below (might be the reason that the console log size is too large to identify):

JIT dump written to /home/jenkins/workspace xxxx 

But please let me know if we need to run other target tests as well.

sophiaxu0424 commented 3 months ago

@LongyuZhang would you please kind review, thanks

sophiaxu0424 commented 3 months ago

~After this changes, the JIT dump files are now collected under path (see below), Please refer to this Grinder test: https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/41449/consoleFull.~

16:18:53       [test]     [junit] JVMDUMP010I JIT dump written to /home/jenkins/workspace/Grinder/jvmtest/functional/OpenJcePlusTests/jitdump.20240618.211835.533083.0004.dmp
Screenshot 2024-06-18 at 4 23 40 PM

This is not the desired reportdir we wanted. see below comment..

sophiaxu0424 commented 3 months ago

Running parallelly on 5 machines, and one machine has the dump core files generated now:

sophiaxu0424 commented 3 months ago

The dump core files are generated in the folder, pls check:

Screenshot 2024-06-20 at 2 35 19 PM
sophiaxu0424 commented 3 months ago

Verified that the with the latest change, the parent and child tests could also generate dump files in the correct reportdir, and checked artifactory as well: