Skip to content

[7.x] Clarify no documents error message when filtering by is_training (#75227)#75286

Merged
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-75227
Aug 18, 2020
Merged

[7.x] Clarify no documents error message when filtering by is_training (#75227)#75286
alvarezmelissa87 merged 1 commit intoelastic:7.xfrom
alvarezmelissa87:backport/7.x/pr-75227

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

@alvarezmelissa87 alvarezmelissa87 added backport This PR is a backport of another PR :ml labels Aug 18, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@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/endpoint_list·ts.endpoint endpoint list when there is data, when the hostname is clicked on, has the same flyout info when the same hostname is selected

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]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44442, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44440, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44450, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44448, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44458, url.original: /package/endpoint/0.13.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44456, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44464, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44466, url.original: /package/endpoint/0.13.0/
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44470, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44474, url.original: /epr/endpoint/endpoint-0.13.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44478, url.original: /package/endpoint/0.13.0
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:39 source.ip: 172.17.0.1:44482, url.original: /package/endpoint/0.13.0/
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:40 source.ip: 172.17.0.1:44486, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/08/18 14:19:40 source.ip: 172.17.0.1:44490, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44504, url.original: /search?kibana.version=7.10.0
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44506, url.original: /search?kibana.version=7.10.0
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44518, url.original: /package/endpoint/0.13.0
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44522, url.original: /package/endpoint/0.13.0
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44520, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44516, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44538, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44532, url.original: /package/endpoint/0.13.0/
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44536, url.original: /package/endpoint/0.13.0/
[00:00:01]             │ info [docker:registry] 2020/08/18 14:19:41 source.ip: 172.17.0.1:44534, url.original: /package/system/0.5.3/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [.kibana_1/GZX2aqnOTRS9CQVJQSlJzQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [.kibana_1/GZX2aqnOTRS9CQVJQSlJzQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [.kibana_1/GZX2aqnOTRS9CQVJQSlJzQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [.kibana_1/GZX2aqnOTRS9CQVJQSlJzQ] update_mapping [_doc]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [logs-endpoint.events.registry-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding component template [metrics-endpoint.metrics-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] 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-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44646, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44648, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44652, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44660, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44658, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44664, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44670, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/18 14:19:47 source.ip: 172.17.0.1:44674, url.original: /package/system/0.5.3/
[00:00:09]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] added role [fleet_enroll]
[00:00:09]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] added user [fleet_enroll]
[00:00:11]           └-: endpoint list
[00:00:11]             └-> "before all" hook
[00:00:11]             └-: when there is data,
[00:00:11]               └-> "before all" hook
[00:00:11]               └-> "before all" hook
[00:00:11]                 │ info [endpoint/metadata/api_feature] Loading "data.json"
[00:00:11]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] [.ds-metrics-endpoint.metadata-default-000001] creating index, cause [initialize_data_stream], templates [metrics-endpoint.metadata], shards [1]/[1]
[00:00:11]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] adding data stream [metrics-endpoint.metadata-default]
[00:00:11]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] moving index [.ds-metrics-endpoint.metadata-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [metrics]
[00:00:11]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] moving index [.ds-metrics-endpoint.metadata-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [metrics]
[00:00:11]                 │ info [endpoint/metadata/api_feature] Indexed 9 docs into "metrics-endpoint.metadata-default"
[00:00:11]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597755627782279274] moving index [.ds-metrics-endpoint.metadata-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 [metrics]
[00:00:11]                 │ debg navigateToActualUrl http://localhost:6171/app/security/administration/endpoints
[00:00:12]                 │ debg browser[INFO] http://localhost:6171/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1597760391628 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:00:12]                 │
[00:00:12]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:12]                 │ debg currentUrl = http://localhost:6171/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1597760391628
[00:00:12]                 │          appUrl = http://localhost:6171/app/security/administration/endpoints
[00:00:12]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:12]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:14]                 │ debg browser[INFO] http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-18T14:19:53Z
[00:00:14]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:00:14]                 │
[00:00:14]                 │      "
[00:00:15]                 │ debg Found login page
[00:00:15]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:15]                 │ debg TestSubjects.click(loginUsername)
[00:00:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:15]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:15]                 │ debg TestSubjects.click(loginPassword)
[00:00:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:15]                 │ debg TestSubjects.click(loginSubmit)
[00:00:15]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:15]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:15]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:15]                 │ proc [kibana]   log   [14:19:55.148] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:16]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:18]                 │ debg browser[INFO] http://localhost:6171/app/security/administration/endpoints?_t=1597760391628 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:00:18]                 │
[00:00:18]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:18]                 │ debg browser[INFO] http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-18T14:19:57Z
[00:00:18]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:00:18]                 │
[00:00:18]                 │      "
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:6171/34163/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:1627305 TypeError: Failed to fetch
[00:00:20]                 │          at Fetch._callee3$ (http://localhost:6171/34163/bundles/core/core.entry.js:34:105310)
[00:00:20]                 │          at l (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164562)
[00:00:20]                 │          at Generator._invoke (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164315)
[00:00:20]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164919)
[00:00:20]                 │          at fetch_asyncGeneratorStep (http://localhost:6171/34163/bundles/core/core.entry.js:34:99403)
[00:00:20]                 │          at _throw (http://localhost:6171/34163/bundles/core/core.entry.js:34:99811)
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:6171/34163/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:1627305 TypeError: Failed to fetch
[00:00:20]                 │          at Fetch._callee3$ (http://localhost:6171/34163/bundles/core/core.entry.js:34:105310)
[00:00:20]                 │          at l (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164562)
[00:00:20]                 │          at Generator._invoke (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164315)
[00:00:20]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164919)
[00:00:20]                 │          at fetch_asyncGeneratorStep (http://localhost:6171/34163/bundles/core/core.entry.js:34:99403)
[00:00:20]                 │          at _throw (http://localhost:6171/34163/bundles/core/core.entry.js:34:99811)
[00:00:20]                 │ debg browser[INFO] http://localhost:6171/app/security/administration/endpoints?_t=1597760398619 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:00:20]                 │
[00:00:20]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:20]                 │ debg Finished login process currentUrl = http://localhost:6171/app/security/administration/endpoints
[00:00:20]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:20]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:21]                 │ debg browser[INFO] http://localhost:6171/34163/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-18T14:20:00Z
[00:00:21]                 │        Adding connection to http://localhost:6171/elasticsearch
[00:00:21]                 │
[00:00:21]                 │      "
[00:00:21]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:22]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:22]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:22]                 │ info [docker:registry] 2020/08/18 14:20:01 source.ip: 172.17.0.1:44820, url.original: /search?category=security&kibana.version=7.10.0
[00:00:22]                 │ proc [kibana]   log   [14:20:01.993] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:22]                 │ proc [kibana]   log   [14:20:01.994] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:22]                 │ proc [kibana]   log   [14:20:01.995] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:22]                 │ proc [kibana]   log   [14:20:01.996] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:22]                 │ proc [kibana]   log   [14:20:01.997] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:22]                 │ proc [kibana]   log   [14:20:01.997] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:22]                 │ info [docker:registry] 2020/08/18 14:20:02 source.ip: 172.17.0.1:44824, url.original: /search?category=security&kibana.version=7.10.0
[00:00:22]                 │ERROR browser[SEVERE] http://localhost:6171/api/detection_engine/index - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:22]               └-> finds page title
[00:00:22]                 └-> "before each" hook: global before each
[00:00:22]                 │ debg TestSubjects.getVisibleText(pageViewHeaderLeftTitle)
[00:00:22]                 │ debg TestSubjects.find(pageViewHeaderLeftTitle)
[00:00:22]                 │ debg Find.findByCssSelector('[data-test-subj="pageViewHeaderLeftTitle"]') with timeout=10000
[00:00:22]                 └- ✓ pass  (29ms) "endpoint endpoint list when there is data, finds page title"
[00:00:22]               └-> displays table data
[00:00:22]                 └-> "before each" hook: global before each
[00:00:22]                 │ debg TestSubjects.exists(endpointListTable)
[00:00:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointListTable"]') with timeout=2500
[00:00:22]                 │ debg TestSubjects.find(endpointListTable)
[00:00:22]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:22]                 └- ✓ pass  (74ms) "endpoint endpoint list when there is data, displays table data"
[00:00:22]               └-> does not show the details flyout initially
[00:00:22]                 └-> "before each" hook: global before each
[00:00:22]                 │ debg TestSubjects.missingOrFail(endpointDetailsFlyout)
[00:00:22]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="endpointDetailsFlyout"]') with timeout=2500
[00:00:23]                 └- ✓ pass  (525ms) "endpoint endpoint list when there is data, does not show the details flyout initially"
[00:00:23]               └-: when the hostname is clicked on,
[00:00:23]                 └-> "before all" hook
[00:00:23]                 └-> display the details flyout
[00:00:23]                   └-> "before each" hook: global before each
[00:00:23]                   │ debg TestSubjects.find(hostnameCellLink)
[00:00:23]                   │ debg Find.findByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:23]                   │ debg TestSubjects.exists(endpointDetailsUpperList)
[00:00:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointDetailsUpperList"]') with timeout=120000
[00:00:23]                   │ proc [kibana]   log   [14:20:02.948] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:23]                   │ proc [kibana]   log   [14:20:02.953] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:23]                   │ debg TestSubjects.exists(endpointDetailsLowerList)
[00:00:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointDetailsLowerList"]') with timeout=120000
[00:00:23]                   └- ✓ pass  (241ms) "endpoint endpoint list when there is data, when the hostname is clicked on, display the details flyout"
[00:00:23]                 └-> updates the details flyout when a new hostname is selected from the list
[00:00:23]                   └-> "before each" hook: global before each
[00:00:23]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:23]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:23]                   │ debg TestSubjects.exists(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=120000
[00:00:23]                   │ERROR browser[SEVERE] http://localhost:6171/api/endpoint/policy_response?hostId=1fb3e58f-6ab0-4406-9d2a-91911207a712 - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:23]                   │ proc [kibana]   log   [14:20:03.203] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:23]                   │ proc [kibana]   log   [14:20:03.209] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:23]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:23]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:23]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:23]                   │ERROR browser[SEVERE] http://localhost:6171/api/endpoint/policy_response?hostId=1fb3e58f-6ab0-4406-9d2a-91911207a712 - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:23]                   │ debg Waiting up to 2000ms for visible text to change...
[00:00:23]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:23]                   │ proc [kibana]   log   [14:20:03.419] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:23]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:23]                   │ proc [kibana]   log   [14:20:03.424] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:23]                   └- ✓ pass  (411ms) "endpoint endpoint list when there is data, when the hostname is clicked on, updates the details flyout when a new hostname is selected from the list"
[00:00:23]                 └-> has the same flyout info when the same hostname is selected
[00:00:23]                   └-> "before each" hook: global before each
[00:00:23]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:23]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:23]                   │ERROR browser[SEVERE] http://localhost:6171/api/endpoint/policy_response?hostId=2f735e3d-be14-483b-9822-bad06e9045ca - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:23]                   │ debg TestSubjects.exists(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=120000
[00:00:23]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:23]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:23]                   │ proc [kibana]   log   [14:20:03.632] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:23]                   │ proc [kibana]   log   [14:20:03.637] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:24]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:6171/api/endpoint/policy_response?hostId=2f735e3d-be14-483b-9822-bad06e9045ca - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                   │ proc [kibana]   log   [14:20:03.810] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ proc [kibana]   log   [14:20:03.816] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:6171/api/endpoint/policy_response?hostId=2f735e3d-be14-483b-9822-bad06e9045ca - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:00:24]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:24]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:24]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:24]                   │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list when there is data_ when the hostname is clicked on_ has the same flyout info when the same hostname is selected.png"
[00:00:24]                   │ info Current URL is: http://localhost:6171/app/security/administration/endpoints?page_index=0&page_size=10&selected_endpoint=2f735e3d-be14-483b-9822-bad06e9045ca&show=
[00:00:24]                   │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list when there is data_ when the hostname is clicked on_ has the same flyout info when the same hostname is selected.html
[00:00:24]                   └- ✖ fail: endpoint endpoint list when there is data, when the hostname is clicked on, has the same flyout info when the same hostname is selected
[00:00:24]                   │      Error: expected 'thurlow-9.example.com' to equal ''
[00:00:24]                   │       at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/packages/kbn-expect/expect.js:100:11)
[00:00:24]                   │       at Assertion.equal (/dev/shm/workspace/parallel/7/kibana/packages/kbn-expect/expect.js:227:8)
[00:00:24]                   │       at Context.it (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:124:45)
[00:00:24]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:24]                   │ 
[00:00:24]                   │ 

Stack Trace

Error: expected 'thurlow-9.example.com' to equal ''
    at Assertion.assert (/dev/shm/workspace/parallel/7/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/parallel/7/kibana/packages/kbn-expect/expect.js:227:8)
    at Context.it (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:124:45)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Build metrics

async chunks size

id value diff baseline
ml 8.0MB +1.1KB 8.0MB

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

@alvarezmelissa87 alvarezmelissa87 merged commit 4d2bc51 into elastic:7.x Aug 18, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-75227 branch August 18, 2020 15:59
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 :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants