Skip to content

[7.x] [SecuritySolution] override timerange for prebuilt templates (#82468)#83453

Merged
angorayc merged 1 commit intoelastic:7.xfrom
angorayc:backport/7.x/pr-82468
Nov 16, 2020
Merged

[7.x] [SecuritySolution] override timerange for prebuilt templates (#82468)#83453
angorayc merged 1 commit intoelastic:7.xfrom
angorayc:backport/7.x/pr-82468

Conversation

@angorayc
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…#82468)

* override timerange for prebuilt templates

* add unit test

* add unit tests

* make sure it is template

* check timelineType

* overwrite prebuilt template's timerange

* update mock path

* override with relative timerange

* Update x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>

* review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
@angorayc angorayc added the backport This PR is a backport of another PR label Nov 16, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/resolver·ts.endpoint Endpoint Event Resolver Endpoint Resolver Tree Check Related Events for event.file Node

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ proc [kibana]   log   [18:36:04.618] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:04.622] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56276, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.11.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56272, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.11.0
[00:00:00]             │ proc [kibana]   log   [18:36:04.638] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:04.639] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56284, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.11.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56286, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.11.0
[00:00:00]             │ proc [kibana]   log   [18:36:04.658] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:04.660] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56294, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56292, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56302, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56304, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ proc [kibana]   log   [18:36:04.745] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56312, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [18:36:04.786] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56318, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:00]             │ proc [kibana]   log   [18:36:04.849] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56324, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56328, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ proc [kibana]   log   [18:36:04.927] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56334, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:04 source.ip: 172.17.0.1:56338, url.original: /package/system/0.7.0/
[00:00:00]             │ proc [kibana]   log   [18:36:05.147] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:05.150] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56346, url.original: /search?experimental=true&kibana.version=7.11.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56344, url.original: /search?experimental=true&kibana.version=7.11.0
[00:00:00]             │ proc [kibana]   log   [18:36:05.170] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:05.171] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:05.172] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [18:36:05.173] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56360, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56358, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56362, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56354, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56370, url.original: /package/system/0.7.0/
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56374, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56376, url.original: /package/system/0.7.0/
[00:00:00]             │ info [docker:registry] 2020/11/16 18:36:05 source.ip: 172.17.0.1:56378, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:03]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-metadata-current] for index patterns [metrics-endpoint.metadata_current_*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding component template [logs-endpoint.events.security-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:06]             │ proc [kibana]   log   [18:36:11.140] [info][ingestManager][plugins] Found previous transform references:
[00:00:06]             │ proc [kibana]  []
[00:00:06]             │ proc [kibana]   log   [18:36:11.140] [info][ingestManager][plugins] Deleting currently installed transform ids 
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ proc [kibana]   log   [18:36:11.522] [info][ingestManager][plugins] Found previous transform references:
[00:00:06]             │ proc [kibana]  []
[00:00:06]             │ proc [kibana]   log   [18:36:11.523] [info][ingestManager][plugins] Deleting currently installed transform ids 
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.transform-notifications-000002] creating index, cause [auto(bulk api)], templates [.transform-notifications-000002], shards [1]/[1]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.transform-notifications-000002]
[00:00:07]             │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] Failed to deduce mapping for [agent.id], fall back to keyword. Create the destination index with complete mappings first to avoid deducing the mappings
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [metrics-endpoint.metadata_current_default] creating index, cause [api], templates [metrics-metadata-current], shards [1]/[1]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [metrics-endpoint.metadata_current_default]
[00:00:07]             │ info [o.e.x.t.t.TransformTask] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [endpoint.metadata_current-default-0.16.0-dev.4] updating state for transform to [{"task_state":"started","indexer_state":"stopped","checkpoint":0,"should_stop_at_checkpoint":false}].
[00:00:08]             │ info [o.e.x.t.t.TransformPersistentTasksExecutor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [endpoint.metadata_current-default-0.16.0-dev.4] successfully completed and scheduled task in node operation
[00:00:08]             │ proc [kibana]   log   [18:36:13.327] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ proc [kibana]   log   [18:36:13.328] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56728, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.11.0
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56726, url.original: /package/system/0.7.0
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56732, url.original: /package/system/0.7.0/
[00:00:08]             │ proc [kibana]   log   [18:36:13.421] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ proc [kibana]   log   [18:36:13.422] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56748, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.11.0
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56746, url.original: /package/system/0.7.0
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56752, url.original: /package/system/0.7.0/
[00:00:08]             │ proc [kibana]   log   [18:36:13.497] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56756, url.original: /package/system/0.7.0
[00:00:08]             │ info [docker:registry] 2020/11/16 18:36:13 source.ip: 172.17.0.1:56760, url.original: /package/system/0.7.0/
[00:00:09]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:10]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] update_mapping [_doc]
[00:04:27]           └-: Endpoint Event Resolver
[00:04:27]             └-> "before all" hook
[00:04:27]             └-> "before all" hook
[00:04:27]               │ debg navigateToActualUrl http://localhost:61151/app/security/hosts/AllHosts
[00:04:28]               │ debg browser[INFO] http://localhost:61151/app/security/hosts/AllHosts?_t=1605552032547 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:04:28]               │
[00:04:28]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:28]               │ debg currentUrl = http://localhost:61151/app/security/hosts/AllHosts
[00:04:28]               │          appUrl = http://localhost:61151/app/security/hosts/AllHosts
[00:04:28]               │ debg TestSubjects.find(kibanaChrome)
[00:04:28]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:29]               │ debg isGlobalLoadingIndicatorVisible
[00:04:29]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:04:29]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:04:29]               │ proc [kibana]   log   [18:40:33.706] [error][data][elasticsearch] [index_not_found_exception]: no such index [filebeat-*]
[00:04:29]               │ proc [kibana]   log   [18:40:33.707] [error][data][elasticsearch] [index_not_found_exception]: no such index [endgame-*]
[00:04:29]               │ proc [kibana]   log   [18:40:33.708] [error][data][elasticsearch] [index_not_found_exception]: no such index [packetbeat-*]
[00:04:29]               │ proc [kibana]   log   [18:40:33.709] [error][data][elasticsearch] [index_not_found_exception]: no such index [apm-*-transaction*]
[00:04:29]               │ proc [kibana]   log   [18:40:33.709] [error][data][elasticsearch] [index_not_found_exception]: no such index [winlogbeat-*]
[00:04:29]               │ proc [kibana]   log   [18:40:33.710] [error][data][elasticsearch] [index_not_found_exception]: no such index [auditbeat-*]
[00:04:29]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.async-search] creating index, cause [api], templates [], shards [1]/[1]
[00:04:29]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.async-search]
[00:04:29]               │ proc [kibana]   log   [18:40:34.251] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [577], primary term [1]. current document has seqNo [578] and primary term [1]
[00:04:29]               │ proc [kibana]   log   [18:40:34.252] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [577], primary term [1]. current document has seqNo [578] and primary term [1]
[00:04:29]               │ proc [kibana]   log   [18:40:34.253] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [578], primary term [1]. current document has seqNo [579] and primary term [1]
[00:04:29]               │ proc [kibana]   log   [18:40:34.268] [info][ingestManager][plugins] Custom registry url is an experimental feature and is unsupported.
[00:04:29]               │ info [docker:registry] 2020/11/16 18:40:34 source.ip: 172.17.0.1:43000, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.11.0
[00:04:29]               │ proc [kibana]   log   [18:40:34.289] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [580], primary term [1]. current document has seqNo [581] and primary term [1]
[00:04:30]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:04:31]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:31]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:31]               │ debg TestSubjects.exists(global-banner-item)
[00:04:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="global-banner-item"]') with timeout=2500
[00:04:33]               │ debg --- retry.tryForTime error: [data-test-subj="global-banner-item"] is not displayed
[00:04:34]               │ debg Setting absolute range to Jan 1, 2018 @ 00:00:00.000 to now
[00:04:34]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:04:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:04:34]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:04:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:04:34]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:04:34]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:04:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:04:34]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:04:34]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:34]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:34]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, now)
[00:04:34]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:34]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:04:34]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:04:34]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:04:35]               │ debg Find.waitForElementStale with timeout=10000
[00:04:35]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:04:35]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:04:35]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:35]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:04:35]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:35]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:35]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:35]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Jan 1, 2018 @ 00:00:00.000)
[00:04:35]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:04:35]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:35]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:04:35]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:04:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:04:35]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:04:36]               │ debg --- retry.tryForTime failed again with the same message...
[00:04:36]               │ debg --- retry.tryForTime failed again with the same message...
[00:04:37]               │ debg --- retry.tryForTime failed again with the same message...
[00:04:37]               │ debg --- retry.tryForTime failed again with the same message...
[00:04:38]               │ debg TestSubjects.click(querySubmitButton)
[00:04:38]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:04:38]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:04:38]               │ debg Find.waitForElementStale with timeout=10000
[00:04:38]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:38]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:38]               │ proc [kibana]   log   [18:40:43.399] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [583], primary term [1]. current document has seqNo [584] and primary term [1]
[00:04:38]             └-: Endpoint Resolver Tree
[00:04:38]               └-> "before all" hook
[00:04:38]               └-> "before all" hook
[00:04:38]                 │ info [empty_kibana] Loading "mappings.json"
[00:04:38]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1/MDPWpQ5QSKKH33qJDCeCLw] deleting index
[00:04:39]                 │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:04:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:04:39]                 │ info [empty_kibana] Created index ".kibana"
[00:04:39]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:39]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana/CoA9ipLXRsSgwW3A7eNLGg] update_mapping [_doc]
[00:04:39]                 │ debg Migrating saved objects
[00:04:39]                 │ proc [kibana]   log   [18:40:43.716] [info][savedobjects-service] Creating index .kibana_2.
[00:04:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:04:39]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:39]                 │ proc [kibana]   log   [18:40:43.785] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:04:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:04:39]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:04:39]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] updating number_of_replicas to [0] for indices [.tasks]
[00:04:39]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] 14576 finished with response BulkByScrollResponse[took=1.6ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:39]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana/CoA9ipLXRsSgwW3A7eNLGg] deleting index
[00:04:39]                 │ proc [kibana]   log   [18:40:44.176] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:04:39]                 │ proc [kibana]   log   [18:40:44.182] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:04:39]                 │ proc [kibana]   log   [18:40:44.215] [info][savedobjects-service] Finished in 501ms.
[00:04:39]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:04:39]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.kibana_2/b8zQQbZPR221DKytS-u3jw] update_mapping [_doc]
[00:04:41]                 │ info [endpoint/resolver_tree/functions] Loading "data.json.gz"
[00:04:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.ds-logs-endpoint.events.file-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.events.file], shards [1]/[1]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding data stream [logs-endpoint.events.file-default]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.file-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.file-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.ds-logs-endpoint.events.security-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.events.security], shards [1]/[1]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding data stream [logs-endpoint.events.security-default]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.ds-logs-endpoint.events.process-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.events.process], shards [1]/[1]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding data stream [logs-endpoint.events.process-default]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] [.ds-logs-endpoint.events.registry-default-000001] creating index, cause [initialize_data_stream], templates [logs-endpoint.events.registry], shards [1]/[1]
[00:04:41]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] adding data stream [logs-endpoint.events.registry-default]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.file-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:04:41]                 │ info [endpoint/resolver_tree/functions] Indexed 8 docs into "logs-endpoint.events.file-default"
[00:04:41]                 │ info [endpoint/resolver_tree/functions] Indexed 3 docs into "logs-endpoint.events.process-default"
[00:04:41]                 │ info [endpoint/resolver_tree/functions] Indexed 2 docs into "logs-endpoint.events.registry-default"
[00:04:41]                 │ info [endpoint/resolver_tree/functions] Indexed 17 docs into "logs-endpoint.events.security-default"
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.security-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:04:41]                 │ debg TestSubjects.exists(investigate-in-resolver-button)
[00:04:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="investigate-in-resolver-button"]') with timeout=400
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.process-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.registry-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.security-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.process-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.registry-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.security-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.process-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:04:41]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1605547861507020463] moving index [.ds-logs-endpoint.events.registry-default-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [logs]
[00:04:41]                 │ debg --- retry.tryForTime error: [data-test-subj="investigate-in-resolver-button"] is not displayed
[00:04:42]                 │ debg TestSubjects.find(navigation-hosts)
[00:04:42]                 │ debg Find.findByCssSelector('[data-test-subj="navigation-hosts"]') with timeout=10000
[00:04:42]                 │ debg TestSubjects.click(navigation-events)
[00:04:42]                 │ debg Find.clickByCssSelector('[data-test-subj="navigation-events"]') with timeout=10000
[00:04:42]                 │ debg Find.findByCssSelector('[data-test-subj="navigation-events"]') with timeout=10000
[00:04:42]                 │ proc [kibana]   log   [18:40:47.399] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, document already exists (current version [1])
[00:04:42]                 │ proc [kibana]   log   [18:40:47.412] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [3], primary term [1]. current document has seqNo [4] and primary term [1]
[00:04:42]                 │ proc [kibana]   log   [18:40:47.413] [error][data][elasticsearch] [version_conflict_engine_exception]: [search-telemetry:search-telemetry]: version conflict, required seqNo [3], primary term [1]. current document has seqNo [4] and primary term [1]
[00:04:43]                 │ debg TestSubjects.exists(event)
[00:04:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="event"]') with timeout=120000
[00:04:44]                 │ debg QueryBar.setQuery(event.dataset : endpoint.events.file)
[00:04:44]                 │ debg TestSubjects.click(queryInput)
[00:04:44]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:04:44]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:04:45]                 │ debg TestSubjects.getAttribute(queryInput, value, tryTimeout=120000, findTimeout=10000)
[00:04:45]                 │ debg TestSubjects.find(queryInput)
[00:04:45]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:04:45]                 │ debg QueryBar.submitQuery
[00:04:45]                 │ debg TestSubjects.click(queryInput)
[00:04:45]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:04:45]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:04:45]                 │ debg isGlobalLoadingIndicatorVisible
[00:04:45]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:04:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:04:46]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:04:47]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:04:47]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:04:47]                 │ debg TestSubjects.click(full-screen)
[00:04:47]                 │ debg Find.clickByCssSelector('[data-test-subj="full-screen"]') with timeout=10000
[00:04:47]                 │ debg Find.findByCssSelector('[data-test-subj="full-screen"]') with timeout=10000
[00:04:47]                 │ debg TestSubjects.click(investigate-in-resolver-button)
[00:04:47]                 │ debg Find.clickByCssSelector('[data-test-subj="investigate-in-resolver-button"]') with timeout=10000
[00:04:47]                 │ debg Find.findByCssSelector('[data-test-subj="investigate-in-resolver-button"]') with timeout=10000
[00:04:47]                 │ debg TestSubjects.click(full-screen)
[00:04:47]                 │ debg Find.clickByCssSelector('[data-test-subj="full-screen"]') with timeout=10000
[00:04:47]                 │ debg Find.findByCssSelector('[data-test-subj="full-screen"]') with timeout=10000
[00:04:48]               └-> check that Resolver and Data table is loaded
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 │ debg TestSubjects.exists(resolver:graph)
[00:04:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:graph"]') with timeout=120000
[00:04:48]                 │ debg TestSubjects.exists(tableHeaderCell_name_0)
[00:04:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tableHeaderCell_name_0"]') with timeout=120000
[00:04:48]                 │ debg TestSubjects.exists(tableHeaderCell_timestamp_1)
[00:04:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tableHeaderCell_timestamp_1"]') with timeout=120000
[00:04:48]                 └- ✓ pass  (294ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree check that Resolver and Data table is loaded"
[00:04:48]               └-> compare resolver Nodes Table data and Data length
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 │ debg TestSubjects.findAll(resolver:node-list:node-link:title)
[00:04:48]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node-list:node-link:title"]') with timeout=10000
[00:04:48]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-out)
[00:04:48]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-out"]') with timeout=10000
[00:04:48]                 │ debg TestSubjects.findAll(resolver:node:primary-button)
[00:04:48]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node:primary-button"]') with timeout=10000
[00:04:48]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-in)
[00:04:48]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-in"]') with timeout=10000
[00:04:48]                 └- ✓ pass  (517ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree compare resolver Nodes Table data and Data length"
[00:04:48]               └-> resolver Nodes navigation Up
[00:04:48]                 └-> "before each" hook: global before each
[00:04:48]                 │ debg TestSubjects.exists(resolver:node)
[00:04:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:48]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:48]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.find(resolver:graph-controls:north-button)
[00:04:49]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:north-button"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.exists(resolver:node)
[00:04:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:49]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:49]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.find(resolver:graph-controls:center-button)
[00:04:49]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:center-button"]') with timeout=10000
[00:04:49]                 └- ✓ pass  (546ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation Up"
[00:04:49]               └-> resolver Nodes navigation Down
[00:04:49]                 └-> "before each" hook: global before each
[00:04:49]                 │ debg TestSubjects.exists(resolver:node)
[00:04:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:49]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:49]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.find(resolver:graph-controls:south-button)
[00:04:49]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:south-button"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.exists(resolver:node)
[00:04:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:49]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:49]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:49]                 │ debg TestSubjects.find(resolver:graph-controls:center-button)
[00:04:49]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:center-button"]') with timeout=10000
[00:04:49]                 └- ✓ pass  (484ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation Down"
[00:04:49]               └-> resolver Nodes navigation Left
[00:04:49]                 └-> "before each" hook: global before each
[00:04:49]                 │ debg TestSubjects.exists(resolver:node)
[00:04:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:49]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:49]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.find(resolver:graph-controls:east-button)
[00:04:50]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:east-button"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.exists(resolver:node)
[00:04:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:50]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:50]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.find(resolver:graph-controls:center-button)
[00:04:50]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:center-button"]') with timeout=10000
[00:04:50]                 └- ✓ pass  (477ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation Left"
[00:04:50]               └-> resolver Nodes navigation Right
[00:04:50]                 └-> "before each" hook: global before each
[00:04:50]                 │ debg TestSubjects.exists(resolver:node)
[00:04:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:50]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:50]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.click(resolver:graph-controls:west-button)
[00:04:50]                 │ debg Find.clickByCssSelector('[data-test-subj="resolver:graph-controls:west-button"]') with timeout=10000
[00:04:50]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:west-button"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.exists(resolver:node)
[00:04:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:50]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:50]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.find(resolver:graph-controls:center-button)
[00:04:50]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:center-button"]') with timeout=10000
[00:04:50]                 └- ✓ pass  (455ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation Right"
[00:04:50]               └-> resolver Nodes navigation Center
[00:04:50]                 └-> "before each" hook: global before each
[00:04:50]                 │ debg TestSubjects.exists(resolver:node)
[00:04:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:50]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:50]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:50]                 │ debg TestSubjects.find(resolver:graph-controls:east-button)
[00:04:50]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:east-button"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.find(resolver:graph-controls:south-button)
[00:04:51]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:south-button"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.exists(resolver:node)
[00:04:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:51]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:51]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.find(resolver:graph-controls:center-button)
[00:04:51]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:center-button"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.exists(resolver:node)
[00:04:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:51]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:51]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:51]                 └- ✓ pass  (744ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation Center"
[00:04:51]               └-> resolver Nodes navigation zoom in
[00:04:51]                 └-> "before each" hook: global before each
[00:04:51]                 │ debg TestSubjects.exists(resolver:node)
[00:04:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:51]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:51]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-in)
[00:04:51]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-in"]') with timeout=10000
[00:04:51]                 │ debg TestSubjects.exists(resolver:node)
[00:04:51]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:51]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:51]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:52]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-out)
[00:04:52]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-out"]') with timeout=10000
[00:04:52]                 └- ✓ pass  (507ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation zoom in"
[00:04:52]               └-> resolver Nodes navigation zoom out
[00:04:52]                 └-> "before each" hook: global before each
[00:04:52]                 │ debg TestSubjects.exists(resolver:node)
[00:04:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:52]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:52]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:52]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-out)
[00:04:52]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-out"]') with timeout=10000
[00:04:52]                 │ debg TestSubjects.exists(resolver:node)
[00:04:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:node"]') with timeout=2500
[00:04:52]                 │ debg TestSubjects.findAll(resolver:node)
[00:04:52]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:node"]') with timeout=10000
[00:04:52]                 │ debg TestSubjects.find(resolver:graph-controls:zoom-in)
[00:04:52]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:graph-controls:zoom-in"]') with timeout=10000
[00:04:52]                 └- ✓ pass  (415ms) "endpoint Endpoint Event Resolver Endpoint Resolver Tree resolver Nodes navigation zoom out"
[00:04:52]               └-> Check Related Events for event.file Node
[00:04:52]                 └-> "before each" hook: global before each
[00:04:52]                 │ debg TestSubjects.exists(resolver:submenu:button)
[00:04:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:submenu:button"]') with timeout=400
[00:04:52]                 │ debg --- retry.tryForTime error: [data-test-subj="resolver:submenu:button"] is not displayed
[00:04:53]                 │ debg TestSubjects.findAll(resolver:submenu:button)
[00:04:53]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:submenu:button"]') with timeout=10000
[00:05:03]                 │ debg TestSubjects.exists(resolver:map:node-submenu-item)
[00:05:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="resolver:map:node-submenu-item"]') with timeout=400
[00:05:03]                 │ debg TestSubjects.findAll(resolver:map:node-submenu-item)
[00:05:03]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:map:node-submenu-item"]') with timeout=10000
[00:05:03]                 │ debg TestSubjects.findAll(resolver:map:node-submenu-item)
[00:05:03]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:map:node-submenu-item"]') with timeout=10000
[00:05:03]                 │ debg TestSubjects.findAll(resolver:map:node-submenu-item)
[00:05:03]                 │ debg Find.allByCssSelector('[data-test-subj="resolver:map:node-submenu-item"]') with timeout=10000
[00:05:03]                 │ debg TestSubjects.find(resolver:breadcrumbs:last)
[00:05:03]                 │ debg Find.findByCssSelector('[data-test-subj="resolver:breadcrumbs:last"]') with timeout=10000
[00:05:04]                 │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/endpoint Endpoint Event Resolver Endpoint Resolver Tree Check Related Events for event_file Node.png"
[00:05:04]                 │ info Current URL is: http://localhost:61151/app/security/hosts/events?sourcerer=(default%3A!('logs-*'))&timerange=(global%3A(linkTo%3A!(timeline)%2Ctimerange%3A(from%3A'2018-01-01T00%3A00%3A00.000Z'%2Ckind%3Aabsolute%2Cto%3A'2020-11-16T18%3A40%3A39.154Z'))%2Ctimeline%3A(linkTo%3A!(global)%2Ctimerange%3A(from%3A'2018-01-01T00%3A00%3A00.000Z'%2Ckind%3Aabsolute%2Cto%3A'2020-11-16T18%3A40%3A39.154Z')))&query=(language%3Akuery%2Cquery%3A'event.dataset%20%3A%20endpoint.events.file')&resolver-hosts-page-events=(panelParameters%3A(eventCategory%3Aauthentication%2CnodeID%3AMmU5YjYzZWItMzM1Yy00ZWE0LTk0MzEtZjM0NTgzMWU4OTVhLTYyOC0xMzIzODcxOTk5NS40MjgyMTUwMA%3D%3D)%2CpanelView%3AnodeEventsInCategory)
[00:05:04]                 │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/endpoint Endpoint Event Resolver Endpoint Resolver Tree Check Related Events for event_file Node.html
[00:05:04]                 └- ✖ fail: endpoint Endpoint Event Resolver Endpoint Resolver Tree Check Related Events for event.file Node
[00:05:04]                 │      StaleElementReferenceError: stale element reference: element is not attached to the page document
[00:05:04]                 │   (Session info: headless chrome=86.0.4240.198)
[00:05:04]                 │       at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:05:04]                 │       at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:05:04]                 │       at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:05:04]                 │       at runMicrotasks (<anonymous>)
[00:05:04]                 │       at processTicksAndRejections (internal/process/task_queues.js:97:5)
[00:05:04]                 │       at Task.exec (/dev/shm/workspace/parallel/15/kibana/test/functional/services/remote/prevent_parallel_calls.ts:40:22)
[00:05:04]                 │ 
[00:05:04]                 │ 

Stack Trace

StaleElementReferenceError: stale element reference: element is not attached to the page document
  (Session info: headless chrome=86.0.4240.198)
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at Task.exec (/dev/shm/workspace/parallel/15/kibana/test/functional/services/remote/prevent_parallel_calls.ts:40:22) {
  remoteStacktrace: '#0 0x564baf11cd99 <unknown>\n'
}

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 7.9MB 7.9MB +1.6KB

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

@angorayc angorayc merged commit 2e9fa46 into elastic:7.x Nov 16, 2020
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