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/detection_response/rule_management/rules_table/rules_table_sorting·cy·ts - Rules table: sorting Sorts by enabled rules Sorts by enabled rules #165758

Closed
kibanamachine opened this issue Sep 5, 2023 · 1 comment
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

A test failed on a tracked branch

CypressError: `cy.visit()` failed trying to load:

https://localhost:5622/app/security/rules?timerange=(global%3A(linkTo%3A!(timeline)%2Ctimerange%3A(from%3A1547914976217%2CfromStr%3A%272019-01-19T16%3A22%3A56.217Z%27%2Ckind%3Arelative%2Cto%3A1579537385745%2CtoStr%3Anow))%2Ctimeline%3A(linkTo%3A!(global)%2Ctimerange%3A(from%3A1547914976217%2CfromStr%3A%272019-01-19T16%3A22%3A56.217Z%27%2Ckind%3Arelative%2Cto%3A1579537385745%2CtoStr%3Anow)))

The response we received from your web server was:

  > 500: Internal Server Error

This was considered a failure because the status code was not `2xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
    at <unknown> (https://localhost:5622/__cypress/runner/cypress_runner.js:147661:84)
    at visitFailedByErr (https://localhost:5622/__cypress/runner/cypress_runner.js:147069:12)
    at <unknown> (https://localhost:5622/__cypress/runner/cypress_runner.js:147644:13)
    at tryCatcher (https://localhost:5622/__cypress/runner/cypress_runner.js:18744:23)
    at Promise._settlePromiseFromHandler (https://localhost:5622/__cypress/runner/cypress_runner.js:16679:31)
    at Promise._settlePromise (https://localhost:5622/__cypress/runner/cypress_runner.js:16736:18)
    at Promise._settlePromise0 (https://localhost:5622/__cypress/runner/cypress_runner.js:16781:10)
    at Promise._settlePromises (https://localhost:5622/__cypress/runner/cypress_runner.js:16857:18)
    at _drainQueueStep (https://localhost:5622/__cypress/runner/cypress_runner.js:13451:12)
    at _drainQueue (https://localhost:5622/__cypress/runner/cypress_runner.js:13444:9)
    at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://localhost:5622/__cypress/runner/cypress_runner.js:13460:5)
    at Async.drainQueues (https://localhost:5622/__cypress/runner/cypress_runner.js:13330:14)
From Your Spec Code:
    at visit (webpack:///./tasks/login.ts:360:5)
    at Context.eval (webpack:///./e2e/detection_response/rule_management/rules_table/rules_table_sorting.cy.ts:54:10)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 5, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 5, 2023
@kibanamachine kibanamachine added the Team:Detection Rule Management Security Detection Rule Management Team label Sep 5, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 5, 2023
@maximpn
Copy link
Contributor

maximpn commented Oct 13, 2023

Unskip the test here. The flakiness was caused by infrastructure, the test itself isn't flaky and it was tested in flaky test runner.

@maximpn maximpn closed this as completed Oct 13, 2023
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

2 participants