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 broken documentation link in Visualize app #87250

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Jan 4, 2021

Summary

Fixes #85176

Relates #76194

Adds a redirect for https://www.elastic.co/guide/en/kibana/master/visualize.html

Updates the URL for visualize in the documentation links service.

Updates the help menu in the Visualize app to use the appropriate URL from the documentation links service.

@lcawl lcawl added the WIP Work in progress label Jan 4, 2021
@lcawl lcawl added Team:Docs v7.10.2 v7.11.0 v7.12.0 v8.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure release_note:skip Skip the PR/issue when compiling release notes and removed WIP Work in progress labels Jan 4, 2021
@lcawl lcawl requested a review from KOTungseth January 4, 2021 22:48
@lcawl lcawl marked this pull request as ready for review January 4, 2021 22:48
@lcawl lcawl requested a review from a team January 4, 2021 22:48
@lcawl lcawl requested a review from a team as a code owner January 4, 2021 22:48
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs (Team:Docs)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

Link change LGTM

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 12, 2021

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/policy_details·ts.endpoint When on the Endpoint Policy Details Page with a valid policy id "after all" hook for "and the show advanced settings button is clicked"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ proc [kibana]   log   [22:55:44.929] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:55:44.934] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53356, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53358, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [22:55:44.970] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:55:44.972] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53370, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53368, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [22:55:44.984] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:55:44.989] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53378, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:44 source.ip: 172.17.0.1:53374, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:45 source.ip: 172.17.0.1:53384, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:45 source.ip: 172.17.0.1:53386, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [22:55:45.096] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:45 source.ip: 172.17.0.1:53392, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ proc [kibana]   log   [22:55:45.141] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:55:45 source.ip: 172.17.0.1:53396, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.file-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ proc [kibana]   log   [22:55:51.442] [info][fleet][plugins] Found previous transform references:
[00:00:06]             │ proc [kibana]  []
[00:00:06]             │ proc [kibana]   log   [22:55:51.443] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:06]             │ proc [kibana]   log   [22:55:51.845] [info][fleet][plugins] Found previous transform references:
[00:00:06]             │ proc [kibana]  []
[00:00:06]             │ proc [kibana]   log   [22:55:51.846] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.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-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.transform-internal-005][0]]])." previous.health="YELLOW" reason="shards started [[.transform-internal-005][0]]"
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.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-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] [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-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [metrics-endpoint.metadata_current_default]
[00:00:07]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metrics-endpoint.metadata_current_default][0]]])." previous.health="YELLOW" reason="shards started [[metrics-endpoint.metadata_current_default][0]]"
[00:00:08]             │ info [o.e.x.t.t.TransformTask] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [endpoint.metadata_current-default-0.16.0-dev.4] updating state for transform to [{"task_state":"started","indexer_state":"stopped","checkpoint":0,"should_stop_at_checkpoint":false}].
[00:00:08]             │ info [o.e.x.t.t.TransformPersistentTasksExecutor] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [endpoint.metadata_current-default-0.16.0-dev.4] successfully completed and scheduled task in node operation
[00:00:08]             │ proc [kibana]   log   [22:55:53.704] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2021/01/12 22:55:53 source.ip: 172.17.0.1:53492, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ proc [kibana]   log   [22:55:53.720] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2021/01/12 22:55:53 source.ip: 172.17.0.1:53496, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ proc [kibana]   log   [22:55:53.727] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:08]             │ info [docker:registry] 2021/01/12 22:55:53 source.ip: 172.17.0.1:53500, url.original: /package/system/0.7.0
[00:00:08]             │ info [docker:registry] 2021/01/12 22:55:53 source.ip: 172.17.0.1:53504, url.original: /package/system/0.7.0/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:10]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:13]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:00:43]           └-: When on the Endpoint Policy Details Page
[00:00:43]             └-> "before all" hook
[00:00:45]             └-: with a valid policy id
[00:00:45]               └-> "before all" hook
[00:00:45]               └-> "before all" hook
[00:00:49]                 │ info Setting up call to retrieve Endpoint package from /api/fleet/epm/packages?category=security
[00:00:49]                 │ proc [kibana]   log   [22:56:34.876] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:49]                 │ info [docker:registry] 2021/01/12 22:56:34 source.ip: 172.17.0.1:54438, url.original: /search?category=security
[00:00:51]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/Nw9KrkTsSFCvD3yMBUcDJg] update_mapping [_doc]
[00:01:02]                 │ proc [kibana]   log   [22:56:47.187] [info][plugins][securitySolution] Committed manifest 1.0.0
[00:01:02]                 │ proc [kibana]   log   [22:56:47.201] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:56:47 source.ip: 172.17.0.1:55698, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:02]                 │ proc [kibana]   log   [22:56:47.221] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:56:47 source.ip: 172.17.0.1:55702, url.original: /package/endpoint/0.16.0-dev.4
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:56:47 source.ip: 172.17.0.1:55706, url.original: /package/endpoint/0.16.0-dev.4/
[00:01:05]                 │ debg navigateToActualUrl http://localhost:61131/app/security/administration/policy/d8c62151-7b9c-4766-a2ee-6aad301a47d5
[00:01:05]                 │ debg browser[INFO] http://localhost:61131/app/security/administration/policy/d8c62151-7b9c-4766-a2ee-6aad301a47d5?_t=1610492210234 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:01:05]                 │
[00:01:05]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:05]                 │ debg currentUrl = http://localhost:61131/app/security/administration/policy/d8c62151-7b9c-4766-a2ee-6aad301a47d5
[00:01:05]                 │          appUrl = http://localhost:61131/app/security/administration/policy/d8c62151-7b9c-4766-a2ee-6aad301a47d5
[00:01:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:06]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:06]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:07]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:07]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:07]                 │ proc [kibana]   log   [22:56:52.020] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:07]                 │ info [docker:registry] 2021/01/12 22:56:52 source.ip: 172.17.0.1:55722, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:08]               └-> should display policy view
[00:01:08]                 └-> "before each" hook: global before each
[00:01:08]                 │ debg TestSubjects.getVisibleText(header-page-title)
[00:01:08]                 │ debg TestSubjects.find(header-page-title)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="header-page-title"]') with timeout=10000
[00:01:08]                 └- ✓ pass  (24ms) "endpoint When on the Endpoint Policy Details Page with a valid policy id should display policy view"
[00:01:08]               └-> and the show advanced settings button is clicked
[00:01:08]                 └-> "before each" hook: global before each
[00:01:08]                 │ debg TestSubjects.missingOrFail(advancedPolicyPanel)
[00:01:08]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=2500
[00:01:08]                 │ debg TestSubjects.exists(policyDetailsPage)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="policyDetailsPage"]') with timeout=120000
[00:01:08]                 │ debg TestSubjects.find(advancedPolicyButton)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="advancedPolicyButton"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.exists(advancedPolicyPanel)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=120000
[00:01:08]                 │ debg TestSubjects.exists(policyDetailsPage)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="policyDetailsPage"]') with timeout=120000
[00:01:08]                 │ debg TestSubjects.find(advancedPolicyButton)
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="advancedPolicyButton"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.missingOrFail(advancedPolicyPanel)
[00:01:08]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=2500
[00:01:09]                 └- ✓ pass  (1.3s) "endpoint When on the Endpoint Policy Details Page with a valid policy id and the show advanced settings button is clicked"
[00:01:09]               └-> "after all" hook
[00:01:12]                 │ proc [kibana]   log   [22:56:57.334] [error][api-key][authentication][plugins][security] Failed to invalidate API key as current user: x_content_parse_exception
[00:01:12]                 │ proc [kibana]   log   [22:56:57.335] [error][fleet][plugins] ResponseError: x_content_parse_exception
[00:01:12]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:01:12]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:01:12]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:01:12]                 │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:12]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:01:12]                 │ proc [kibana]   meta: {
[00:01:12]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:01:12]                 │ proc [kibana]     statusCode: 400,
[00:01:12]                 │ proc [kibana]     headers: {
[00:01:12]                 │ proc [kibana]       'x-opaque-id': '4ef8acfd-4934-4133-9621-2a2e27822a1d',
[00:01:12]                 │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:01:12]                 │ proc [kibana]       'content-length': '265'
[00:01:12]                 │ proc [kibana]     },
[00:01:12]                 │ proc [kibana]     meta: {
[00:01:12]                 │ proc [kibana]       context: null,
[00:01:12]                 │ proc [kibana]       request: [Object],
[00:01:12]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:01:12]                 │ proc [kibana]       connection: [Object],
[00:01:12]                 │ proc [kibana]       attempts: 0,
[00:01:12]                 │ proc [kibana]       aborted: false
[00:01:12]                 │ proc [kibana]     }
[00:01:12]                 │ proc [kibana]   }
[00:01:12]                 │ proc [kibana] }
[00:01:12]                 │ERROR Error occurred at 1610492217357 | 2021-01-12T22:56:57.357Z
[00:01:12]                 │ERROR {
[00:01:12]                 │        "statusCode": 500,
[00:01:12]                 │        "error": "Internal Server Error",
[00:01:12]                 │        "message": "x_content_parse_exception"
[00:01:12]                 │      }
[00:01:12]                 │ERROR Error: expected 200 "OK", got 500 "Internal Server Error"
[00:01:12]                 │          at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:01:12]                 │          at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:01:12]                 │          at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:01:12]                 │          at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:01:12]                 │          at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:01:12]                 │          at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:01:12]                 │          at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:01:12]                 │          at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:01:12]                 │          at IncomingMessage.emit (events.js:327:22)
[00:01:12]                 │          at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:12]                 │          at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:01:12]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/endpoint When on the Endpoint Policy Details Page with a valid policy id _after all_ hook.png"
[00:01:12]                 │ proc [kibana]  error  [22:56:56.263]  Error: Internal Server Error
[00:01:12]                 │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:132:19)
[00:01:12]                 │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:86:19)
[00:01:12]                 │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:81:17)
[00:01:12]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/router.js:164:34)
[00:01:12]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:01:12]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:01:12]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/router.js:124:50)
[00:01:12]                 │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:01:12]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:01:12]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:01:12]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:01:12]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:01:12]                 │ info Current URL is: http://localhost:61131/app/security/administration/policy/d8c62151-7b9c-4766-a2ee-6aad301a47d5
[00:01:12]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/endpoint When on the Endpoint Policy Details Page with a valid policy id _after all_ hook.html
[00:01:12]                 └- ✖ fail: endpoint When on the Endpoint Policy Details Page with a valid policy id "after all" hook for "and the show advanced settings button is clicked"
[00:01:12]                 │      Error: Unable to delete Agent Policy via Ingest!
[00:01:12]                 │       at logSupertestApiErrorAndThrow (test/security_solution_endpoint/services/endpoint_policy.ts:63:11)
[00:01:12]                 │       at Object.cleanup (test/security_solution_endpoint/services/endpoint_policy.ts:235:13)
[00:01:12]                 │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:46:11)
[00:01:12]                 │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:01:12]                 │ 
[00:01:12]                 │ 

Stack Trace

Error: Unable to delete Agent Policy via Ingest!
    at logSupertestApiErrorAndThrow (test/security_solution_endpoint/services/endpoint_policy.ts:63:11)
    at Object.cleanup (test/security_solution_endpoint/services/endpoint_policy.ts:235:13)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:46:11)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/policy_details·ts.endpoint When on the Endpoint Policy Details Page with a valid policy id "after all" hook for "and the show advanced settings button is clicked"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ proc [kibana]   log   [22:20:01.502] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:20:01.506] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60066, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60068, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [22:20:01.550] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:20:01.552] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60084, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60082, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [22:20:01.558] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [22:20:01.560] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60090, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60092, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60102, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60100, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [22:20:01.658] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60112, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ proc [kibana]   log   [22:20:01.716] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/12 22:20:01 source.ip: 172.17.0.1:60120, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-metadata-current] for index patterns [metrics-endpoint.metadata_current_*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ proc [kibana]   log   [22:20:08.416] [info][fleet][plugins] Found previous transform references:
[00:00:06]             │ proc [kibana]  []
[00:00:06]             │ proc [kibana]   log   [22:20:08.417] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.alerts-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.file-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.metadata-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.library-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.metrics-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [metrics-endpoint.policy-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.process-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.registry-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding component template [logs-endpoint.events.security-mappings]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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-debian-tests-xxl-1610485994766993125] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:07]             │ proc [kibana]   log   [22:20:09.185] [info][fleet][plugins] Found previous transform references:
[00:00:07]             │ proc [kibana]  []
[00:00:07]             │ proc [kibana]   log   [22:20:09.185] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.transform-internal-005][0]]])." previous.health="YELLOW" reason="shards started [[.transform-internal-005][0]]"
[00:00:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.transform-notifications-000002] creating index, cause [auto(bulk api)], templates [.transform-notifications-000002], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.transform-notifications-000002]
[00:00:08]             │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 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:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [metrics-endpoint.metadata_current_default] creating index, cause [api], templates [metrics-metadata-current], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [metrics-endpoint.metadata_current_default]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metrics-endpoint.metadata_current_default][0]]])." previous.health="YELLOW" reason="shards started [[metrics-endpoint.metadata_current_default][0]]"
[00:00:08]             │ info [o.e.x.t.t.TransformTask] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [endpoint.metadata_current-default-0.16.0-dev.4] updating state for transform to [{"task_state":"started","indexer_state":"stopped","checkpoint":0,"should_stop_at_checkpoint":false}].
[00:00:08]             │ info [o.e.x.t.t.TransformPersistentTasksExecutor] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [endpoint.metadata_current-default-0.16.0-dev.4] successfully completed and scheduled task in node operation
[00:00:09]             │ proc [kibana]   log   [22:20:10.897] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:09]             │ info [docker:registry] 2021/01/12 22:20:10 source.ip: 172.17.0.1:60398, url.original: /search?package=system&internal=true&experimental=true
[00:00:09]             │ proc [kibana]   log   [22:20:10.921] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:09]             │ info [docker:registry] 2021/01/12 22:20:10 source.ip: 172.17.0.1:60404, url.original: /search?package=system&internal=true&experimental=true
[00:00:09]             │ proc [kibana]   log   [22:20:10.931] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:09]             │ info [docker:registry] 2021/01/12 22:20:10 source.ip: 172.17.0.1:60408, url.original: /package/system/0.7.0
[00:00:09]             │ info [docker:registry] 2021/01/12 22:20:10 source.ip: 172.17.0.1:60412, url.original: /package/system/0.7.0/
[00:00:09]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:11]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] added role [fleet_enroll]
[00:00:11]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:13]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:00:44]           └-: When on the Endpoint Policy Details Page
[00:00:44]             └-> "before all" hook
[00:00:46]             └-: with a valid policy id
[00:00:46]               └-> "before all" hook
[00:00:46]               └-> "before all" hook
[00:00:50]                 │ info Setting up call to retrieve Endpoint package from /api/fleet/epm/packages?category=security
[00:00:50]                 │ proc [kibana]   log   [22:20:52.052] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:50]                 │ info [docker:registry] 2021/01/12 22:20:52 source.ip: 172.17.0.1:34092, url.original: /search?category=security
[00:00:52]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/b_eZ_wrCSQm96LIOSZHEcg] update_mapping [_doc]
[00:01:02]                 │ proc [kibana]   log   [22:21:04.339] [info][plugins][securitySolution] Committed manifest 1.0.0
[00:01:02]                 │ proc [kibana]   log   [22:21:04.354] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:21:04 source.ip: 172.17.0.1:35616, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:02]                 │ proc [kibana]   log   [22:21:04.378] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:21:04 source.ip: 172.17.0.1:35620, url.original: /package/endpoint/0.16.0-dev.4
[00:01:02]                 │ info [docker:registry] 2021/01/12 22:21:04 source.ip: 172.17.0.1:35624, url.original: /package/endpoint/0.16.0-dev.4/
[00:01:05]                 │ debg navigateToActualUrl http://localhost:61131/app/security/administration/policy/e3d87e01-ac0b-4827-af22-1e35df28acc0
[00:01:06]                 │ debg browser[INFO] http://localhost:61131/app/security/administration/policy/e3d87e01-ac0b-4827-af22-1e35df28acc0?_t=1610490067386 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:01:06]                 │
[00:01:06]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:06]                 │ debg currentUrl = http://localhost:61131/app/security/administration/policy/e3d87e01-ac0b-4827-af22-1e35df28acc0
[00:01:06]                 │          appUrl = http://localhost:61131/app/security/administration/policy/e3d87e01-ac0b-4827-af22-1e35df28acc0
[00:01:06]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:07]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:07]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:08]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:08]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:08]                 │ proc [kibana]   log   [22:21:09.711] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:08]                 │ info [docker:registry] 2021/01/12 22:21:09 source.ip: 172.17.0.1:35820, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:09]               └-> should display policy view
[00:01:09]                 └-> "before each" hook: global before each
[00:01:09]                 │ debg TestSubjects.getVisibleText(header-page-title)
[00:01:09]                 │ debg TestSubjects.find(header-page-title)
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="header-page-title"]') with timeout=10000
[00:01:09]                 └- ✓ pass  (30ms) "endpoint When on the Endpoint Policy Details Page with a valid policy id should display policy view"
[00:01:09]               └-> and the show advanced settings button is clicked
[00:01:09]                 └-> "before each" hook: global before each
[00:01:09]                 │ debg TestSubjects.missingOrFail(advancedPolicyPanel)
[00:01:09]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=2500
[00:01:09]                 │ debg TestSubjects.exists(policyDetailsPage)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="policyDetailsPage"]') with timeout=120000
[00:01:09]                 │ debg TestSubjects.find(advancedPolicyButton)
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="advancedPolicyButton"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.exists(advancedPolicyPanel)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=120000
[00:01:09]                 │ debg TestSubjects.exists(policyDetailsPage)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="policyDetailsPage"]') with timeout=120000
[00:01:09]                 │ debg TestSubjects.find(advancedPolicyButton)
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="advancedPolicyButton"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.missingOrFail(advancedPolicyPanel)
[00:01:09]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="advancedPolicyPanel"]') with timeout=2500
[00:01:10]                 └- ✓ pass  (1.3s) "endpoint When on the Endpoint Policy Details Page with a valid policy id and the show advanced settings button is clicked"
[00:01:10]               └-> "after all" hook
[00:01:14]                 │ proc [kibana]   log   [22:21:15.531] [error][api-key][authentication][plugins][security] Failed to invalidate API key as current user: x_content_parse_exception
[00:01:14]                 │ proc [kibana]   log   [22:21:15.532] [error][fleet][plugins] ResponseError: x_content_parse_exception
[00:01:14]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:01:14]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:01:14]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:01:14]                 │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:14]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:01:14]                 │ proc [kibana]   meta: {
[00:01:14]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:01:14]                 │ proc [kibana]     statusCode: 400,
[00:01:14]                 │ proc [kibana]     headers: {
[00:01:14]                 │ proc [kibana]       'x-opaque-id': '57f2db7a-5581-4a4a-93f2-f906dee7227f',
[00:01:14]                 │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:01:14]                 │ proc [kibana]       'content-length': '265'
[00:01:14]                 │ proc [kibana]     },
[00:01:14]                 │ proc [kibana]     meta: {
[00:01:14]                 │ proc [kibana]       context: null,
[00:01:14]                 │ proc [kibana]       request: [Object],
[00:01:14]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:01:14]                 │ proc [kibana]       connection: [Object],
[00:01:14]                 │ proc [kibana]       attempts: 0,
[00:01:14]                 │ proc [kibana]       aborted: false
[00:01:14]                 │ proc [kibana]     }
[00:01:14]                 │ proc [kibana]   }
[00:01:14]                 │ proc [kibana] }
[00:01:14]                 │ERROR Error occurred at 1610490075559 | 2021-01-12T22:21:15.559Z
[00:01:14]                 │ERROR {
[00:01:14]                 │        "statusCode": 500,
[00:01:14]                 │        "error": "Internal Server Error",
[00:01:14]                 │        "message": "x_content_parse_exception"
[00:01:14]                 │      }
[00:01:14]                 │ERROR Error: expected 200 "OK", got 500 "Internal Server Error"
[00:01:14]                 │          at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:01:14]                 │          at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:01:14]                 │          at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:01:14]                 │          at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:01:14]                 │          at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:01:14]                 │          at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:01:14]                 │          at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:01:14]                 │          at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:01:14]                 │          at IncomingMessage.emit (events.js:327:22)
[00:01:14]                 │          at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:14]                 │          at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:01:14]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/endpoint When on the Endpoint Policy Details Page with a valid policy id _after all_ hook.png"
[00:01:14]                 │ proc [kibana]  error  [22:21:14.433]  Error: Internal Server Error
[00:01:14]                 │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:132:19)
[00:01:14]                 │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:86:19)
[00:01:14]                 │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/response_adapter.js:81:17)
[00:01:14]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/router.js:164:34)
[00:01:14]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:01:14]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:01:14]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-13/src/core/server/http/router/router.js:124:50)
[00:01:14]                 │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:01:14]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:01:14]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:01:14]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:01:14]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-13/node_modules/@hapi/hapi/lib/request.js:279:9)
[00:01:14]                 │ info Current URL is: http://localhost:61131/app/security/administration/policy/e3d87e01-ac0b-4827-af22-1e35df28acc0
[00:01:14]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/endpoint When on the Endpoint Policy Details Page with a valid policy id _after all_ hook.html
[00:01:14]                 └- ✖ fail: endpoint When on the Endpoint Policy Details Page with a valid policy id "after all" hook for "and the show advanced settings button is clicked"
[00:01:14]                 │      Error: Unable to delete Agent Policy via Ingest!
[00:01:14]                 │       at logSupertestApiErrorAndThrow (test/security_solution_endpoint/services/endpoint_policy.ts:63:11)
[00:01:14]                 │       at Object.cleanup (test/security_solution_endpoint/services/endpoint_policy.ts:235:13)
[00:01:14]                 │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:46:11)
[00:01:14]                 │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:01:14]                 │ 
[00:01:14]                 │ 

Stack Trace

Error: Unable to delete Agent Policy via Ingest!
    at logSupertestApiErrorAndThrow (test/security_solution_endpoint/services/endpoint_policy.ts:63:11)
    at Object.cleanup (test/security_solution_endpoint/services/endpoint_policy.ts:235:13)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:46:11)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

X-Pack EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/agents/complete_flow·ts.Fleet Endpoints fleet_agent_flow should work

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Fleet Endpoints
[00:00:00]           └-> "before all" hook
[00:01:02]           └-: fleet_agent_flow
[00:01:02]             └-> "before all" hook
[00:01:02]             └-> "before all" hook
[00:01:02]               │ info [empty_kibana] Loading "mappings.json"
[00:01:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1/uj978gqDScKhDpgaE8O3uw] deleting index
[00:01:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/wOshWm04QE-1i2g3l_ozsQ] deleting index
[00:01:02]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:01:02]               │ info [empty_kibana] Created index ".kibana"
[00:01:02]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:01:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana/sbO0l91MQyG4DL2XlUpwog] update_mapping [_doc]
[00:01:02]               │ debg Migrating saved objects
[00:01:02]               │ proc [kibana]   log   [22:33:28.861] [info][savedobjects-service] Creating index .kibana_2.
[00:01:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:02]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:03]               │ proc [kibana]   log   [22:33:28.929] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:01:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:01:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.kibana_1]
[00:01:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:01:03]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updating number_of_replicas to [0] for indices [.tasks]
[00:01:03]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] 5127 finished with response BulkByScrollResponse[took=3ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:01:03]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana/sbO0l91MQyG4DL2XlUpwog] deleting index
[00:01:03]               │ proc [kibana]   log   [22:33:29.309] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:03]               │ proc [kibana]   log   [22:33:29.315] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:03]               │ proc [kibana]   log   [22:33:29.344] [info][savedobjects-service] Finished in 486ms.
[00:01:03]             └-> "before all" hook
[00:01:03]               │ proc [kibana]   log   [22:33:29.367] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:03]               │ proc [kibana]   log   [22:33:29.369] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:03]               │ info [docker:registry] 2021/01/12 22:33:29 source.ip: 172.17.0.1:46504, url.original: /search?package=system&internal=true&experimental=true
[00:01:03]               │ info [docker:registry] 2021/01/12 22:33:29 source.ip: 172.17.0.1:46502, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:03]               │ proc [kibana]   log   [22:33:29.394] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:03]               │ info [docker:registry] 2021/01/12 22:33:29 source.ip: 172.17.0.1:46508, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:03]               │ proc [kibana]   log   [22:33:29.399] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:03]               │ info [docker:registry] 2021/01/12 22:33:29 source.ip: 172.17.0.1:46514, url.original: /search?package=system&internal=true&experimental=true
[00:01:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:04]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:05]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:05]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:05]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:09]               │ proc [kibana]   log   [22:33:35.085] [info][fleet][plugins] Found previous transform references:
[00:01:09]               │ proc [kibana]  []
[00:01:09]               │ proc [kibana]   log   [22:33:35.086] [info][fleet][plugins] Deleting currently installed transform ids 
[00:01:09]               │ proc [kibana]   log   [22:33:35.093] [info][fleet][plugins] Found previous transform references:
[00:01:09]               │ proc [kibana]  []
[00:01:09]               │ proc [kibana]   log   [22:33:35.094] [info][fleet][plugins] Deleting currently installed transform ids 
[00:01:10]               │ proc [kibana]   log   [22:33:36.021] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:10]               │ info [docker:registry] 2021/01/12 22:33:36 source.ip: 172.17.0.1:47142, url.original: /search?package=system&internal=true&experimental=true
[00:01:10]               │ proc [kibana]   log   [22:33:36.041] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:10]               │ info [docker:registry] 2021/01/12 22:33:36 source.ip: 172.17.0.1:47150, url.original: /search?package=system&internal=true&experimental=true
[00:01:10]               │ proc [kibana]   log   [22:33:36.050] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:10]               │ info [docker:registry] 2021/01/12 22:33:36 source.ip: 172.17.0.1:47154, url.original: /package/system/0.5.3
[00:01:10]               │ info [docker:registry] 2021/01/12 22:33:36 source.ip: 172.17.0.1:47158, url.original: /package/system/0.5.3/
[00:01:10]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:12]               │ proc [kibana]   log   [22:33:38.069] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:12]               │ proc [kibana]   log   [22:33:38.070] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:01:12]               │ info [docker:registry] 2021/01/12 22:33:38 source.ip: 172.17.0.1:47296, url.original: /search?package=system&internal=true&experimental=true
[00:01:12]               │ info [docker:registry] 2021/01/12 22:33:38 source.ip: 172.17.0.1:47294, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:12]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updated role [fleet_enroll]
[00:01:12]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] updated user [fleet_enroll]
[00:01:13]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:14]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:15]             └-> should work
[00:01:15]               └-> "before each" hook: global before each
[00:01:15]               └-> "before each" hook: beforeSetupWithDockerRegistry
[00:01:15]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:18]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610485994766993125] [.kibana_2/AU8C5ms8SKmFqPVJN8iarQ] update_mapping [_doc]
[00:01:26]               │ proc [kibana]   log   [22:33:52.214] [error][api-key][authentication][plugins][security] Failed to invalidate API key as current user: x_content_parse_exception
[00:01:26]               │ proc [kibana]   log   [22:33:52.215] [error][fleet][plugins] ResponseError: x_content_parse_exception
[00:01:26]               │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:01:26]               │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:01:26]               │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:01:26]               │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:26]               │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:01:26]               │ proc [kibana]   meta: {
[00:01:26]               │ proc [kibana]     body: { error: [Object], status: 400 },
[00:01:26]               │ proc [kibana]     statusCode: 400,
[00:01:26]               │ proc [kibana]     headers: {
[00:01:26]               │ proc [kibana]       'x-opaque-id': 'd17dec1a-8dd2-4280-ae8f-8e73e7623642',
[00:01:26]               │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:01:26]               │ proc [kibana]       'content-length': '265'
[00:01:26]               │ proc [kibana]     },
[00:01:26]               │ proc [kibana]     meta: {
[00:01:26]               │ proc [kibana]       context: null,
[00:01:26]               │ proc [kibana]       request: [Object],
[00:01:26]               │ proc [kibana]       name: 'elasticsearch-js',
[00:01:26]               │ proc [kibana]       connection: [Object],
[00:01:26]               │ proc [kibana]       attempts: 0,
[00:01:26]               │ proc [kibana]       aborted: false
[00:01:26]               │ proc [kibana]     }
[00:01:26]               │ proc [kibana]   }
[00:01:26]               │ proc [kibana] }
[00:01:26]               │ proc [kibana]   log   [22:33:52.225] [error][api-key][authentication][plugins][security] Failed to invalidate API key as current user: x_content_parse_exception
[00:01:26]               └- ✖ fail: Fleet Endpoints fleet_agent_flow should work
[00:01:26]               │      Error: expected 200 "OK", got 500 "Internal Server Error"
[00:01:26]               │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:01:26]               │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:01:26]               │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:01:26]               │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:01:26]               │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:01:26]               │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:01:26]               │       at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:01:26]               │       at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:01:26]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:01:26]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:01:26]               │ 
[00:01:26]               │ 

Stack Trace

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

Metrics [docs]

Async chunks

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

id before after diff
visualize 130.8KB 130.7KB -69.0B

Distributable file count

id before after diff
default 47247 48007 +760

History

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

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:Docs Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.10.2 v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken documentation link in Visualize app
5 participants