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

[Reporting/Config] allow string representations of duration settings #74202

Merged
merged 41 commits into from
Sep 17, 2020

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Aug 3, 2020

Summary

Goal: as part of instrumenting Reporting with Task Manager, we want a seamless way to pass our config values (milliseconds) to Task Manager (requires "time unit string").

This PR expands the allowed value types for millisecond values in Reporting config to allow either milliseconds or time units. Additionally, byte size values can now be number of bytes or "bytes unit string" (for example, "12mb").

Time units: https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units
Byte size units: https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#byte-units

The original value types were limited to number (milliseconds for duration, and number of bytes for byte size). Those values are still valid, which makes this not a breaking change.

The changes impacted a lot of unit tests that were going about mocking the config in a very casual way. I added a helper function that creates mock configs that have a valid schema.

  • Documentation
  • Update tests

For maintainers

Release Note

Reporting configuration settings for time duration values allow "time unit" strings to be specified as well as number of milliseconds. For byte size values, "byte size" strings are allowed as well as number of bytes. See the Reporting configuration documentation for more details.

@tsullivan tsullivan force-pushed the reporting/config-use-duration branch from 7064e7a to b7e2301 Compare August 17, 2020 23:08
@tsullivan tsullivan force-pushed the reporting/config-use-duration branch from b7e2301 to 5af986a Compare August 19, 2020 21:56
@tsullivan tsullivan changed the title [Reporting/Config] use better schema methods [Reporting/Config] allow string representations of duration settings Aug 19, 2020
pollEnabled: schema.boolean({ defaultValue: true }),
pollInterval: schema.number({ defaultValue: 3000 }),
pollIntervalErrorMultiplier: schema.number({ defaultValue: 10 }),
timeout: schema.number({ defaultValue: moment.duration(2, 'm').asMilliseconds() }),
timeout: schema.oneOf([schema.number(), schema.duration()], { defaultValue: 120000 }),
Copy link
Member Author

@tsullivan tsullivan Aug 19, 2020

Choose a reason for hiding this comment

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

defaultValue has to be a value that satisfies both schemas, so it must be a number.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's odd, seems like it should just need to satisfy one

@tsullivan tsullivan force-pushed the reporting/config-use-duration branch from 5af986a to c455384 Compare August 19, 2020 22:17
@@ -25,7 +25,7 @@ const getCompletedItemsCount = ({ renderCompleteSelector }: SelectorArgs) => {
export const waitForVisualizations = async (
captureConfig: CaptureConfig,
browser: HeadlessChromiumDriver,
itemsCount: number,
toEqual: number,
Copy link
Member Author

Choose a reason for hiding this comment

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

I renamed the variable so that the code compresses better below

@@ -8,7 +8,6 @@ import moment, { unitOfTime } from 'moment';

export const intervals = ['year', 'month', 'week', 'day', 'hour', 'minute'];

// TODO: This helper function can be removed by using `schema.duration` objects in the reporting config schema
Copy link
Member Author

Choose a reason for hiding this comment

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

This comment was not true

Copy link
Contributor

Choose a reason for hiding this comment

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

TERMINATED

@tsullivan tsullivan force-pushed the reporting/config-use-duration branch from c455384 to 0472d45 Compare August 19, 2020 22:25
@@ -134,25 +129,12 @@ test(`uses basePath from server if job doesn't have a basePath when creating sav
});

describe('config formatting', () => {
test(`lowercases server.host`, async () => {
const mockConfigGet = sinon.stub().withArgs('server', 'host').returns('COOL-HOSTNAME');
Copy link
Member Author

@tsullivan tsullivan Aug 19, 2020

Choose a reason for hiding this comment

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

This test runs the same code as the "lowercase" test right below. It was only passing because of the an odd way the stub function worked.

@tsullivan
Copy link
Member Author

@elasticmachine merge upstream

@tsullivan tsullivan marked this pull request as ready for review August 20, 2020 17:29
@tsullivan tsullivan requested a review from a team August 20, 2020 17:29
@tsullivan
Copy link
Member Author

Thanks @joelgriffith - that feedback definitely helped!

Copy link
Contributor

@joelgriffith joelgriffith left a comment

Choose a reason for hiding this comment

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

Nice work on the schema_utils, happy it's useful!

@tsullivan
Copy link
Member Author

There was a webpack issue with calling new ByteSizeValue from "common" code, so I had to move that function to the server side.

Copy link
Contributor

@joelgriffith joelgriffith left a comment

Choose a reason for hiding this comment

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

Sucks about the webpack gotcha, but still LGTM

@tsullivan tsullivan merged commit d22c47d into elastic:master Sep 17, 2020
@tsullivan tsullivan deleted the reporting/config-use-duration branch September 17, 2020 19:04
tsullivan added a commit to tsullivan/kibana that referenced this pull request Sep 17, 2020
…lastic#74202)

* [Reporting/Config] use better schema methods

* add createMockConfig

* update documentation

* fix observable.test

* add docs links to common options page

* make the schema match the docs

* wording edits per feedback

* self edits

* todo comment

* fix tests

* feedback change 1

* schema utils

* fix goof

* use objects for the defaults when available

* fix pollInterval

* fix snapshots

* Update report_listing.tsx

* call new ByteSizeValue on server side only

* revert xpack.reporting.poll

* fix ts

* fix snapshot

* use correct input for duration

* revert reorganize imports

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
tsullivan added a commit that referenced this pull request Sep 18, 2020
…74202) (#77807)

* [Reporting/Config] use better schema methods

* add createMockConfig

* update documentation

* fix observable.test

* add docs links to common options page

* make the schema match the docs

* wording edits per feedback

* self edits

* todo comment

* fix tests

* feedback change 1

* schema utils

* fix goof

* use objects for the defaults when available

* fix pollInterval

* fix snapshots

* Update report_listing.tsx

* call new ByteSizeValue on server side only

* revert xpack.reporting.poll

* fix ts

* fix snapshot

* use correct input for duration

* revert reorganize imports

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💔 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 a link to Policy Details"

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]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54096, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54094, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54102, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54104, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54110, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54112, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54118, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54120, url.original: /package/system/0.5.3/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54124, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54128, url.original: /epr/endpoint/endpoint-0.16.0-dev.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54132, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:41 source.ip: 172.17.0.1:54136, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54140, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54144, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54154, url.original: /search
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54152, url.original: /search
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54168, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54164, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54170, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54166, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54178, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54182, url.original: /package/system/0.5.3/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54186, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 18:37:42 source.ip: 172.17.0.1:54184, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.library-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.alerts-mappings]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metadata_current-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metadata_current] for index patterns [metrics-endpoint.metadata_current-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:06]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:06]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.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-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] 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.x.t.p.TransformIndex] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:00:07]             │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:07]             │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:00:07]             │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	... 9 more
[00:00:07]             │ proc [kibana]   log   [18:37:48.708] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:07]             │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:07]             │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:07]             │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:00:07]             │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:07]             │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:07]             │ proc [kibana]   status: 500,
[00:00:07]             │ proc [kibana]   displayName: 'InternalServerError',
[00:00:07]             │ proc [kibana]   message:
[00:00:07]             │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]   path:
[00:00:07]             │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:00:07]             │ proc [kibana]   query: undefined,
[00:00:07]             │ proc [kibana]   body:
[00:00:07]             │ proc [kibana]    { error:
[00:00:07]             │ proc [kibana]       { root_cause: [Array],
[00:00:07]             │ proc [kibana]         type: 'runtime_exception',
[00:00:07]             │ proc [kibana]         reason:
[00:00:07]             │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]         caused_by: [Object] },
[00:00:07]             │ proc [kibana]      status: 500 },
[00:00:07]             │ proc [kibana]   statusCode: 500,
[00:00:07]             │ proc [kibana]   response:
[00:00:07]             │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:00:07]             │ proc [kibana]   toString: [Function],
[00:00:07]             │ proc [kibana]   toJSON: [Function] }
[00:00:07]             │ proc [kibana]   log   [18:37:48.716] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:07]             │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:07]             │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:07]             │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:00:07]             │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:07]             │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:07]             │ proc [kibana]   status: 500,
[00:00:07]             │ proc [kibana]   displayName: 'InternalServerError',
[00:00:07]             │ proc [kibana]   message:
[00:00:07]             │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]   path:
[00:00:07]             │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:00:07]             │ proc [kibana]   query: undefined,
[00:00:07]             │ proc [kibana]   body:
[00:00:07]             │ proc [kibana]    { error:
[00:00:07]             │ proc [kibana]       { root_cause: [Array],
[00:00:07]             │ proc [kibana]         type: 'runtime_exception',
[00:00:07]             │ proc [kibana]         reason:
[00:00:07]             │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]         caused_by: [Object] },
[00:00:07]             │ proc [kibana]      status: 500 },
[00:00:07]             │ proc [kibana]   statusCode: 500,
[00:00:07]             │ proc [kibana]   response:
[00:00:07]             │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:00:07]             │ proc [kibana]   toString: [Function],
[00:00:07]             │ proc [kibana]   toJSON: [Function] }
[00:00:07]             │ proc [kibana]   log   [18:37:48.717] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:00:07]             │ debg --- retry.try error: expected 200 "OK", got 500 "Internal Server Error"
[00:00:07]             │ proc [kibana]  error  [18:37:41.674]  Error: Internal Server Error
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:00:07]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54272, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54274, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54278, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54286, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54284, url.original: /search?package=system&internal=true&experimental=true
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54290, url.original: /package/system/0.5.3/
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54294, url.original: /package/system/0.5.3
[00:00:07]             │ info [docker:registry] 2020/09/29 18:37:49 source.ip: 172.17.0.1:54298, url.original: /package/system/0.5.3/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:09]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/jue1G7h4QS2UqodRUTVS4g] update_mapping [_doc]
[00:00:13]           └-: When on the Endpoint Policy Details Page
[00:00:13]             └-> "before all" hook
[00:01:49]             └-: when on Ingest Policy Edit Package Policy page
[00:01:49]               └-> "before all" hook
[00:01:49]               └-> should show a link to Policy Details
[00:01:49]                 └-> "before each" hook: global before each
[00:01:49]                 └-> "before each" hook
[00:01:52]                   │ info Using cached retrieval of endpoint package
[00:01:52]                   │ info [docker:registry] 2020/09/29 18:39:34 source.ip: 172.17.0.1:54808, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:52]                   │ info [docker:registry] 2020/09/29 18:39:34 source.ip: 172.17.0.1:54810, url.original: /package/endpoint/0.16.0-dev.0
[00:01:52]                   │ info [docker:registry] 2020/09/29 18:39:34 source.ip: 172.17.0.1:54814, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:52]                   │ info [docker:registry] 2020/09/29 18:39:34 source.ip: 172.17.0.1:54818, url.original: /package/endpoint/0.16.0-dev.0
[00:01:52]                   │ info [docker:registry] 2020/09/29 18:39:34 source.ip: 172.17.0.1:54822, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:55]                   │ debg navigating to ingestManager url: http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:01:55]                   │ debg navigate to: http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:01:55]                   │ debg browser[INFO] http://localhost:61121/app/ingestManager?_t=1601404777471#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785 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:55]                   │
[00:01:55]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:55]                   │ debg ... sleep(700) start
[00:01:56]                   │ debg ... sleep(700) end
[00:01:56]                   │ debg returned from get, calling refresh
[00:01:57]                   │ debg browser[INFO] http://localhost:61121/app/ingestManager?_t=1601404777471#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785 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:57]                   │
[00:01:57]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:57]                   │ debg currentUrl = http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:01:57]                   │          appUrl = http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:01:57]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:57]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:58]                   │ debg ... sleep(501) start
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54840, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54844, url.original: /package/endpoint/0.16.0-dev.0
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54848, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:58]                   │ debg ... sleep(501) end
[00:01:58]                   │ debg in navigateTo url = http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:01:58]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54852, url.original: /search
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54856, url.original: /package/endpoint/0.16.0-dev.0
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54860, url.original: /package/system/0.5.3
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54866, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:58]                   │ info [docker:registry] 2020/09/29 18:39:40 source.ip: 172.17.0.1:54868, url.original: /package/system/0.5.3/
[00:02:01]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:01]                   │ debg TestSubjects.exists(editPackagePolicy_header)
[00:02:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="editPackagePolicy_header"]') with timeout=120000
[00:02:03]                   │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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:02:03]                   │ info [o.e.x.t.p.TransformIndex] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:03]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:02:03]                   │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:03]                   │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:02:03]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:02:03]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:02:03]                   │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:02:03]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:03]                   │      	... 9 more
[00:02:03]                   │ proc [kibana]   log   [18:39:45.559] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:03]                   │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:02:03]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:02:03]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:02:03]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:02:03]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:02:03]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:02:03]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:02:03]                   │ proc [kibana]   status: 500,
[00:02:03]                   │ proc [kibana]   displayName: 'InternalServerError',
[00:02:03]                   │ proc [kibana]   message:
[00:02:03]                   │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:03]                   │ proc [kibana]   path:
[00:02:03]                   │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:02:03]                   │ proc [kibana]   query: undefined,
[00:02:03]                   │ proc [kibana]   body:
[00:02:03]                   │ proc [kibana]    { error:
[00:02:03]                   │ proc [kibana]       { root_cause: [Array],
[00:02:03]                   │ proc [kibana]         type: 'runtime_exception',
[00:02:03]                   │ proc [kibana]         reason:
[00:02:03]                   │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:03]                   │ proc [kibana]         caused_by: [Object] },
[00:02:03]                   │ proc [kibana]      status: 500 },
[00:02:03]                   │ proc [kibana]   statusCode: 500,
[00:02:03]                   │ proc [kibana]   response:
[00:02:03]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:02:03]                   │ proc [kibana]   toString: [Function],
[00:02:03]                   │ proc [kibana]   toJSON: [Function] }
[00:02:03]                   │ proc [kibana]   log   [18:39:45.561] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:03]                   │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:02:03]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:02:03]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:02:03]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:02:03]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:02:03]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:02:03]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:02:03]                   │ proc [kibana]   status: 500,
[00:02:03]                   │ proc [kibana]   displayName: 'InternalServerError',
[00:02:03]                   │ proc [kibana]   message:
[00:02:03]                   │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:03]                   │ proc [kibana]   path:
[00:02:03]                   │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:02:03]                   │ proc [kibana]   query: undefined,
[00:02:03]                   │ proc [kibana]   body:
[00:02:03]                   │ proc [kibana]    { error:
[00:02:03]                   │ proc [kibana]       { root_cause: [Array],
[00:02:03]                   │ proc [kibana]         type: 'runtime_exception',
[00:02:03]                   │ proc [kibana]         reason:
[00:02:03]                   │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:03]                   │ proc [kibana]         caused_by: [Object] },
[00:02:03]                   │ proc [kibana]      status: 500 },
[00:02:03]                   │ proc [kibana]   statusCode: 500,
[00:02:03]                   │ proc [kibana]   response:
[00:02:03]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:02:03]                   │ proc [kibana]   toString: [Function],
[00:02:03]                   │ proc [kibana]   toJSON: [Function] }
[00:02:03]                   │ proc [kibana]   log   [18:39:45.561] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:02:03]                   │ proc [kibana]  error  [18:39:40.010]  Error: Internal Server Error
[00:02:03]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:02:03]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:02:03]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:02:03]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:02:03]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:04]                   │ERROR browser[SEVERE] http://localhost:61121/api/ingest_manager/setup - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:02:04]                   │ debg --- retry.tryForTime error: [data-test-subj="editPackagePolicy_header"] is not displayed
[00:02:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:03]                   │ info Taking screenshot "/dev/shm/workspace/parallel/12/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:04:04]                   │ info Current URL is: http://localhost:61121/app/ingestManager#/policies/1cffa760-0283-11eb-8c29-cfacb8177785/edit-integration/1ee6b6e0-0283-11eb-8c29-cfacb8177785
[00:04:04]                   │ info Saving page source to: /dev/shm/workspace/parallel/12/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:04:04]                   └- ✖ fail: endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page "before each" hook for "should show a link to Policy Details"
[00:04:04]                   │      Error: expected testSubject(editPackagePolicy_header) to exist
[00:04:04]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:04:04]                   │ 
[00:04:04]                   │ 

Stack Trace

Error: expected testSubject(editPackagePolicy_header) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:62:15)

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 a link to Policy Details"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43450, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43451, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43458, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43460, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43466, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43468, url.original: /package/system/0.5.3
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43474, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43476, url.original: /package/system/0.5.3/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43480, url.original: /epr/system/system-0.5.3.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43484, url.original: /epr/endpoint/endpoint-0.16.0-dev.0.tar.gz
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43490, url.original: /package/endpoint/0.16.0-dev.0
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43494, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43502, url.original: /package/system/0.5.3
[00:00:00]             │ info [docker:registry] 2020/09/29 17:51:50 source.ip: 172.17.0.1:43506, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43546, url.original: /search
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43544, url.original: /search
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43556, url.original: /package/endpoint/0.16.0-dev.0
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43558, url.original: /package/endpoint/0.16.0-dev.0
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43562, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43560, url.original: /package/system/0.5.3
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43568, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43574, url.original: /package/system/0.5.3/
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43576, url.original: /package/endpoint/0.16.0-dev.0/
[00:00:01]             │ info [docker:registry] 2020/09/29 17:51:51 source.ip: 172.17.0.1:43578, url.original: /package/system/0.5.3/
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.policy-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metadata-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.process-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.registry-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metrics-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.alerts-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.file-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.library-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [metrics-endpoint.metadata_current-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.security-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding component template [logs-endpoint.events.network-mappings]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:05]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] adding index template [metrics-endpoint.metadata_current] for index patterns [metrics-endpoint.metadata_current-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.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-centos-tests-xxl-1601397597448319429] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:07]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.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-centos-tests-xxl-1601397597448319429] 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-centos-tests-xxl-1601397597448319429] 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.x.t.p.TransformIndex] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:00:07]             │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:07]             │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:07]             │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:00:07]             │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:07]             │      	... 9 more
[00:00:07]             │ proc [kibana]   log   [17:51:57.916] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:07]             │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:07]             │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:07]             │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:00:07]             │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:07]             │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:07]             │ proc [kibana]   status: 500,
[00:00:07]             │ proc [kibana]   displayName: 'InternalServerError',
[00:00:07]             │ proc [kibana]   message:
[00:00:07]             │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]   path:
[00:00:07]             │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:00:07]             │ proc [kibana]   query: undefined,
[00:00:07]             │ proc [kibana]   body:
[00:00:07]             │ proc [kibana]    { error:
[00:00:07]             │ proc [kibana]       { root_cause: [Array],
[00:00:07]             │ proc [kibana]         type: 'runtime_exception',
[00:00:07]             │ proc [kibana]         reason:
[00:00:07]             │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]         caused_by: [Object] },
[00:00:07]             │ proc [kibana]      status: 500 },
[00:00:07]             │ proc [kibana]   statusCode: 500,
[00:00:07]             │ proc [kibana]   response:
[00:00:07]             │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:00:07]             │ proc [kibana]   toString: [Function],
[00:00:07]             │ proc [kibana]   toJSON: [Function] }
[00:00:07]             │ proc [kibana]   log   [17:51:57.924] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:00:07]             │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:07]             │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:07]             │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:07]             │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:00:07]             │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:07]             │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:07]             │ proc [kibana]   status: 500,
[00:00:07]             │ proc [kibana]   displayName: 'InternalServerError',
[00:00:07]             │ proc [kibana]   message:
[00:00:07]             │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]   path:
[00:00:07]             │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:00:07]             │ proc [kibana]   query: undefined,
[00:00:07]             │ proc [kibana]   body:
[00:00:07]             │ proc [kibana]    { error:
[00:00:07]             │ proc [kibana]       { root_cause: [Array],
[00:00:07]             │ proc [kibana]         type: 'runtime_exception',
[00:00:07]             │ proc [kibana]         reason:
[00:00:07]             │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:00:07]             │ proc [kibana]         caused_by: [Object] },
[00:00:07]             │ proc [kibana]      status: 500 },
[00:00:07]             │ proc [kibana]   statusCode: 500,
[00:00:07]             │ proc [kibana]   response:
[00:00:07]             │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:00:07]             │ proc [kibana]   toString: [Function],
[00:00:07]             │ proc [kibana]   toJSON: [Function] }
[00:00:07]             │ proc [kibana]   log   [17:51:57.935] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:00:07]             │ debg --- retry.try error: expected 200 "OK", got 500 "Internal Server Error"
[00:00:07]             │ proc [kibana]  error  [17:51:50.418]  Error: Internal Server Error
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:00:07]             │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:00:07]             │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:00:07]             │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43750, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43752, url.original: /package/system/0.5.3
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43756, url.original: /package/system/0.5.3/
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43768, url.original: /search?package=system&internal=true&experimental=true
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43770, url.original: /package/system/0.5.3
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43774, url.original: /package/system/0.5.3/
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43778, url.original: /package/system/0.5.3
[00:00:08]             │ info [docker:registry] 2020/09/29 17:51:58 source.ip: 172.17.0.1:43782, url.original: /package/system/0.5.3/
[00:00:08]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:10]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] added role [fleet_enroll]
[00:00:10]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] added user [fleet_enroll]
[00:00:12]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] [.kibana_1/qsAwh0PcS_Cg_VO4G8aJtw] update_mapping [_doc]
[00:00:14]           └-: When on the Endpoint Policy Details Page
[00:00:14]             └-> "before all" hook
[00:01:51]             └-: when on Ingest Policy Edit Package Policy page
[00:01:51]               └-> "before all" hook
[00:01:51]               └-> should show a link to Policy Details
[00:01:51]                 └-> "before each" hook: global before each
[00:01:51]                 └-> "before each" hook
[00:01:54]                   │ info Using cached retrieval of endpoint package
[00:01:54]                   │ info [docker:registry] 2020/09/29 17:53:44 source.ip: 172.17.0.1:48643, url.original: /package/endpoint/0.16.0-dev.0
[00:01:54]                   │ info [docker:registry] 2020/09/29 17:53:44 source.ip: 172.17.0.1:48642, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:54]                   │ info [docker:registry] 2020/09/29 17:53:44 source.ip: 172.17.0.1:48648, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:54]                   │ info [docker:registry] 2020/09/29 17:53:44 source.ip: 172.17.0.1:48652, url.original: /package/endpoint/0.16.0-dev.0
[00:01:54]                   │ info [docker:registry] 2020/09/29 17:53:44 source.ip: 172.17.0.1:48656, url.original: /package/endpoint/0.16.0-dev.0/
[00:01:57]                   │ debg navigating to ingestManager url: http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:01:57]                   │ debg navigate to: http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:01:57]                   │ debg browser[INFO] http://localhost:61121/app/ingestManager?_t=1601402027631#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05 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:57]                   │
[00:01:57]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:57]                   │ debg ... sleep(700) start
[00:01:58]                   │ debg ... sleep(700) end
[00:01:58]                   │ debg returned from get, calling refresh
[00:01:58]                   │ debg browser[INFO] http://localhost:61121/app/ingestManager?_t=1601402027631#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05 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:58]                   │
[00:01:58]                   │ debg browser[INFO] http://localhost:61121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:58]                   │ debg currentUrl = http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:01:58]                   │          appUrl = http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:01:58]                   │ debg TestSubjects.find(kibanaChrome)
[00:01:58]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:59]                   │ debg ... sleep(501) start
[00:01:59]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49472, url.original: /search?package=endpoint&internal=true&experimental=true
[00:01:59]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49478, url.original: /package/endpoint/0.16.0-dev.0
[00:01:59]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49482, url.original: /package/endpoint/0.16.0-dev.0/
[00:02:00]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49658, url.original: /search
[00:02:00]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49664, url.original: /package/system/0.5.3
[00:02:00]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49666, url.original: /package/endpoint/0.16.0-dev.0
[00:02:00]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49672, url.original: /package/endpoint/0.16.0-dev.0/
[00:02:00]                   │ info [docker:registry] 2020/09/29 17:53:50 source.ip: 172.17.0.1:49674, url.original: /package/system/0.5.3/
[00:02:00]                   │ debg ... sleep(501) end
[00:02:00]                   │ debg in navigateTo url = http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:02:00]                   │ debg TestSubjects.exists(statusPageContainer)
[00:02:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:02]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:03]                   │ debg TestSubjects.exists(editPackagePolicy_header)
[00:02:03]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="editPackagePolicy_header"]') with timeout=120000
[00:02:05]                   │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] 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:02:05]                   │ info [o.e.x.t.p.TransformIndex] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:05]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xxl-1601397597448319429] path: /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start, params: {id=metrics-endpoint.metadata-current-default-0.16.0-dev.0}
[00:02:05]                   │      java.lang.RuntimeException: Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:05]                   │      	at org.elasticsearch.xpack.transform.persistence.TransformIndex.lambda$createDestinationIndex$1(TransformIndex.java:61) [transform-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.client.node.NodeClient.lambda$executeLocally$1(NodeClient.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:184) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:50) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$2(TransportMasterNodeAction.java:158) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.ActionListener$2.onFailure(ActionListener.java:94) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:173) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:71) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onFailure(AckedClusterStateUpdateTask.java:79) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.onFailure(MetadataCreateIndexService.java:313) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService$SafeClusterStateTaskListener.onFailure(MasterService.java:508) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService$TaskOutputs.notifyFailedTasks(MasterService.java:441) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:151) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:674) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:02:05]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:02:05]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:02:05]                   │      Caused by: java.lang.IllegalArgumentException: cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead
[00:02:05]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV2Template(MetadataCreateIndexService.java:507) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:360) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:380) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:303) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:697) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:319) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:214) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:02:05]                   │      	... 9 more
[00:02:05]                   │ proc [kibana]   log   [17:53:55.715] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:05]                   │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:02:05]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:02:05]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:02:05]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:02:05]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:02:05]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:02:05]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:02:05]                   │ proc [kibana]   status: 500,
[00:02:05]                   │ proc [kibana]   displayName: 'InternalServerError',
[00:02:05]                   │ proc [kibana]   message:
[00:02:05]                   │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:05]                   │ proc [kibana]   path:
[00:02:05]                   │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:02:05]                   │ proc [kibana]   query: undefined,
[00:02:05]                   │ proc [kibana]   body:
[00:02:05]                   │ proc [kibana]    { error:
[00:02:05]                   │ proc [kibana]       { root_cause: [Array],
[00:02:05]                   │ proc [kibana]         type: 'runtime_exception',
[00:02:05]                   │ proc [kibana]         reason:
[00:02:05]                   │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:05]                   │ proc [kibana]         caused_by: [Object] },
[00:02:05]                   │ proc [kibana]      status: 500 },
[00:02:05]                   │ proc [kibana]   statusCode: 500,
[00:02:05]                   │ proc [kibana]   response:
[00:02:05]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:02:05]                   │ proc [kibana]   toString: [Function],
[00:02:05]                   │ proc [kibana]   toJSON: [Function] }
[00:02:05]                   │ proc [kibana]   log   [17:53:55.718] [error][ingestManager][plugins] { Error: [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]
[00:02:05]                   │ proc [kibana]     at respond (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:02:05]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:02:05]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:02:05]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/node_modules/lodash/lodash.js:4949:19)
[00:02:05]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:02:05]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:02:05]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:02:05]                   │ proc [kibana]   status: 500,
[00:02:05]                   │ proc [kibana]   displayName: 'InternalServerError',
[00:02:05]                   │ proc [kibana]   message:
[00:02:05]                   │ proc [kibana]    '[runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:05]                   │ proc [kibana]   path:
[00:02:05]                   │ proc [kibana]    '/_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start',
[00:02:05]                   │ proc [kibana]   query: undefined,
[00:02:05]                   │ proc [kibana]   body:
[00:02:05]                   │ proc [kibana]    { error:
[00:02:05]                   │ proc [kibana]       { root_cause: [Array],
[00:02:05]                   │ proc [kibana]         type: 'runtime_exception',
[00:02:05]                   │ proc [kibana]         reason:
[00:02:05]                   │ proc [kibana]          'Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]',
[00:02:05]                   │ proc [kibana]         caused_by: [Object] },
[00:02:05]                   │ proc [kibana]      status: 500 },
[00:02:05]                   │ proc [kibana]   statusCode: 500,
[00:02:05]                   │ proc [kibana]   response:
[00:02:05]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}',
[00:02:05]                   │ proc [kibana]   toString: [Function],
[00:02:05]                   │ proc [kibana]   toJSON: [Function] }
[00:02:05]                   │ proc [kibana]   log   [17:53:55.719] [error][ingestManager][plugins] [runtime_exception] Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0] response from /_transform/metrics-endpoint.metadata-current-default-0.16.0-dev.0/_start: {"error":{"root_cause":[{"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]"}],"type":"runtime_exception","reason":"Could not create destination index [metrics-endpoint.metadata_current-default] for transform [metrics-endpoint.metadata-current-default-0.16.0-dev.0]","caused_by":{"type":"illegal_argument_exception","reason":"cannot create index with name [metrics-endpoint.metadata_current-default], because it matches with template [metrics-endpoint.metadata_current] that creates data streams only, use create data stream api instead"}},"status":500}
[00:02:05]                   │ proc [kibana]  error  [17:53:50.277]  Error: Internal Server Error
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:132:19)
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:86:19)
[00:02:05]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/response_adapter.js:81:17)
[00:02:05]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/parallel/12/kibana/build/kibana-build-xpack/src/core/server/http/router/router.js:164:34)
[00:02:05]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:05]                   │ERROR browser[SEVERE] http://localhost:61121/api/ingest_manager/setup - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:02:05]                   │ debg --- retry.tryForTime error: [data-test-subj="editPackagePolicy_header"] is not displayed
[00:02:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:03:31]                   │ debg --- retry.tryForTime failed again with the same message...
[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:05]                   │ info Taking screenshot "/dev/shm/workspace/parallel/12/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:04:05]                   │ info Current URL is: http://localhost:61121/app/ingestManager#/policies/b5f73750-027c-11eb-92ab-e77dd81a8a05/edit-integration/b7e23e70-027c-11eb-92ab-e77dd81a8a05
[00:04:05]                   │ info Saving page source to: /dev/shm/workspace/parallel/12/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:04:05]                   └- ✖ fail: endpoint When on the Endpoint Policy Details Page when on Ingest Policy Edit Package Policy page "before each" hook for "should show a link to Policy Details"
[00:04:05]                   │      Error: expected testSubject(editPackagePolicy_header) to exist
[00:04:05]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:04:05]                   │ 
[00:04:05]                   │ 

Stack Trace

Error: expected testSubject(editPackagePolicy_header) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/12/kibana/test/functional/services/common/test_subjects.ts:62:15)

Metrics [docs]

@kbn/optimizer bundle module count

id value diff baseline
reporting 46 +1 45

distributable file count

id value diff baseline
default 45908 +1 45907

page load bundle size

id value diff baseline
reporting 304.2KB +405.0B 303.8KB

History

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

@sophiec20 sophiec20 added the (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:enhancement v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants