Skip to content

[7.13] [kbn/test] move types/ftr into src (#99555)#100230

Merged
spalger merged 4 commits intoelastic:7.13from
spalger:backport/7.13/pr-99555
May 19, 2021
Merged

[7.13] [kbn/test] move types/ftr into src (#99555)#100230
spalger merged 4 commits intoelastic:7.13from
spalger:backport/7.13/pr-99555

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented May 17, 2021

Backports the following commits to 7.13:

* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional_cors/config.ts
#	x-pack/test/reporting_functional/reporting_and_deprecated_security.config.ts
@spalger spalger added the backport This PR is a backport of another PR label May 17, 2021
@spalger spalger enabled auto-merge (squash) May 17, 2021 17:26
@spalger
Copy link
Contributor Author

spalger commented May 17, 2021

@elasticmachine merge upstream

@spalger
Copy link
Contributor Author

spalger commented May 17, 2021

@elasticmachine merge upstream

@spalger
Copy link
Contributor Author

spalger commented May 19, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Detection Engine API Integration Tests.x-pack/test/detection_engine_api_integration/security_and_spaces/tests/exception_operators_data_types/ip·ts.detection engine api security and spaces enabled Detection exceptions data types and operators Rule exception operators for data type ip "is not in list" operator will return 3 results if we have a list which contains the range syntax of "127.0.0.1-127.0.0.3"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: detection engine api security and spaces enabled
[00:00:00]           └-> "before all" hook in "detection engine api security and spaces enabled"
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook in ""
[00:00:00]             └-: Detection exceptions data types and operators
[00:00:00]               └-> "before all" hook in "Detection exceptions data types and operators"
[00:00:00]               └-: 
[00:00:00]                 └-> "before all" hook in ""
[00:00:00]                 └-: Rule exception operators for data type ip
[00:00:00]                   └-> "before all" hook in "Rule exception operators for data type ip"
[00:05:54]                   └-: "is not in list" operator
[00:05:54]                     └-> "before all" hook for "will return 1 result if we have a list that excludes 1 ip"
[00:05:54]                     └-> will return 1 result if we have a list that excludes 1 ip
[00:05:54]                       └-> "before each" hook: global before each for "will return 1 result if we have a list that excludes 1 ip"
[00:05:54]                       └-> "before each" hook for "will return 1 result if we have a list that excludes 1 ip"
[00:05:54]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.siem-signals-default]
[00:05:54]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:05:54]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:05:54]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:05:55]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.lists-default]
[00:05:55]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.items-default]
[00:05:55]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.lists-default] for index patterns [.lists-default-*]
[00:05:55]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.items-default] for index patterns [.items-default-*]
[00:05:55]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001] creating index, cause [api], templates [.lists-default], shards [1]/[1]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.lists-default]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.lists-default]
[00:05:55]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001] creating index, cause [api], templates [.items-default], shards [1]/[1]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.lists-default]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.items-default]
[00:05:55]                         │ info [rule_exceptions/ip] Loading "mappings.json"
[00:05:55]                         │ info [rule_exceptions/ip] Loading "data.json"
[00:05:55]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip] creating index, cause [api], templates [], shards [1]/[1]
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.items-default]
[00:05:55]                         │ info [rule_exceptions/ip] Created index "ip"
[00:05:55]                         │ debg [rule_exceptions/ip] "ip" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:55]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.items-default]
[00:05:55]                         │ info [rule_exceptions/ip] Indexed 4 docs into "ip"
[00:06:06]                       │ proc [kibana]   log   [18:07:40.476] [info][plugins][securitySolution] [+] Finished indexing 1  signals searched between date ranges [
[00:06:06]                       │ proc [kibana]   {
[00:06:06]                       │ proc [kibana]     "to": "2021-05-19T18:07:39.474Z",
[00:06:06]                       │ proc [kibana]     "from": "1900-01-01T00:00:00.000Z",
[00:06:06]                       │ proc [kibana]     "maxSignals": 100
[00:06:06]                       │ proc [kibana]   }
[00:06:06]                       │ proc [kibana] ] name: "Signal Testing Query" id: "14ee2550-b8cd-11eb-9130-310c14b00d9b" rule id: "rule-1" signals index: ".siem-signals-default"
[00:06:06]                       │ proc [kibana]   log   [18:07:40.483] [info][eventLog][plugins] event logged: {"@timestamp":"2021-05-19T18:07:37.558Z","event":{"provider":"alerting","action":"execute","start":"2021-05-19T18:07:37.558Z","outcome":"success","end":"2021-05-19T18:07:40.482Z","duration":2924000000},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"14ee2550-b8cd-11eb-9130-310c14b00d9b"}],"alerting":{"status":"ok"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"message":"alert executed: siem.signals:14ee2550-b8cd-11eb-9130-310c14b00d9b: 'Signal Testing Query'","ecs":{"version":"1.8.0"}}
[00:06:06]                       └- ✓ pass  (11.4s) "detection engine api security and spaces enabled  Detection exceptions data types and operators  Rule exception operators for data type ip "is not in list" operator will return 1 result if we have a list that excludes 1 ip"
[00:06:06]                     └-> "after each" hook for "will return 1 result if we have a list that excludes 1 ip"
[00:06:06]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001/qXfIxjkhQDqEhF7NdTa4iQ] deleting index
[00:06:06]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.siem-signals-default]
[00:06:09]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001/HfOfsmieRha-XGk-CP3qYQ] deleting index
[00:06:09]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001/At1DsPVnTGeMJkd1OlMSCA] deleting index
[00:06:09]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.lists-default]
[00:06:09]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.items-default]
[00:06:09]                       │ info [rule_exceptions/ip] Unloading indices from "mappings.json"
[00:06:09]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip/DLIFlqnWSN-Ed8rt7tFM_w] deleting index
[00:06:09]                       │ info [rule_exceptions/ip] Deleted existing index "ip"
[00:06:09]                       │ info [rule_exceptions/ip] Unloading indices from "data.json"
[00:06:09]                     └-> will return 2 results if we have a list that excludes 2 ips
[00:06:09]                       └-> "before each" hook: global before each for "will return 2 results if we have a list that excludes 2 ips"
[00:06:09]                       └-> "before each" hook for "will return 2 results if we have a list that excludes 2 ips"
[00:06:09]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.siem-signals-default]
[00:06:10]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:06:10]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:06:10]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.lists-default]
[00:06:10]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.items-default]
[00:06:10]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.lists-default] for index patterns [.lists-default-*]
[00:06:10]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.items-default] for index patterns [.items-default-*]
[00:06:10]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001] creating index, cause [api], templates [.lists-default], shards [1]/[1]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.lists-default]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.lists-default]
[00:06:10]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001] creating index, cause [api], templates [.items-default], shards [1]/[1]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.lists-default]
[00:06:10]                         │ info [rule_exceptions/ip] Loading "mappings.json"
[00:06:10]                         │ info [rule_exceptions/ip] Loading "data.json"
[00:06:10]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip] creating index, cause [api], templates [], shards [1]/[1]
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.items-default]
[00:06:10]                         │ info [rule_exceptions/ip] Created index "ip"
[00:06:10]                         │ debg [rule_exceptions/ip] "ip" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.items-default]
[00:06:10]                         │ info [rule_exceptions/ip] Indexed 4 docs into "ip"
[00:06:10]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.items-default]
[00:06:21]                       │ proc [kibana]   log   [18:07:55.625] [info][plugins][securitySolution] [+] Finished indexing 2  signals searched between date ranges [
[00:06:21]                       │ proc [kibana]   {
[00:06:21]                       │ proc [kibana]     "to": "2021-05-19T18:07:54.617Z",
[00:06:21]                       │ proc [kibana]     "from": "1900-01-01T00:00:00.000Z",
[00:06:21]                       │ proc [kibana]     "maxSignals": 100
[00:06:21]                       │ proc [kibana]   }
[00:06:21]                       │ proc [kibana] ] name: "Signal Testing Query" id: "1df58c10-b8cd-11eb-9130-310c14b00d9b" rule id: "rule-1" signals index: ".siem-signals-default"
[00:06:21]                       │ proc [kibana]   log   [18:07:55.641] [info][eventLog][plugins] event logged: {"@timestamp":"2021-05-19T18:07:52.563Z","event":{"provider":"alerting","action":"execute","start":"2021-05-19T18:07:52.563Z","outcome":"success","end":"2021-05-19T18:07:55.640Z","duration":3077000000},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"1df58c10-b8cd-11eb-9130-310c14b00d9b"}],"alerting":{"status":"ok"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"message":"alert executed: siem.signals:1df58c10-b8cd-11eb-9130-310c14b00d9b: 'Signal Testing Query'","ecs":{"version":"1.8.0"}}
[00:06:21]                       └- ✓ pass  (11.4s) "detection engine api security and spaces enabled  Detection exceptions data types and operators  Rule exception operators for data type ip "is not in list" operator will return 2 results if we have a list that excludes 2 ips"
[00:06:21]                     └-> "after each" hook for "will return 2 results if we have a list that excludes 2 ips"
[00:06:21]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001/B1jTVSZ3Qzq8yTb5kulouQ] deleting index
[00:06:21]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.siem-signals-default]
[00:06:24]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001/LyZXWF5YRW-b2wYdmh9nuQ] deleting index
[00:06:24]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001/kJHg3YS6SLm4Z4YNcSJFvg] deleting index
[00:06:25]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.lists-default]
[00:06:25]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.items-default]
[00:06:25]                       │ info [rule_exceptions/ip] Unloading indices from "mappings.json"
[00:06:25]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip/9-de02Z1TX24CQSuz3XuHg] deleting index
[00:06:25]                       │ info [rule_exceptions/ip] Deleted existing index "ip"
[00:06:25]                       │ info [rule_exceptions/ip] Unloading indices from "data.json"
[00:06:25]                     └-> will return 4 results if we have a list that excludes all ips
[00:06:25]                     └-> will return 3 results if we have a list which contains the CIDR range of "127.0.0.1/30"
[00:06:25]                       └-> "before each" hook: global before each for "will return 3 results if we have a list which contains the CIDR range of "127.0.0.1/30""
[00:06:25]                       └-> "before each" hook for "will return 3 results if we have a list which contains the CIDR range of "127.0.0.1/30""
[00:06:25]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.siem-signals-default]
[00:06:25]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:06:25]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:06:25]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.lists-default]
[00:06:25]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.items-default]
[00:06:25]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.lists-default] for index patterns [.lists-default-*]
[00:06:25]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.items-default] for index patterns [.items-default-*]
[00:06:25]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001] creating index, cause [api], templates [.lists-default], shards [1]/[1]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.lists-default]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.lists-default]
[00:06:25]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001] creating index, cause [api], templates [.items-default], shards [1]/[1]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.lists-default]
[00:06:25]                         │ info [rule_exceptions/ip] Loading "mappings.json"
[00:06:25]                         │ info [rule_exceptions/ip] Loading "data.json"
[00:06:25]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip] creating index, cause [api], templates [], shards [1]/[1]
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.items-default]
[00:06:25]                         │ info [rule_exceptions/ip] Created index "ip"
[00:06:25]                         │ debg [rule_exceptions/ip] "ip" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.items-default]
[00:06:25]                         │ info [rule_exceptions/ip] Indexed 4 docs into "ip"
[00:06:25]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.items-default]
[00:06:35]                       │ proc [kibana]   log   [18:08:09.768] [info][plugins][securitySolution] [+] Finished indexing 3  signals searched between date ranges [
[00:06:35]                       │ proc [kibana]   {
[00:06:35]                       │ proc [kibana]     "to": "2021-05-19T18:08:08.759Z",
[00:06:35]                       │ proc [kibana]     "from": "1900-01-01T00:00:00.000Z",
[00:06:35]                       │ proc [kibana]     "maxSignals": 100
[00:06:35]                       │ proc [kibana]   }
[00:06:35]                       │ proc [kibana] ] name: "Signal Testing Query" id: "26fe0440-b8cd-11eb-9130-310c14b00d9b" rule id: "rule-1" signals index: ".siem-signals-default"
[00:06:35]                       │ proc [kibana]   log   [18:08:09.776] [info][eventLog][plugins] event logged: {"@timestamp":"2021-05-19T18:08:07.563Z","event":{"provider":"alerting","action":"execute","start":"2021-05-19T18:08:07.564Z","outcome":"success","end":"2021-05-19T18:08:09.775Z","duration":2211000000},"kibana":{"saved_objects":[{"rel":"primary","type":"alert","id":"26fe0440-b8cd-11eb-9130-310c14b00d9b"}],"alerting":{"status":"ok"},"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d"},"message":"alert executed: siem.signals:26fe0440-b8cd-11eb-9130-310c14b00d9b: 'Signal Testing Query'","ecs":{"version":"1.8.0"}}
[00:06:36]                       └- ✓ pass  (10.4s) "detection engine api security and spaces enabled  Detection exceptions data types and operators  Rule exception operators for data type ip "is not in list" operator will return 3 results if we have a list which contains the CIDR range of "127.0.0.1/30""
[00:06:36]                     └-> "after each" hook for "will return 3 results if we have a list which contains the CIDR range of "127.0.0.1/30""
[00:06:36]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001/f7nVhe9WSMuTvOvciT956A] deleting index
[00:06:36]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.siem-signals-default]
[00:06:39]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001/GRByBE30SOi2Dk9VwjZZFg] deleting index
[00:06:39]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001/beZFQQmKRZKIUQ8hQB-prQ] deleting index
[00:06:39]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.lists-default]
[00:06:39]                       │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] removing template [.items-default]
[00:06:39]                       │ info [rule_exceptions/ip] Unloading indices from "mappings.json"
[00:06:39]                       │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip/Seib33LYQL-aGOw47dZwvA] deleting index
[00:06:39]                       │ info [rule_exceptions/ip] Deleted existing index "ip"
[00:06:39]                       │ info [rule_exceptions/ip] Unloading indices from "data.json"
[00:06:39]                     └-> will return 3 results if we have a list which contains the range syntax of "127.0.0.1-127.0.0.3"
[00:06:39]                       └-> "before each" hook: global before each for "will return 3 results if we have a list which contains the range syntax of "127.0.0.1-127.0.0.3""
[00:06:39]                       └-> "before each" hook for "will return 3 results if we have a list which contains the range syntax of "127.0.0.1-127.0.0.3""
[00:06:39]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.siem-signals-default]
[00:06:39]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.siem-signals-default] for index patterns [.siem-signals-default-*]
[00:06:39]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.siem-signals-default-000001] creating index, cause [api], templates [.siem-signals-default], shards [1]/[1]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.siem-signals-default]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.siem-signals-default]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.siem-signals-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.siem-signals-default]
[00:06:39]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.lists-default]
[00:06:39]                         │ info [o.e.x.i.a.TransportPutLifecycleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding index lifecycle policy [.items-default]
[00:06:39]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.lists-default] for index patterns [.lists-default-*]
[00:06:39]                         │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] adding template [.items-default] for index patterns [.items-default-*]
[00:06:39]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.lists-default-000001] creating index, cause [api], templates [.lists-default], shards [1]/[1]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.lists-default]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.lists-default]
[00:06:39]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [.items-default-000001] creating index, cause [api], templates [.items-default], shards [1]/[1]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.lists-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.lists-default]
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.items-default]
[00:06:39]                         │ info [rule_exceptions/ip] Loading "mappings.json"
[00:06:39]                         │ info [rule_exceptions/ip] Loading "data.json"
[00:06:39]                         │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] [ip] creating index, cause [api], templates [], shards [1]/[1]
[00:06:39]                         │ info [rule_exceptions/ip] Created index "ip"
[00:06:39]                         │ debg [rule_exceptions/ip] "ip" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.items-default]
[00:06:39]                         │ info [rule_exceptions/ip] Indexed 4 docs into "ip"
[00:06:39]                         │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1621443574419313827] moving index [.items-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.items-default]
[00:06:49]                       └- ✖ fail: detection engine api security and spaces enabled  Detection exceptions data types and operators  Rule exception operators for data type ip "is not in list" operator will return 3 results if we have a list which contains the range syntax of "127.0.0.1-127.0.0.3"
[00:06:49]                       │      Error: expected 200 "OK", got 409 "Conflict"
[00:06:49]                       │       at Test._assertStatus (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:268:12)
[00:06:49]                       │       at Test._assertFunction (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:283:11)
[00:06:49]                       │       at Test.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:173:18)
[00:06:49]                       │       at assert (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:131:12)
[00:06:49]                       │       at /dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:128:5
[00:06:49]                       │       at Test.Request.callback (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:06:49]                       │       at /dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:06:49]                       │       at IncomingMessage.<anonymous> (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:06:49]                       │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:06:49]                       │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:06:49]                       │ 
[00:06:49]                       │ 

Stack Trace

Error: expected 200 "OK", got 409 "Conflict"
    at Test._assertStatus (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/parallel/21/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
    at /dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
    at IncomingMessage.<anonymous> (/dev/shm/workspace/parallel/21/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Metrics [docs]

✅ unchanged

History

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

@spalger spalger merged commit 1e65d0d into elastic:7.13 May 19, 2021
@spalger spalger deleted the backport/7.13/pr-99555 branch May 19, 2021 19:43
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.

2 participants