elastic / kibana

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

Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/dashboards/entity_analytics/new_risk_score·cy·ts - Entity Analytics Dashboard new risk score When risk engine is enabled Without data (before the risk engine runs for the first time) "before all" hook for "shows no data detected prompt for host and user risk scores" "before all" hook for "shows no data detected prompt for host and user risk scores" #179390

Closed kibanamachine closed 3 months ago

kibanamachine commented 7 months ago

A test failed on a tracked branch

CypressError: `cy.task('esArchiverLoad')` failed with the following error:

> {"_shards":{"total":8,"successful":7,"failed":1,"failures":[{"shard":0,"index":"metrics-endpoint.metadata_current_default","status":"NOT_FOUND","reason":{"type":"index_not_found_exception","reason":"no such index [metrics-endpoint.metadata_current_default]","index_uuid":"cgSyO4p3QmaBHaN8RNzldg","index":"metrics-endpoint.metadata_current_default"}}]}}

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: `Without data (before the ri...`

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

From Node.js Internals:
  ResponseError: {"_shards":{"total":8,"successful":7,"failed":1,"failures":[{"shard":0,"index":"metrics-endpoint.metadata_current_default","status":"NOT_FOUND","reason":{"type":"index_not_found_exception","reason":"no such index [metrics-endpoint.metadata_current_default]","index_uuid":"cgSyO4p3QmaBHaN8RNzldg","index":"metrics-endpoint.metadata_current_default"}}]}}
      at SniffingTransport.request (/var/lib/buildkite-agent/builds/kb-n2-4-spot-a213b5688a669d94/elastic/kibana-on-merge/kibana/node_modules/@elastic/transport/src/Transport.ts:553:17)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Indices.refresh (/var/lib/buildkite-agent/builds/kb-n2-4-spot-a213b5688a669d94/elastic/kibana-on-merge/kibana/node_modules/@elastic/elasticsearch/src/api/api/indices.ts:1482:12)
      at async loadAction (/var/lib/buildkite-agent/builds/kb-n2-4-spot-a213b5688a669d94/elastic/kibana-on-merge/kibana/packages/kbn-es-archiver/src/actions/load.ts:124:3)
      at async EsArchiver.load (/var/lib/buildkite-agent/builds/kb-n2-4-spot-a213b5688a669d94/elastic/kibana-on-merge/kibana/packages/kbn-es-archiver/src/es_archiver.ts:99:12)

First failure: CI Build - main

elasticmachine commented 7 months ago

Pinging @elastic/security-entity-analytics (Team:Entity Analytics)