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

Add test to verify Console proxy doesn't forward system index header #95562

Merged
merged 3 commits into from
Mar 29, 2021

Conversation

joshdover
Copy link
Contributor

@joshdover joshdover commented Mar 26, 2021

Summary

This is part 1 of #90123

Adds a end-to-end test against the Console /api/console/proxy endpoint to verify that the default behavior does not allow passing the x-elastic-product-origin header

This PR will be backported to 7.x

Part 2 will target only master/8.0 and it will update the end-to-end test for Console to verify that requests to the .kibana alias are always rejected

Part 2 is blocked by Elasticsearch starting to reject requests to external system indices when the header is not set (elastic/elasticsearch#67384). Will defer the remaining parts of #90123 until later in the 7.x cycle.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

Sorry, something went wrong.

@joshdover joshdover added release_note:deprecation Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 v7.13.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Mar 26, 2021
@joshdover joshdover marked this pull request as ready for review March 26, 2021 17:57
@joshdover joshdover requested a review from a team as a code owner March 26, 2021 17:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@joshdover joshdover requested a review from jloleysens March 26, 2021 17:57
@joshdover joshdover marked this pull request as draft March 26, 2021 18:11
@joshdover
Copy link
Contributor Author

Just realized we already had some reservedHeaders validation, going to remove the deprecation I added

@joshdover joshdover force-pushed the console-proxy-system-index branch from d813059 to b145b6e Compare March 26, 2021 18:14
@joshdover joshdover changed the title Deprecate setting x-elastic-product-origin header in ES config and test Console behavior Add test to verify Console proxy doesn't forward system index header Mar 26, 2021
@joshdover joshdover marked this pull request as ready for review March 26, 2021 18:15
@joshdover
Copy link
Contributor Author

@elasticmachine merge upstream

kibanamachine and others added 2 commits March 29, 2021 07:23

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@joshdover joshdover enabled auto-merge (squash) March 29, 2021 13:22
@joshdover joshdover merged commit 3a48aa6 into elastic:master Mar 29, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 29, 2021
…lastic#95562)

* Add test to verify Console API does not forward system index header

* Add integration test to Core to verify system indices warning behavior

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #95666

This backport PR will be merged automatically after passing CI.

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Thanks for adding these test @joshdover . FWIW, console coverage looks good to me 👍🏻

kibanamachine added a commit that referenced this pull request Mar 29, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…95562) (#95666)

* Add test to verify Console API does not forward system index header

* Add integration test to Core to verify system indices warning behavior

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
@joshdover joshdover added release_note:skip Skip the PR/issue when compiling release notes and removed release_note:deprecation labels May 5, 2021
@joshdover joshdover deleted the console-proxy-system-index branch May 5, 2021 10:33
@kibanamachine
Copy link
Contributor

kibanamachine commented May 5, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/dashboard_spaces·ts.dashboard feature controls spaces space with no features disabled "before all" hook for "shows dashboard navlink"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook in "dashboard"
[00:00:00]           └-: feature controls
[00:00:00]             └-> "before all" hook in "feature controls"
[00:00:00]             └-: spaces
[00:00:00]               └-> "before all" hook in "spaces"
[00:00:00]               └-> "before all" hook in "spaces"
[00:00:00]                 │ info [logstash_functional] Loading "mappings.json"
[00:00:00]                 │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.21/Qp-mQqH-TsCQenw_gwD5PQ] update_mapping [_doc]
[00:00:05]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.20/OK0CKARLTRawH-xLI5Xdcw] update_mapping [_doc]
[00:00:10]                 │ info progress: 9920
[00:00:13]                 │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:13]                 │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:13]                 │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:13]               └-: space with no features disabled
[00:00:13]                 └-> "before all" hook for "shows dashboard navlink"
[00:00:13]                 └-> "before all" hook for "shows dashboard navlink"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Loading "mappings.json"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Loading "data.json"
[00:00:13]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [.kibana_task_manager_8.0.0_001/YLrd47q2QDOmZqfa5ZYc2A] deleting index
[00:00:13]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [.kibana_8.0.0_001/msqYUPZISb6RFyh38Og-uw] deleting index
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Deleted existing index ".kibana_8.0.0_001"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:13]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] failed on parsing mappings on index creation [.kibana]
[00:00:13]                   │      org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping: using deprecated parameters [tree] in mapper [bounds] of type [geo_shape] is no longer allowed
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:288) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.mergeAndApplyMappings(MapperService.java:266) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:250) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:983) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$2(MetadataCreateIndexService.java:408) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:628) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:406) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:483) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:369) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:376) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:293) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:48) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:686) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:308) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:203) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:140) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:139) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:177) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:669) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:241) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:204) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:13]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:13]                   │      	at java.lang.Thread.run(Thread.java:831) [?:?]
[00:00:13]                   │      Caused by: java.lang.IllegalArgumentException: using deprecated parameters [tree] in mapper [bounds] of type [geo_shape] is no longer allowed
[00:00:13]                   │      	at org.elasticsearch.xpack.spatial.index.mapper.GeoShapeWithDocValuesFieldMapper.lambda$static$0(GeoShapeWithDocValuesFieldMapper.java:182) ~[?:?]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:318) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:237) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parse(ObjectMapper.java:207) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:318) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:237) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:153) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:98) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:92) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:286) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	... 23 more
[00:00:13]                   │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls spaces space with no features disabled _before all_ hook for _shows dashboard navlink_.png"
[00:00:14]                   │ info Current URL is: data:/,
[00:00:14]                   │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls spaces space with no features disabled _before all_ hook for _shows dashboard navlink_.html
[00:00:14]                   └- ✖ fail: dashboard feature controls spaces space with no features disabled "before all" hook for "shows dashboard navlink"
[00:00:14]                   │      ResponseError: mapper_parsing_exception
[00:00:14]                   │       at onBody (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
[00:00:14]                   │       at IncomingMessage.onEnd (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
[00:00:14]                   │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:14]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:14]                   │ 
[00:00:14]                   │ 

Stack Trace

ResponseError: mapper_parsing_exception
    at onBody (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
    at IncomingMessage.onEnd (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  meta: {
    body: { error: [Object], status: 400 },
    statusCode: 400,
    headers: {
      'content-type': 'application/json;charset=utf-8',
      'content-length': '527'
    },
    meta: {
      context: null,
      request: [Object],
      name: 'elasticsearch-js',
      connection: [Object],
      attempts: 0,
      aborted: false
    }
  }
}

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/dashboard_spaces·ts.dashboard feature controls spaces space with no features disabled "after all" hook for "can view existing Dashboard"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook in "dashboard"
[00:00:00]           └-: feature controls
[00:00:00]             └-> "before all" hook in "feature controls"
[00:00:00]             └-: spaces
[00:00:00]               └-> "before all" hook in "spaces"
[00:00:00]               └-> "before all" hook in "spaces"
[00:00:00]                 │ info [logstash_functional] Loading "mappings.json"
[00:00:00]                 │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]                 │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]                 │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.21/Qp-mQqH-TsCQenw_gwD5PQ] update_mapping [_doc]
[00:00:05]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [logstash-2015.09.20/OK0CKARLTRawH-xLI5Xdcw] update_mapping [_doc]
[00:00:10]                 │ info progress: 9920
[00:00:13]                 │ info [logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:13]                 │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:13]                 │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:13]               └-: space with no features disabled
[00:00:13]                 └-> "before all" hook for "shows dashboard navlink"
[00:00:13]                 └-> "before all" hook for "shows dashboard navlink"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Loading "mappings.json"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Loading "data.json"
[00:00:13]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [.kibana_task_manager_8.0.0_001/YLrd47q2QDOmZqfa5ZYc2A] deleting index
[00:00:13]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] [.kibana_8.0.0_001/msqYUPZISb6RFyh38Og-uw] deleting index
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Deleted existing index ".kibana_8.0.0_001"
[00:00:13]                   │ info [dashboard/feature_controls/spaces] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:00:13]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] failed on parsing mappings on index creation [.kibana]
[00:00:13]                   │      org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping: using deprecated parameters [tree] in mapper [bounds] of type [geo_shape] is no longer allowed
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:288) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.mergeAndApplyMappings(MapperService.java:266) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:250) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.updateIndexMappingsAndBuildSortOrder(MetadataCreateIndexService.java:983) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.lambda$applyCreateIndexWithTemporaryService$2(MetadataCreateIndexService.java:408) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.indices.IndicesService.withTempIndexService(IndicesService.java:628) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexWithTemporaryService(MetadataCreateIndexService.java:406) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequestWithV1Templates(MetadataCreateIndexService.java:483) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:369) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService.applyCreateIndexRequest(MetadataCreateIndexService.java:376) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.metadata.MetadataCreateIndexService$1.execute(MetadataCreateIndexService.java:293) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:48) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:686) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:308) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:203) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:140) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:139) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:177) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:669) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:241) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:204) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:00:13]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:00:13]                   │      	at java.lang.Thread.run(Thread.java:831) [?:?]
[00:00:13]                   │      Caused by: java.lang.IllegalArgumentException: using deprecated parameters [tree] in mapper [bounds] of type [geo_shape] is no longer allowed
[00:00:13]                   │      	at org.elasticsearch.xpack.spatial.index.mapper.GeoShapeWithDocValuesFieldMapper.lambda$static$0(GeoShapeWithDocValuesFieldMapper.java:182) ~[?:?]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:318) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:237) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parse(ObjectMapper.java:207) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:318) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:237) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:153) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:98) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MappingParser.parse(MappingParser.java:92) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	at org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:286) ~[elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:00:13]                   │      	... 23 more
[00:00:13]                   │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls spaces space with no features disabled _before all_ hook for _shows dashboard navlink_.png"
[00:00:14]                   │ info Current URL is: data:/,
[00:00:14]                   │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls spaces space with no features disabled _before all_ hook for _shows dashboard navlink_.html
[00:00:14]                   └- ✖ fail: dashboard feature controls spaces space with no features disabled "before all" hook for "shows dashboard navlink"
[00:00:14]                   │      ResponseError: mapper_parsing_exception
[00:00:14]                   │       at onBody (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
[00:00:14]                   │       at IncomingMessage.onEnd (/dev/shm/workspace/parallel/20/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
[00:00:14]                   │       at endReadableNT (internal/streams/readable.js:1327:12)
[00:00:14]                   │       at processTicksAndRejections (internal/process/task_queues.js:80:21)
[00:00:14]                   │ 
[00:00:14]                   │ 
[00:00:14]                   └-> "after all" hook for "can view existing Dashboard"
[00:00:14]                     │ debg deleting space: custom_space
[00:00:14]                     │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls spaces space with no features disabled _after all_ hook for _can view existing Dashboard_.png"
[00:00:14]                     │ info Current URL is: data:/,
[00:00:14]                     │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls spaces space with no features disabled _after all_ hook for _can view existing Dashboard_.html
[00:00:14]                     └- ✖ fail: dashboard feature controls spaces space with no features disabled "after all" hook for "can view existing Dashboard"
[00:00:14]                     │      Error: Expected status code of 204, received 404 Not Found: { statusCode: 404, error: 'Not Found', message: 'Not Found' }
[00:00:14]                     │       at SpacesService.delete (test/common/services/spaces.ts:43:15)
[00:00:14]                     │       at runMicrotasks (<anonymous>)
[00:00:14]                     │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:14]                     │       at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_spaces.ts:41:9)
[00:00:14]                     │       at Object.apply (/dev/shm/workspace/parallel/20/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:00:14]                     │ 
[00:00:14]                     │ 

Stack Trace

Error: Expected status code of 204, received 404 Not Found: { statusCode: 404, error: 'Not Found', message: 'Not Found' }
    at SpacesService.delete (test/common/services/spaces.ts:43:15)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_spaces.ts:41:9)
    at Object.apply (/dev/shm/workspace/parallel/20/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/security/users·js.security app users should show the default roles

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: security app
[00:00:00]           └-> "before all" hook in "security app"
[00:02:20]           └-: users
[00:02:20]             └-> "before all" hook for "should show the default elastic and kibana_system users"
[00:02:20]             └-> "before all" hook for "should show the default elastic and kibana_system users"
[00:02:20]               │ debg users
[00:02:20]               │ debg navigating to settings url: http://localhost:61231/app/management
[00:02:20]               │ debg navigate to: http://localhost:61231/app/management
[00:02:20]               │ debg browser[INFO] http://localhost:61231/login?next=%2Fapp%2Fmanagement%3F_t%3D1620213524573 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:02:20]               │
[00:02:20]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:20]               │ debg ... sleep(700) start
[00:02:21]               │ debg ... sleep(700) end
[00:02:21]               │ debg returned from get, calling refresh
[00:02:21]               │ debg browser[INFO] http://localhost:61231/login?next=%2Fapp%2Fmanagement%3F_t%3D1620213524573 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:02:21]               │
[00:02:21]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:21]               │ debg currentUrl = http://localhost:61231/login?next=%2Fapp%2Fmanagement%3F_t%3D1620213524573
[00:02:21]               │          appUrl = http://localhost:61231/app/management
[00:02:21]               │ debg TestSubjects.find(kibanaChrome)
[00:02:21]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:23]               │ debg Found login page
[00:02:23]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:02:23]               │ debg TestSubjects.click(loginUsername)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61231/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:23]               │ debg browser[INFO] http://localhost:61231/41600/bundles/core/core.entry.js 12:151257 "Detected an unhandled Promise rejection.
[00:02:23]               │      Error: Unauthorized"
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61231/41600/bundles/core/core.entry.js 5:2514 
[00:02:23]               │ERROR browser[SEVERE] http://localhost:61231/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:02:23]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:02:23]               │ debg TestSubjects.click(loginPassword)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:02:23]               │ debg TestSubjects.click(loginSubmit)
[00:02:23]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:02:23]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:02:23]               │ proc [kibana]   log   [11:18:47.418] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:02:24]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:24]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:02:25]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213524573 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:02:25]               │
[00:02:25]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:26]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213529501 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:02:26]               │
[00:02:26]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:26]               │ debg Finished login process currentUrl = http://localhost:61231/app/management
[00:02:26]               │ debg ... sleep(501) start
[00:02:26]               │ debg ... sleep(501) end
[00:02:26]               │ debg in navigateTo url = http://localhost:61231/app/management
[00:02:26]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:26]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:29]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:29]               │ debg navigating to settings url: http://localhost:61231/app/management
[00:02:29]               │ debg navigate to: http://localhost:61231/app/management
[00:02:30]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213533842 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:02:30]               │
[00:02:30]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:30]               │ debg ... sleep(700) start
[00:02:31]               │ debg ... sleep(700) end
[00:02:31]               │ debg returned from get, calling refresh
[00:02:31]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213533842 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:02:31]               │
[00:02:31]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:32]               │ debg currentUrl = http://localhost:61231/app/management
[00:02:32]               │          appUrl = http://localhost:61231/app/management
[00:02:32]               │ debg TestSubjects.find(kibanaChrome)
[00:02:32]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:33]               │ debg ... sleep(501) start
[00:02:34]               │ debg ... sleep(501) end
[00:02:34]               │ debg in navigateTo url = http://localhost:61231/app/management
[00:02:34]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:36]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:37]               │ debg TestSubjects.click(users)
[00:02:37]               │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:02:37]             └-> should show the default elastic and kibana_system users
[00:02:37]               └-> "before each" hook: global before each for "should show the default elastic and kibana_system users"
[00:02:37]               │ debg TestSubjects.click(tablePaginationPopoverButton)
[00:02:37]               │ debg Find.clickByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:02:37]               │ debg Find.findByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:02:38]               │ debg TestSubjects.click(tablePagination-100-rows)
[00:02:38]               │ debg Find.clickByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:02:38]               │ debg Find.findByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:02:38]               │ debg TestSubjects.findAll(userRow)
[00:02:38]               │ debg Find.allByCssSelector('[data-test-subj="userRow"]') with timeout=10000
[00:02:41]               │ info actualUsers = {"apm_system":{"username":"apm_system","fullname":"","email":"","roles":["apm_system"],"reserved":true,"deprecated":false},"beats_system":{"username":"beats_system","fullname":"","email":"","roles":["beats_system"],"reserved":true,"deprecated":false},"elastic":{"username":"elastic","fullname":"","email":"","roles":["superuser"],"reserved":true,"deprecated":false},"kibana":{"username":"kibana","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":true},"kibana_system":{"username":"kibana_system","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":false},"logstash_system":{"username":"logstash_system","fullname":"","email":"","roles":["logstash_system"],"reserved":true,"deprecated":false},"remote_monitoring_user":{"username":"remote_monitoring_user","fullname":"","email":"","roles":["remote_monitoring_collector","remote_monitoring_agent"],"reserved":true,"deprecated":false},"test_user":{"username":"test_user","fullname":"test user","email":"","roles":["superuser"],"reserved":false,"deprecated":false},"userEast":{"username":"userEast","fullname":"dls EAST","email":"dlstest@elastic.com","roles":["kibana_admin","myroleEast"],"reserved":false,"deprecated":false}}
[00:02:41]               │ info config = "localhost"
[00:02:41]               └- ✓ pass  (4.1s) "security app users should show the default elastic and kibana_system users"
[00:02:41]             └-> should add new user
[00:02:41]               └-> "before each" hook: global before each for "should add new user"
[00:02:41]               │ debg navigating to settings url: http://localhost:61231/app/management
[00:02:41]               │ debg navigate to: http://localhost:61231/app/management
[00:02:41]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213545512 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:02:41]               │
[00:02:41]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:41]               │ debg ... sleep(700) start
[00:02:42]               │ debg ... sleep(700) end
[00:02:42]               │ debg returned from get, calling refresh
[00:02:43]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213545512 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:02:43]               │
[00:02:43]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:44]               │ debg currentUrl = http://localhost:61231/app/management
[00:02:44]               │          appUrl = http://localhost:61231/app/management
[00:02:44]               │ debg TestSubjects.find(kibanaChrome)
[00:02:44]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:44]               │ debg ... sleep(501) start
[00:02:45]               │ debg ... sleep(501) end
[00:02:45]               │ debg in navigateTo url = http://localhost:61231/app/management
[00:02:45]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:47]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:48]               │ debg TestSubjects.click(users)
[00:02:48]               │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:02:48]               │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:02:48]               │ debg TestSubjects.click(createUserButton)
[00:02:48]               │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:02:48]               │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:02:48]               │ debg Find.setValue('[name=username]', 'Lee')
[00:02:48]               │ debg Find.findByCssSelector('[name=username]') with timeout=10000
[00:02:49]               │ debg Find.setValue('[name=password]', 'LeePwd')
[00:02:49]               │ debg Find.findByCssSelector('[name=password]') with timeout=10000
[00:02:49]               │ debg Find.setValue('[name=confirm_password]', 'LeePwd')
[00:02:49]               │ debg Find.findByCssSelector('[name=confirm_password]') with timeout=10000
[00:02:50]               │ debg Find.setValue('[name=full_name]', 'LeeFirst LeeLast')
[00:02:50]               │ debg Find.findByCssSelector('[name=full_name]') with timeout=10000
[00:02:50]               │ debg Find.setValue('[name=email]', 'lee@myEmail.com')
[00:02:50]               │ debg Find.findByCssSelector('[name=email]') with timeout=10000
[00:02:51]               │ debg TestSubjects.find(rolesDropdown)
[00:02:51]               │ debg Find.findByCssSelector('[data-test-subj="rolesDropdown"]') with timeout=10000
[00:02:51]               │ debg Find.clickByCssSelector('[role=option][title="kibana_admin"]') with timeout=10000
[00:02:51]               │ debg Find.findByCssSelector('[role=option][title="kibana_admin"]') with timeout=10000
[00:02:51]               │ debg TestSubjects.click(comboBoxToggleListButton)
[00:02:51]               │ debg Find.clickByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:02:51]               │ debg Find.findByCssSelector('[data-test-subj="comboBoxToggleListButton"]') with timeout=10000
[00:02:51]               │ debg Find.clickByButtonText('Create user') with timeout=10000
[00:02:51]               │ debg Find.byButtonText('Create user') with timeout=10000
[00:02:52]               │ debg TestSubjects.click(tablePaginationPopoverButton)
[00:02:52]               │ debg Find.clickByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:02:52]               │ debg Find.findByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:02:52]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] added user [Lee]
[00:02:52]               │ debg TestSubjects.click(tablePagination-100-rows)
[00:02:52]               │ debg Find.clickByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:02:52]               │ debg Find.findByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:02:52]               │ debg TestSubjects.findAll(userRow)
[00:02:52]               │ debg Find.allByCssSelector('[data-test-subj="userRow"]') with timeout=10000
[00:02:54]               │ debg actualUsers = {"Lee":{"username":"Lee","fullname":"LeeFirst LeeLast","email":"lee@myEmail.com","roles":["kibana_admin"],"reserved":false,"deprecated":false},"apm_system":{"username":"apm_system","fullname":"","email":"","roles":["apm_system"],"reserved":true,"deprecated":false},"beats_system":{"username":"beats_system","fullname":"","email":"","roles":["beats_system"],"reserved":true,"deprecated":false},"elastic":{"username":"elastic","fullname":"","email":"","roles":["superuser"],"reserved":true,"deprecated":false},"kibana":{"username":"kibana","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":true},"kibana_system":{"username":"kibana_system","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":false},"logstash_system":{"username":"logstash_system","fullname":"","email":"","roles":["logstash_system"],"reserved":true,"deprecated":false},"remote_monitoring_user":{"username":"remote_monitoring_user","fullname":"","email":"","roles":["remote_monitoring_collector","remote_monitoring_agent"],"reserved":true,"deprecated":false},"test_user":{"username":"test_user","fullname":"test user","email":"","roles":["superuser"],"reserved":false,"deprecated":false},"userEast":{"username":"userEast","fullname":"dls EAST","email":"dlstest@elastic.com","roles":["kibana_admin","myroleEast"],"reserved":false,"deprecated":false}}
[00:02:54]               └- ✓ pass  (13.2s) "security app users should add new user"
[00:02:54]             └-> should add new user with optional fields left empty
[00:02:54]               └-> "before each" hook: global before each for "should add new user with optional fields left empty"
[00:02:54]               │ debg navigating to settings url: http://localhost:61231/app/management
[00:02:54]               │ debg navigate to: http://localhost:61231/app/management
[00:02:55]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213558732 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:02:55]               │
[00:02:55]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:55]               │ debg ... sleep(700) start
[00:02:55]               │ debg ... sleep(700) end
[00:02:55]               │ debg returned from get, calling refresh
[00:02:56]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213558732 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:02:56]               │
[00:02:56]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:56]               │ debg currentUrl = http://localhost:61231/app/management
[00:02:56]               │          appUrl = http://localhost:61231/app/management
[00:02:56]               │ debg TestSubjects.find(kibanaChrome)
[00:02:56]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:57]               │ debg ... sleep(501) start
[00:02:57]               │ debg ... sleep(501) end
[00:02:57]               │ debg in navigateTo url = http://localhost:61231/app/management
[00:02:57]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:57]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:00]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:00]               │ debg TestSubjects.click(users)
[00:03:00]               │ debg Find.clickByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:03:00]               │ debg Find.findByCssSelector('[data-test-subj="users"]') with timeout=10000
[00:03:00]               │ debg TestSubjects.click(createUserButton)
[00:03:00]               │ debg Find.clickByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:03:00]               │ debg Find.findByCssSelector('[data-test-subj="createUserButton"]') with timeout=10000
[00:03:00]               │ debg Find.setValue('[name=username]', 'OptionalUser')
[00:03:00]               │ debg Find.findByCssSelector('[name=username]') with timeout=10000
[00:03:01]               │ debg Find.setValue('[name=password]', 'OptionalUserPwd')
[00:03:01]               │ debg Find.findByCssSelector('[name=password]') with timeout=10000
[00:03:01]               │ debg Find.setValue('[name=confirm_password]', 'OptionalUserPwd')
[00:03:01]               │ debg Find.findByCssSelector('[name=confirm_password]') with timeout=10000
[00:03:02]               │ debg Find.clickByButtonText('Create user') with timeout=10000
[00:03:02]               │ debg Find.byButtonText('Create user') with timeout=10000
[00:03:02]               │ debg TestSubjects.click(tablePaginationPopoverButton)
[00:03:02]               │ debg Find.clickByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:02]               │ debg Find.findByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:02]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xxl-1620210813608991844] added user [OptionalUser]
[00:03:02]               │ debg TestSubjects.click(tablePagination-100-rows)
[00:03:02]               │ debg Find.clickByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:02]               │ debg Find.findByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:03]               │ debg TestSubjects.findAll(userRow)
[00:03:03]               │ debg Find.allByCssSelector('[data-test-subj="userRow"]') with timeout=10000
[00:03:05]               │ debg actualUsers = {"Lee":{"username":"Lee","fullname":"LeeFirst LeeLast","email":"lee@myEmail.com","roles":["kibana_admin"],"reserved":false,"deprecated":false},"OptionalUser":{"username":"OptionalUser","fullname":"","email":"","roles":[""],"reserved":false,"deprecated":false},"apm_system":{"username":"apm_system","fullname":"","email":"","roles":["apm_system"],"reserved":true,"deprecated":false},"beats_system":{"username":"beats_system","fullname":"","email":"","roles":["beats_system"],"reserved":true,"deprecated":false},"elastic":{"username":"elastic","fullname":"","email":"","roles":["superuser"],"reserved":true,"deprecated":false},"kibana":{"username":"kibana","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":true},"kibana_system":{"username":"kibana_system","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":false},"logstash_system":{"username":"logstash_system","fullname":"","email":"","roles":["logstash_system"],"reserved":true,"deprecated":false},"remote_monitoring_user":{"username":"remote_monitoring_user","fullname":"","email":"","roles":["remote_monitoring_collector","remote_monitoring_agent"],"reserved":true,"deprecated":false},"test_user":{"username":"test_user","fullname":"test user","email":"","roles":["superuser"],"reserved":false,"deprecated":false},"userEast":{"username":"userEast","fullname":"dls EAST","email":"dlstest@elastic.com","roles":["kibana_admin","myroleEast"],"reserved":false,"deprecated":false}}
[00:03:05]               └- ✓ pass  (10.5s) "security app users should add new user with optional fields left empty"
[00:03:05]             └-> should delete user
[00:03:05]               └-> "before each" hook: global before each for "should delete user"
[00:03:05]               │ debg Delete user Lee
[00:03:05]               │ debg Find.clickByDisplayedLinkText('Lee') with timeout=10000
[00:03:05]               │ debg Find.displayedByLinkText('Lee') with timeout=10000
[00:03:05]               │ debg Find.byLinkText('Lee') with timeout=10000
[00:03:05]               │ debg Wait for element become visible: Lee with timeout=10000
[00:03:05]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:05]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:05]               │ debg Find delete button and click
[00:03:05]               │ debg Find.clickByButtonText('Delete user') with timeout=10000
[00:03:05]               │ debg Find.byButtonText('Delete user') with timeout=10000
[00:03:06]               │ debg ... sleep(2000) start
[00:03:08]               │ debg ... sleep(2000) end
[00:03:08]               │ debg TestSubjects.getVisibleText(confirmModalBodyText)
[00:03:08]               │ debg TestSubjects.find(confirmModalBodyText)
[00:03:08]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalBodyText"]') with timeout=10000
[00:03:08]               │ debg Delete user alert text = This user will be permanently deleted and access to Elastic removed.
[00:03:08]               │      You can't recover deleted users.
[00:03:08]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:03:08]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:03:08]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:03:08]               │ debg alertMsg = This user will be permanently deleted and access to Elastic removed.
[00:03:08]               │      You can't recover deleted users.
[00:03:08]               │ debg TestSubjects.click(tablePaginationPopoverButton)
[00:03:08]               │ debg Find.clickByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:08]               │ debg Find.findByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:08]               │ debg TestSubjects.click(tablePagination-100-rows)
[00:03:08]               │ debg Find.clickByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:08]               │ debg Find.findByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:08]               │ debg TestSubjects.findAll(userRow)
[00:03:08]               │ debg Find.allByCssSelector('[data-test-subj="userRow"]') with timeout=10000
[00:03:11]               │ debg actualUsers = {"OptionalUser":{"username":"OptionalUser","fullname":"","email":"","roles":[""],"reserved":false,"deprecated":false},"apm_system":{"username":"apm_system","fullname":"","email":"","roles":["apm_system"],"reserved":true,"deprecated":false},"beats_system":{"username":"beats_system","fullname":"","email":"","roles":["beats_system"],"reserved":true,"deprecated":false},"elastic":{"username":"elastic","fullname":"","email":"","roles":["superuser"],"reserved":true,"deprecated":false},"kibana":{"username":"kibana","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":true},"kibana_system":{"username":"kibana_system","fullname":"","email":"","roles":["kibana_system"],"reserved":true,"deprecated":false},"logstash_system":{"username":"logstash_system","fullname":"","email":"","roles":["logstash_system"],"reserved":true,"deprecated":false},"remote_monitoring_user":{"username":"remote_monitoring_user","fullname":"","email":"","roles":["remote_monitoring_collector","remote_monitoring_agent"],"reserved":true,"deprecated":false},"test_user":{"username":"test_user","fullname":"test user","email":"","roles":["superuser"],"reserved":false,"deprecated":false},"userEast":{"username":"userEast","fullname":"dls EAST","email":"dlstest@elastic.com","roles":["kibana_admin","myroleEast"],"reserved":false,"deprecated":false}}
[00:03:11]               └- ✓ pass  (5.6s) "security app users should delete user"
[00:03:11]             └-> should show the default roles
[00:03:11]               └-> "before each" hook: global before each for "should show the default roles"
[00:03:11]               │ debg navigating to settings url: http://localhost:61231/app/management
[00:03:11]               │ debg navigate to: http://localhost:61231/app/management
[00:03:11]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213574909 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:11]               │
[00:03:11]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:11]               │ debg ... sleep(700) start
[00:03:11]               │ debg ... sleep(700) end
[00:03:11]               │ debg returned from get, calling refresh
[00:03:12]               │ERROR browser[SEVERE] http://localhost:61231/41600/bundles/core/core.entry.js 12:150329 TypeError: Failed to fetch
[00:03:12]               │          at fetch_Fetch.fetchResponse (http://localhost:61231/41600/bundles/core/core.entry.js:6:29862)
[00:03:12]               │          at async http://localhost:61231/41600/bundles/core/core.entry.js:6:27759
[00:03:12]               │          at async http://localhost:61231/41600/bundles/core/core.entry.js:6:27665
[00:03:13]               │ debg browser[INFO] http://localhost:61231/app/management?_t=1620213574909 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:13]               │
[00:03:13]               │ debg browser[INFO] http://localhost:61231/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:13]               │ debg currentUrl = http://localhost:61231/app/management
[00:03:13]               │          appUrl = http://localhost:61231/app/management
[00:03:13]               │ debg TestSubjects.find(kibanaChrome)
[00:03:13]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:13]               │ debg ... sleep(501) start
[00:03:14]               │ debg ... sleep(501) end
[00:03:14]               │ debg in navigateTo url = http://localhost:61231/app/management
[00:03:14]               │ debg TestSubjects.exists(statusPageContainer)
[00:03:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:03:16]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:17]               │ debg TestSubjects.click(roles)
[00:03:17]               │ debg Find.clickByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:03:17]               │ debg Find.findByCssSelector('[data-test-subj="roles"]') with timeout=10000
[00:03:17]               │ debg TestSubjects.click(tablePaginationPopoverButton)
[00:03:17]               │ debg Find.clickByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:17]               │ debg Find.findByCssSelector('[data-test-subj="tablePaginationPopoverButton"]') with timeout=10000
[00:03:17]               │ debg TestSubjects.click(tablePagination-100-rows)
[00:03:17]               │ debg Find.clickByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:17]               │ debg Find.findByCssSelector('[data-test-subj="tablePagination-100-rows"]') with timeout=10000
[00:03:18]               │ debg TestSubjects.findAll(roleRow)
[00:03:18]               │ debg Find.allByCssSelector('[data-test-subj="roleRow"]') with timeout=10000
[00:03:25]               │ debg actualRoles = {"antimeridian_points_reader":{"rolename":"antimeridian_points_reader","reserved":false,"deprecated":false},"antimeridian_shapes_reader":{"rolename":"antimeridian_shapes_reader","reserved":false,"deprecated":false},"apm_system":{"rolename":"apm_system","reserved":true,"deprecated":false},"apm_user":{"rolename":"apm_user","reserved":true,"deprecated":true},"beats_admin":{"rolename":"beats_admin","reserved":true,"deprecated":false},"beats_system":{"rolename":"beats_system","reserved":true,"deprecated":false},"ccr_user":{"rolename":"ccr_user","reserved":false,"deprecated":false},"data_frame_transforms_admin":{"rolename":"data_frame_transforms_admin","reserved":true,"deprecated":true},"data_frame_transforms_user":{"rolename":"data_frame_transforms_user","reserved":true,"deprecated":true},"editor":{"rolename":"editor","reserved":true,"deprecated":false},"enrich_user":{"rolename":"enrich_user","reserved":true,"deprecated":false},"geoall_data_writer":{"rolename":"geoall_data_writer","reserved":false,"deprecated":false},"geoconnections_data_reader":{"rolename":"geoconnections_data_reader","reserved":false,"deprecated":false},"geoshape_data_reader":{"rolename":"geoshape_data_reader","reserved":false,"deprecated":false},"global_canvas_all":{"rolename":"global_canvas_all","reserved":false,"deprecated":false},"global_ccr_role":{"rolename":"global_ccr_role","reserved":false,"deprecated":false},"global_dashboard_all":{"rolename":"global_dashboard_all","reserved":false,"deprecated":false},"global_dashboard_read":{"rolename":"global_dashboard_read","reserved":false,"deprecated":false},"global_devtools_read":{"rolename":"global_devtools_read","reserved":false,"deprecated":false},"global_discover_all":{"rolename":"global_discover_all","reserved":false,"deprecated":false},"global_discover_read":{"rolename":"global_discover_read","reserved":false,"deprecated":false},"global_index_pattern_management_all":{"rolename":"global_index_pattern_management_all","reserved":false,"deprecated":false},"global_maps_all":{"rolename":"global_maps_all","reserved":false,"deprecated":false},"global_maps_read":{"rolename":"global_maps_read","reserved":false,"deprecated":false},"global_upgrade_assistant_role":{"rolename":"global_upgrade_assistant_role","reserved":false,"deprecated":false},"global_visualize_all":{"rolename":"global_visualize_all","reserved":false,"deprecated":false},"global_visualize_read":{"rolename":"global_visualize_read","reserved":false,"deprecated":false},"index_management_user":{"rolename":"index_management_user","reserved":false,"deprecated":false},"ingest_admin":{"rolename":"ingest_admin","reserved":true,"deprecated":false},"ingest_pipelines_user":{"rolename":"ingest_pipelines_user","reserved":false,"deprecated":false},"kibana_admin":{"rolename":"kibana_admin","reserved":true,"deprecated":false},"kibana_dashboard_only_user":{"rolename":"kibana_dashboard_only_user","reserved":true,"deprecated":true},"kibana_system":{"rolename":"kibana_system","reserved":true,"deprecated":false},"kibana_user":{"rolename":"kibana_user","reserved":true,"deprecated":true},"license_management_user":{"rolename":"license_management_user","reserved":false,"deprecated":false},"logstash_admin":{"rolename":"logstash_admin","reserved":true,"deprecated":false},"logstash_read_user":{"rolename":"logstash_read_user","reserved":false,"deprecated":false},"logstash_system":{"rolename":"logstash_system","reserved":true,"deprecated":false},"machine_learning_admin":{"rolename":"machine_learning_admin","reserved":true,"deprecated":false},"machine_learning_user":{"rolename":"machine_learning_user","reserved":true,"deprecated":false},"manage_ilm":{"rolename":"manage_ilm","reserved":false,"deprecated":false},"manage_rollups_role":{"rolename":"manage_rollups_role","reserved":false,"deprecated":false},"manage_security":{"rolename":"manage_security","reserved":false,"deprecated":false},"meta_for_geoshape_data_reader":{"rolename":"meta_for_geoshape_data_reader","reserved":false,"deprecated":false},"monitoring_user":{"rolename":"monitoring_user","reserved":true,"deprecated":false},"myroleEast":{"rolename":"myroleEast","reserved":false,"deprecated":false},"remote_clusters_user":{"rolename":"remote_clusters_user","reserved":false,"deprecated":false},"remote_monitoring_agent":{"rolename":"remote_monitoring_agent","reserved":true,"deprecated":false},"remote_monitoring_collector":{"rolename":"remote_monitoring_collector","reserved":true,"deprecated":false},"reporting_user":{"rolename":"reporting_user","reserved":true,"deprecated":true},"rollup_admin":{"rolename":"rollup_admin","reserved":true,"deprecated":false},"rollup_user":{"rolename":"rollup_user","reserved":true,"deprecated":false},"snapshot_user":{"rolename":"snapshot_user","reserved":true,"deprecated":false},"superuser":{"rolename":"superuser","reserved":true,"deprecated":false},"test_api_keys":{"rolename":"test_api_keys","reserved":false,"deprecated":false},"test_logstash_reader":{"rolename":"test_logstash_reader","reserved":false,"deprecated":false},"transform_admin":{"rolename":"transform_admin","reserved":true,"deprecated":false},"transform_user":{"rolename":"transform_user","reserved":true,"deprecated":false},"transport_client":{"rolename":"transport_client","reserved":true,"deprecated":false},"viewer":{"rolename":"viewer","reserved":true,"deprecated":false},"watcher_admin":{"rolename":"watcher_admin","reserved":true,"deprecated":false},"watcher_user":{"rolename":"watcher_user","reserved":true,"deprecated":false}}
[00:03:25]               │ info Taking screenshot "/dev/shm/workspace/parallel/23/kibana/x-pack/test/functional/screenshots/failure/security app users should show the default roles.png"
[00:03:26]               │ info Current URL is: http://localhost:61231/app/management/security/roles
[00:03:26]               │ info Saving page source to: /dev/shm/workspace/parallel/23/kibana/x-pack/test/functional/failure_debug/html/security app users should show the default roles.html
[00:03:26]               └- ✖ fail: security app users should show the default roles
[00:03:26]               │      Error: expected true to equal false
[00:03:26]               │       at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:03:26]               │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:03:26]               │       at Assertion.be (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:03:26]               │       at Context.<anonymous> (test/functional/apps/security/users.js:93:44)
[00:03:26]               │       at runMicrotasks (<anonymous>)
[00:03:26]               │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:03:26]               │       at Object.apply (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:03:26]               │ 
[00:03:26]               │ 

Stack Trace

Error: expected true to equal false
    at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/security/users.js:93:44)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/23/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

and 15 more failures, only showing the first 3.

Metrics [docs]

Saved Objects .kibana field count

Every field in each saved object type adds overhead to Elasticsearch. Kibana needs to keep the total field count below Elasticsearch's default limit of 1000 fields. Only specify field mappings for the fields you wish to search on or query. See https://www.elastic.co/guide/en/kibana/master/development-plugin-saved-objects.html#_mappings

id before after diff
_tier - 1 +1

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants