Skip to content

[Security Solution] Unskip prebuilt rules bundled package integration tests#227371

Merged
maximpn merged 1 commit intoelastic:mainfrom
maximpn:unskip-prebuilt-rules-bundled-package-integration-tests
Jul 11, 2025
Merged

[Security Solution] Unskip prebuilt rules bundled package integration tests#227371
maximpn merged 1 commit intoelastic:mainfrom
maximpn:unskip-prebuilt-rules-bundled-package-integration-tests

Conversation

@maximpn
Copy link
Contributor

@maximpn maximpn commented Jul 10, 2025

Resolves: #180087

Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

Flaky test runner

@maximpn maximpn self-assigned this Jul 10, 2025
@maximpn maximpn added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Rule Management Security Detection Rule Management Team Feature:Prebuilt Detection Rules Security Solution Prebuilt Detection Rules area backport:version Backport to applied version labels v8.18.0 v9.1.0 v8.19.0 v9.2.0 labels Jul 10, 2025
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#8579

[✅] x-pack/test/security_solution_api_integration/test_suites/detections_response/rules_management/prebuilt_rules/common/configs/ess_air_gapped.config.ts: 200/200 tests passed.

see run history

@maximpn maximpn marked this pull request as ready for review July 10, 2025 13:07
@maximpn maximpn requested a review from a team as a code owner July 10, 2025 13:07
@maximpn maximpn requested a review from jkelas July 10, 2025 13:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@nikitaindik nikitaindik requested review from nikitaindik and removed request for jkelas July 10, 2025 13:09
await deletePrebuiltRulesFleetPackage({ es, supertest, retryService: retry, log });
});

it('should list `security_detection_engine` as a bundled fleet package in the `fleet_package.json` file', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Noticed that assertion on line 54

expect(securityDetectionEnginePackage?.name).toBe('security_detection_engine');

seems to be unnecessary since it's kind of covered by assertion on line 52

expect(securityDetectionEnginePackage).not.toBeUndefined();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, this assertion looks redundant. I simply didn't touch them. But it makes sense to simplify the assertions in the scope of this PR.

Copy link
Contributor

@nikitaindik nikitaindik left a comment

Choose a reason for hiding this comment

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

Please help me understand. Is this what seems to be happening here?

  • Some previous test installs the package, but removes all of its assets.
  • In this test, we attempt to install the package, but the installation is skipped since the package is already installed (though empty).
  • We expect to have installable rules, but we get zero since the package is empty and this asserting fails:
expect(statusAfterPackageInstallation.stats.num_prebuilt_rules_to_install).toBeGreaterThan(0)  

@maximpn maximpn force-pushed the unskip-prebuilt-rules-bundled-package-integration-tests branch from 97b0187 to ed64b0c Compare July 11, 2025 10:09
@maximpn maximpn requested a review from nikitaindik July 11, 2025 10:09
@maximpn
Copy link
Contributor Author

maximpn commented Jul 11, 2025

@nikitaindik I've addressed your comment. Could you have a look?

@maximpn
Copy link
Contributor Author

maximpn commented Jul 11, 2025

@nikitaindik,

Some previous test installs the package, but removes all of its assets.
In this test, we attempt to install the package, but the installation is skipped since the package is already installed (though empty).
We expect to have installable rules, but we get zero since the package is empty and this asserting fails:

Yes. This is correct. It's dependency in the previous test suits. Each test should prepare the environment for its flawless execution. In that particular case removing all prebuilt rule assets doesn't lead to removing Fleet's SO. We the test tried to install the package Fleet sees there is an SO matching this package and doesn't install prebuilt rule assets for the package.

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #99 / Serverless Common UI - Dev Tools Search Profiler Editor With a test index profiles a simple query

Metrics [docs]

✅ unchanged

History

cc @maximpn

Copy link
Contributor

@nikitaindik nikitaindik left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM now! In the future we might want to add a utility function that removes both the package and its contents: basically calls both deleteAllPrebuiltRuleAssets and deletePrebuiltRulesFleetPackage.

@maximpn maximpn merged commit c43d8cc into elastic:main Jul 11, 2025
12 checks passed
@maximpn maximpn deleted the unskip-prebuilt-rules-bundled-package-integration-tests branch July 11, 2025 12:26
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1

https://github.com/elastic/kibana/actions/runs/16219987944

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 11, 2025
… tests (elastic#227371)

**Resolves: elastic#180087

## Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

## Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

## Flaky test runner

- ✅ [200 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)

(cherry picked from commit c43d8cc)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 11, 2025
… tests (elastic#227371)

**Resolves: elastic#180087

## Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

## Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

## Flaky test runner

- ✅ [200 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)

(cherry picked from commit c43d8cc)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 11, 2025
… tests (elastic#227371)

**Resolves: elastic#180087

## Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

## Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

## Flaky test runner

- ✅ [200 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)

(cherry picked from commit c43d8cc)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 11, 2025
… tests (elastic#227371)

**Resolves: elastic#180087

## Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

## Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

## Flaky test runner

- ✅ [200 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)

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

💚 All backports created successfully

Status Branch Result
8.18
8.19
9.0
9.1

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 11, 2025
…ration tests (#227371) (#227646)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Security Solution] Unskip prebuilt rules bundled package integration
tests (#227371)](#227371)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-11T12:26:23Z","message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Solution] Unskip prebuilt rules bundled package integration
tests","number":227371,"url":"https://github.com/elastic/kibana/pull/227371","mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227371","number":227371,"mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 11, 2025
…gration tests (#227371) (#227645)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Unskip prebuilt rules bundled package integration
tests (#227371)](#227371)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-11T12:26:23Z","message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Solution] Unskip prebuilt rules bundled package integration
tests","number":227371,"url":"https://github.com/elastic/kibana/pull/227371","mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227371","number":227371,"mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 11, 2025
…ration tests (#227371) (#227647)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Security Solution] Unskip prebuilt rules bundled package integration
tests (#227371)](#227371)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-11T12:26:23Z","message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Solution] Unskip prebuilt rules bundled package integration
tests","number":227371,"url":"https://github.com/elastic/kibana/pull/227371","mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227371","number":227371,"mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 11, 2025
…gration tests (#227371) (#227644)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution] Unskip prebuilt rules bundled package integration
tests (#227371)](#227371)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2025-07-11T12:26:23Z","message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v9.1.0","v8.19.0","v9.2.0"],"title":"[Security
Solution] Unskip prebuilt rules bundled package integration
tests","number":227371,"url":"https://github.com/elastic/kibana/pull/227371","mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227371","number":227371,"mergeCommit":{"message":"[Security
Solution] Unskip prebuilt rules bundled package integration tests
(#227371)\n\n**Resolves:
https://github.com/elastic/kibana/issues/180087**\n\n## Summary\n\nThis
PR fixes and unskips Prebuilt Rules bundled package integration
tests.\n\n## Details\n\nFlakiness was caused by improper test setup
which failed to remove already installed prebuilt rules package.\n\n##
Flaky test runner\n\n- ✅ [200
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)","sha":"c43d8ccfbdbf0a25b07db34d71f160a239fa858c"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
… tests (elastic#227371)

**Resolves: elastic#180087

## Summary

This PR fixes and unskips Prebuilt Rules bundled package integration tests.

## Details

Flakiness was caused by improper test setup which failed to remove already installed prebuilt rules package.

## Flaky test runner

- ✅ [200 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/8579)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment