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

Skip fleet tests failing es promotion #89508

Closed

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jan 27, 2021

In case we don't find a quick way to resolve #89499, want to see which tests we'd need to skip to get the snapshots building again.

@kibanamachine
Copy link
Contributor

kibanamachine commented Jan 28, 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 when on Ingest Policy Edit Package Policy page "before each" hook for "should show the endpoint policy form"

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   [00:53:33.356] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:53:33.359] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45748, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45744, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [00:53:33.388] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:53:33.390] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45758, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45756, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [00:53:33.396] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:53:33.399] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45762, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45766, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45772, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45774, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [00:53:33.484] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45778, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [00:53:33.534] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:53:33 source.ip: 172.17.0.1:45782, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding index template [metrics-metadata-current] for index patterns [metrics-endpoint.metadata_current_*]
[00:00:06]             │ proc [kibana]   log   [00:53:39.356] [error][fleet][plugins] uninstalling system-0.7.0 after error installing
[00:00:06]             │ proc [kibana]   log   [00:53:39.366] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: system is installed by default and cannot be removed
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.registry-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.library-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.security-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.process-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metadata-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.alerts-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metrics-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.file-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ proc [kibana]   log   [00:53:39.680] [error][fleet][plugins] uninstalling endpoint-0.16.0-dev.4 after error installing
[00:00:06]             │ proc [kibana]   log   [00:53:39.687] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: endpoint is installed by default and cannot be removed
[00:00:06]             │ proc [kibana]   log   [00:53:39.689] [error][fleet][plugins] [illegal_argument_exception] composable template [metrics-system.filesystem] template after composition is invalid response from /_index_template/metrics-system.filesystem: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [metrics-system.filesystem] template after composition is invalid"}],"type":"illegal_argument_exception","reason":"composable template [metrics-system.filesystem] template after composition is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [metrics-system.filesystem] has alias and data stream definitions"}},"status":400}
[00:00:06]             │ debg --- retry.try error: expected 200 "OK", got 400 "Bad Request"
[00:00:06]             │ proc [kibana]   log   [00:53:40.233] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:06]             │ proc [kibana]   log   [00:53:40.234] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:06]             │ info [docker:registry] 2021/01/28 00:53:40 source.ip: 172.17.0.1:45856, url.original: /search?package=system&internal=true&experimental=true
[00:00:06]             │ info [docker:registry] 2021/01/28 00:53:40 source.ip: 172.17.0.1:45854, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:06]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] added role [fleet_enroll]
[00:00:07]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] added user [fleet_enroll]
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:09]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/0VtZ4OCZTPyJvAwLAgtM3w] update_mapping [_doc]
[00:00:10]           └-: When on the Endpoint Policy Details Page
[00:00:10]             └-> "before all" hook
[00:03:09]             └-: when on Ingest Policy Edit Package Policy page
[00:03:09]               └-> "before all" hook
[00:03:09]               └-> should show the endpoint policy form
[00:03:09]                 └-> "before each" hook: global before each
[00:03:09]                 └-> "before each" hook
[00:03:13]                   │ info Using cached retrieval of endpoint package
[00:03:14]                   │ proc [kibana]   log   [00:56:47.410] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:14]                   │ info [docker:registry] 2021/01/28 00:56:47 source.ip: 172.17.0.1:47596, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:14]                   │ proc [kibana]   log   [00:56:47.425] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:14]                   │ info [docker:registry] 2021/01/28 00:56:47 source.ip: 172.17.0.1:47600, url.original: /package/endpoint/0.16.0-dev.4
[00:03:14]                   │ info [docker:registry] 2021/01/28 00:56:47 source.ip: 172.17.0.1:47604, url.original: /package/endpoint/0.16.0-dev.4/
[00:03:16]                   │ debg navigating to fleet url: http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:03:16]                   │ debg navigate to: http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:03:16]                   │ debg browser[INFO] http://localhost:61161/app/fleet?_t=1611795410088#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4 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:03:16]                   │
[00:03:16]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:16]                   │ debg ... sleep(700) start
[00:03:17]                   │ debg ... sleep(700) end
[00:03:17]                   │ debg returned from get, calling refresh
[00:03:18]                   │ debg browser[INFO] http://localhost:61161/app/fleet?_t=1611795410088#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4 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:03:18]                   │
[00:03:18]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:18]                   │ debg currentUrl = http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:03:18]                   │          appUrl = http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:03:18]                   │ debg TestSubjects.find(kibanaChrome)
[00:03:18]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:18]                   │ debg ... sleep(501) start
[00:03:18]                   │ proc [kibana]   log   [00:56:52.140] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:18]                   │ proc [kibana]   log   [00:56:52.141] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:18]                   │ info [docker:registry] 2021/01/28 00:56:52 source.ip: 172.17.0.1:47622, url.original: /search?package=system&internal=true&experimental=true
[00:03:18]                   │ info [docker:registry] 2021/01/28 00:56:52 source.ip: 172.17.0.1:47620, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:18]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] updated role [fleet_enroll]
[00:03:18]                   │ proc [kibana]   log   [00:56:52.172] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:18]                   │ proc [kibana]   log   [00:56:52.174] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:18]                   │ info [docker:registry] 2021/01/28 00:56:52 source.ip: 172.17.0.1:47630, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:18]                   │ info [docker:registry] 2021/01/28 00:56:52 source.ip: 172.17.0.1:47628, url.original: /search?package=system&internal=true&experimental=true
[00:03:19]                   │ debg ... sleep(501) end
[00:03:19]                   │ debg in navigateTo url = http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:03:19]                   │ debg TestSubjects.exists(statusPageContainer)
[00:03:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:21]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:22]                   │ debg TestSubjects.exists(editPackagePolicy_header)
[00:03:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="editPackagePolicy_header"]') with timeout=120000
[00:03:24]                   │ debg --- retry.tryForTime error: [data-test-subj="editPackagePolicy_header"] is not displayed
[00:03:24]                   │ proc [kibana]   log   [00:56:58.272] [error][fleet][plugins] [illegal_argument_exception] composable template [logs-endpoint.events.process] template after composition with component templates [logs-endpoint.events.process-mappings] is invalid response from /_index_template/logs-endpoint.events.process: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [logs-endpoint.events.process] template after composition with component templates [logs-endpoint.events.process-mappings] is invalid"}],"type":"illegal_argument_exception","reason":"composable template [logs-endpoint.events.process] template after composition with component templates [logs-endpoint.events.process-mappings] is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [logs-endpoint.events.process] has alias and data stream definitions"}},"status":400}
[00:03:24]                   │ERROR browser[SEVERE] http://localhost:61161/api/fleet/setup - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:03:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:24]                   │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/screenshots/failure/endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page _before each_ hook.png"
[00:05:24]                   │ info Current URL is: http://localhost:61161/app/fleet#/policies/b00f21f0-6103-11eb-b4e0-b97889cd5b7e/edit-integration/99b5dde3-8ccb-4ceb-ae9f-5eaa3688f2e4
[00:05:24]                   │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/failure_debug/html/endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page _before each_ hook.html
[00:05:24]                   └- ✖ fail: endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page "before each" hook for "should show the endpoint policy form"
[00:05:24]                   │      Error: expected testSubject(editPackagePolicy_header) to exist
[00:05:24]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/16/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:05:24]                   │       at Object.ensureOnEditPageOrFail (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:107:7)
[00:05:24]                   │       at Object.navigateToAgentPolicyEditPackagePolicy (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:117:7)
[00:05:24]                   │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:581:9)
[00:05:24]                   │       at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:05:24]                   │ 
[00:05:24]                   │ 

Stack Trace

Error: expected testSubject(editPackagePolicy_header) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/16/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at Object.ensureOnEditPageOrFail (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:107:7)
    at Object.navigateToAgentPolicyEditPackagePolicy (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:117:7)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:581:9)
    at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73: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 when on Ingest Policy Edit Package Policy page "before each" hook for "should show the endpoint policy form"

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   [00:09:22.038] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:09:22.042] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34354, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34348, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [00:09:22.081] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:09:22.085] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34364, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34368, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [00:09:22.097] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [00:09:22.102] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34374, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34376, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34386, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34384, url.original: /package/system/0.7.0/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [00:09:22.217] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34394, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [00:09:22.312] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 00:09:22 source.ip: 172.17.0.1:34404, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] 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-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metadata-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.library-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.process-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metrics-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.security-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.file-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.alerts-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.events.registry-mappings]
[00:00:06]             │ proc [kibana]   log   [00:09:28.452] [error][fleet][plugins] uninstalling system-0.7.0 after error installing
[00:00:06]             │ proc [kibana]   log   [00:09:28.463] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: system is installed by default and cannot be removed
[00:00:06]             │ proc [kibana]   log   [00:09:28.519] [error][fleet][plugins] uninstalling endpoint-0.16.0-dev.4 after error installing
[00:00:06]             │ proc [kibana]   log   [00:09:28.530] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: endpoint is installed by default and cannot be removed
[00:00:06]             │ proc [kibana]   log   [00:09:28.531] [error][fleet][plugins] [illegal_argument_exception] composable template [logs-system.auth] template after composition is invalid response from /_index_template/logs-system.auth: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid"}],"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [logs-system.auth] has alias and data stream definitions"}},"status":400}
[00:00:06]             │ debg --- retry.try error: expected 200 "OK", got 400 "Bad Request"
[00:00:07]             │ proc [kibana]   log   [00:09:29.083] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:07]             │ proc [kibana]   log   [00:09:29.085] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:07]             │ info [docker:registry] 2021/01/28 00:09:29 source.ip: 172.17.0.1:35054, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2021/01/28 00:09:29 source.ip: 172.17.0.1:35052, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:07]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] added role [fleet_enroll]
[00:00:07]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] added user [fleet_enroll]
[00:00:09]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:10]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/G_iQSksiTyaVNw-B4L9cjA] update_mapping [_doc]
[00:00:11]           └-: When on the Endpoint Policy Details Page
[00:00:11]             └-> "before all" hook
[00:03:16]             └-: when on Ingest Policy Edit Package Policy page
[00:03:16]               └-> "before all" hook
[00:03:16]               └-> should show the endpoint policy form
[00:03:16]                 └-> "before each" hook: global before each
[00:03:16]                 └-> "before each" hook
[00:03:19]                   │ info Using cached retrieval of endpoint package
[00:03:20]                   │ proc [kibana]   log   [00:12:42.478] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:20]                   │ info [docker:registry] 2021/01/28 00:12:42 source.ip: 172.17.0.1:50054, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:20]                   │ proc [kibana]   log   [00:12:42.497] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:20]                   │ info [docker:registry] 2021/01/28 00:12:42 source.ip: 172.17.0.1:50060, url.original: /package/endpoint/0.16.0-dev.4
[00:03:20]                   │ info [docker:registry] 2021/01/28 00:12:42 source.ip: 172.17.0.1:50064, url.original: /package/endpoint/0.16.0-dev.4/
[00:03:23]                   │ debg navigating to fleet url: http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:03:23]                   │ debg navigate to: http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:03:23]                   │ debg browser[INFO] http://localhost:61161/app/fleet?_t=1611792765034#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f 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:03:23]                   │
[00:03:23]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:23]                   │ debg ... sleep(700) start
[00:03:23]                   │ debg ... sleep(700) end
[00:03:23]                   │ debg returned from get, calling refresh
[00:03:24]                   │ debg browser[INFO] http://localhost:61161/app/fleet?_t=1611792765034#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f 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:03:24]                   │
[00:03:24]                   │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:25]                   │ debg currentUrl = http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:03:25]                   │          appUrl = http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:03:25]                   │ debg TestSubjects.find(kibanaChrome)
[00:03:25]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:25]                   │ debg ... sleep(501) start
[00:03:25]                   │ proc [kibana]   log   [00:12:47.468] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:25]                   │ proc [kibana]   log   [00:12:47.470] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:25]                   │ info [docker:registry] 2021/01/28 00:12:47 source.ip: 172.17.0.1:50370, url.original: /search?package=system&internal=true&experimental=true
[00:03:25]                   │ info [docker:registry] 2021/01/28 00:12:47 source.ip: 172.17.0.1:50368, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:25]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] updated role [fleet_enroll]
[00:03:25]                   │ proc [kibana]   log   [00:12:47.520] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:25]                   │ proc [kibana]   log   [00:12:47.526] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:03:25]                   │ info [docker:registry] 2021/01/28 00:12:47 source.ip: 172.17.0.1:50376, url.original: /search?package=endpoint&internal=true&experimental=true
[00:03:25]                   │ info [docker:registry] 2021/01/28 00:12:47 source.ip: 172.17.0.1:50380, url.original: /search?package=system&internal=true&experimental=true
[00:03:25]                   │ debg ... sleep(501) end
[00:03:25]                   │ debg in navigateTo url = http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:03:25]                   │ debg TestSubjects.exists(statusPageContainer)
[00:03:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:28]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:28]                   │ debg TestSubjects.exists(editPackagePolicy_header)
[00:03:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="editPackagePolicy_header"]') with timeout=120000
[00:03:31]                   │ proc [kibana]   log   [00:12:53.221] [error][fleet][plugins] [illegal_argument_exception] composable template [metrics-endpoint.metadata] template after composition with component templates [metrics-endpoint.metadata-mappings] is invalid response from /_index_template/metrics-endpoint.metadata: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [metrics-endpoint.metadata] template after composition with component templates [metrics-endpoint.metadata-mappings] is invalid"}],"type":"illegal_argument_exception","reason":"composable template [metrics-endpoint.metadata] template after composition with component templates [metrics-endpoint.metadata-mappings] is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [metrics-endpoint.metadata] has alias and data stream definitions"}},"status":400}
[00:03:31]                   │ERROR browser[SEVERE] http://localhost:61161/api/fleet/setup - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:03:31]                   │ debg --- retry.tryForTime error: [data-test-subj="editPackagePolicy_header"] is not displayed
[00:03:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:30]                   │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/screenshots/failure/endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page _before each_ hook.png"
[00:05:30]                   │ info Current URL is: http://localhost:61161/app/fleet#/policies/877c8850-60fd-11eb-9b6e-6f75e0093f8a/edit-integration/0c0bfd27-4214-41f2-a9c6-94545218cd9f
[00:05:30]                   │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/x-pack/test/functional/failure_debug/html/endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page _before each_ hook.html
[00:05:30]                   └- ✖ fail: endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page "before each" hook for "should show the endpoint policy form"
[00:05:30]                   │      Error: expected testSubject(editPackagePolicy_header) to exist
[00:05:30]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/16/kibana/test/functional/services/common/test_subjects.ts:51:15)
[00:05:30]                   │       at Object.ensureOnEditPageOrFail (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:107:7)
[00:05:30]                   │       at Object.navigateToAgentPolicyEditPackagePolicy (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:117:7)
[00:05:30]                   │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:581:9)
[00:05:30]                   │       at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:05:30]                   │ 
[00:05:30]                   │ 

Stack Trace

Error: expected testSubject(editPackagePolicy_header) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/16/kibana/test/functional/services/common/test_subjects.ts:51:15)
    at Object.ensureOnEditPageOrFail (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:107:7)
    at Object.navigateToAgentPolicyEditPackagePolicy (test/security_solution_endpoint/page_objects/ingest_manager_create_package_policy_page.ts:117:7)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/policy_details.ts:581:9)
    at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

X-Pack EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/agents_setup·ts.Fleet Endpoints fleet_agents_setup should create a fleet_enroll user and role

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:00:00]           └-: fleet_agents_setup
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> should create a fleet_enroll user and role
[00:00:00]               └-> "before each" hook: global before each
[00:00:00]               └-> "before each" hook: beforeSetupWithDockerRegistry
[00:00:00]               └-> "before each" hook
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.ds-ilm-history-5-2021.01.28-000001] creating index, cause [initialize_data_stream], templates [ilm-history], shards [1]/[0]
[00:00:00]                 │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2021.01.28-000001] and backing indices []
[00:00:00]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] moving index [.ds-ilm-history-5-2021.01.28-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ds-ilm-history-5-2021.01.28-000001][0]]])." previous.health="YELLOW" reason="shards started [[.ds-ilm-history-5-2021.01.28-000001][0]]"
[00:00:00]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] moving index [.ds-ilm-history-5-2021.01.28-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]               │ proc [kibana]   log   [00:15:02.761] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ proc [kibana]   log   [00:15:02.765] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59384, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59382, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] moving index [.ds-ilm-history-5-2021.01.28-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ilm-history-ilm-policy]
[00:00:00]               │ proc [kibana]   log   [00:15:02.804] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ proc [kibana]   log   [00:15:02.806] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59394, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59392, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]               │ proc [kibana]   log   [00:15:02.816] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ proc [kibana]   log   [00:15:02.817] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59400, url.original: /package/system/0.5.3
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59402, url.original: /package/endpoint/0.13.1
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59408, url.original: /package/system/0.5.3/
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59410, url.original: /package/endpoint/0.13.1/
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:00]               │ proc [kibana]   log   [00:15:02.956] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59416, url.original: /epr/system/system-0.5.3.zip
[00:00:00]               │ proc [kibana]   log   [00:15:02.994] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]               │ info [docker:registry] 2021/01/28 00:15:02 source.ip: 172.17.0.1:59422, url.original: /epr/endpoint/endpoint-0.13.1.zip
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] [.kibana_1/x7zZl5TsQnOuq6Z0yPM2Qg] update_mapping [_doc]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.registry-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.file-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.process-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.security-mappings]
[00:00:05]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.network-mappings]
[00:00:06]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [metrics-endpoint.metadata-mappings]
[00:00:06]               │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611788188970310643] adding component template [logs-endpoint.library-mappings]
[00:00:06]               │ proc [kibana]   log   [00:15:08.724] [error][fleet][plugins] uninstalling endpoint-0.13.1 after error installing
[00:00:06]               │ proc [kibana]   log   [00:15:08.736] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: endpoint is installed by default and cannot be removed
[00:00:06]               │ proc [kibana]   log   [00:15:09.345] [error][fleet][plugins] uninstalling system-0.5.3 after error installing
[00:00:06]               │ proc [kibana]   log   [00:15:09.356] [error][fleet][plugins] failed to uninstall or rollback package after installation error Error: system is installed by default and cannot be removed
[00:00:06]               │ proc [kibana]   log   [00:15:09.357] [error][fleet][plugins] [illegal_argument_exception] composable template [logs-system.auth] template after composition is invalid response from /_index_template/logs-system.auth: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid"}],"type":"illegal_argument_exception","reason":"composable template [logs-system.auth] template after composition is invalid","caused_by":{"type":"illegal_argument_exception","reason":"template [logs-system.auth] has alias and data stream definitions"}},"status":400}
[00:00:06]               └- ✖ fail: Fleet Endpoints fleet_agents_setup should create a fleet_enroll user and role
[00:00:06]               │      Error: expected 200 "OK", got 400 "Bad Request"
[00:00:06]               │       at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
[00:00:06]               │       at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
[00:00:06]               │       at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
[00:00:06]               │       at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
[00:00:06]               │       at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
[00:00:06]               │       at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:718:3)
[00:00:06]               │       at /dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/index.js:906:18
[00:00:06]               │       at IncomingMessage.<anonymous> (/dev/shm/workspace/kibana/node_modules/supertest/node_modules/superagent/lib/node/parsers/json.js:19:7)
[00:00:06]               │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:06]               │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:06]               │ 
[00:00:06]               │ 

Stack Trace

Error: expected 200 "OK", got 400 "Bad Request"
    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]

✅ unchanged

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

@spalger
Copy link
Contributor Author

spalger commented Jan 28, 2021

Fixed with #89512

@spalger spalger closed this Jan 28, 2021
@spalger spalger deleted the skip/fleet-tests-failing-es-promotion branch January 28, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing ES Promotion: composable index templates can no longer have both data stream and aliases definitions
2 participants