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

[7.6.1] [Lens] Fix bugs in Lens filters (#56441) #56648

Merged
merged 14 commits into from
Feb 14, 2020

Conversation

wylieconlon
Copy link
Contributor

@wylieconlon wylieconlon commented Feb 3, 2020

This commit started as a backport of [Lens] Fix bugs in Lens filters (#56441), but is no longer a strict backport because setAppFilters in the FilterManager code was added in #55158 which is not going into 7.6

* [Lens] Fix bug where filters were not displayed

* Fix elastic#55603

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

@elasticmachine merge upstream

@wylieconlon wylieconlon added Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed backport labels Feb 3, 2020
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

Tried to pull to test, but it didn't work for me. After trying to create new Lens vis and after navigated to Lens app, browser has stuck. .

@wylieconlon wylieconlon added v7.6.1 and removed v7.6.0 labels Feb 5, 2020
@wylieconlon wylieconlon changed the title [7.6] [Lens] Fix bugs in Lens filters (#56441) [7.6.1] [Lens] Fix bugs in Lens filters (#56441) Feb 5, 2020
@wylieconlon
Copy link
Contributor Author

Sorry, haven't actually fixed the issues yet

@wylieconlon
Copy link
Contributor Author

Figured out the issue: filterManager was making a copy of filters, which was getting passed into the EditorFrame, which caused a state update to happen because the filters object had a different reference.

@elasticmachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests should allow editing saved visualizations

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:25:13]         └-: lens app
[00:25:13]           └-> "before all" hook
[00:25:13]           └-> "before all" hook
[00:25:13]             │ debg Starting lens before method
[00:25:13]             │ info [logstash_functional] Loading "mappings.json"
[00:25:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:25:15]             │ info [lens/basic] Loading "mappings.json"
[00:25:15]             │ info [lens/basic] Loading "data.json.gz"
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1/eyXLZpAQQnSuuQV6RUFOhA] deleting index
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/OAU-ySb6TNWVAPeFVsQSZA] deleting index
[00:25:15]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:25:15]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:15]             │ info [lens/basic] Created index ".kibana_1"
[00:25:15]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:25:16]             │ info Creating index .kibana_2.
[00:25:16]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:25:16]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] updating number_of_replicas to [0] for indices [.kibana_2]
[00:25:16]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:25:17]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info Pointing alias .kibana to .kibana_2.
[00:25:17]             │ info Finished in 402ms.
[00:25:17]           └-: 
[00:25:17]             └-> "before all" hook
[00:25:17]             └-: lens smokescreen tests
[00:25:17]               └-> "before all" hook
[00:25:17]               └-> should allow editing saved visualizations
[00:25:17]                 └-> "before each" hook: global before each
[00:25:17]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:25:17]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:25:17]                 │ debg ... sleep(700) start
[00:25:17]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize 350 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:25:17]                 │
[00:25:17]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:18]                 │ debg ... sleep(700) end
[00:25:18]                 │ debg returned from get, calling refresh
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize 350 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:25:18]                 │
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:18]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize
[00:25:18]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:25:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:20]                 │ debg Found login page.  Logging in with username = elastic
[00:25:20]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:25:20]                 │ debg TestSubjects.click(loginUsername)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:20]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:32Z
[00:25:20]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:20]                 │
[00:25:20]                 │      "
[00:25:20]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:25:20]                 │ debg TestSubjects.click(loginPassword)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:20]                 │ debg TestSubjects.click(loginSubmit)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022889385#/visualize 350 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:25:25]                 │
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:37Z
[00:25:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:25]                 │
[00:25:25]                 │      "
[00:25:26]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022898036#/visualize 350 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:25:26]                 │
[00:25:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:26]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:25:26]                 │ debg TestSubjects.find(kibanaChrome)
[00:25:26]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:25:30]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:42Z
[00:25:30]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:30]                 │
[00:25:30]                 │      "
[00:25:30]                 │ debg ... sleep(501) start
[00:25:31]                 │ debg ... sleep(501) end
[00:25:31]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:25:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:34]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:34]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:25:34]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:25:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:34]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:34]                 │ debg lensPage.goToTimeRange()
[00:25:34]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:25:34]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:25:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:25:34]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:25:34]                 │
[00:25:34]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:37]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:25:39]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:51Z
[00:25:39]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:39]                 │
[00:25:39]                 │      "
[00:25:39]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:25:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:25:39]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:25:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:39]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:25:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:25:39]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:25:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:31:17]                 └- ✖ fail: "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:31:17]                 │

Stack Trace

[Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/kibana/x-pack/test/functional/apps/lens/smokescreen.ts)]

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/smokescreen·ts.lens app lens smokescreen tests "after all" hook for "should allow creation of lens visualizations"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:25:13]         └-: lens app
[00:25:13]           └-> "before all" hook
[00:25:13]           └-> "before all" hook
[00:25:13]             │ debg Starting lens before method
[00:25:13]             │ info [logstash_functional] Loading "mappings.json"
[00:25:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:25:15]             │ info [lens/basic] Loading "mappings.json"
[00:25:15]             │ info [lens/basic] Loading "data.json.gz"
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1/eyXLZpAQQnSuuQV6RUFOhA] deleting index
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/OAU-ySb6TNWVAPeFVsQSZA] deleting index
[00:25:15]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:25:15]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:15]             │ info [lens/basic] Created index ".kibana_1"
[00:25:15]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:25:16]             │ info Creating index .kibana_2.
[00:25:16]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:25:16]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] updating number_of_replicas to [0] for indices [.kibana_2]
[00:25:16]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:25:17]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info Pointing alias .kibana to .kibana_2.
[00:25:17]             │ info Finished in 402ms.
[00:25:17]           └-: 
[00:25:17]             └-> "before all" hook
[00:25:17]             └-: lens smokescreen tests
[00:25:17]               └-> "before all" hook
[00:25:17]               └-> should allow editing saved visualizations
[00:25:17]                 └-> "before each" hook: global before each
[00:25:17]                 │ debg navigating to visualize url: http://localhost:6151/app/kibana#/visualize
[00:25:17]                 │ debg Navigate to: http://localhost:6151/app/kibana#/visualize
[00:25:17]                 │ debg ... sleep(700) start
[00:25:17]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize 350 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:25:17]                 │
[00:25:17]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:18]                 │ debg ... sleep(700) end
[00:25:18]                 │ debg returned from get, calling refresh
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize 350 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:25:18]                 │
[00:25:18]                 │ debg browser[INFO] http://localhost:6151/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:18]                 │ debg currentUrl = http://localhost:6151/login?next=%2Fapp%2Fkibana%3F_t%3D1581022889385#/visualize
[00:25:18]                 │          appUrl = http://localhost:6151/app/kibana#/visualize
[00:25:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:25:20]                 │ debg Found login page.  Logging in with username = elastic
[00:25:20]                 │ debg TestSubjects.setValue(loginUsername, elastic)
[00:25:20]                 │ debg TestSubjects.click(loginUsername)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:25:20]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:32Z
[00:25:20]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:20]                 │
[00:25:20]                 │      "
[00:25:20]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:25:20]                 │ debg TestSubjects.click(loginPassword)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:25:20]                 │ debg TestSubjects.click(loginSubmit)
[00:25:20]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:25:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=20000
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022889385#/visualize 350 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:25:25]                 │
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:25]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:37Z
[00:25:25]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:25]                 │
[00:25:25]                 │      "
[00:25:26]                 │ debg browser[INFO] http://localhost:6151/app/kibana?_t=1581022898036#/visualize 350 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:25:26]                 │
[00:25:26]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:26]                 │ debg Finished login process currentUrl = http://localhost:6151/app/kibana#/visualize
[00:25:26]                 │ debg TestSubjects.find(kibanaChrome)
[00:25:26]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:25:30]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:42Z
[00:25:30]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:30]                 │
[00:25:30]                 │      "
[00:25:30]                 │ debg ... sleep(501) start
[00:25:31]                 │ debg ... sleep(501) end
[00:25:31]                 │ debg in navigateTo url = http://localhost:6151/app/kibana#/visualize?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:25:31]                 │ debg TestSubjects.exists(statusPageContainer)
[00:25:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:25:34]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:25:34]                 │ debg lensPage.clickVisualizeListItemTitle('Artistpreviouslyknownaslens')
[00:25:34]                 │ debg TestSubjects.click(visListingTitleLink-Artistpreviouslyknownaslens)
[00:25:34]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:34]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Artistpreviouslyknownaslens"]') with timeout=10000
[00:25:34]                 │ debg lensPage.goToTimeRange()
[00:25:34]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:25:34]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:25:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:25:34]                 │ debg browser[INFO] http://localhost:6151/app/kibana#/lens/edit/76fc4200-cf44-11e9-b933-fd84270f3ac1 350 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:25:34]                 │
[00:25:34]                 │ debg browser[INFO] http://localhost:6151/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:25:37]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:25:39]                 │ debg browser[INFO] http://localhost:6151/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T21:01:51Z
[00:25:39]                 │        Adding connection to http://localhost:6151/elasticsearch
[00:25:39]                 │
[00:25:39]                 │      "
[00:25:39]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:25:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:25:39]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:25:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:25:39]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:25:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:25:39]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:25:39]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:25:39]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:31:17]                 └- ✖ fail: "lens app  lens smokescreen tests should allow editing saved visualizations"
[00:31:17]                 │
[00:31:17]               └-> "after all" hook
[00:37:17]                 └- ✖ fail: "lens app  lens smokescreen tests "after all" hook for "should allow creation of lens visualizations""
[00:37:17]                 │

Stack Trace

[Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/kibana/x-pack/test/functional/apps/lens/smokescreen.ts)]

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens.lens app "after all" hook in ""

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:25:13]         └-: lens app
[00:25:13]           └-> "before all" hook
[00:25:13]           └-> "before all" hook
[00:25:13]             │ debg Starting lens before method
[00:25:13]             │ info [logstash_functional] Loading "mappings.json"
[00:25:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:25:13]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:25:15]             │ info [lens/basic] Loading "mappings.json"
[00:25:15]             │ info [lens/basic] Loading "data.json.gz"
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1/eyXLZpAQQnSuuQV6RUFOhA] deleting index
[00:25:15]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/OAU-ySb6TNWVAPeFVsQSZA] deleting index
[00:25:15]             │ info [lens/basic] Deleted existing index [".kibana_2",".kibana_1"]
[00:25:15]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:25:15]             │ info [lens/basic] Created index ".kibana_1"
[00:25:15]             │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:25:16]             │ info Creating index .kibana_2.
[00:25:16]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:25:16]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] updating number_of_replicas to [0] for indices [.kibana_2]
[00:25:16]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:25:17]             │ debg Migrating saved objects space:default, index-pattern:logstash-*, custom_space:index-pattern:logstash-*, visualization:i-exist, custom_space:visualization:i-exist, query:okjpgs, config:8.0.0, lens:76fc4200-cf44-11e9-b933-fd84270f3ac1, ui-metric:DashboardPanelVersionInUrl:8.0.0
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1581019571321863735] [.kibana_2/lc43vCFSQMuwgir-0FVt0Q] update_mapping [_doc]
[00:25:17]             │ info Pointing alias .kibana to .kibana_2.
[00:25:17]             │ info Finished in 402ms.
[00:25:17]           └-: 
[00:25:17]             └-> "before all" hook
[00:37:17]               └-> "after all" hook
[00:40:39]                 │ debg --- retry.try error: timeout
[00:40:39]                 │        (Session info: headless chrome=80.0.3987.87)
[00:40:39]                 │        (Driver info: chromedriver=79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}),platform=Linux 4.9.0-11-amd64 x86_64)
[00:40:40]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/lens app  lens smokescreen tests _after all_ hook for _should allow creation of lens visualizations_.png"
[00:43:17]                 └- ✖ fail: "lens app  "after all" hook in """
[00:43:17]                 │

Stack Trace

[Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/kibana/x-pack/test/functional/apps/lens)]

and 7 more failures, only showing the first 3.

History

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

@elastic elastic deleted a comment from kibanamachine Feb 6, 2020
@elasticmachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security·ts.dashboard feature controls dashboard security global dashboard all privileges, no embeddable application privileges landing page shows "Create new Dashboard" button

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: feature controls
[00:00:00]             └-> "before all" hook
[00:00:00]             └-: dashboard security
[00:00:00]               └-> "before all" hook
[00:00:00]               └-> "before all" hook
[00:00:00]                 │ info [dashboard/feature_controls/security] Loading "mappings.json"
[00:00:00]                 │ info [dashboard/feature_controls/security] Loading "data.json"
[00:00:00]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_1/sY0tA0ViSlCAk78S_hXJLQ] deleting index
[00:00:00]                 │ info [dashboard/feature_controls/security] Deleted existing index [".kibana_1"]
[00:00:00]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:00:00]                 │ info [dashboard/feature_controls/security] Created index ".kibana"
[00:00:00]                 │ debg [dashboard/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:00:00]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana/nFuIleanTbC7xNU2RRORdw] update_mapping [doc]
[00:00:00]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana/nFuIleanTbC7xNU2RRORdw] update_mapping [doc]
[00:00:41]                 │ info [o.e.a.b.TransportShardBulkAction] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana][0] failed to execute bulk item (index) index {[.kibana][_doc][maps-telemetry:maps-telemetry], source[{"maps-telemetry":{"settings":{"showMapVisualizationTypes":false},"indexPatternsWithGeoFieldCount":1,"mapsTotalCount":1,"timeCaptured":"2020-02-06T22:04:57.954Z","attributesPerMap":{"dataSourcesCount":{"min":1,"max":1,"avg":1},"layersCount":{"min":1,"max":1,"avg":1},"layerTypesCount":{"TILE":{"min":1,"max":1,"avg":1}},"emsVectorLayersCount":{}}},"type":"maps-telemetry","references":[],"updated_at":"2020-02-06T22:04:57.954Z"}]}
[00:00:41]                 │      org.elasticsearch.index.mapper.StrictDynamicMappingException: mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:513) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:418) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:395) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentParser.internalParseDocument(DocumentParser.java:112) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:71) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:267) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:793) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:770) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:742) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:254) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.bulk.TransportShardBulkAction$2.doRun(TransportShardBulkAction.java:157) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.bulk.TransportShardBulkAction.performOnPrimary(TransportShardBulkAction.java:189) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:114) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:81) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryShardReference.perform(TransportReplicationAction.java:895) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.ReplicationOperation.execute(ReplicationOperation.java:109) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.runWithPrimaryShardReference(TransportReplicationAction.java:374) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.lambda$doRun$0(TransportReplicationAction.java:297) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShard.lambda$wrapPrimaryOperationPermitListener$24(IndexShard.java:2791) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$3.onResponse(ActionListener.java:113) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShardOperationPermits.acquire(IndexShardOperationPermits.java:285) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShardOperationPermits.acquire(IndexShardOperationPermits.java:237) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.index.shard.IndexShard.acquirePrimaryOperationPermit(IndexShard.java:2765) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction.acquirePrimaryOperationPermit(TransportReplicationAction.java:836) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction$AsyncPrimaryAction.doRun(TransportReplicationAction.java:293) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.replication.TransportReplicationAction.handlePrimaryRequest(TransportReplicationAction.java:256) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler$1.doRun(SecurityServerTransportInterceptor.java:257) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.lambda$messageReceived$0(SecurityServerTransportInterceptor.java:306) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$15(AuthorizationService.java:344) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1507) [?:?]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.FieldAndDocumentLevelSecurityRequestInterceptor.intercept(FieldAndDocumentLevelSecurityRequestInterceptor.java:61) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.UpdateRequestInterceptor.intercept(UpdateRequestInterceptor.java:23) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:339) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1507) [?:?]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.FieldAndDocumentLevelSecurityRequestInterceptor.intercept(FieldAndDocumentLevelSecurityRequestInterceptor.java:61) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.SearchRequestInterceptor.intercept(SearchRequestInterceptor.java:19) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:339) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1507) [?:?]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.ResizeRequestInterceptor.intercept(ResizeRequestInterceptor.java:82) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:339) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1507) [?:?]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.IndicesAliasesRequestInterceptor.intercept(IndicesAliasesRequestInterceptor.java:102) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$runRequestInterceptors$14(AuthorizationService.java:339) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture$1.doRun(ListenableFuture.java:112) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListener(ListenableFuture.java:106) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.lambda$done$0(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.ArrayList.forEach(ArrayList.java:1507) [?:?]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:98) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:144) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ListenableFuture.onResponse(ListenableFuture.java:127) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.StepListener.innerOnResponse(StepListener.java:62) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.NotifyOnceListener.onResponse(NotifyOnceListener.java:40) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.interceptor.BulkShardRequestInterceptor.intercept(BulkShardRequestInterceptor.java:71) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.runRequestInterceptors(AuthorizationService.java:345) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.handleIndexActionAuthorizationResult(AuthorizationService.java:322) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$9(AuthorizationService.java:263) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:616) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:591) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:43) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.buildIndicesAccessControl(RBACEngine.java:507) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.lambda$authorizeIndexAction$3(RBACEngine.java:298) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.lambda$getAsync$0(AuthorizationService.java:653) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.resolveIndexNames(AuthorizationService.java:554) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$6(AuthorizationService.java:251) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.lambda$getAsync$0(AuthorizationService.java:653) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.loadAuthorizedIndices(RBACEngine.java:329) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$5(AuthorizationService.java:247) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.getAsync(AuthorizationService.java:651) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorizeAction$8(AuthorizationService.java:250) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService$CachingAsyncSupplier.getAsync(AuthorizationService.java:651) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.lambda$authorizeIndexAction$4(RBACEngine.java:290) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.authorizeIndexActionName(RBACEngine.java:314) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.authorizeIndexAction(RBACEngine.java:287) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.authorizeAction(AuthorizationService.java:261) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.maybeAuthorizeRunAs(AuthorizationService.java:227) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.lambda$authorize$1(AuthorizationService.java:193) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:43) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.lambda$resolveAuthorizationInfo$1(RBACEngine.java:117) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.store.CompositeRolesStore.roles(CompositeRolesStore.java:155) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.store.CompositeRolesStore.getRoles(CompositeRolesStore.java:246) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.getRoles(RBACEngine.java:123) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.RBACEngine.resolveAuthorizationInfo(RBACEngine.java:111) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authz.AuthorizationService.authorize(AuthorizationService.java:195) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.lambda$inbound$1(ServerTransportFilter.java:130) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$authenticateAsync$2(AuthenticationService.java:248) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$lookForExistingAuthentication$6(AuthenticationService.java:310) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lookForExistingAuthentication(AuthenticationService.java:321) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.authenticateAsync(AuthenticationService.java:245) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.access$000(AuthenticationService.java:196) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:139) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.inbound(ServerTransportFilter.java:121) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.messageReceived(SecurityServerTransportInterceptor.java:313) [x-pack-security-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:63) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:750) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:692) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
[00:00:41]                 │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
[00:00:41]                 │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
[00:00:41]                 │      	at java.lang.Thread.run(Thread.java:830) [?:?]
[00:00:41]                 │ proc [kibana]   log   [22:04:57.992] [warning][plugins][usageCollection] { Error: mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed
[00:00:41]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-4/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:41]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-4/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:41]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-4/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:41]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-4/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:41]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:41]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:41]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:41]                 │ proc [kibana]   status: 400,
[00:00:41]                 │ proc [kibana]   displayName: 'BadRequest',
[00:00:41]                 │ proc [kibana]   message:
[00:00:41]                 │ proc [kibana]    'mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed',
[00:00:41]                 │ proc [kibana]   path: '/.kibana/_doc/maps-telemetry%3Amaps-telemetry',
[00:00:41]                 │ proc [kibana]   query: { refresh: 'wait_for' },
[00:00:41]                 │ proc [kibana]   body:
[00:00:41]                 │ proc [kibana]    { error:
[00:00:41]                 │ proc [kibana]       { root_cause: [Array],
[00:00:41]                 │ proc [kibana]         type: 'strict_dynamic_mapping_exception',
[00:00:41]                 │ proc [kibana]         reason:
[00:00:41]                 │ proc [kibana]          'mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed' },
[00:00:41]                 │ proc [kibana]      status: 400 },
[00:00:41]                 │ proc [kibana]   statusCode: 400,
[00:00:41]                 │ proc [kibana]   response:
[00:00:41]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed"}],"type":"strict_dynamic_mapping_exception","reason":"mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed"},"status":400}',
[00:00:41]                 │ proc [kibana]   toString: [Function],
[00:00:41]                 │ proc [kibana]   toJSON: [Function],
[00:00:41]                 │ proc [kibana]   isBoom: true,
[00:00:41]                 │ proc [kibana]   isServer: false,
[00:00:41]                 │ proc [kibana]   data: null,
[00:00:41]                 │ proc [kibana]   output:
[00:00:41]                 │ proc [kibana]    { statusCode: 400,
[00:00:41]                 │ proc [kibana]      payload:
[00:00:41]                 │ proc [kibana]       { message:
[00:00:41]                 │ proc [kibana]          'mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed: [strict_dynamic_mapping_exception] mapping set to strict, dynamic introduction of [maps-telemetry] within [doc] is not allowed',
[00:00:41]                 │ proc [kibana]         statusCode: 400,
[00:00:41]                 │ proc [kibana]         error: 'Bad Request' },
[00:00:41]                 │ proc [kibana]      headers: {} },
[00:00:41]                 │ proc [kibana]   reformat: [Function],
[00:00:41]                 │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/badRequest' }
[00:00:41]                 │ proc [kibana]   log   [22:04:58.003] [warning][plugins][usageCollection] Unable to fetch data from maps-telemetry collector
[00:00:45]                 │ info Creating index .kibana_2.
[00:00:45]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:45]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:00:46]                 │ info Reindexing .kibana to .kibana_1
[00:00:46]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:00:46]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] updating number_of_replicas to [0] for indices [.tasks]
[00:00:46]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]]]).
[00:00:46]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] 760 finished with response BulkByScrollResponse[took=95.8ms,timed_out=false,sliceId=null,updated=0,created=8,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:46]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana/nFuIleanTbC7xNU2RRORdw] deleting index
[00:00:46]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:46]                 │ debg Migrating saved objects index-pattern:logstash-*, visualization:75c3e060-1e7c-11e9-8488-65449e65d0ed, dashboard:i-exist, config:6.0.0, map:0b849ed0-70f5-11e9-8625-9580c4904684, dashboard:1c1a87f0-70f5-11e9-8625-9580c4904684, query:okjpgs, config:7.6.0-SNAPSHOT
[00:00:46]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:46]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:46]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:46]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:46]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:46]                 │ info Pointing alias .kibana to .kibana_2.
[00:00:47]                 │ info Finished in 1136ms.
[00:00:47]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:47]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [.kibana_2/sKO1-o7GQVSZIu_R20vg6w] update_mapping [_doc]
[00:00:48]                 │ info [logstash_functional] Loading "mappings.json"
[00:00:48]                 │ info [logstash_functional] Loading "data.json.gz"
[00:00:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:48]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:48]                 │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:48]                 │ 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:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:48]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:48]                 │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:48]                 │ 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:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:48]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:48]                 │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:48]                 │ 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:58]                 │ info progress: 9331
[00:01:03]                 │ debg SecurityPage.forceLogout
[00:01:03]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:01:03]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:03]                 │ debg Redirecting to /logout to force the logout
[00:01:04]                 │ debg Waiting on the login form to appear
[00:01:04]                 │ debg Waiting up to 100000ms for login form...
[00:01:04]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:04]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1581026759667 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:04]                 │
[00:01:04]                 │ debg browser[INFO] http://localhost:6141/bundles/app/logout/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:06]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:07]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:10]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T22:06:06Z
[00:01:10]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:10]                 │
[00:01:10]                 │      "
[00:01:10]                 │ debg browser[INFO] http://localhost:6141/login?next=%2F 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:10]                 │
[00:01:10]                 │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:10]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:01:11]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:01:15]                 │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T22:06:11Z
[00:01:15]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:15]                 │
[00:01:15]                 │      "
[00:01:15]               └-: global dashboard all privileges, no embeddable application privileges
[00:01:15]                 └-> "before all" hook
[00:01:15]                 └-> "before all" hook
[00:01:15]                   │ debg creating role global_dashboard_all_role
[00:01:15]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] added role [global_dashboard_all_role]
[00:01:15]                   │ debg created role global_dashboard_all_role
[00:01:15]                   │ debg creating user global_dashboard_all_user
[00:01:15]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1581024987049732573] added user [global_dashboard_all_user]
[00:01:15]                   │ debg created user global_dashboard_all_user
[00:01:15]                   │ debg navigating to login url: http://localhost:6141/login
[00:01:15]                   │ debg Navigate to: http://localhost:6141/login
[00:01:16]                   │ debg ... sleep(700) start
[00:01:16]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581026771696 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:16]                   │
[00:01:16]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:16]                   │ debg ... sleep(700) end
[00:01:16]                   │ debg returned from get, calling refresh
[00:01:17]                   │ debg browser[INFO] http://localhost:6141/login?_t=1581026771696 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:17]                   │
[00:01:17]                   │ debg browser[INFO] http://localhost:6141/bundles/app/login/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:17]                   │ debg currentUrl = http://localhost:6141/login
[00:01:17]                   │          appUrl = http://localhost:6141/login
[00:01:17]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:21]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T22:06:16Z
[00:01:21]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:01:21]                   │
[00:01:21]                   │      "
[00:01:21]                   │ debg ... sleep(501) start
[00:01:21]                   │ debg ... sleep(501) end
[00:01:21]                   │ debg in navigateTo url = http://localhost:6141/login
[00:01:21]                   │ debg TestSubjects.exists(statusPageContainer)
[00:01:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:24]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:24]                   │ debg TestSubjects.setValue(loginUsername, global_dashboard_all_user)
[00:01:24]                   │ debg TestSubjects.click(loginUsername)
[00:01:24]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:24]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:25]                   │ debg TestSubjects.setValue(loginPassword, global_dashboard_all_user-password)
[00:01:25]                   │ debg TestSubjects.click(loginPassword)
[00:01:25]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:25]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:26]                   │ debg TestSubjects.click(loginSubmit)
[00:01:26]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:26]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:26]                   │ debg Waiting up to 20000ms for logout button visible...
[00:01:26]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:29]                   │ debg browser[INFO] http://localhost:6141/app/kibana 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:29]                   │
[00:01:29]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:29]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:30]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:32]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:33]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:37]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T22:06:33Z
[00:01:37]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:01:37]                   │
[00:01:37]                   │      "
[00:01:37]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:01:38]                   │ debg TestSubjects.exists(userMenuButton)
[00:01:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:01:38]                   │ debg TestSubjects.exists(userMenu)
[00:01:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:41]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:01:41]                   │ debg TestSubjects.click(userMenuButton)
[00:01:41]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:41]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:01:42]                   │ debg Waiting up to 20000ms for user menu opened...
[00:01:42]                   │ debg TestSubjects.exists(userMenu)
[00:01:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:01:42]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:01:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:01:42]                 └-> shows dashboard navlink
[00:01:42]                   └-> "before each" hook: global before each
[00:01:42]                   │ debg TestSubjects.find(navDrawer)
[00:01:42]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:01:42]                   └- ✓ pass  (104ms) "dashboard feature controls dashboard security global dashboard all privileges, no embeddable application privileges shows dashboard navlink"
[00:01:42]                 └-> landing page shows "Create new Dashboard" button
[00:01:42]                   └-> "before each" hook: global before each
[00:01:42]                   │ debg navigateToActualUrl http://localhost:6141/app/kibana#/dashboards
[00:01:42]                   │ debg browser[INFO] http://localhost:6141/app/kibana?_t=1581026798101#/dashboards 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:42]                   │
[00:01:42]                   │ debg browser[INFO] http://localhost:6141/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:43]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:01:45]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:54]                   │ debg browser[INFO] http://localhost:6141/built_assets/dlls/vendors_1.bundle.dll.js 112:139170 "INFO: 2020-02-06T22:06:49Z
[00:01:54]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:01:54]                   │
[00:01:54]                   │      "
[00:01:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:54]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls dashboard security global dashboard all privileges_ no embeddable application privileges landing page shows _Create new Dashboard_ button.png"
[00:01:55]                   │ info Current URL is: http://localhost:6141/app/kibana#/dashboards?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:55]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls dashboard security global dashboard all privileges_ no embeddable application privileges landing page shows _Create new Dashboard_ button.html
[00:01:55]                   └- ✖ fail: "dashboard feature controls dashboard security global dashboard all privileges, no embeddable application privileges landing page shows "Create new Dashboard" button"
[00:01:55]                   │

Stack Trace

Error: expected testSubject(dashboardLandingPage) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/legacy/plugins/lens/public/app_plugin.Lens App renders the editor frame

Link to Jenkins

Standard Out

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


Stack Trace

Error: expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `Lens App renders the editor frame 1`

- Snapshot
+ Received

@@ -48,6 +48,42 @@
          "query": "",
        },
        "savedQuery": undefined,
      },
    ],
+   Array [
+     <div
+       class="lnsApp__frame"
+     />,
+     Object {
+       "dateRange": Object {
+         "fromDate": "now-7d",
+         "toDate": "now",
+       },
+       "doc": undefined,
+       "filters": Array [
+         Object {
+           "$state": Object {
+             "store": "globalState",
+           },
+           "meta": Object {
+             "alias": null,
+             "disabled": false,
+             "negate": false,
+           },
+           "query": Object {
+             "match_phrase": Object {
+               "global": "yes",
+             },
+           },
+         },
+       ],
+       "onChange": [Function],
+       "onError": [Function],
+       "query": Object {
+         "language": "kuery",
+         "query": "",
+       },
+       "savedQuery": undefined,
+     },
+   ],
  ]
    at Object.it (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/legacy/plugins/lens/public/app_plugin/app.test.tsx:172:36)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)
    at process._tickCallback (internal/process/next_tick.js:68:7)

History

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

Copy link
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

Code lgtm
Tested that only pinned filters are preserved when navigating to lens and that global filters saved with lens vis are not shown on UI.

@@ -239,7 +255,7 @@ export function App({
setState(s => ({ ...s, savedQuery }));
}}
onSavedQueryUpdated={savedQuery => {
data.query.filterManager.setFilters(savedQuery.attributes.filters || state.filters);
data.query.filterManager.setFilters(savedQuery.attributes.filters || []);
Copy link
Contributor

Choose a reason for hiding this comment

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

Great as a fix for 7.6.1, but consider using #56160 for 7.7 to avoid similar issues 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The fix using that code is already in 7.7, but I couldn't backport it to 7.6

const args = defaultArgs;
args.editorFrame = frame;

const instance = mount(<App {...args} />);
const indexPattern = ({ id: 'index1' } as unknown) as IIndexPattern;
const field = ({ name: 'myfield' } as unknown) as IFieldType;

args.data.query.filterManager.setFilters([esFilters.buildExistsFilter(field, indexPattern)]);
const filter = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: Not sure if it's valuable (treat this comment as learning opportunity for me :D ) but in the query tests below we construct filters using setting Filter Store:

      const unpinned = esFilters.buildExistsFilter(field, indexPattern);
      FilterManager.setFiltersStore([unpinned], esFilters.FilterStateStore.APP_STATE);

while here you construct the filter object. Maybe it's worth to unify it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I looked into this a bit more and specifically the exists filter has a different type definition than the other types. This is definitely worth highlighting to so I'm building the filters manually!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

@wylieconlon wylieconlon merged commit 13ff66e into elastic:7.6 Feb 14, 2020
@wylieconlon wylieconlon deleted the backport/7.6/pr-56441 branch February 14, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants