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

Fix long tasks query #79099

Merged
merged 7 commits into from
Oct 1, 2020
Merged

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Oct 1, 2020

Summary

Fixed long task query to use newly added fields in rum agent elastic/apm-agent-rum-js#900

Tested locally against kibana by upgrading rum agent

Testing:

Long task data isn't yet deployed to elastic.co , so you will have to run rum against local kibana.

image

@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 displays the correct table data for the kql queries for the kql query: HostDetails.Endpoint.policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", table shows 2 items

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54782, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54776, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54790, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54792, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54798, url.original: /package/system/0.6.0
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54806, url.original: /package/endpoint/0.16.0-dev.2
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54804, url.original: /package/system/0.6.0/
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54810, url.original: /package/endpoint/0.16.0-dev.2/
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54820, url.original: /epr/system/system-0.6.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54824, url.original: /epr/endpoint/endpoint-0.16.0-dev.2.zip
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54830, url.original: /package/endpoint/0.16.0-dev.2
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54834, url.original: /package/endpoint/0.16.0-dev.2/
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54840, url.original: /package/system/0.6.0
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:21 source.ip: 172.17.0.1:54844, url.original: /package/system/0.6.0/
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54858, url.original: /search
[00:00:00]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54860, url.original: /search
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54870, url.original: /package/endpoint/0.16.0-dev.2
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54872, url.original: /package/endpoint/0.16.0-dev.2
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54874, url.original: /package/system/0.6.0
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54876, url.original: /package/system/0.6.0
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54886, url.original: /package/endpoint/0.16.0-dev.2/
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54890, url.original: /package/system/0.6.0/
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54892, url.original: /package/endpoint/0.16.0-dev.2/
[00:00:01]             │ info [docker:registry] 2020/10/01 14:01:22 source.ip: 172.17.0.1:54888, url.original: /package/system/0.6.0/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:03]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] 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-1601556720969022814] 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-1601556720969022814] 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-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] 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-1601556720969022814] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.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-18-tests-xxl-1601556720969022814] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.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-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] [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-18-tests-xxl-1601556720969022814] 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-18-tests-xxl-1601556720969022814] [endpoint.metadata_current-default-0.16.0-dev.2] updating state for transform to [{"task_state":"started","indexer_state":"stopped","checkpoint":0,"should_stop_at_checkpoint":false}].
[00:00:07]             │ info [o.e.x.t.t.TransformPersistentTasksExecutor] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [endpoint.metadata_current-default-0.16.0-dev.2] successfully completed and scheduled task in node operation
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55310, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55312, url.original: /package/system/0.6.0
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55316, url.original: /package/system/0.6.0/
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55336, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55338, url.original: /package/system/0.6.0
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55342, url.original: /package/system/0.6.0/
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55350, url.original: /package/system/0.6.0
[00:00:08]             │ info [docker:registry] 2020/10/01 14:01:29 source.ip: 172.17.0.1:55354, url.original: /package/system/0.6.0/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:10]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:13]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1601556720969022814] [.kibana_1/ldTrUTMGSGSgAXhxkRwALQ] update_mapping [_doc]
[00:00:14]           └-: endpoint list
[00:00:14]             └-> "before all" hook
[00:00:38]             └-: displays the correct table data for the kql queries
[00:00:38]               └-> "before all" hook
[00:00:38]               └-> "before all" hook
[00:00:38]                 │ info [endpoint/metadata/destination_index] Loading "data.json"
[00:00:38]                 │ info [endpoint/metadata/destination_index] Indexed 3 docs into "metrics-endpoint.metadata_current_default"
[00:00:38]                 │ debg navigateToActualUrl http://localhost:6141/app/security/administration/endpoints
[00:00:38]                 │ debg browser[INFO] http://localhost:6141/app/security/administration/endpoints?_t=1601560919868 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:38]                 │
[00:00:38]                 │ debg browser[INFO] http://localhost:6141/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:38]                 │ debg currentUrl = http://localhost:6141/app/security/administration/endpoints
[00:00:38]                 │          appUrl = http://localhost:6141/app/security/administration/endpoints
[00:00:38]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:38]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:40]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:40]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:40]                 │ info [docker:registry] 2020/10/01 14:02:01 source.ip: 172.17.0.1:56800, url.original: /search?category=security
[00:00:40]                 │ info [docker:registry] 2020/10/01 14:02:01 source.ip: 172.17.0.1:56812, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:40]                 │ info [docker:registry] 2020/10/01 14:02:01 source.ip: 172.17.0.1:56816, url.original: /search?category=security
[00:00:40]                 │ proc [kibana]   log   [14:02:02.018] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:40]                 │ proc [kibana]   log   [14:02:02.023] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:40]                 │ proc [kibana]   log   [14:02:02.024] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:40]                 │ proc [kibana]   log   [14:02:02.130] [warning][metadata][plugins][securitySolution] agent with id 11488bae-880b-4e7b-8d28-aac2aa9de816 not found
[00:00:41]                 │ proc [kibana]   log   [14:02:02.131] [warning][metadata][plugins][securitySolution] agent with id 92ac1ce0-e1f7-409e-8af6-f17e97b1fc71 not found
[00:00:41]                 │ proc [kibana]   log   [14:02:02.132] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:41]                 │ proc [kibana]   log   [14:02:02.154] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:41]                 │ proc [kibana]   log   [14:02:02.235] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:41]               └-> for the kql query: na, table shows an empty list
[00:00:41]                 └-> "before each" hook: global before each
[00:00:41]                 │ debg TestSubjects.setValue(adminSearchBar, na)
[00:00:41]                 │ debg TestSubjects.click(adminSearchBar)
[00:00:41]                 │ debg Find.clickByCssSelector('[data-test-subj="adminSearchBar"]') with timeout=10000
[00:00:41]                 │ debg Find.findByCssSelector('[data-test-subj="adminSearchBar"]') with timeout=10000
[00:00:41]                 │ debg TestSubjects.find(querySubmitButton)
[00:00:41]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:00:41]                 │ debg Waiting up to 2000ms for table to not have data...
[00:00:41]                 │ debg TestSubjects.exists(endpointListTable)
[00:00:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointListTable"]') with timeout=2500
[00:00:41]                 │ debg TestSubjects.find(endpointListTable)
[00:00:41]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:41]                 │ proc [kibana]   log   [14:02:02.847] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:41]                 │ proc [kibana]   log   [14:02:02.988] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:42]                 │ debg TestSubjects.exists(endpointListTable)
[00:00:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointListTable"]') with timeout=2500
[00:00:42]                 │ debg TestSubjects.find(endpointListTable)
[00:00:42]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:42]                 │ debg TestSubjects.exists(endpointListTable)
[00:00:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="endpointListTable"]') with timeout=2500
[00:00:42]                 │ debg TestSubjects.find(endpointListTable)
[00:00:42]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTable"]') with timeout=10000
[00:00:42]                 └- ✓ pass  (971ms) "endpoint endpoint list displays the correct table data for the kql queries for the kql query: na, table shows an empty list"
[00:00:42]               └-> for the kql query: HostDetails.Endpoint.policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", table shows 2 items
[00:00:42]                 └-> "before each" hook: global before each
[00:00:42]                 │ debg TestSubjects.setValue(adminSearchBar,  )
[00:00:42]                 │ debg TestSubjects.click(adminSearchBar)
[00:00:42]                 │ debg Find.clickByCssSelector('[data-test-subj="adminSearchBar"]') with timeout=10000
[00:00:42]                 │ debg Find.findByCssSelector('[data-test-subj="adminSearchBar"]') with timeout=10000
[00:00:42]                 │ debg TestSubjects.find(querySubmitButton)
[00:00:42]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:00:42]                 │ debg TestSubjects.getVisibleText(endpointListTableTotal)
[00:00:42]                 │ debg TestSubjects.find(endpointListTableTotal)
[00:00:42]                 │ debg Find.findByCssSelector('[data-test-subj="endpointListTableTotal"]') with timeout=10000
[00:00:42]                 │ proc [kibana]   log   [14:02:03.765] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:42]                 │ proc [kibana]   log   [14:02:03.906] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:52]                 │ info Taking screenshot "/dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list displays the correct table data for the kql queries for the kql query_ HostDetails_Endpoint_policy_applied_id _ _C2A9093E-E289-4C0A-AA44-8C32A414FA7A_ table shows 2 items.png"
[00:00:52]                 │ info Current URL is: http://localhost:6141/app/security/administration/endpoints?page_index=0&page_size=10&admin_query=(language%3Akuery%2Cquery%3A'na%20')
[00:00:52]                 │ proc [kibana]   log   [14:02:13.891] [warning][metadata][plugins][securitySolution] agent with id 023fa40c-411d-4188-a941-4147bfadd095 not found
[00:00:52]                 │ info Saving page source to: /dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list displays the correct table data for the kql queries for the kql query_ HostDetails_Endpoint_policy_applied_id _ _C2A9093E-E289-4C0A-AA44-8C32A414FA7A_ table shows 2 items.html
[00:00:52]                 └- ✖ fail: endpoint endpoint list displays the correct table data for the kql queries for the kql query: HostDetails.Endpoint.policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", table shows 2 items
[00:00:52]                 │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="endpointListTableTotal"])
[00:00:52]                 │ Wait timed out after 10048ms
[00:00:52]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:00:52]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:52]                 │ 
[00:00:52]                 │ 

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="endpointListTableTotal"])
Wait timed out after 10048ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Metrics [docs]

✅ unchanged

History

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

@shahzad31 shahzad31 marked this pull request as ready for review October 1, 2020 15:14
@shahzad31 shahzad31 requested a review from a team as a code owner October 1, 2020 15:14
@shahzad31 shahzad31 self-assigned this Oct 1, 2020
@shahzad31 shahzad31 added v7.10.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 1, 2020
Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@botelastic botelastic bot added Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Oct 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@shahzad31 shahzad31 merged commit 8406e04 into elastic:master Oct 1, 2020
@shahzad31 shahzad31 deleted the fix-long-tasks-query branch October 1, 2020 20:49
shahzad31 added a commit to shahzad31/kibana that referenced this pull request Oct 1, 2020
shahzad31 added a commit that referenced this pull request Oct 2, 2020
@sorenlouv sorenlouv removed the Team:APM All issues that need APM UI Team support label Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants