[9.3] [EDR Workflows] Fix and unskip Unable to create Package Policy via Fleet! FTR api tests (#250075)#250450
Merged
kibanamachine merged 1 commit intoelastic:9.3from Jan 26, 2026
Conversation
…leet!` FTR api tests (elastic#250075) ## Summary This PR fixes the flakiness around creating an Endpoint package policy using `endpointPolicyTestResources.createPolicy()`. When an Endpoint package policy is created, the default rules are installed in the background, which process can be flaky, or, together with other functionalities, simply too slow (i.e. taking more than 2 minutes, causing `socket hang up` error). Therefore, there's a workaround by the Detections team to install a mock `security_detection_engine` package. This fix workaround is applied in the EDR API tests as well. For more info, see the original workaround PR: - elastic#227689 Flaky runner: 25/25 ✅ for all 6 test groups: - artifacts ESS + serverless - artifacts with Endpoint exceptions moved FF enabled ESS + serverless - spaces ESS + serverless https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/10576/steps/canvas fix elastic#249780 fix elastic#249463 fix elastic#249468 fix elastic#248923 fix elastic#248759 fix elastic#248578 fix elastic#248554 fix elastic#247416 fix elastic#247211 fix elastic#246564 fix elastic#246341 fix elastic#246450 fix elastic#246356 fix elastic#246207 ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit d36d440)
Merged
1 task
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.3:Unable to create Package Policy via Fleet!FTR api tests (#250075)Questions ?
Please refer to the Backport tool documentation