elastic / kibana

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

Failing test: [MKI][QA][Periodic] Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/expandable_flyout/alert_details_preview_panel·cy·ts - Opening alert previews from alert details flyout "before each" hook for "should render alert preview" "before each" hook for "should render alert preview" #199934

Closed kibanamachine closed 1 week ago

kibanamachine commented 1 week ago

A test failed on a tracked branch

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

The task 'refreshIndex' was not handled in the setupNodeEvents method. The following tasks are registered: esArchiverLoad, esArchiverUnload, getSessionCookie, getApiKeyForRole, getFullname, getUsername

Fix this in your setupNodeEvents method here:
/opt/buildkite-agent/builds/bk-agent-prod-gcp-1731470667524607223/elastic/kibana-serverless-security-solution-quality-gate-investigations/kibana/x-pack/test/security_solution_cypress/cypress/cypress_ci_serverless_qa.config.ts

https://on.cypress.io/api/task

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Opening alert previews from...`
    at <unknown> (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
    at tryCatcher (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-285f777-ba2e9f.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
    at cy.waitUntil.interval (webpack:///./tasks/api_calls/elasticsearch.ts:47:9)
    at evaluate (webpack:///./support/commands.js:74:19)
    at Context.waitUntil (webpack:///./support/commands.js:83:9)

First failure: kibana-serverless-security-solution-quality-gate-investigations - main

kibanamachine commented 1 week ago

New failure: kibana-serverless-security-solution-quality-gate-investigations - main

elasticmachine commented 1 week ago

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

kibanamachine commented 1 week ago

New failure: kibana-serverless-security-solution-quality-gate-investigations - main

kibanamachine commented 1 week ago

New failure: kibana-serverless-security-solution-quality-gate-investigations - main

MadameSheema commented 1 week ago

Issue introduced by https://github.com/elastic/kibana/pull/190152 and fixed by https://github.com/elastic/kibana/pull/199959