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: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/endpoints_list_response_console·cy·ts - Response console From endpoint list "after all" hook for "should open responder" "after all" hook for "should open responder" #169822

Open
kibanamachine opened this issue Oct 25, 2023 · 12 comments · Fixed by #173589
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 Oct 25, 2023

A test failed on a tracked branch

CypressError: `cy.task('deleteIndexedFleetEndpointPolicies')` failed with the following error:

> Request failed with status code 500

https://on.cypress.io/api/task

Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite: `From endpoint list`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (http://localhost:5682/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5682/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5682/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5682/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5682/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5682/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5682/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5682/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5682/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5682/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at Context.eval (webpack:///./e2e/response_actions/endpoints_list_response_console.cy.ts:55:11)

From Node.js Internals:
  Error: Request failed with status code 500
      at wrapErrorIfNeeded (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:26:7)
      at wrapErrorAndRejectPromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:29:92)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async deleteIndexedFleetEndpointPolicies (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_fleet_endpoint_policy.ts:170:12)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 25, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 25, 2023
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Oct 25, 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 Oct 25, 2023
@szwarckonrad
Copy link
Contributor

#169092

@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 Dec 16, 2023

Skipped.

main: 060a9f2

@kevinlog
Copy link
Contributor

@dasansol92 @szwarckonrad - should be fixed with new Endpoint snapshot addressing this: https://github.com/elastic/security-team/issues/8244

Also labeled with a new reason on our board: "Endpoint bug"

@szwarckonrad
Copy link
Contributor

Last failures were related to 8.13 agent failures (https://github.com/elastic/security-team/issues/8244) , will be closed with #173589

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.12

@dasansol92
Copy link
Contributor

@szwarckonrad there is a new failure in 8.12, can you check if it's related to what was fixed or if there is something else broken here? Thanks

@szwarckonrad
Copy link
Contributor

szwarckonrad commented Jan 4, 2024

This is a new one, never saw it before. Error message doesn't tell me much either.

version_conflict_engine_exception

Request failed with status code 500: {"statusCode":500,"error":"Internal Server Error","message":"version_conflict_engine_exception\n\tRoot causes:\n\t\tversion_conflict_engine_exception: [a6fc9674-02a6-4473-a568-d54eb9e95379]: version conflict, required seqNo [26], primary term [1]. current document has seqNo [27] and primary term [1]"}

@szwarckonrad
Copy link
Contributor

Closing due to not being able to reproduce locally and error not emerging again. Test is not skipped.

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.14

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.

6 participants