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/response_console/file_operations·cy·ts - Response console File operations: "after all" hook for ""get-file --path" - should retrieve a file" "after all" hook for ""get-file --path" - should retrieve a file" #173456

Closed
kibanamachine opened this issue Dec 15, 2023 · 21 comments · Fixed by #173589
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.13.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 15, 2023

A test failed on a tracked branch

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

> Request failed with status code 400

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

Because this error occurred during a `after all` hook we are skipping the remaining tests in the current suite: `File operations:`

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

From Node.js Internals:
  Error: Request failed with status code 400
      at wrapErrorIfNeeded (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-299464c0e1ff0bbc/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:27:7)
      at wrapErrorAndRejectPromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-299464c0e1ff0bbc/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:30:92)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async deleteIndexedFleetEndpointPolicies (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-299464c0e1ff0bbc/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_fleet_endpoint_policy.ts:170:12)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 15, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 15, 2023
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Dec 15, 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 Dec 15, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@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 Dec 15, 2023

Skipped.

main: a781367

@kevinlog
Copy link
Contributor

@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 added a commit that referenced this issue Dec 21, 2023
elastic/security-team#8244

Needs to be followed-up by #173591

unskips manually skipped tests from
#173557

unskips CI skipped tests:

closes #173475
closes #173458
closes #173456
closes #173463
closes #173466
closes #173467
closes #173457
closes #173465
closes #173459
closes #173473
closes #173464
closes #173471
closes #173475
closes #171444
closes #170816
closes #170814
closes #170794
closes #170706
closes #170604
closes #170601
closes #170563
closes #170373
closes #169822
closes #169821
closes #168427
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 skipped-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.13.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants