Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kbn/es] capture es debug files #132355

Merged
merged 2 commits into from
May 17, 2022
Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented May 17, 2022

This PR will capture an archive of ES installations which produce "debug files" matching the patterns:

  • hs_err_pid*.log
  • replay_pid*.log
  • *.hprof

When an installation is cleaned up we search for these files in the installation, when they are found we will archive the install directory to data/es_debug_${uuid}.tar.gz. These archives will then be uploaded as artifacts at the end of CI jobs. Doing this allows us to provide the ES team with additional information when we have an ES crash in CI.

@spalger spalger force-pushed the debug/es-fatal-error branch from 582a1b5 to 1750855 Compare May 17, 2022 20:23
@spalger spalger added Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes v8.3.0 v8.2.1 v7.17.4 and removed skip-ci labels May 17, 2022
@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label May 17, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger marked this pull request as ready for review May 17, 2022 21:34
@spalger spalger requested a review from a team as a code owner May 17, 2022 21:34
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger merged commit 63fd2dd into elastic:main May 17, 2022
@spalger spalger deleted the debug/es-fatal-error branch May 17, 2022 22:23
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.2 Backport failed because of merge conflicts
7.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 7.17:
- [kbn/es] add support for --ready-timeout (#126217)

Manual backport

To create the backport manually run:

node scripts/backport --pr 132355

Questions ?

Please refer to the Backport tool documentation

spalger pushed a commit to spalger/kibana that referenced this pull request May 17, 2022
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 63fd2dd)

# Conflicts:
#	packages/kbn-test/src/es/test_es_cluster.ts
spalger pushed a commit that referenced this pull request May 18, 2022
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 63fd2dd)

# Conflicts:
#	packages/kbn-test/src/es/test_es_cluster.ts
spalger pushed a commit that referenced this pull request May 18, 2022
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 63fd2dd)

# Conflicts:
#	packages/kbn-test/BUILD.bazel
#	packages/kbn-test/src/es/test_es_cluster.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.17.4 v8.2.1 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants