Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/tamper_protection/switching_policies/unenroll_agent_from_fleet_changing_policy_from_enabled_to_disabled·cy·ts - Unenroll agent from fleet changing when agent tamper protection is enabled but then is switched to a policy with it disabled "after all" hook for "should unenroll from fleet without issues" "after all" hook for "should unenroll from fleet without issues" #183606
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: `Unenroll agent from fleet c...`
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
at <unknown> (http://localhost:5684/__cypress/runner/cypress_runner.js:135250:70)
at tryCatcher (http://localhost:5684/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5684/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5684/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5684/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5684/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://localhost:5684/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:5684/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:5684/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:5684/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack:///./e2e/tamper_protection/switching_policies/unenroll_agent_from_fleet_changing_policy_from_enabled_to_disabled.cy.ts:85:10)
From Node.js Internals:
Error: Request failed with status code 400
at wrapErrorIfNeeded (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-3c65bbe633d11e7c/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:28:7)
at wrapErrorAndRejectPromise (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-3c65bbe633d11e7c/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/utils.ts:31:92)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async deleteIndexedFleetEndpointPolicies (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-3c65bbe633d11e7c/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_fleet_endpoint_policy.ts:208:12)
A test failed on a tracked branch
First failure: kibana-on-merge - main