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: Creates and activates a new custom rule - Detection rules, custom Creates and activates a new custom rule #69848

Closed
kibanamachine opened this issue Jun 24, 2020 · 26 comments
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 24, 2020

A test failed on a tracked branch

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

http://localhost:61131/app/security/alerts

The response we received from your web server was:

  > 500: 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 cypressErr (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:146621:16)
    at cypressErrByPath (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:146630:10)
    at Object.throwErrByPath (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:146593:11)
    at http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:134813:34
    at visitFailedByErr (http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:134316:12)
    at http://elastic:changeme@localhost:61131/__cypress/runner/cypress_runner.js:134794:22
    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)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jun 24, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@tylersmalley
Copy link
Contributor

13:05:35       │ proc [kibana]   log   [20:05:35.955] [error][http] { Error: Limit of total fields [1000] in index [.kibana_2] has been exceeded
13:05:35       │ proc [kibana]     at Object.write (/dev/shm/workspace/install/kibana-/src/core/server/saved_objects/migrations/core/elastic_index.js:152:21)
13:05:35       │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
13:05:35       │ proc [kibana]   detail:
13:05:35       │ proc [kibana]    { index:
13:05:35       │ proc [kibana]       { _index: '.kibana_2',
13:05:36       │ proc [kibana]         _id: 'config:8.0.0',
13:05:36       │ proc [kibana]         status: 400,
13:05:36       │ proc [kibana]         error: [Object] } } }
13:05:36       │ proc [kibana]  error  [20:05:35.679]  Error: Internal Server Error
13:05:36       │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-/src/core/server/http/router/response_adapter.js:69:19)
13:05:36       │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-/src/core/server/http/router/router.js:163:34)
13:05:36       │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
13:05:36       │ proc [kibana]   log   [20:05:36.209] [error][server][Kibana][http] { Error: Limit of total fields [1000] in index [.kibana_2] has been exceeded
13:05:36       │ proc [kibana]     at Object.write (/dev/shm/workspace/install/kibana-/src/core/server/saved_objects/migrations/core/elastic_index.js:152:21)
13:05:36       │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
13:05:36       │ proc [kibana]   detail:
13:05:36       │ proc [kibana]    { index:
13:05:36       │ proc [kibana]       { _index: '.kibana_2',
13:05:36       │ proc [kibana]         _id: 'config:8.0.0',
13:05:36       │ proc [kibana]         status: 400,
13:05:36       │ proc [kibana]         error: [Object] } },
13:05:36       │ proc [kibana]   isBoom: true,
13:05:36       │ proc [kibana]   isServer: true,
13:05:36       │ proc [kibana]   data: null,
13:05:36       │ proc [kibana]   output:
13:05:36       │ proc [kibana]    { statusCode: 500,
13:05:36       │ proc [kibana]      payload:
13:05:36       │ proc [kibana]       { statusCode: 500,
13:05:36       │ proc [kibana]         error: 'Internal Server Error',
13:05:36       │ proc [kibana]         message: 'An internal server error occurred' },
13:05:36       │ proc [kibana]      headers: {} },
13:05:36       │ proc [kibana]   reformat: [Function],
13:05:36       │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError' }
13:05:36       │ proc [kibana]  error  [20:05:36.205]  Error: Internal Server Error
13:05:36       │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-/src/core/server/http/router/response_adapter.js:69:19)
13:05:36       │ proc [kibana]     at interceptRequest (/dev/shm/workspace/install/kibana-/src/core/server/http/lifecycle/on_post_auth.js:79:34)
13:05:36       │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
13:05:36       │ proc [cypress]     1) Creates and activates a new custom rule

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@tylersmalley
Copy link
Contributor

tylersmalley commented Jun 24, 2020

Not sure if this is caused by the SIEM tests, but they are the only ones failing. In the meantime, I have disabled all SIEM Cypress tests.

Also related to #69849 and #69847

Skipped:
8.0/main: bcc6209
7.x/7.9: bdd66be

@tylersmalley
Copy link
Contributor

Created an issue with more details to what we're seeing here: #69869.

I am planning on updating the mappings and re-enabling the tests.

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mistic mistic added the v8.0.0 label Jul 7, 2020
@mistic
Copy link
Member

mistic commented Jul 7, 2020

That was also skipped on master/8.0.0 on: 468201a
It. was failing consecutively over the last couple of hours.

Screenshot 2020-07-07 at 05 26 04

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@MadameSheema
Copy link
Member

#71871

@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Oct 27, 2020
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 skipped-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants