Skip to content

[9.1] [Security Solution] Enable debug logging for Rule Management integration tests (#229185)#230242

Merged
nikitaindik merged 3 commits intoelastic:9.1from
nikitaindik:backport/9.1/pr-229185
Aug 5, 2025
Merged

[9.1] [Security Solution] Enable debug logging for Rule Management integration tests (#229185)#230242
nikitaindik merged 3 commits intoelastic:9.1from
nikitaindik:backport/9.1/pr-229185

Conversation

@nikitaindik
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…ion tests (elastic#229185)

**Partially addresses: elastic#229688

## Summary
This PR enables debug logging for all API integration tests owned by the
Rules Management team.

Our team has seen a spike in flaky tests recently. To be able to quickly
debug such situations, we want to add debug logging. The logging itself
will be added in a follow-up PR. This PR only enables it for all our
tests.

## Changes
- Added 4 new FTR base configs:
- 2 for ESS: `rules_management.basic.config.ts` and
`rules_management.trial.config.ts`
- 2 for Serverless: `rules_management.essentials.config.ts` and
`rules_management.complete.config.ts`
- These new FTR configs extend existing base configs to enable logging
for `securitySolution` and `fleet` plugins on `debug` level.
- Updated existing test configs to use the new base configs.

Now, debug logs from test suites and the Kibana backend will be visible
in BuildKite reports when clicking the "[logs]" button.

<img width="573" height="118" alt="logs_button"
src="https://github.com/user-attachments/assets/eb7de404-d6b9-4402-993d-0b8320ec0e74"
/>

⚠️ Please note that debug logs will not appear in the "FTR Configs
#<number>" collapsible sections in BuildKite. They will only be
available in "[logs]" reports for **failed** tests.

(cherry picked from commit 063d94a)

# Conflicts:
#	.buildkite/ftr_security_serverless_configs.yml
@nikitaindik nikitaindik disabled auto-merge August 4, 2025 12:29
@nikitaindik nikitaindik enabled auto-merge (squash) August 4, 2025 12:33
@nikitaindik
Copy link
Contributor Author

buildkite test this

@nikitaindik nikitaindik merged commit 71aee5a into elastic:9.1 Aug 5, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants