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: "before all" hook for "Loads prebuilt rules" - Alerts rules, prebuilt rules "before all" hook for "Loads prebuilt rules" #86356

Closed
kibanamachine opened this issue Dec 17, 2020 · 3 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 17, 2020

A test failed on a tracked branch

CypressError: `cy.exec('node ../../../scripts/es_archiver load empty_kibana --dir ../../test/security_solution_cypress/es_archives --config ../../../test/functional/config.js --es-url http://elastic:changeme@localhost:6112 --kibana-url http://elastic:changeme@localhost:6111')` failed because the command exited with a non-zero code.

Pass `{failOnNonZeroExit: false}` to ignore exit code failures.

Information about the failure:
Code: 1

Stdout:
[34minfo[39m [empty_kibana] Loading "mappings.json"
 [34minfo[39m [empty_kibana] Loading "data.json.gz"
 [34minfo[39m [empty_kibana] Deleted existing index [".kibana"]
 [34minfo[39m [empty_...

https://on.cypress.io/exec

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Alerts rules, prebuilt rules`

Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
    at http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:156249:26
    at tryCatcher (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:10584:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8519:31)
    at Promise._settlePromise (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8576:18)
    at Promise._settlePromise0 (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8621:10)
    at Promise._settlePromises (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8701:18)
    at _drainQueueStep (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5291:12)
    at _drainQueue (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5284:9)
    at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5300:5)
    at Async.drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5170:14)
From Your Spec Code:
    at Object.esArchiverLoadEmptyKibana (http://localhost:6111/__cypress/tests?p=cypress/integration/alerts_detection_rules_prebuilt.spec.ts:21388:8)
    at Object.cleanKibana (http://localhost:6111/__cypress/tests?p=cypress/integration/alerts_detection_rules_prebuilt.spec.ts:21364:19)
    at Context.eval (http://localhost:6111/__cypress/tests?p=cypress/integration/alerts_detection_rules_prebuilt.spec.ts:20291:18)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 17, 2020
jbudz added a commit that referenced this issue Dec 17, 2020
jbudz added a commit that referenced this issue Dec 17, 2020
@jbudz
Copy link
Member

jbudz commented Dec 17, 2020

skipped - another failure will show up in a moment
main: cb2b162
7.x/7.12: 6670ef9
7.11: c750fdf

@jbudz jbudz added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Dec 17, 2020
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

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: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

3 participants