Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/endpoints_list_response_console·cy·ts - Response console From endpoint list "before all" hook for "should open responder" "before all" hook for "should open responder" #169821

Open
kibanamachine opened this issue Oct 25, 2023 · 141 comments · Fixed by #173589 or #181655
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.18.0 v9.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 25, 2023

A test failed on a tracked branch

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

> Timed out waiting for host [test-host-7049] to show up in Fleet

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: `From endpoint list`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (http://localhost:5682/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5682/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5682/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5682/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5682/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5682/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5682/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5682/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5682/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5682/__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/response_actions/endpoints_list_response_console.cy.ts:41:38)

From Node.js Internals:
  Error: Timed out waiting for host [test-host-7049] to show up in Fleet
      at waitForHostToEnroll (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts:169:11)
      at async enrollHostWithFleet (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:342:17)
      at async createAndEnrollEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4197570dfff49398/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:117:23)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Oct 25, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Oct 25, 2023
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Oct 25, 2023
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Oct 25, 2023
@szwarckonrad
Copy link
Contributor

#169092

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kevinlog
Copy link
Contributor

kevinlog commented Nov 2, 2023

this is actually not quite the same failure as before. It looks like we had the artifact repository be unavailable temporarily. We should keep an eye of the failure and close if this was a transient error

1) Response console
--
  | From endpoint list
  | "before all" hook for "should open responder":
  | CypressError: `cy.task('createEndpointHost')` failed with the following error:
  |  
  | > Failed to retrieve list of versions from elastic's artifact repository: Service Temporarily Unavailable (HTTP 503) {URL: https://artifacts-api.elastic.co/v1/versions)
  |  
  | 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: `From endpoint list`
  |  
  | Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
  | at <unknown> (http://localhost:5631/__cypress/runner/cypress_runner.js:135296:70)
  | at tryCatcher (http://localhost:5631/__cypress/runner/cypress_runner.js:1807:23)
  | at Promise._settlePromiseFromHandler (http://localhost:5631/__cypress/runner/cypress_runner.js:1519:31)
  | at Promise._settlePromise (http://localhost:5631/__cypress/runner/cypress_runner.js:1576:18)
  | at Promise._settlePromise0 (http://localhost:5631/__cypress/runner/cypress_runner.js:1621:10)
  | at Promise._settlePromises (http://localhost:5631/__cypress/runner/cypress_runner.js:1697:18)
  | at _drainQueueStep (http://localhost:5631/__cypress/runner/cypress_runner.js:2407:12)
  | at _drainQueue (http://localhost:5631/__cypress/runner/cypress_runner.js:2400:9)
  | at Async._drainQueues (http://localhost:5631/__cypress/runner/cypress_runner.js:2416:5)
  | at Async.drainQueues (http://localhost:5631/__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/response_actions/endpoints_list_response_console.cy.ts:41:38)


@kevinlog kevinlog assigned ashokaditya and unassigned szwarckonrad Nov 6, 2023
@dasansol92 dasansol92 assigned dasansol92 and unassigned ashokaditya Nov 7, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Nov 8, 2023

Skipped.

main: 57085a6

@ashokaditya ashokaditya self-assigned this Nov 29, 2023
ashokaditya added a commit to ashokaditya/kibana that referenced this issue Nov 29, 2023
@ashokaditya
Copy link
Member

PR /pull/172165

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.x

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

mistic added a commit that referenced this issue Dec 12, 2024
mistic added a commit that referenced this issue Dec 12, 2024
@mistic
Copy link
Member

mistic commented Dec 12, 2024

Skipped.

main: a2f4bfa
8.x: 317890d

CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
tomsonpl added a commit to tomsonpl/kibana that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test OLM Sprint skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.18.0 v9.0.0
Projects
None yet
7 participants