elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_alerts·cy·ts - Endpoint generated alerts "before each" hook for "should create a Detection Engine alert from an endpoint alert" "before each" hook for "should create a Detection Engine alert from an endpoint alert" #169958

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 ssh -- cd elastic-agent-8.12.0-SNAPSHOT-linux-x86_64 && sudo ./elastic-agent install --insecure --force --url https://10.128.0.213:8250 --enrollment-token emQyb2JJc0I1Z0NVekNzUlRUVGU6eGZERjZqN1pRNy1ESUxVblVldWl2UQ==
{"log.level":"warn","@timestamp":"2023-10-26T15:49:44.554Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":107},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2023-10-26T15:49:44.710Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":479},"message":"Starting enrollment to URL: https://10.128.0.213:8250/","ecs.version":"1.6.0"}
{"log.level":"warn","@timestamp":"2023-10-26T15:49:44.947Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":107},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
Error: fail to enroll: fail to execute request to fleet-server: dial tcp 10.128.0.213:8250: connect: connection refused
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html
Error: enroll command failed for unknown reason: exit status 1
For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html

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: `Endpoint generated alerts`
    at <unknown> (https://localhost:5644/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (https://localhost:5644/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (https://localhost:5644/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (https://localhost:5644/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (https://localhost:5644/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (https://localhost:5644/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (https://localhost:5644/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (https://localhost:5644/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (https://localhost:5644/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (https://localhost:5644/__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/endpoint_alerts.cy.ts:36:36)

From Node.js Internals:
  Error: Command failed with exit code 1: vagrant ssh -- cd elastic-agent-8.12.0-SNAPSHOT-linux-x86_64 && sudo ./elastic-agent install --insecure --force --url https://10.128.0.213:8250 --enrollment-token emQyb2JJc0I1Z0NVekNzUlRUVGU6eGZERjZqN1pRNy1ESUxVblVldWl2UQ==
  {"log.level":"warn","@timestamp":"2023-10-26T15:49:44.554Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":107},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
  {"log.level":"info","@timestamp":"2023-10-26T15:49:44.710Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":479},"message":"Starting enrollment to URL: https://10.128.0.213:8250/","ecs.version":"1.6.0"}
  {"log.level":"warn","@timestamp":"2023-10-26T15:49:44.947Z","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":107},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"}
  Error: fail to enroll: fail to execute request to fleet-server: dial tcp 10.128.0.213:8250: connect: connection refused
  For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html
  Error: enroll command failed for unknown reason: exit status 1
  For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.12/fleet-troubleshooting.html
      at makeError (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-6132869d85668d7b/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
      at handlePromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-6132869d85668d7b/elastic/kibana-on-merge/kibana/node_modules/execa/index.js:118:26)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async enrollHostWithFleet (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-6132869d85668d7b/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:321:5)
      at async createAndEnrollEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-6132869d85668d7b/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:117:23)
      at async attemptCreateEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-6132869d85668d7b/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/management/cypress/support/data_loaders.ts:340:27)

First failure: CI Build - main

elasticmachine commented 8 months ago

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

kibanamachine commented 8 months ago

New failure: CI Build - main

kibanamachine commented 8 months ago

New failure: CI Build - main

mistic commented 8 months ago

Skipped.

main: 9e0e6a8

elasticmachine commented 6 months ago

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

joeypoon commented 5 months ago

unskipped in https://github.com/elastic/kibana/pull/174493

kibanamachine commented 5 months ago

New failure: CI Build - 8.12

kibanamachine commented 5 months ago

New failure: CI Build - 8.12

kibanamachine commented 5 months ago

New failure: CI Build - 8.12

kibanamachine commented 5 months ago

New failure: CI Build - 8.12

mistic commented 5 months ago

/skip

kibanamachine commented 5 months ago

Skipped

8.12: 5894cb186a203f42298fe59aa64ce36c9a625740

dasansol92 commented 5 months ago

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

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

dmlemeshko commented 3 months ago

/skip

kibanamachine commented 3 months ago

Skipped

main: 1dae2d9df00bc505465abb500d69c263a62a1224

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: 0dae7073f256a5e562a1580fd447b6b52f48845c

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 2 months ago

New failure: CI Build - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - main