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

Add debug logging to session cleanup api integration test #193259

Merged

Conversation

SiddharthMantri
Copy link
Contributor

@SiddharthMantri SiddharthMantri commented Sep 18, 2024

Summary

Add settings to the ES Test cluster to enable debug logs so that if this test fails in the future, we will have more logs to investigate the issue.

Related: #152260

@SiddharthMantri SiddharthMantri requested a review from a team as a code owner September 18, 2024 08:41
@SiddharthMantri SiddharthMantri added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Sep 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

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

@SiddharthMantri SiddharthMantri merged commit aaa53f5 into elastic:main Sep 18, 2024
24 checks passed
@@ -18,6 +18,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';

export default function ({ getService }: FtrProviderContext) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: would you mind also doing this for session_invalidate and session_concurrent_limit suites? Just in case. And we'll also need to backport this to all active branches (except for 7.17) to increase the chance of catching it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done here: #193279

@SiddharthMantri SiddharthMantri added backport:all-open Backport to all branches that could still receive a release and removed backport:skip This commit does not require backporting labels Sep 19, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 19, 2024
…3259)

## Summary

Add settings to the ES Test cluster to enable debug logs so that if this
test fails in the future, we will have more logs to investigate the
issue.

__Related:__ elastic#152260

(cherry picked from commit aaa53f5)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 19, 2024
…3259)

## Summary

Add settings to the ES Test cluster to enable debug logs so that if this
test fails in the future, we will have more logs to investigate the
issue.

__Related:__ elastic#152260

(cherry picked from commit aaa53f5)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
7.17 Backport failed because of merge conflicts
8.15
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 193259

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 19, 2024
…3259) (#193435)

# Backport

This will backport the following commits from `main` to `8.15`:
- [Add debug logging to session cleanup api integration test
(#193259)](#193259)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Sid","email":"siddharthmantri1@gmail.com"},"sourceCommit":{"committedDate":"2024-09-18T11:57:03Z","message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:all-open"],"title":"Add
debug logging to session cleanup api integration
test","number":193259,"url":"https://github.com/elastic/kibana/pull/193259","mergeCommit":{"message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193259","number":193259,"mergeCommit":{"message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57"}}]}]
BACKPORT-->

Co-authored-by: Sid <siddharthmantri1@gmail.com>
kibanamachine added a commit that referenced this pull request Sep 19, 2024
) (#193436)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Add debug logging to session cleanup api integration test
(#193259)](#193259)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Sid","email":"siddharthmantri1@gmail.com"},"sourceCommit":{"committedDate":"2024-09-18T11:57:03Z","message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:all-open"],"title":"Add
debug logging to session cleanup api integration
test","number":193259,"url":"https://github.com/elastic/kibana/pull/193259","mergeCommit":{"message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193259","number":193259,"mergeCommit":{"message":"Add
debug logging to session cleanup api integration test (#193259)\n\n##
Summary\r\n\r\nAdd settings to the ES Test cluster to enable debug logs
so that if this\r\ntest fails in the future, we will have more logs to
investigate the\r\nissue.\r\n\r\n\r\n__Related:__
https://github.com/elastic/kibana/issues/152260","sha":"aaa53f5a31ffe094d2a71f614ce546983a821d57"}}]}]
BACKPORT-->

Co-authored-by: Sid <siddharthmantri1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.15.2 v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants