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/rule_management/rule_details/common_flows·cy·ts - Common rule detail flows "before each" hook for "Only modifies rule active status on enable/disable" "before each" hook for "Only modifies rule active status on enable/disable" #199907

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 Rule Management Security Detection Rule Management Team

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-1731470685361700142/elastic/kibana-serverless-security-solution-quality-gate-rule-management/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: `Common rule detail flows`
    at <unknown> (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:135273:72)
    at tryCatcher (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1807:23)
    at Promise._settlePromiseFromHandler (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1519:31)
    at Promise._settlePromise (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1576:18)
    at Promise._settlePromise0 (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1621:10)
    at Promise._settlePromises (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:1697:18)
    at _drainQueueStep (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2407:12)
    at _drainQueue (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2400:9)
    at Async._drainQueues (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.kb.eu-west-1.aws.qa.elastic.cloud/__cypress/runner/cypress_runner.js:2416:5)
    at Async.drainQueues (https://kibana-cypress-security-solution-ephemeral-8b4a27a-bba10b.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-rule-management - 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 Rule Management Security Detection Rule Management Team label Nov 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-rule-management (Team:Detection Rule Management)

@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 Rule Management Security Detection Rule Management Team
Projects
None yet
Development

No branches or pull requests

3 participants