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/value_lists/value_lists·cy·ts - value lists management modal "before each" hook for "can open and close the modal" "before each" hook for "can open and close the modal" #165699

Closed
kibanamachine opened this issue Sep 5, 2023 · 8 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 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:5651/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: `management modal`
    at <unknown> (https://localhost:5651/__cypress/runner/cypress_runner.js:149171:78)
    at tryCatcher (https://localhost:5651/__cypress/runner/cypress_runner.js:18744:23)
    at <unknown> (https://localhost:5651/__cypress/runner/cypress_runner.js:13866:41)
    at tryCatcher (https://localhost:5651/__cypress/runner/cypress_runner.js:18744:23)
    at Promise._settlePromiseFromHandler (https://localhost:5651/__cypress/runner/cypress_runner.js:16679:31)
    at Promise._settlePromise (https://localhost:5651/__cypress/runner/cypress_runner.js:16736:18)
    at Promise._settlePromise0 (https://localhost:5651/__cypress/runner/cypress_runner.js:16781:10)
    at Promise._settlePromises (https://localhost:5651/__cypress/runner/cypress_runner.js:16857:18)
    at _drainQueueStep (https://localhost:5651/__cypress/runner/cypress_runner.js:13451:12)
    at _drainQueue (https://localhost:5651/__cypress/runner/cypress_runner.js:13444:9)
    at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://localhost:5651/__cypress/runner/cypress_runner.js:13460:5)
    at Async.drainQueues (https://localhost:5651/__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

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@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: 2d4c54c

@jpdjere
Copy link
Contributor

jpdjere commented Oct 19, 2023

Flakiness investigated as part of: #169218

Flaky test runner shows no flakiness for this test on 200 runs.

Closing issue assuming reported flakiness was due to infra issue or unexpected and non-repeatable Kibana timeout.

@jpdjere jpdjere closed this as completed Oct 19, 2023
maximpn pushed a commit that referenced this issue Oct 24, 2023
…ts and enable Serverless run (#169218)

## Summary

Flaky test runner for Cypress tests in:
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts` 
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists` 
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation` 

## Changes

- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`  **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts` **added disableAutorefresh() to avoid flakiness**

## Related failing-test issues

### `detection_response/detection_alerts`
1. #169091
**Marked as `legit-flake` and assigned to @elastic/security-detection-engine** 
3. #163885

### `detection_response/value_lists`
4. #165699

### `detection_response/rule_creation`
5. #163691

## Flaky test runner

- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583
- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615 [SERVERLESS ONLY]
- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656 [Serverless without indicator match and saved queries]
jpdjere added a commit to jpdjere/kibana that referenced this issue Oct 24, 2023
…ts and enable Serverless run (elastic#169218)

## Summary

Flaky test runner for Cypress tests in:
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`

## Changes

- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts` **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`  **tagged to run on Serverless**
- `x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts` **added disableAutorefresh() to avoid flakiness**

## Related failing-test issues

### `detection_response/detection_alerts`
1. elastic#169091
**Marked as `legit-flake` and assigned to @elastic/security-detection-engine**
3. elastic#163885

### `detection_response/value_lists`
4. elastic#165699

### `detection_response/rule_creation`
5. elastic#163691

## Flaky test runner

- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583
- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615 [SERVERLESS ONLY]
- https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656 [Serverless without indicator match and saved queries]

(cherry picked from commit 939c87d)
jpdjere referenced this issue Oct 26, 2023
…ess tests and enable Serverless run (#169218) (#169681)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Unskip tests for `detection_response` Cypress
tests and enable Serverless run
(#169218)](#169218)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-24T07:18:42Z","message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:Detections
and Resp","Team:Detection Rule Management","Team:Detection
Engine","v8.12.0"],"number":169218,"url":"https://github.com/elastic/kibana/pull/169218","mergeCommit":{"message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169218","number":169218,"mergeCommit":{"message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0"}}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <[email protected]>
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