Skip to content

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

Merged
nikitaindik merged 1 commit intoelastic:8.18from
nikitaindik:backport/8.18/pr-229185
Aug 1, 2025
Merged

[8.18] [Security Solution] Enable debug logging for Rule Management integration tests (#229185)#230249
nikitaindik merged 1 commit intoelastic:8.18from
nikitaindik:backport/8.18/pr-229185

Conversation

@nikitaindik
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

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.
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@nikitaindik nikitaindik merged commit 282dd1d into elastic:8.18 Aug 1, 2025
11 checks passed
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