elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/document_signing·cy·ts - Document signing: "after all" hook for "should fail if data tampered" "after all" hook for "should fail if data tampered" #173473

Open kibanamachine opened 8 months ago

kibanamachine commented 8 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: `Document signing:`

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

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

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

kibanamachine commented 8 months ago

New failure: CI Build - main

kevinlog commented 8 months ago

@dasansol92 @szwarckonrad - should be fixed with new Endpoint snapshot addressing this: https://github.com/elastic/security-team/issues/8244

Also labeled with a new reason on our board: "Endpoint bug"

kibanamachine commented 3 months ago

New failure: kibana-on-merge - 8.13