CypressError: `cy.task('indexFleetEndpointPolicy')` failed with the following error:
> Request failed with status code 500
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: `Response console`
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
at <unknown> (http://localhost:5692/__cypress/runner/cypress_runner.js:135296:70)
at tryCatcher (http://localhost:5692/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5692/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5692/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5692/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5692/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://localhost:5692/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:5692/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:5692/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:5692/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at createAgentPolicyTask (webpack:///./tasks/fleet.ts:91:12)
at Context.eval (webpack:///./e2e/response_actions/response_console/release.cy.ts:37:28)
From Node.js Internals:
Error: Request failed with status code 500
at wrapErrorIfNeeded (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-0d3b756e8da848f9/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-0d3b756e8da848f9/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 (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-0d3b756e8da848f9/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_fleet_endpoint_policy.ts:109:28)
A test failed on a tracked branch
First failure: CI Build - main