elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/release·cy·ts - Response console Host Isolation: "before all" hook for "should release an isolated host via response console" "before all" hook for "should release an isolated host via response console" #172326

Open kibanamachine opened 7 months ago

kibanamachine commented 7 months ago

A test failed on a tracked branch

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

> Request failed with status code 500

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

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Response console`

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

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

First failure: CI Build - main

elasticmachine commented 7 months ago

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

kevinlog commented 7 months ago

This one also failed in Serverless specifically

szwarckonrad commented 7 months ago

I suspect that this might be the cause, however, I'm not sure what to make of it.

proc [kibana] [2023-11-30T21:03:35.694+00:00][ERROR][plugins.fleet] uninstalling endpoint-8.11.0 after error installing: [ResponseError: runtime_exception
--
  | proc [kibana]   Caused by:
  | proc [kibana]       no_shard_available_action_exception: index [metrics-endpoint.metadata_current_default] has no active shard copy
  | proc [kibana]   Root causes:
  | proc [kibana]       no_shard_available_action_exception: index [metrics-endpoint.metadata_current_default] has no active shard copy]

This is followed by api 500 response. Do you think that uninstalling this pacakge would result in POST @ /api/fleet/agent_policies to trow 500 ?

elasticmachine commented 6 months ago

Pinging @elastic/security-solution (Team: SecuritySolution)

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

mistic commented 3 months ago

Skipped.

main: 6e23d50

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 3 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

Skipped

main: 0702f99e8ba24ad57e4cb5bd2935ffa2c8a8435b

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main