Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kibanamachine opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Entity Analytics Security Entity Analytics Team

Comments

@kibanamachine
Copy link
Contributor

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

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Mar 25, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 25, 2024
@mistic mistic added the Team:Entity Analytics Security Entity Analytics Team label Mar 25, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Mar 25, 2024
@tiansivive tiansivive self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Entity Analytics Security Entity Analytics Team
Projects
None yet
Development

No branches or pull requests

4 participants