-
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
Failing test: Jest Integration Tests.x-pack/plugins/security_solution/server/integration_tests - telemetry tasks sender configuration should use legacy sender by default #178918
Labels
failed-test
A test failure on a tracked branch, potentially flaky-test
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Comments
kibanamachine
added
the
failed-test
A test failure on a tracked branch, potentially flaky-test
label
Mar 18, 2024
kibanamachine
added
the
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
label
Mar 18, 2024
Pinging @elastic/security-solution (Team: SecuritySolution) |
New failure: CI Build - main |
Skipped. main: 85d2fc1 |
Merged
New failure: kibana-on-merge - 8.15 |
New failure: kibana-on-merge - main |
szaffarano
added a commit
that referenced
this issue
Aug 7, 2024
## Summary Fixes: #188234 #187719 and #178918 The flakiness was while calculating the Detection Rules task invocations. It could have two different RCs: 1) The code didn't retry in case the task wasn't executed yet, which makes sense in a CI environment, which is slower than a dev environment; 2) The timestamp to filter out requests was calculated after the task was triggered, and if the task is executed fast enough, it could lead to empty responses because of that.
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
Aug 7, 2024
## Summary Fixes: elastic#188234 elastic#187719 and elastic#178918 The flakiness was while calculating the Detection Rules task invocations. It could have two different RCs: 1) The code didn't retry in case the task wasn't executed yet, which makes sense in a CI environment, which is slower than a dev environment; 2) The timestamp to filter out requests was calculated after the task was triggered, and if the task is executed fast enough, it could lead to empty responses because of that. (cherry picked from commit 358e104)
kibanamachine
added a commit
that referenced
this issue
Aug 7, 2024
) # Backport This will backport the following commits from `main` to `8.15`: - [[Telemetry][Security Solution] Fix flaky tests (#190044)](#190044) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sebastián Zaffarano","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-08-07T13:13:13Z","message":"[Telemetry][Security Solution] Fix flaky tests (#190044)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/188234\r\nhttps://github.com/elastic/kibana/issues/187719 and\r\nhttps://github.com//issues/178918\r\n\r\nThe flakiness was while calculating the Detection Rules task\r\ninvocations. It could have two different RCs: 1) The code didn't retry\r\nin case the task wasn't executed yet, which makes sense in a CI\r\nenvironment, which is slower than a dev environment; 2) The timestamp to\r\nfilter out requests was calculated after the task was triggered, and if\r\nthe task is executed fast enough, it could lead to empty responses\r\nbecause of that.","sha":"358e104ebcc2bfcfeec3457b2e913d071d27745d","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: SecuritySolution","v8.15.0","v8.16.0"],"title":"[Telemetry][Security Solution] Fix flaky tests","number":190044,"url":"https://github.com/elastic/kibana/pull/190044","mergeCommit":{"message":"[Telemetry][Security Solution] Fix flaky tests (#190044)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/188234\r\nhttps://github.com/elastic/kibana/issues/187719 and\r\nhttps://github.com//issues/178918\r\n\r\nThe flakiness was while calculating the Detection Rules task\r\ninvocations. It could have two different RCs: 1) The code didn't retry\r\nin case the task wasn't executed yet, which makes sense in a CI\r\nenvironment, which is slower than a dev environment; 2) The timestamp to\r\nfilter out requests was calculated after the task was triggered, and if\r\nthe task is executed fast enough, it could lead to empty responses\r\nbecause of that.","sha":"358e104ebcc2bfcfeec3457b2e913d071d27745d"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190044","number":190044,"mergeCommit":{"message":"[Telemetry][Security Solution] Fix flaky tests (#190044)\n\n## Summary\r\n\r\nFixes: https://github.com/elastic/kibana/issues/188234\r\nhttps://github.com/elastic/kibana/issues/187719 and\r\nhttps://github.com//issues/178918\r\n\r\nThe flakiness was while calculating the Detection Rules task\r\ninvocations. It could have two different RCs: 1) The code didn't retry\r\nin case the task wasn't executed yet, which makes sense in a CI\r\nenvironment, which is slower than a dev environment; 2) The timestamp to\r\nfilter out requests was calculated after the task was triggered, and if\r\nthe task is executed fast enough, it could lead to empty responses\r\nbecause of that.","sha":"358e104ebcc2bfcfeec3457b2e913d071d27745d"}}]}] BACKPORT--> Co-authored-by: Sebastián Zaffarano <[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: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
A test failed on a tracked branch
First failure: CI Build - main
The text was updated successfully, but these errors were encountered: