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

[8.x] [Security Solution] Make retry messages in `retryIfDeleteByQueryConflicts` loggable (#193117) #193410

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…icts` loggable (elastic#193117)

## Summary

This makes retry messages in `retryIfDeleteByQueryConflicts()` helper function visible in CI logs.

## Details

According to the [implementation](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/reporter.js#L71-L74) only error messages logged via `ToolingLog` piped to the CI log. It happens only when `mochaReporter.captureLogOutput` flag is set to `true`. According to the [schema](https://github.com/elastic/kibana/blob/eabb1022815a7c661a0e642c62d0a77ce338f9c9/packages/kbn-test/src/functional_test_runner/lib/config/schema.ts#L175) `captureLogOutput` has `true` value in CI and there is no `DISABLE_CI_LOG_OUTPUT_CAPTURE` env variable set.

It was [tested](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6978#01920936-b484-4dfb-a87b-ae40858c9ff5) in flaky test runner. Error messages a logged as expected.

(cherry picked from commit 067d949)
@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

cc @maximpn

@kibanamachine kibanamachine merged commit 014add7 into elastic:8.x Sep 19, 2024
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants