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 Endpoint API Integration Tests against Serverless.x-pack/test/security_solution_endpoint_api_int/apis/endpoint_response_actions/execute·ts - Endpoint plugin Endpoint execute response action "before all" hook for "should not allow execute action without required privilege" #171666

Closed
kibanamachine opened this issue Nov 21, 2023 · 19 comments · Fixed by #175082 or #180449
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint Team:Defend Workflows “EDR Workflows” sub-team of Security Solution

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 21, 2023

A test failed on a tracked branch

Error: timed out waiting for endpoint hosts in .metrics-endpoint.metadata_united_default
    at onFailure (retry_for_truthy.ts:39:13)
    at retryForSuccess (retry_for_success.ts:59:13)
    at retryForTruthy (retry_for_truthy.ts:27:3)
    at RetryService.waitForWithTimeout (retry.ts:45:5)
    at EndpointTestResources.waitForIndex (endpoint.ts:198:5)
    at EndpointTestResources.waitForUnitedEndpoints (endpoint.ts:285:5)
    at EndpointTestResources.loadEndpointData (endpoint.ts:174:7)
    at Context.<anonymous> (execute.ts:26:21)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 21, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 21, 2023
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Nov 21, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 21, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Nov 21, 2023

Skipped.

main: d408557

kibanamachine pushed a commit to hop-dev/kibana that referenced this issue Nov 21, 2023
ashokaditya added a commit to ashokaditya/kibana that referenced this issue Nov 29, 2023
@ashokaditya
Copy link
Member

PR /pull/172134

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.12

@kevinlog
Copy link
Contributor

skip PR: #173667

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.12

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.12

kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Jan 18, 2024
…elastic#175082)

## Summary

Re-enable `execute` api integration tests

closes elastic/issues/171666
closes elastic/issues/171667

### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904
x 100 ( all pass )

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 05a6ba5)
kibanamachine added a commit that referenced this issue Jan 18, 2024
…n tests (#175082) (#175123)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Security Solution][Endpoint] Re-enable execute api integration tests
(#175082)](#175082)

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

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-18T14:52:30Z","message":"[Security
Solution][Endpoint] Re-enable execute api integration tests
(#175082)\n\n## Summary\r\n\r\nRe-enable `execute` api integration
tests\r\n\r\ncloses /issues/171666\r\ncloses
/issues/171667\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904\r\nx
100 ( all pass )\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"05a6ba5dd6348a04b518e6327c6c88897b71757e","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","OLM Sprint","v8.12.1","v8.13.0"],"title":"[Security
Solution][Endpoint] Re-enable execute api integration
tests","number":175082,"url":"https://github.com/elastic/kibana/pull/175082","mergeCommit":{"message":"[Security
Solution][Endpoint] Re-enable execute api integration tests
(#175082)\n\n## Summary\r\n\r\nRe-enable `execute` api integration
tests\r\n\r\ncloses /issues/171666\r\ncloses
/issues/171667\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904\r\nx
100 ( all pass )\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"05a6ba5dd6348a04b518e6327c6c88897b71757e"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175082","number":175082,"mergeCommit":{"message":"[Security
Solution][Endpoint] Re-enable execute api integration tests
(#175082)\n\n## Summary\r\n\r\nRe-enable `execute` api integration
tests\r\n\r\ncloses /issues/171666\r\ncloses
/issues/171667\r\n\r\n### Flaky
runner\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904\r\nx
100 ( all pass )\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"05a6ba5dd6348a04b518e6327c6c88897b71757e"}}]}]
BACKPORT-->

Co-authored-by: Ash <[email protected]>
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this issue Feb 15, 2024
…elastic#175082)

## Summary

Re-enable `execute` api integration tests

closes elastic/issues/171666
closes elastic/issues/171667

### Flaky runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4904
x 100 ( all pass )

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine kibanamachine reopened this Apr 9, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Apr 9, 2024

Skipped.

main: 4b69083

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

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 OLM Sprint Team:Defend Workflows “EDR Workflows” sub-team of Security Solution
Projects
None yet
5 participants