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: [MKI][QA][Periodic] Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_edit/eql_query_rule·cy·ts - EQL query rules Editing rule with non-blocking query validation errors "before each" hook for "should allow user to save a rule and show confirmation modal when data source does not exist" "before each" hook for "should allow user to save a rule and show confirmation modal when data source does not exist" #199912

Closed
kibanamachine opened this issue Nov 13, 2024 · 5 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Detection Engine Security Solution Detection Engine Area

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 13, 2024

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-1731470752759704639/elastic/kibana-serverless-security-solution-quality-gate-detection-engine/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: `Editing rule with non-block...`
    at <unknown> (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
    at tryCatcher (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-8eab589-a904dc.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-detection-engine - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 13, 2024
@kibanamachine
Copy link
Contributor Author

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 13, 2024
@kibanamachine kibanamachine added the Team:Detection Engine Security Solution Detection Engine Area label Nov 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 13, 2024
@kibanamachine
Copy link
Contributor Author

1 similar comment
@kibanamachine
Copy link
Contributor Author

@MadameSheema
Copy link
Member

Issue introduced by #190152 and fixed by #199959

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:Detection Engine Security Solution Detection Engine Area
Projects
None yet
Development

No branches or pull requests

3 participants