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/exceptions/alerts_table_flow/rule_exceptions/closing_all_matching_alerts·cy·ts - Close matching Alerts "after all" hook for "Should close all alerts from if several rules has shared exception list" "after all" hook for "Should close all alerts from if several rules has shared exception list" #199906

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-1731470753262793257/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 `after all` hook we are skipping the remaining tests in the current suite: `Close matching Alerts `

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at <unknown> (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
    at tryCatcher (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-69b210b-e5b48b.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
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 13, 2024
@kibanamachine
Copy link
Contributor Author

@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