elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/response_console/execute·cy·ts - Response console Execute operations: "before all" hook for ""execute --command" - should execute a command" "before all" hook for ""execute --command" - should execute a command" #170373

Open kibanamachine opened 10 months ago

kibanamachine commented 10 months ago

A test failed on a tracked branch

CypressError: `cy.task('indexFleetEndpointPolicy')` timed out after waiting `60000ms`.

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: `Execute operations:`

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

First failure: CI Build - main

elasticmachine commented 10 months ago

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

kibanamachine commented 10 months ago

New failure: CI Build - main

kibanamachine commented 10 months ago

New failure: CI Build - main

mistic commented 10 months ago

Skipped.

main: 0cd75d9

dasansol92 commented 10 months ago

PR: https://github.com/elastic/kibana/pull/170001

kibanamachine commented 10 months ago

New failure: CI Build - main

kevinlog commented 10 months ago

@dasansol92 new error - looks to be serverless specific and getting a connection refused with the standalone Fleet Server

1) Response console
--
  | Execute operations:
  | "before all" hook for ""execute --command" - should execute a command":
  | 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.248:8266 --enrollment-token OERhcXRJc0JVV2djMzVJYms0QjE6UDU5Z1ZzRUdReFdnMmYtU2szZzlMUQ==
  | {"log.level":"warn","@timestamp":"2023-11-09T15:26:27.848Z","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-11-09T15:26:28.489Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":479},"message":"Starting enrollment to URL: https://10.128.0.248:8266/","ecs.version":"1.6.0"}
  | {"log.level":"warn","@timestamp":"2023-11-09T15:26:28.749Z","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.248:8266: 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 all` hook we are skipping the remaining tests in the current suite: `Execute operations:`
  |  
  | Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
kibanamachine commented 10 months ago

New failure: CI Build - main

elasticmachine commented 9 months ago

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

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

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: 7157f3a

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

New failure: CI Build - 8.12

kibanamachine commented 7 months ago

New failure: CI Build - 8.12

kibanamachine commented 7 months ago

New failure: CI Build - 8.12

kibanamachine commented 7 months ago

New failure: CI Build - 8.12

mistic commented 7 months ago

/skip

kibanamachine commented 7 months ago

Skipped

8.12: a2d1658f136b681b6a0abc9477fb70568cdbe8e4

dasansol92 commented 7 months ago

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

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main

kibanamachine commented 5 months ago

New failure: CI Build - main