Skip to content

[7.x] [SIEM] Unskips and fixes 'Detection rules, custom' test (#70693)#70926

Closed
MadameSheema wants to merge 2 commits intoelastic:7.xfrom
MadameSheema:backport/7.x/pr-70693
Closed

[7.x] [SIEM] Unskips and fixes 'Detection rules, custom' test (#70693)#70926
MadameSheema wants to merge 2 commits intoelastic:7.xfrom
MadameSheema:backport/7.x/pr-70693

Conversation

@MadameSheema
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

* unskips and fixes 'Detection rules, custom' test

* deletes comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@MadameSheema MadameSheema added the backport This PR is a backport of another PR label Jul 7, 2020
@MadameSheema
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-xpack-agent / "before each" hook for "Deletes more than one rule".Deletes custom rules "before each" hook for "Deletes more than one rule"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 5 times on tracked branches: https://github.com/elastic/kibana/issues/67814


Stack Trace

AssertionError: Timed out retrying: Expected to find element: `[data-test-subj="loading-alerts-panel"]`, but never found it.

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Deletes custom rules`
    at ensureExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:137673:32)
    at Object.ensureElExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:137691:12)
    at ensureExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:127867:23)
    at onFailFn (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:127905:9)
    at tryCatcher (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:9065:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7000:31)
    at Promise._settlePromise (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7057:18)
    at Promise._settlePromise0 (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7102:10)
    at Promise._settlePromises (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7178:18)
    at _drainQueueStep (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3772:12)
    at _drainQueue (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3765:9)
    at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3781:5)
    at Async.drainQueues (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3651:14)

Kibana Pipeline / kibana-xpack-agent / "before each" hook for "Deletes more than one rule".Deletes custom rules "before each" hook for "Deletes more than one rule"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 5 times on tracked branches: https://github.com/elastic/kibana/issues/67814


Stack Trace

AssertionError: Timed out retrying: Expected to find element: `[data-test-subj="loading-alerts-panel"]`, but never found it.

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Deletes custom rules`
    at ensureExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:137673:32)
    at Object.ensureElExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:137691:12)
    at ensureExistence (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:127867:23)
    at onFailFn (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:127905:9)
    at tryCatcher (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:9065:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7000:31)
    at Promise._settlePromise (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7057:18)
    at Promise._settlePromise0 (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7102:10)
    at Promise._settlePromises (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7178:18)
    at _drainQueueStep (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3772:12)
    at _drainQueue (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3765:9)
    at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3781:5)
    at Async.drainQueues (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:3651:14)

Kibana Pipeline / kibana-xpack-agent / Creates and activates a new custom rule.Detection rules, custom Creates and activates a new custom rule

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 11 times on tracked branches: https://github.com/elastic/kibana/issues/69848


Stack Trace

AssertionError: Timed out retrying: expected 'logs-*' to deeply equal undefined
    at applyChainer (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:131898:32)
    at http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:131940:16
    at arrayReduce (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:18578:21)
    at Function.reduce (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:27576:14)
    at applyChainers (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:131929:22)
    at tryCatcher (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:9065:23)
    at Function.Promise.attempt.Promise.try (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:6339:29)
    at Context.shouldFn (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:131946:26)
    at Context.should (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:131964:23)
    at http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:127819:39
    at assertions (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:128079:14)
    at tryCatcher (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:9065:23)
    at Object.gotValue (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:8209:18)
    at Object.gotAccum (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:8196:25)
    at Object.tryCatcher (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:9065:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:7000:31)

and 1 more failures, only showing the first 3.

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@MadameSheema
Copy link
Copy Markdown
Contributor Author

Closing this PR since those tests were skipped.

@MadameSheema MadameSheema deleted the backport/7.x/pr-70693 branch July 14, 2021 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants