Skip to content

Failing test: "after each" hook for "Creates and activates a new Indicator Match rule" - Detection rules, Indicator Match "after each" hook for "Creates and activates a new Indicator Match rule" #85216

@kibanamachine

Description

@kibanamachine

A test failed on a tracked branch

CypressError: `cy.request()` failed on:

http://elastic:changeme@localhost:6111/api/detection_engine/index

The response we received from your web server was:

  > 404: Not Found

This was considered a failure because the status code was not `2xx` or `3xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`

-----------------------------------------------------------

The request we sent was:

Method: DELETE
URL: http://elastic:changeme@localhost:6111/api/detection_engine/index
Headers: {
  "Connection": "keep-alive",
  "kbn-xsrf": "delete-signals",
  "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/87.0.4280.88 Safari/537.36",
  "accept": "*/*",
  "cookie": "sid=Fe26.2**6a9872ced4863e0839f3f164f543a5c9c15034e9793d17a47434e1da9bd54c03*31O11xodmA5BpWFF7c0GWw*45nujPiPG6RoiNNIX5lqr8GZffIfHz9BJ8UjLvIbMCjdUdh2ADAvShsHNAZJ-yfzE3zUkvl0Th3rfVSkGZ0TOOO-_22XUbprHtKjZ6l7khG3JkvcHBCAGlLSaKPn3UkhCK06lVJbOCkZrlC_ecXWDArpPoU1hbC5rz-bJcTUqilMVN2mW1tkAzQ5oVL0XC2fMPJBVj0tAHLNBNlr5Lapd-0KHv3qbos3a16suTjiZRg**6cd4434e95dfa2600b96a27479040afab365c04ad1fa961279c52766641c784a*RCJ0tA2-v2AeNVrdUIKA63gRiq8yP7AU0YaXXGEHUG4",
  "accept-encoding": "gzip, deflate",
  "authorization": "Basic ZWxhc3RpYzpjaGFuZ2VtZQ==",
  "content-length": 0
}

-----------------------------------------------------------

The response we got was:

Status: 404 - Not Found
Headers: {
  "content-type": "application/json; charset=utf-8",
  "kbn-name": "kibana-ci-immutable-centos-tests-xxl-1607382141574372544",
  "kbn-license-sig": "b8bbce4006dc6275d7fc69b27a8368aa7fbfb6a055579402da781976b7e9df4e",
  "cache-control": "private, no-cache, no-store, must-revalidate",
  "content-length": "79",
  "date": "Tue, 08 Dec 2020 00:16:16 GMT",
  "connection": "keep-alive",
  "keep-alive": "timeout=120"
}
Body: {
  "message": "index: \".siem-signals-default\" does not exist",
  "status_code": 404
}


https://on.cypress.io/request

Because this error occurred during a `after each` hook we are skipping the remaining tests in the current suite: `Detection rules, Indicator ...`
    at http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:158936:21
    at tryCatcher (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:10325:23)
    at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8260:31)
    at Promise._settlePromise (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8317:18)
    at Promise._settlePromise0 (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8362:10)
    at Promise._settlePromises (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:8442:18)
    at _drainQueueStep (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5032:12)
    at _drainQueue (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5025:9)
    at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:5041:5)
    at Async.drainQueues (http://elastic:changeme@localhost:6111/__cypress/runner/cypress_runner.js:4911:14)
From Your Spec Code:
    at Object.removeSignalsIndex (http://localhost:6111/__cypress/tests?p=cypress/integration/alerts_detection_rules_indicator_match.spec.ts:21390:8)
    at Context.eval (http://localhost:6111/__cypress/tests?p=cypress/integration/alerts_detection_rules_indicator_match.spec.ts:20337:21)

First failure: Jenkins Build

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions