-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cloud Security] Unskipped and fixed flaky agentless test #208844
Conversation
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7817[✅] x-pack/test/cloud_security_posture_functional/config.agentless.ts: 25/25 tests passed. |
33fdf07
to
5e195e5
Compare
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/13063298956 |
@@ -128,6 +129,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { | |||
await cisIntegration.clickOptionButton(AWS_SINGLE_ACCOUNT_TEST_ID); | |||
|
|||
await cisIntegration.inputIntegrationName(integrationPolicyName); | |||
await pageObjects.header.waitUntilLoadingHasFinished(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think checking for "Loading" on the header component is desirable for those scenarios. Relying on the behaviour of the header component seems to make us very prone to flakiness.
For a more flaky-proof solution, we should consider wrapping async side effects with retry.try
instead of using pageObjects.header.waitUntilLoadingHasFinished()
,
more reference on: https://github.com/elastic/security-team/issues/10975
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
cc @seanrathier |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…8844) (#209385) # Backport This will backport the following commits from `main` to `8.18`: - [[Cloud Security] Unskipped and fixed flaky agentless test (#208844)](#208844) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"seanrathier","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-30T23:36:59Z","message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235","branchLabelMapping":{"^v9.0.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","Team:Cloud Security","backport:prev-minor"],"title":"[Cloud Security] Unskipped and fixed flaky agentless test","number":208844,"url":"https://github.com/elastic/kibana/pull/208844","mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208844","number":208844,"mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}}]}] BACKPORT-->
) (#209384) # Backport This will backport the following commits from `main` to `8.x`: - [[Cloud Security] Unskipped and fixed flaky agentless test (#208844)](#208844) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"seanrathier","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-30T23:36:59Z","message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235","branchLabelMapping":{"^v9.0.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","Team:Cloud Security","backport:prev-minor"],"title":"[Cloud Security] Unskipped and fixed flaky agentless test","number":208844,"url":"https://github.com/elastic/kibana/pull/208844","mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208844","number":208844,"mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}}]}] BACKPORT-->
) (#209383) # Backport This will backport the following commits from `main` to `9.0`: - [[Cloud Security] Unskipped and fixed flaky agentless test (#208844)](#208844) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"seanrathier","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-30T23:36:59Z","message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235","branchLabelMapping":{"^v9.0.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","Team:Cloud Security","backport:prev-minor"],"title":"[Cloud Security] Unskipped and fixed flaky agentless test","number":208844,"url":"https://github.com/elastic/kibana/pull/208844","mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208844","number":208844,"mergeCommit":{"message":"[Cloud Security] Unskipped and fixed flaky agentless test (#208844)","sha":"df4a6d7ce37bfaaf612190d8e68fc8769d69b235"}}]}] BACKPORT-->
Summary
Unskipped and fixed flaky agentless test
-https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7817
Checklist