elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/tamper_protection/enabled/unenroll_agent_from_fleet·cy·ts - Unenroll agent from fleet when agent tamper protection is enabled "before each" hook for "should unenroll from fleet without issues" "before each" hook for "should unenroll from fleet without issues" #170706

Open kibanamachine opened 8 months ago

kibanamachine commented 8 months ago

A test failed on a tracked branch

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

> Command failed with exit code 1: vagrant up
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

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: `Unenroll agent from fleet w...`
    at <unknown> (http://localhost:5627/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5627/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5627/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5627/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5627/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5627/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5627/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5627/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5627/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5627/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at createEndpointHost (webpack:///./tasks/create_endpoint_host.ts:15:12)
    at Context.eval (webpack:///./e2e/tamper_protection/enabled/unenroll_agent_from_fleet.cy.ts:48:32)

From Node.js Internals:
  Error: Command failed with exit code 1: vagrant up
  The SSH command responded with a non-zero exit status. Vagrant
  assumes that this means the command failed. The output for this command
  should be in the log above. Please read the output to determine what
  went wrong.
      at makeError (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5085eee68125e61e/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
      at handlePromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5085eee68125e61e/elastic/kibana-on-merge/kibana/node_modules/execa/index.js:118:26)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async createVagrantVm (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5085eee68125e61e/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:188:5)
  at async Promise.all (index 0)
      at async createAndEnrollEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5085eee68125e61e/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:85:49)
      at async attemptCreateEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-5085eee68125e61e/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/cypress/support/data_loaders.ts:340:27)

First failure: CI Build - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main