Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint_list/endpoints·cy·ts - Endpoints page Endpoint reassignment "after all" hook for "User can reassign a single endpoint to a different Agent Configuration" "after all" hook for "User can reassign a single endpoint to a different Agent Configuration" #179455
CypressError: `cy.task('destroyEndpointHost')` failed with the following error:
> Request failed with status code 500: {"statusCode":500,"error":"Internal Server Error","message":"version_conflict_engine_exception\n\tRoot causes:\n\t\tversion_conflict_engine_exception: [9209ea23-44cf-4df1-85dd-35c1d4f0d778]: version conflict, required seqNo [17], primary term [1]. current document has seqNo [18] and primary term [1]"}
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: `Endpoints page`
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
at <unknown> (http://localhost:5636/__cypress/runner/cypress_runner.js:135281:70)
at tryCatcher (http://localhost:5636/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://localhost:5636/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://localhost:5636/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://localhost:5636/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://localhost:5636/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://localhost:5636/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://localhost:5636/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://localhost:5636/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://localhost:5636/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.eval (webpack:///./e2e/endpoint_list/endpoints.cy.ts:58:9)
From Node.js Internals:
FormattedAxiosError: Request failed with status code 500: {"statusCode":500,"error":"Internal Server Error","message":"version_conflict_engine_exception\n\tRoot causes:\n\t\tversion_conflict_engine_exception: [9209ea23-44cf-4df1-85dd-35c1d4f0d778]: version conflict, required seqNo [17], primary term [1]. current document has seqNo [18] and primary term [1]"}
at catchAxiosErrorFormatAndThrow (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4d730c6cb29d0b71/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/common/endpoint/format_axios_error.ts:65:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async unEnrollFleetAgent (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4d730c6cb29d0b71/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts:561:20)
at async Promise.all (index 1)
at async destroyEndpointHost (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-4d730c6cb29d0b71/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/scripts/endpoint/common/endpoint_host_services.ts:108:3)
A test failed on a tracked branch
First failure: CI Build - main