mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Capture core dump files from tests (#123169)
When running Elasticsearch in tests we occassionally have JDK crashes. It's important to capture the state of the JVM at the time of the crash. We currently capture the hs_err_pid file for the crash, but the resulting core file exists in a directory that is no captured. This commit adjusts the capture patterns to also get core files.
This commit is contained in:
parent
f7e4d7cf8a
commit
1ca04b7bae
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ public abstract class ElasticsearchBuildCompletePlugin implements Plugin<Project
|
|||
projectDirFiles.include("**/build/testrun/*/temp/**");
|
||||
projectDirFiles.include("**/build/**/hs_err_pid*.log");
|
||||
projectDirFiles.include("**/build/**/replay_pid*.log");
|
||||
// core dump files are in the working directory of the installation, which is not project specific
|
||||
projectDirFiles.include("distribution/**/build/install/*/core.*");
|
||||
projectDirFiles.exclude("**/build/testclusters/**/data/**");
|
||||
projectDirFiles.exclude("**/build/testclusters/**/distro/**");
|
||||
projectDirFiles.exclude("**/build/testclusters/**/repo/**");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue