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

Failing test: X-Pack API Integration Tests.x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results·ts - cloud_security_posture GET /internal/cloud_security_posture/status STATUS = WAITING_FOR_RESULT TEST Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation #194044

Closed
kibanamachine opened this issue Sep 25, 2024 · 1 comment · Fixed by #194045
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Cloud Security Cloud Security team related

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expected kspm status to be waiting_for_results but got index-timeout instead
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (status_waiting_for_results.ts:99:36)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:74:16) {
  actual: 'index-timeout',
  expected: 'waiting_for_results',
  showDiff: true
}

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 25, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 25, 2024
@kibanamachine kibanamachine added the Team:Cloud Security Cloud Security team related label Sep 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 25, 2024
@opauloh opauloh self-assigned this Sep 25, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Sep 25, 2024
## Summary

This fixes

Skipping flaky test to fix elastic#194044

A follow up ticket was created to re-enable it later:
elastic#194046

(cherry picked from commit 53c80d1)
kibanamachine added a commit that referenced this issue Sep 25, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Skipping Flaky test suite
(#194045)](#194045)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Paulo
Silva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-25T19:08:03Z","message":"Skipping
Flaky test suite (#194045)\n\n## Summary\r\n\r\nThis
fixes\r\n\r\nSkipping flaky test to fix #194044\r\n\r\nA follow up
ticket was created to re-enable it
later:\r\nhttps://github.com//issues/194046","sha":"53c80d1bcdbfba1db8f08a10ebe1704381dd260a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"Skipping
Flaky test
suite","number":194045,"url":"https://github.com/elastic/kibana/pull/194045","mergeCommit":{"message":"Skipping
Flaky test suite (#194045)\n\n## Summary\r\n\r\nThis
fixes\r\n\r\nSkipping flaky test to fix #194044\r\n\r\nA follow up
ticket was created to re-enable it
later:\r\nhttps://github.com//issues/194046","sha":"53c80d1bcdbfba1db8f08a10ebe1704381dd260a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194045","number":194045,"mergeCommit":{"message":"Skipping
Flaky test suite (#194045)\n\n## Summary\r\n\r\nThis
fixes\r\n\r\nSkipping flaky test to fix #194044\r\n\r\nA follow up
ticket was created to re-enable it
later:\r\nhttps://github.com//issues/194046","sha":"53c80d1bcdbfba1db8f08a10ebe1704381dd260a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Paulo Silva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Cloud Security Cloud Security team related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants