elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

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_disabled_to_enabled·cy·ts - Unenroll agent from fleet when agent tamper protection is disabled but then is switched to a policy with it enabled "after all" hook for "should unenroll from fleet without issues" "after all" hook for "should unenroll from fleet without issues" #173470

Open kibanamachine opened 9 months ago

kibanamachine commented 9 months ago

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: `Unenroll agent from fleet w...`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (http://localhost:5655/__cypress/runner/cypress_runner.js:135296:70)
    at tryCatcher (http://localhost:5655/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (http://localhost:5655/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (http://localhost:5655/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (http://localhost:5655/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (http://localhost:5655/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (http://localhost:5655/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (http://localhost:5655/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (http://localhost:5655/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (http://localhost:5655/__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_disabled_to_enabled.cy.ts:64:11)

From Node.js Internals:
  Error: Request failed with status code 400
      at wrapErrorIfNeeded (/opt/local-ssd/buildkite/builds/kb-n2-4-virt-fe4acc52e8c86aea/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-fe4acc52e8c86aea/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-fe4acc52e8c86aea/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

elasticmachine commented 9 months ago

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

mistic commented 9 months ago

Skipped.

main: https://github.com/elastic/kibana/commit/bee40dd45dbe7c057c7880d7e8f06b5a7e344e87

dasansol92 commented 8 months ago

Fixed here: https://github.com/elastic/kibana/pull/173589

kibanamachine commented 4 months ago

New failure: kibana-on-merge - main