[EDR Workflows] Improve on unavailable shard exception flakiness in cypress#197864
Merged
gergoabraham merged 5 commits intoelastic:mainfrom Oct 29, 2024
Conversation
Contributor
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7266[❌] Security Solution Defend Workflows - Cypress: 0/25 tests passed. |
d06624b to
3b8e893
Compare
Contributor
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7283[✅] Security Solution Defend Workflows - Cypress: 25/25 tests passed. |
Contributor
|
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
pzl
approved these changes
Oct 28, 2024
This reverts commit 3b8e893.
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
Contributor
|
Starting backport for target branches: 8.16, 8.x |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 29, 2024
…ypress (elastic#197864) ## Summary The cypress task `cy.task('indexEndpointHosts')` sometimes throws `no_shard_available_action_exception`, when transforms are stopped. This looks like a temporary issue, and in other tests it is simply retried. This PR adds the retry logic for this type of error, and unskips some tests. closes elastic#194135 closes elastic#191914 ### Checklist Delete any items that are not applicable to this PR. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit db18039)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Oct 29, 2024
…ypress (elastic#197864) ## Summary The cypress task `cy.task('indexEndpointHosts')` sometimes throws `no_shard_available_action_exception`, when transforms are stopped. This looks like a temporary issue, and in other tests it is simply retried. This PR adds the retry logic for this type of error, and unskips some tests. closes elastic#194135 closes elastic#191914 ### Checklist Delete any items that are not applicable to this PR. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit db18039)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
tiansivive
pushed a commit
to tiansivive/kibana
that referenced
this pull request
Oct 29, 2024
…ypress (elastic#197864) ## Summary The cypress task `cy.task('indexEndpointHosts')` sometimes throws `no_shard_available_action_exception`, when transforms are stopped. This looks like a temporary issue, and in other tests it is simply retried. This PR adds the retry logic for this type of error, and unskips some tests. closes elastic#194135 closes elastic#191914 ### Checklist Delete any items that are not applicable to this PR. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed
kibanamachine
added a commit
that referenced
this pull request
Oct 30, 2024
…ss in cypress (#197864) (#198137) # Backport This will backport the following commits from `main` to `8.16`: - [[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)](#197864) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gergő Ábrahám","email":"gergo.abraham@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:52:36Z","message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress","number":197864,"url":"https://github.com/elastic/kibana/pull/197864","mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197864","number":197864,"mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Gergő Ábrahám <gergo.abraham@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Oct 30, 2024
…s in cypress (#197864) (#198138) # Backport This will backport the following commits from `main` to `8.x`: - [[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)](#197864) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gergő Ábrahám","email":"gergo.abraham@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:52:36Z","message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress","number":197864,"url":"https://github.com/elastic/kibana/pull/197864","mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197864","number":197864,"mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Gergő Ábrahám <gergo.abraham@elastic.co>
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.
Summary
The cypress task
cy.task('indexEndpointHosts')sometimes throwsno_shard_available_action_exception, when transforms are stopped. This looks like a temporary issue, and in other tests it is simply retried.This PR adds the retry logic for this type of error, and unskips some tests.
closes #194135
closes #191914
Checklist
Delete any items that are not applicable to this PR.