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

Harden process.env #59280

Closed
wants to merge 1 commit into from
Closed

Harden process.env #59280

wants to merge 1 commit into from

Conversation

watson
Copy link
Contributor

@watson watson commented Mar 4, 2020

Depends on #55697 - Once that lands, I'll rebase this PR at which time only the last commit is relevant.

This PR was originally part of #55697 - for the previous discussion about this code, see that PR.

This PR hardens the process.env property to not be susceptible to prototype pollution from Object.prototype.

@watson watson self-assigned this Mar 4, 2020
@watson watson added Feature:Hardening Harding of Kibana from a security perspective release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0 labels Mar 4, 2020
@watson watson force-pushed the harden-process-env branch from 4f3b0f6 to 00b2c3c Compare March 10, 2020 07:36
@watson watson marked this pull request as ready for review March 10, 2020 07:39
@watson watson requested a review from a team as a code owner March 10, 2020 07:39
@jbudz jbudz requested a review from a team March 10, 2020 15:05
@watson watson added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Mar 10, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@watson watson force-pushed the harden-process-env branch from bbcd78d to 3c3e59a Compare March 12, 2020 08:25
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/management/_handle_alias·js.management Index patterns on aliases should be able to discover and verify no of hits for alias2

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: management
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]             │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]             │ info [empty_kibana] Loading "mappings.json"
[00:00:01]             │ info [empty_kibana] Loading "data.json.gz"
[00:00:01]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_1/8kzCGeeyRHWP5liffVBzTQ] deleting index
[00:00:01]             │ info [empty_kibana] Deleted existing index [".kibana_1"]
[00:00:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]             │ info [empty_kibana] Created index ".kibana"
[00:00:01]             │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:01]             │ info [empty_kibana] Indexed 1 docs into ".kibana"
[00:00:01]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana/sn7q-9_mQcanq4yoA1wIMA] update_mapping [_doc]
[00:00:01]             │ debg Migrating saved objects
[00:00:01]             │ proc [kibana]   log   [08:47:07.152] [info][savedobjects-service] Creating index .kibana_2.
[00:00:01]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:02]             │ proc [kibana]   log   [08:47:07.261] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:02]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:02]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [_doc]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] updating number_of_replicas to [0] for indices [.tasks]
[00:00:02]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] 105 finished with response BulkByScrollResponse[took=103ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:02]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana/sn7q-9_mQcanq4yoA1wIMA] deleting index
[00:00:02]             │ proc [kibana]   log   [08:47:07.795] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:02]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/A4Ek03R-RQW1bQy0w76zbw] update_mapping [_doc]
[00:00:02]             │ proc [kibana]   log   [08:47:07.897] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:02]             │ proc [kibana]   log   [08:47:07.973] [info][savedobjects-service] Finished in 825ms.
[00:00:02]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:03]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/A4Ek03R-RQW1bQy0w76zbw] update_mapping [_doc]
[00:00:04]             │ info [makelogs] Loading "mappings.json"
[00:00:04]             │ info [makelogs] Loading "data.json.gz"
[00:00:04]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [logstash-2015.09.17] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.17][0]]]).
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.17"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.17" 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:04]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [logstash-2015.09.18] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:04]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.18][0]]]).
[00:00:04]             │ info [makelogs] Created index "logstash-2015.09.18"
[00:00:04]             │ debg [makelogs] "logstash-2015.09.18" 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:05]             │ info [makelogs] Indexed 101 docs into "logstash-2015.09.17"
[00:00:05]             │ info [makelogs] Indexed 301 docs into "logstash-2015.09.18"
[00:00:05]           └-: 
[00:00:05]             └-> "before all" hook
[00:09:22]             └-: Index patterns on aliases
[00:09:22]               └-> "before all" hook
[00:09:22]               └-> "before all" hook
[00:09:22]                 │ info [alias] Loading "mappings.json"
[00:09:22]                 │ info [alias] Loading "data.json.gz"
[00:09:22]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test3] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test3"
[00:09:23]                 │ debg [alias] "test3" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test9] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test9"
[00:09:23]                 │ debg [alias] "test9" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test4] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test4"
[00:09:23]                 │ debg [alias] "test4" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test2] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test2"
[00:09:23]                 │ debg [alias] "test2" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test7] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test7"
[00:09:23]                 │ debg [alias] "test7" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test6] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test6"
[00:09:23]                 │ debg [alias] "test6" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test8] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test8"
[00:09:23]                 │ debg [alias] "test8" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test5] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:23]                 │ info [alias] Created index "test5"
[00:09:23]                 │ debg [alias] "test5" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:23]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [test1] creating index, cause [api], templates [], shards [5]/[1], mappings [_doc]
[00:09:24]                 │ info [alias] Created index "test1"
[00:09:24]                 │ debg [alias] "test1" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:09:24]                 │ info [alias] Indexed 1 docs into "test3"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test9"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test4"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test2"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test7"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test6"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test8"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test5"
[00:09:24]                 │ info [alias] Indexed 1 docs into "test1"
[00:09:24]                 │ info [empty_kibana] Loading "mappings.json"
[00:09:24]                 │ info [empty_kibana] Loading "data.json.gz"
[00:09:24]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana/bnOfv6ijTG2jGEXVAdXwcw] deleting index
[00:09:24]                 │ info [empty_kibana] Deleted existing index [".kibana"]
[00:09:24]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:24]                 │ info [empty_kibana] Created index ".kibana"
[00:09:24]                 │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:09:24]                 │ info [empty_kibana] Indexed 1 docs into ".kibana"
[00:09:24]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana/hVpdJ9_hSoGcBLJRSHMG7A] update_mapping [_doc]
[00:09:24]                 │ debg Migrating saved objects
[00:09:24]                 │ proc [kibana]   log   [08:56:29.629] [info][savedobjects-service] Creating index .kibana_2.
[00:09:24]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:24]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] updating number_of_replicas to [0] for indices [.kibana_2]
[00:09:24]                 │ proc [kibana]   log   [08:56:29.703] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:09:24]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:24]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] updating number_of_replicas to [0] for indices [.kibana_1]
[00:09:24]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] 6374 finished with response BulkByScrollResponse[took=37.3ms,timed_out=false,sliceId=null,updated=0,created=1,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:09:24]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana/hVpdJ9_hSoGcBLJRSHMG7A] deleting index
[00:09:24]                 │ proc [kibana]   log   [08:56:30.069] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:09:24]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/5Tm7YRm1RgW4V0nmSK6Lcw] update_mapping [_doc]
[00:09:24]                 │ proc [kibana]   log   [08:56:30.111] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:09:24]                 │ proc [kibana]   log   [08:56:30.161] [info][savedobjects-service] Finished in 534ms.
[00:09:24]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:09:25]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/5Tm7YRm1RgW4V0nmSK6Lcw] update_mapping [_doc]
[00:09:26]               └-> should be able to create index pattern without time field
[00:09:26]                 └-> "before each" hook: global before each
[00:09:26]                 │ debg navigating to settings url: http://localhost:6181/app/kibana#/management
[00:09:26]                 │ debg Navigate to: http://localhost:6181/app/kibana#/management
[00:09:26]                 │ debg ... sleep(700) start
[00:09:26]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003391755#/management 340 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:09:26]                 │
[00:09:26]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:27]                 │ debg ... sleep(700) end
[00:09:27]                 │ debg returned from get, calling refresh
[00:09:27]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003391755#/management 340 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:09:27]                 │
[00:09:27]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:27]                 │ debg currentUrl = http://localhost:6181/app/kibana#/management
[00:09:27]                 │          appUrl = http://localhost:6181/app/kibana#/management
[00:09:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:30]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:09:30]                 │ debg browser[INFO] http://localhost:6181/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-12T08:56:34Z
[00:09:30]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:09:30]                 │
[00:09:30]                 │      "
[00:09:30]                 │ debg ... sleep(501) start
[00:09:31]                 │ debg ... sleep(501) end
[00:09:31]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/management?_g=()
[00:09:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:33]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:34]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:34]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:35]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:36]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:36]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:36]                 │ debg clickKibanaIndexPatterns link
[00:09:36]                 │ debg TestSubjects.click(index_patterns)
[00:09:36]                 │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:09:36]                 │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:09:36]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:36]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:38]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:38]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:38]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:38]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:09:38]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:09:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:09:38]                 │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:09:38]                 │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:09:38]                 │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:09:39]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:09:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:09:41]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:09:42]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:42]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:43]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:09:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:44]                 │ debg TestSubjects.isDisplayed(createIndexPatternButton)
[00:09:44]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:09:44]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:09:44]                 │ debg TestSubjects.click(createIndexPatternButton)
[00:09:44]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:09:44]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:09:44]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:44]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:44]                 │ debg setIndexPatternField(alias1)
[00:09:44]                 │ debg TestSubjects.find(createIndexPatternNameInput)
[00:09:44]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:09:45]                 │ debg setIndexPatternField set to alias1*
[00:09:45]                 │ debg ... sleep(2000) start
[00:09:47]                 │ debg ... sleep(2000) end
[00:09:47]                 │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:09:47]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:09:47]                 │ debg ... sleep(2000) start
[00:09:49]                 │ debg ... sleep(2000) end
[00:09:49]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:09:49]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:09:49]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:49]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:49]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/5Tm7YRm1RgW4V0nmSK6Lcw] update_mapping [_doc]
[00:09:49]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:49]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:50]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584001575325506177] [.kibana_2/5Tm7YRm1RgW4V0nmSK6Lcw] update_mapping [_doc]
[00:09:51]                 │ info currentUrl http://localhost:6181/app/kibana#/management/kibana/index_patterns/6c5839e0-643f-11ea-929a-b7696166efb7?_g=()
[00:09:51]                 │ debg Index pattern created: http://localhost:6181/app/kibana#/management/kibana/index_patterns/6c5839e0-643f-11ea-929a-b7696166efb7?_g=()
[00:09:51]                 │ debg index pattern ID:  6c5839e0-643f-11ea-929a-b7696166efb7?_g=()
[00:09:51]                 │ debg TestSubjects.find(indexPatternTitle)
[00:09:51]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatternTitle"]') with timeout=10000
[00:09:52]                 └- ✓ pass  (26.3s) "management  Index patterns on aliases should be able to create index pattern without time field"
[00:09:52]               └-> should be able to discover and verify no of hits for alias1
[00:09:52]                 └-> "before each" hook: global before each
[00:09:52]                 │ debg navigating to discover url: http://localhost:6181/app/kibana#/discover
[00:09:52]                 │ debg Navigate to: http://localhost:6181/app/kibana#/discover
[00:09:52]                 │ debg ... sleep(700) start
[00:09:52]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003418082#/discover 340 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:09:52]                 │
[00:09:52]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:53]                 │ debg ... sleep(700) end
[00:09:53]                 │ debg returned from get, calling refresh
[00:09:53]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003418082#/discover 340 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:09:53]                 │
[00:09:53]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:54]                 │ debg currentUrl = http://localhost:6181/app/kibana#/discover
[00:09:54]                 │          appUrl = http://localhost:6181/app/kibana#/discover
[00:09:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:55]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:09:55]                 │ debg browser[INFO] http://localhost:6181/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-12T08:57:00Z
[00:09:55]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:09:55]                 │
[00:09:55]                 │      "
[00:09:55]                 │ debg ... sleep(501) start
[00:09:56]                 │ debg ... sleep(501) end
[00:09:56]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%276c5839e0-643f-11ea-929a-b7696166efb7%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:56]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:09:56]                 │ debg ... sleep(501) start
[00:09:57]                 │ debg ... sleep(501) end
[00:09:57]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%276c5839e0-643f-11ea-929a-b7696166efb7%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:57]                 │ debg TestSubjects.exists(statusPageContainer)
[00:09:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:59]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:00]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:00]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:01]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:02]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:02]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:02]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:10:02]                 │ debg TestSubjects.find(discoverQueryHits)
[00:10:02]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:10:02]                 └- ✓ pass  (9.6s) "management  Index patterns on aliases should be able to discover and verify no of hits for alias1"
[00:10:02]               └-> should be able to create index pattern with timefield
[00:10:02]                 └-> "before each" hook: global before each
[00:10:02]                 │ debg navigating to settings url: http://localhost:6181/app/kibana#/management
[00:10:02]                 │ debg Navigate to: http://localhost:6181/app/kibana#/management
[00:10:02]                 │ debg ... sleep(700) start
[00:10:02]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003427731#/management 340 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:10:02]                 │
[00:10:02]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:03]                 │ debg ... sleep(700) end
[00:10:03]                 │ debg returned from get, calling refresh
[00:10:03]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003427731#/management 340 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:10:03]                 │
[00:10:03]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:04]                 │ debg currentUrl = http://localhost:6181/app/kibana#/management
[00:10:04]                 │          appUrl = http://localhost:6181/app/kibana#/management
[00:10:04]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:10:06]                 │ debg browser[INFO] http://localhost:6181/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-12T08:57:10Z
[00:10:06]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:10:06]                 │
[00:10:06]                 │      "
[00:10:06]                 │ debg ... sleep(501) start
[00:10:06]                 │ debg ... sleep(501) end
[00:10:06]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/management?_g=()
[00:10:06]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:09]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:09]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:09]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:11]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:11]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:11]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:11]                 │ debg clickKibanaIndexPatterns link
[00:10:11]                 │ debg TestSubjects.click(index_patterns)
[00:10:11]                 │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:10:11]                 │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:10:11]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:11]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:13]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:13]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:13]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:13]                 │ debg Waiting up to 20000ms for index pattern info flyout...
[00:10:13]                 │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:10:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:10:16]                 │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:10:16]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:16]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:18]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:18]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:18]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:18]                 │ debg TestSubjects.isDisplayed(createIndexPatternButton)
[00:10:18]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:10:18]                 │ debg TestSubjects.click(createIndexPatternButton)
[00:10:18]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:10:18]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:10:19]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:19]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:19]                 │ debg setIndexPatternField(alias2)
[00:10:19]                 │ debg TestSubjects.find(createIndexPatternNameInput)
[00:10:19]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:10:20]                 │ debg setIndexPatternField set to alias2*
[00:10:20]                 │ debg ... sleep(2000) start
[00:10:22]                 │ debg ... sleep(2000) end
[00:10:22]                 │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:10:22]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:10:22]                 │ debg ... sleep(2000) start
[00:10:24]                 │ debg ... sleep(2000) end
[00:10:24]                 │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:10:24]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:10:24]                 │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:10:24]                 │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:10:24]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:10:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:26]                 │ debg selectTimeFieldOption(date)
[00:10:26]                 │ debg Find.displayedByCssSelector(option[value="date"])
[00:10:26]                 │ debg Find.findByCssSelector('option[value="date"]') with timeout=10000
[00:10:26]                 │ debg Wait for element become visible: option[value="date"] with timeout=10000
[00:10:26]                 │ debg TestSubjects.find(createIndexPatternButton)
[00:10:26]                 │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:10:26]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:26]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:10:27]                 │ info currentUrl http://localhost:6181/app/kibana#/management/kibana/index_patterns/824504e0-643f-11ea-929a-b7696166efb7?_g=()
[00:10:27]                 │ debg Index pattern created: http://localhost:6181/app/kibana#/management/kibana/index_patterns/824504e0-643f-11ea-929a-b7696166efb7?_g=()
[00:10:27]                 │ debg index pattern ID:  824504e0-643f-11ea-929a-b7696166efb7?_g=()
[00:10:27]                 │ debg TestSubjects.find(indexPatternTitle)
[00:10:27]                 │ debg Find.findByCssSelector('[data-test-subj="indexPatternTitle"]') with timeout=10000
[00:10:29]                 └- ✓ pass  (26.5s) "management  Index patterns on aliases should be able to create index pattern with timefield"
[00:10:29]               └-> should be able to discover and verify no of hits for alias2
[00:10:29]                 └-> "before each" hook: global before each
[00:10:29]                 │ debg navigating to discover url: http://localhost:6181/app/kibana#/discover
[00:10:29]                 │ debg Navigate to: http://localhost:6181/app/kibana#/discover
[00:10:29]                 │ debg ... sleep(700) start
[00:10:29]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003454259#/discover 340 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:10:29]                 │
[00:10:29]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:29]                 │ debg ... sleep(700) end
[00:10:29]                 │ debg returned from get, calling refresh
[00:10:30]                 │ debg browser[INFO] http://localhost:6181/app/kibana?_t=1584003454259#/discover 340 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:10:30]                 │
[00:10:30]                 │ debg browser[INFO] http://localhost:6181/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:30]                 │ debg currentUrl = http://localhost:6181/app/kibana#/discover
[00:10:30]                 │          appUrl = http://localhost:6181/app/kibana#/discover
[00:10:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:10:32]                 │ debg browser[INFO] http://localhost:6181/bundles/plugin/data/data.plugin.js 90:139970 "INFO: 2020-03-12T08:57:36Z
[00:10:32]                 │        Adding connection to http://localhost:6181/elasticsearch
[00:10:32]                 │
[00:10:32]                 │      "
[00:10:32]                 │ debg ... sleep(501) start
[00:10:32]                 │ debg ... sleep(501) end
[00:10:32]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%276c5839e0-643f-11ea-929a-b7696166efb7%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:10:32]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:10:33]                 │ debg ... sleep(501) start
[00:10:33]                 │ debg ... sleep(501) end
[00:10:33]                 │ debg in navigateTo url = http://localhost:6181/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%276c5839e0-643f-11ea-929a-b7696166efb7%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:10:33]                 │ debg TestSubjects.exists(statusPageContainer)
[00:10:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:10:36]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:10:36]                 │ debg TestSubjects.click(indexPattern-switch-link)
[00:10:36]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:10:36]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:10:37]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-switcher"] [title="alias2*"]') with timeout=10000
[00:10:37]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switcher"] [title="alias2*"]') with timeout=10000
[00:10:37]                 │ debg isGlobalLoadingIndicatorVisible
[00:10:37]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:10:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:10:38]                 │ERROR browser[SEVERE] http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 367:78758 Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
[00:10:38]                 │      Watchers fired in the last 5 iterations: [[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.623","oldVal":"Mar 12, 2020 @ 08:57:42.622"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.623","oldVal":"Mar 12, 2020 @ 08:57:42.622"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.624","oldVal":"Mar 12, 2020 @ 08:57:42.623"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.624","oldVal":"Mar 12, 2020 @ 08:57:42.623"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.625","oldVal":"Mar 12, 2020 @ 08:57:42.624"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.625","oldVal":"Mar 12, 2020 @ 08:57:42.624"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.626","oldVal":"Mar 12, 2020 @ 08:57:42.625"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.626","oldVal":"Mar 12, 2020 @ 08:57:42.625"}]]
[00:10:38]                 │      https://errors.angularjs.org/1.7.9/$rootScope/infdig?p0=10&p1=%5B%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.622%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.622%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.626%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.626%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%7D%5D%5D
[00:10:38]                 │          at http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:837
[00:10:38]                 │          at u.$digest (http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:100784)
[00:10:38]                 │          at u.$apply (http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:102334)
[00:10:38]                 │          at callInDigest (http://localhost:6181/bundles/commons.bundle.js:1:184752)
[00:10:38]                 │          at Object.next (http://localhost:6181/bundles/commons.bundle.js:1:184975)
[00:10:38]                 │          at SafeSubscriber.__tryOrUnsub (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:5403)
[00:10:38]                 │          at SafeSubscriber.next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:3955)
[00:10:38]                 │          at Subscriber._next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:2487)
[00:10:38]                 │          at Subscriber.next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:2084)
[00:10:38]                 │          at DebounceTimeSubscriber.debouncedNext (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:15:680010)
[00:10:38]                 │ERROR browser[SEVERE] http://localhost:6181/bundles/commons.bundle.js 0:1391819 Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
[00:10:38]                 │      Watchers fired in the last 5 iterations: [[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.623","oldVal":"Mar 12, 2020 @ 08:57:42.622"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.623","oldVal":"Mar 12, 2020 @ 08:57:42.622"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.624","oldVal":"Mar 12, 2020 @ 08:57:42.623"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.624","oldVal":"Mar 12, 2020 @ 08:57:42.623"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.625","oldVal":"Mar 12, 2020 @ 08:57:42.624"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.625","oldVal":"Mar 12, 2020 @ 08:57:42.624"}],[{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.626","oldVal":"Mar 12, 2020 @ 08:57:42.625"},{"msg":"fn: o","newVal":"Mar 12, 2020 @ 08:57:42.626","oldVal":"Mar 12, 2020 @ 08:57:42.625"}]]
[00:10:38]                 │      https://errors.angularjs.org/1.7.9/$rootScope/infdig?p0=10&p1=%5B%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.622%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.622%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.623%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.624%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.626%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.626%22%2C%22oldVal%22%3A%22Mar%2012%2C%202020%20%40%2008%3A57%3A42.625%22%7D%5D%5D
[00:10:38]                 │          at http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:837
[00:10:38]                 │          at u.$digest (http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:100784)
[00:10:38]                 │          at u.$apply (http://localhost:6181/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:102334)
[00:10:38]                 │          at callInDigest (http://localhost:6181/bundles/commons.bundle.js:1:184752)
[00:10:38]                 │          at Object.next (http://localhost:6181/bundles/commons.bundle.js:1:184975)
[00:10:38]                 │          at SafeSubscriber.__tryOrUnsub (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:5403)
[00:10:38]                 │          at SafeSubscriber.next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:3955)
[00:10:38]                 │          at Subscriber._next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:2487)
[00:10:38]                 │          at Subscriber.next (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:1:2084)
[00:10:38]                 │          at DebounceTimeSubscriber.debouncedNext (http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js:15:680010)
[00:10:38]                 │ERROR browser[SEVERE] http://localhost:6181/built_assets/dlls/vendors_2.bundle.dll.js 7:119665 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reache…12%2C%202020%20%40%2008%3A57%3A42.625%22%7D%5D%5D
[00:10:38]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:10:39]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:10:39]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:19]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/management  Index patterns on aliases should be able to discover and verify no of hits for alias2.png"
[00:12:19]                 │ info Current URL is: http://localhost:6181/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27824504e0-643f-11ea-929a-b7696166efb7%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:12:19]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/management  Index patterns on aliases should be able to discover and verify no of hits for alias2.html
[00:12:19]                 └- ✖ fail: "management  Index patterns on aliases should be able to discover and verify no of hits for alias2"
[00:12:19]                 │

Stack Trace

Error: expected testSubject(globalLoadingIndicator-hidden) to exist
    at TestSubjects.existOrFail (test/functional/services/test_subjects.ts:60:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

History

  • 💚 Build #32316 succeeded bbcd78d6ac32f646d37a0a28a41d01da560d8b54
  • 💔 Build #31977 failed 00b2c3c1cfc783ab3d7e409d1f31c4addb03d983
  • 💔 Build #30671 failed 4f3b0f6028ef5a4871acfbdb1fa9f872cbeda05c

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

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM, flaky test was skipped in master recently.

@watson watson added v7.8.0 and removed v7.7.0 labels Mar 25, 2020
@watson watson added v7.9.0 and removed v7.8.0 labels May 28, 2020
@watson watson added v7.10.0 and removed v7.9.0 labels Aug 11, 2020
@legrego legrego marked this pull request as draft September 29, 2020 19:34
@watson watson added v7.11.0 and removed v7.10.0 labels Oct 15, 2020
@watson watson added v7.12.0 and removed v7.11.0 labels Dec 16, 2020
@legrego legrego removed the request for review from a team June 23, 2021 11:04
@rashmivkulkarni
Copy link
Contributor

do u mind adjusting the labels @watson , I see this is still a draft PR, but has 7.17.1 label which is going out today. Thanks.

@jportner jportner removed the v7.17.1 label Feb 28, 2022
@legrego legrego closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Hardening Harding of Kibana from a security perspective release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants