elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

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 11 months ago

kibanamachine commented 11 months ago

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

elasticmachine commented 11 months ago

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

szwarckonrad commented 11 months ago

https://github.com/elastic/kibana/pull/169092

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

mistic commented 9 months ago

Skipped.

main: 060a9f2

kevinlog commented 9 months ago

@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 commented 9 months ago

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

kibanamachine commented 9 months ago

New failure: CI Build - 8.12

dasansol92 commented 9 months ago

@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 commented 9 months ago

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 commented 8 months ago

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

kibanamachine commented 4 months ago

New failure: kibana-on-merge - 8.14