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/tamper_protection/uninstall_agent_from_host_changing_policy·cy·ts - Uninstall agent from host changing agent policy When agent tamper protection is enabled but then is switched to a policy with it also enabled "after all" hook for "should uninstall from host without issues" "after all" hook for "should uninstall from host without issues" #169397

Closed
kibanamachine opened this issue Oct 19, 2023 · 2 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

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

> Request failed with status code 500

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: `Uninstall agent from host c...`

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

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

First failure: CI Build - main

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

kevinlog commented Nov 2, 2023

I think this was fixed with these changes: #169092

Closing

@kevinlog kevinlog closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution
Projects
None yet
Development

No branches or pull requests

3 participants