Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] fix tests and enable in CI (#75313) #75484

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

stephmilovic
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
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 failed 1 times on tracked branches: https://github.com/elastic/kibana/issues/75361

[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-1597864645963621402] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33688, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33690, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33696, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33698, url.original: /search?package=endpoint&internal=true&experimental=true&kibana.version=7.10.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33706, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33708, url.original: /package/endpoint/0.13.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33714, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33716, url.original: /package/endpoint/0.13.0/
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33724, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33730, url.original: /epr/endpoint/endpoint-0.13.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33736, url.original: /package/endpoint/0.13.0
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33740, url.original: /package/endpoint/0.13.0/
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33748, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/08/19 20:39:26 source.ip: 172.17.0.1:33752, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33776, url.original: /search?kibana.version=7.10.0
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33774, url.original: /search?kibana.version=7.10.0
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33794, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33790, url.original: /package/endpoint/0.13.0
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33788, url.original: /package/endpoint/0.13.0
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33792, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33810, url.original: /package/endpoint/0.13.0/
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33804, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33808, url.original: /package/endpoint/0.13.0/
[00:00:01]             │ info [docker:registry] 2020/08/19 20:39:27 source.ip: 172.17.0.1:33806, url.original: /package/system/0.5.3/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] [.kibana_1/9yzYDOu2QjaeoxXeGVl2WA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] [.kibana_1/9yzYDOu2QjaeoxXeGVl2WA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] [.kibana_1/9yzYDOu2QjaeoxXeGVl2WA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] [.kibana_1/9yzYDOu2QjaeoxXeGVl2WA] update_mapping [_doc]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding component template [logs-endpoint.events.process-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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-18-tests-xxl-1597864645963621402] 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-18-tests-xxl-1597864645963621402] 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-1597864645963621402] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] 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-1597864645963621402] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33936, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33938, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33942, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33962, url.original: /search?package=system&internal=true&experimental=true&kibana.version=7.10.0
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33960, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33966, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33972, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/08/19 20:39:33 source.ip: 172.17.0.1:33976, 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-1597864645963621402] added role [fleet_enroll]
[00:00:09]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] 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-1597864645963621402] [.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-1597864645963621402] adding data stream [metrics-endpoint.metadata-default]
[00:00:11]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1597864645963621402] 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-1597864645963621402] 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-1597864645963621402] 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:61161/app/security/administration/endpoints
[00:00:12]                 │ debg browser[INFO] http://localhost:61161/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1597869578136 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:61161/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:61161/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1597869578136
[00:00:12]                 │          appUrl = http://localhost:61161/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:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-19T20:39:39Z
[00:00:14]                 │        Adding connection to http://localhost:61161/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   [20:39:41.684] [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:19]                 │ debg browser[INFO] http://localhost:61161/app/security/administration/endpoints?_t=1597869578136 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:19]                 │
[00:00:19]                 │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:19]                 │ debg browser[INFO] http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-19T20:39:44Z
[00:00:19]                 │        Adding connection to http://localhost:61161/elasticsearch
[00:00:19]                 │
[00:00:19]                 │      "
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:61161/34212/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:1627543 TypeError: Failed to fetch
[00:00:20]                 │          at Fetch._callee3$ (http://localhost:61161/34212/bundles/core/core.entry.js:34:105310)
[00:00:20]                 │          at l (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164562)
[00:00:20]                 │          at Generator._invoke (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164315)
[00:00:20]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164919)
[00:00:20]                 │          at fetch_asyncGeneratorStep (http://localhost:61161/34212/bundles/core/core.entry.js:34:99403)
[00:00:20]                 │          at _throw (http://localhost:61161/34212/bundles/core/core.entry.js:34:99811)
[00:00:20]                 │ERROR browser[SEVERE] http://localhost:61161/34212/bundles/plugin/securitySolution/securitySolution.chunk.5.js 2:1627543 TypeError: Failed to fetch
[00:00:20]                 │          at Fetch._callee3$ (http://localhost:61161/34212/bundles/core/core.entry.js:34:105310)
[00:00:20]                 │          at l (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164562)
[00:00:20]                 │          at Generator._invoke (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164315)
[00:00:20]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:164919)
[00:00:20]                 │          at fetch_asyncGeneratorStep (http://localhost:61161/34212/bundles/core/core.entry.js:34:99403)
[00:00:20]                 │          at _throw (http://localhost:61161/34212/bundles/core/core.entry.js:34:99811)
[00:00:20]                 │ debg browser[INFO] http://localhost:61161/app/security/administration/endpoints?_t=1597869585403 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:61161/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:61161/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:61161/34212/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-19T20:39:47Z
[00:00:21]                 │        Adding connection to http://localhost:61161/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/19 20:39:48 source.ip: 172.17.0.1:34284, url.original: /search?category=security&kibana.version=7.10.0
[00:00:22]                 │ proc [kibana]   log   [20:39:48.908] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:22]                 │ proc [kibana]   log   [20:39:48.909] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:22]                 │ proc [kibana]   log   [20:39:48.910] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:22]                 │ proc [kibana]   log   [20:39:48.917] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:22]                 │ proc [kibana]   log   [20:39:48.917] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:22]                 │ proc [kibana]   log   [20:39:48.918] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:22]                 │ info [docker:registry] 2020/08/19 20:39:48 source.ip: 172.17.0.1:34288, url.original: /search?category=security&kibana.version=7.10.0
[00:00:22]                 │ERROR browser[SEVERE] http://localhost:61161/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(header-page-title)
[00:00:22]                 │ debg TestSubjects.find(header-page-title)
[00:00:22]                 │ debg Find.findByCssSelector('[data-test-subj="header-page-title"]') with timeout=10000
[00:00:22]                 └- ✓ pass  (31ms) "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:23]                 │ debg TestSubjects.find(endpointListTable)
[00:00:23]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:23]                 └- ✓ pass  (84ms) "endpoint endpoint list when there is data, displays table data"
[00:00:23]               └-> does not show the details flyout initially
[00:00:23]                 └-> "before each" hook: global before each
[00:00:23]                 │ debg TestSubjects.missingOrFail(endpointDetailsFlyout)
[00:00:23]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="endpointDetailsFlyout"]') with timeout=2500
[00:00:23]                 └- ✓ pass  (530ms) "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   [20:39:49.921] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:23]                   │ proc [kibana]   log   [20:39:49.926] [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  (245ms) "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:61161/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   [20:39:50.186] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:24]                   │ proc [kibana]   log   [20:39:50.193] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 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]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:24]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:24]                   │ debg Waiting up to 2000ms for visible text to change...
[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]                   │ERROR browser[SEVERE] http://localhost:61161/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:24]                   │ proc [kibana]   log   [20:39:50.402] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 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]                   │ proc [kibana]   log   [20:39:50.407] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   └- ✓ pass  (423ms) "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:24]                 └-> has the same flyout info when the same hostname is selected
[00:00:24]                   └-> "before each" hook: global before each
[00:00:24]                   │ debg TestSubjects.findAll(hostnameCellLink)
[00:00:24]                   │ debg Find.allByCssSelector('[data-test-subj="hostnameCellLink"]') with timeout=10000
[00:00:24]                   │ debg TestSubjects.exists(endpointDetailsFlyoutTitle)
[00:00:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=120000
[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]                   │ERROR browser[SEVERE] http://localhost:61161/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   [20:39:50.608] [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]                   │ proc [kibana]   log   [20:39:50.613] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:61161/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   [20:39:50.783] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ proc [kibana]   log   [20:39:50.789] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:61161/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:25]                   │ debg TestSubjects.getVisibleText(endpointDetailsFlyoutTitle)
[00:00:25]                   │ debg TestSubjects.find(endpointDetailsFlyoutTitle)
[00:00:25]                   │ debg Find.findByCssSelector('[data-test-subj="endpointDetailsFlyoutTitle"]') with timeout=10000
[00:00:25]                   │ info Taking screenshot "/dev/shm/workspace/parallel/16/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:25]                   │ info Current URL is: http://localhost:61161/app/security/administration/endpoints?page_index=0&page_size=10&selected_endpoint=2f735e3d-be14-483b-9822-bad06e9045ca&show=
[00:00:25]                   │ info Saving page source to: /dev/shm/workspace/parallel/16/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:25]                   └- ✖ 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:25]                   │      Error: expected 'thurlow-9.example.com' to equal ''
[00:00:25]                   │       at Assertion.assert (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:100:11)
[00:00:25]                   │       at Assertion.equal (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:227:8)
[00:00:25]                   │       at Context.it (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:124:45)
[00:00:25]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:25]                   │ 
[00:00:25]                   │ 

Stack Trace

Error: expected 'thurlow-9.example.com' to equal ''
    at Assertion.assert (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.equal (/dev/shm/workspace/parallel/16/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

✅ unchanged

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

@stephmilovic stephmilovic merged commit 69d6ab3 into elastic:7.x Aug 20, 2020
@stephmilovic stephmilovic deleted the backport/7.x/pr-75313 branch August 20, 2020 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants