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 "after all" hook for "should succeed with valid endpoint id, command and an optional timeout" #171667

Closed
kibanamachine opened this issue Nov 21, 2023 · 11 comments · Fixed by #175082
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

TypeError: Cannot read properties of undefined (reading 'hosts')
    at deleteIndexedEndpointHosts (index_endpoint_hosts.ts:305:19)
    at deleteIndexedHostsAndAlerts (index_data.ts:167:41)
    at EndpointTestResources.unloadEndpointData (endpoint.ts:185:39)
    at Context.apply (execute.ts:31:35)
    at Object.apply (wrap_function.js:73:30)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

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: 532799f

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

@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

mistic added a commit that referenced this issue Dec 19, 2023
mistic added a commit that referenced this issue Dec 19, 2023
@mistic
Copy link
Member

mistic commented Dec 19, 2023

Skipped.

main: 80b755a
8.12: ea9a641

ashokaditya added a commit to ashokaditya/kibana that referenced this issue Jan 18, 2024
ashokaditya added a commit that referenced this issue Jan 18, 2024
…#175082)

## Summary

Re-enable `execute` api integration tests

closes /issues/171666
closes /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 <42973632+kibanamachine@users.noreply.github.com>
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 <42973632+kibanamachine@users.noreply.github.com>
(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":"1849116+ashokaditya@users.noreply.github.com"},"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
<42973632+kibanamachine@users.noreply.github.com>","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
<42973632+kibanamachine@users.noreply.github.com>","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
<42973632+kibanamachine@users.noreply.github.com>","sha":"05a6ba5dd6348a04b518e6327c6c88897b71757e"}}]}]
BACKPORT-->

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
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 <42973632+kibanamachine@users.noreply.github.com>
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
Development

Successfully merging a pull request may close this issue.

4 participants