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/overview/cti_link_panel·cy·ts - CTI Link Panel "before each" hook for "renders disabled threat intel module as expected" "before each" hook for "renders disabled threat intel module as expected" #165709

Open
kibanamachine opened this issue Sep 5, 2023 · 7 comments
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Detection & Response Dashboard Security solution Detection & Response Dashboard feature legit-flake Test was triaged and marked as an actual flake. skipped-test Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.11.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 5, 2023

A test failed on a tracked branch

CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.

The request we sent was:

Method: POST
URL: https://localhost:5687/internal/security/login

No response was received within the timeout.

This error occurred while creating the session. Because the session setup failed, we failed the test.

https://on.cypress.io/request

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `CTI Link Panel`
    at <unknown> (https://localhost:5687/__cypress/runner/cypress_runner.js:149171:78)
    at tryCatcher (https://localhost:5687/__cypress/runner/cypress_runner.js:18744:23)
    at <unknown> (https://localhost:5687/__cypress/runner/cypress_runner.js:13866:41)
    at tryCatcher (https://localhost:5687/__cypress/runner/cypress_runner.js:18744:23)
    at Promise._settlePromiseFromHandler (https://localhost:5687/__cypress/runner/cypress_runner.js:16679:31)
    at Promise._settlePromise (https://localhost:5687/__cypress/runner/cypress_runner.js:16736:18)
    at Promise._settlePromise0 (https://localhost:5687/__cypress/runner/cypress_runner.js:16781:10)
    at Promise._settlePromises (https://localhost:5687/__cypress/runner/cypress_runner.js:16857:18)
    at _drainQueueStep (https://localhost:5687/__cypress/runner/cypress_runner.js:13451:12)
    at _drainQueue (https://localhost:5687/__cypress/runner/cypress_runner.js:13444:9)
    at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://localhost:5687/__cypress/runner/cypress_runner.js:13460:5)
    at Async.drainQueues (https://localhost:5687/__cypress/runner/cypress_runner.js:13330:14)
From Your Spec Code:
    at Object.eval [as setup] (webpack:///./tasks/login.ts:235:7)

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 Engine Security Solution Detection Engine Area label Sep 5, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 5, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Sep 6, 2023

Skipped.

main: 42f377b

@jpdjere
Copy link
Contributor

jpdjere commented Oct 19, 2023

Investigated in #169246

While the error reported in this issue is not the same as why the test is failing on the flaky test runner, the tests for cti_link_panel.cy.ts are consistingly failing, so marking this issue as legit-flake for the @elastic/security-detection-engine to investigate.

cc @yctercero

@yctercero
Copy link
Contributor

@rylnd @nkhristinin could one of you pick up this test? Part of enabling it for cypress is updating the esarchive indices to not specify index properties like refresh interval, but there was still more flake after trying that.

@banderror banderror added Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Dec 15, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@yctercero yctercero added the Feature:Detection & Response Dashboard Security solution Detection & Response Dashboard feature label Dec 18, 2023
@yctercero yctercero removed their assignment Dec 18, 2023
@yctercero yctercero added Test:Cypress Team:Detection Engine Security Solution Detection Engine Area and removed Team:Detection Engine Security Solution Detection Engine Area Test:Cypress labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test Feature:Detection & Response Dashboard Security solution Detection & Response Dashboard feature legit-flake Test was triaged and marked as an actual flake. skipped-test Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.11.0
Projects
None yet
Development

No branches or pull requests

7 participants