elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console_mocked/suspend_process·cy·ts - Response console `suspend-process` command "before each" hook for "should suspend process from response console" "before each" hook for "should suspend process from response console" #180388

Open kibanamachine opened 4 months ago

kibanamachine commented 4 months ago

A test failed on a tracked branch

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

> endpoint-8.14.0-prerelease.1 is out-of-date and cannot be installed or updated

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

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: ``suspend-process` command`
    at <unknown> (http://localhost:5660/__cypress/runner/cypress_runner.js:135281:70)
    at tryCatcher (http://localhost:5660/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5660/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5660/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5660/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5660/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5660/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5660/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5660/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5660/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at indexEndpointHosts (webpack:///./tasks/index_endpoint_hosts.ts:22:12)
    at Context.eval (webpack:///./e2e/response_actions/response_console_mocked/suspend_process.cy.ts:31:25)

From Node.js Internals:
  Error: endpoint-8.14.0-prerelease.1 is out-of-date and cannot be installed or updated
      at updatePackages (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5c8a7a25022cabd5/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/setup_fleet_for_endpoint.ts:151:17)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async retryOnError (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5c8a7a25022cabd5/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:84:22)

First failure: CI Build - main

elasticmachine commented 4 months ago

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