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.x] [index patterns] improve index pattern cache (#83368) #83795

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

mattkime
Copy link
Contributor

Backports the following commits to 7.x:

* cache index pattern promise, not index pattern
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown·ts.dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook
[00:11:00]           └-: drilldowns
[00:11:00]             └-> "before all" hook
[00:11:00]             └-> "before all" hook
[00:11:00]               │ info [logstash_functional] Loading "mappings.json"
[00:11:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:11:00]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:11:01]               │ info [dashboard/drilldowns] Loading "mappings.json"
[00:11:01]               │ info [dashboard/drilldowns] Loading "data.json"
[00:11:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/xzr0N0STR1uSgtnrh_Dl8g] deleting index
[00:11:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_1/7RElSR9_QZaTQ6PLCbxr_w] deleting index
[00:11:01]               │ info [dashboard/drilldowns] Deleted existing index [".kibana_2",".kibana_1"]
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [dashboard/drilldowns] Created index ".kibana"
[00:11:01]               │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana/rjOiKnLHT6-NBIMaLaUUnQ] update_mapping [_doc]
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana/rjOiKnLHT6-NBIMaLaUUnQ] update_mapping [_doc]
[00:11:01]               │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:11:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana/rjOiKnLHT6-NBIMaLaUUnQ] update_mapping [_doc]
[00:11:01]               │ debg Migrating saved objects
[00:11:01]               │ proc [kibana]   log   [14:30:02.178] [info][savedobjects-service] Creating index .kibana_2.
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] updating number_of_replicas to [0] for indices [.kibana_2]
[00:11:01]               │ proc [kibana]   log   [14:30:02.254] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:11:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] updating number_of_replicas to [0] for indices [.kibana_1]
[00:11:01]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] 13033 finished with response BulkByScrollResponse[took=23.3ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana/rjOiKnLHT6-NBIMaLaUUnQ] deleting index
[00:11:02]               │ proc [kibana]   log   [14:30:02.602] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/Ipwv7wXGQrSpAXytRVfYSA] update_mapping [_doc]
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/Ipwv7wXGQrSpAXytRVfYSA] update_mapping [_doc]
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/Ipwv7wXGQrSpAXytRVfYSA] update_mapping [_doc]
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/Ipwv7wXGQrSpAXytRVfYSA] update_mapping [_doc]
[00:11:02]               │ proc [kibana]   log   [14:30:02.854] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:11:02]               │ proc [kibana]   log   [14:30:02.901] [info][savedobjects-service] Finished in 724ms.
[00:11:02]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:11:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1605793635559138082] [.kibana_2/Ipwv7wXGQrSpAXytRVfYSA] update_mapping [_doc]
[00:11:03]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:11:04]             └-: Dashboard to dashboard drilldown
[00:11:04]               └-> "before all" hook
[00:12:50]               └-: Copy to space
[00:12:50]                 └-> "before all" hook
[00:12:50]                 └-> "before all" hook
[00:12:50]                   │ debg creating space
[00:12:50]                   │ debg created space
[00:12:50]                   │ debg navigating to settings url: http://localhost:6121/app/management
[00:12:50]                   │ debg navigate to: http://localhost:6121/app/management
[00:12:51]                   │ERROR browser[SEVERE] http://localhost:6121/36638/bundles/plugin/visualizations/visualizations.plugin.js 5:96009 Error: Saved field "@timestamp" of index pattern "logstash-*" is invalid for use with the "Date Histogram" aggregation. Please select a new field.
[00:12:51]                   │          at FieldParamType.deserialize (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:616110)
[00:12:51]                   │          at http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403907
[00:12:51]                   │          at Array.forEach (<anonymous>)
[00:12:51]                   │          at AggConfig.setParams (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403331)
[00:12:51]                   │          at AggConfig.set type [as type] (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:409110)
[00:12:51]                   │          at AggConfig.setType (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:409210)
[00:12:51]                   │          at new AggConfig (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403129)
[00:12:51]                   │          at agg_configs_AggConfigs.createAggConfig (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:185335)
[00:12:51]                   │          at http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:185687
[00:12:51]                   │          at Array.forEach (<anonymous>)
[00:12:51]                   │ debg browser[INFO] http://localhost:6121/app/management?_t=1605796311361 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:12:51]                   │
[00:12:51]                   │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:51]                   │ debg ... sleep(700) start
[00:12:52]                   │ debg ... sleep(700) end
[00:12:52]                   │ debg returned from get, calling refresh
[00:12:52]                   │ debg browser[INFO] http://localhost:6121/app/management?_t=1605796311361 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:12:52]                   │
[00:12:52]                   │ debg browser[INFO] http://localhost:6121/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:52]                   │ debg currentUrl = http://localhost:6121/app/management
[00:12:52]                   │          appUrl = http://localhost:6121/app/management
[00:12:52]                   │ debg TestSubjects.find(kibanaChrome)
[00:12:52]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:53]                   │ debg ... sleep(501) start
[00:12:53]                   │ debg ... sleep(501) end
[00:12:53]                   │ debg in navigateTo url = http://localhost:6121/app/management
[00:12:53]                   │ debg TestSubjects.exists(statusPageContainer)
[00:12:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:56]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:12:56]                   │ debg TestSubjects.click(objects)
[00:12:56]                   │ debg Find.clickByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:56]                   │ debg Find.findByCssSelector('[data-test-subj="objects"]') with timeout=10000
[00:12:56]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:12:57]                   │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:12:57]                   │        (Session info: headless chrome=87.0.4280.66)
[00:13:05]                 └-> Dashboards linked by a drilldown are both copied to a space
[00:13:05]                   └-> "before each" hook: global before each
[00:13:05]                   │ debg TestSubjects.find(savedObjectSearchBar)
[00:13:05]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectSearchBar"]') with timeout=10000
[00:13:05]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:05]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:07]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:07]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:07]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:07]                   │ debg Find.existsByDisplayedByCssSelector('*[data-test-subj="savedObjectsTable"] :not(.euiBasicTable-loading)') with timeout=2500
[00:13:09]                   │ debg ... sleep(1000) start
[00:13:10]                   │ debg ... sleep(1000) end
[00:13:10]                   │ debg TestSubjects.findAll(~savedObjectsTableRow)
[00:13:10]                   │ debg Find.allByCssSelector('[data-test-subj~="savedObjectsTableRow"]') with timeout=10000
[00:13:10]                   │ debg we found a context menu element for (Dashboard With Area Chart) so click it
[00:13:10]                   │ debg Find.findByCssSelector('.euiContextMenuPanel') with timeout=10000
[00:13:11]                   │ debg TestSubjects.exists(copy-to-space-flyout)
[00:13:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="copy-to-space-flyout"]') with timeout=120000
[00:13:11]                   │ debg TestSubjects.find(cts-copyModeControl-overwriteRadioGroup)
[00:13:11]                   │ debg Find.findByCssSelector('[data-test-subj="cts-copyModeControl-overwriteRadioGroup"]') with timeout=10000
[00:13:11]                   │ debg TestSubjects.click(cts-space-selector-row-custom_space)
[00:13:11]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-space-selector-row-custom_space"]') with timeout=10000
[00:13:11]                   │ debg Find.findByCssSelector('[data-test-subj="cts-space-selector-row-custom_space"]') with timeout=10000
[00:13:11]                   │ debg TestSubjects.click(cts-initiate-button)
[00:13:11]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-initiate-button"]') with timeout=10000
[00:13:11]                   │ debg Find.findByCssSelector('[data-test-subj="cts-initiate-button"]') with timeout=10000
[00:13:11]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="cts-summary-indicator-loading-custom_space"]') with timeout=10000
[00:13:12]                   │ debg TestSubjects.exists(cts-summary-indicator-success-custom_space)
[00:13:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="cts-summary-indicator-success-custom_space"]') with timeout=120000
[00:13:12]                   │ debg TestSubjects.getVisibleText(cts-summary-success-count)
[00:13:12]                   │ debg TestSubjects.find(cts-summary-success-count)
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-success-count"]') with timeout=10000
[00:13:12]                   │ debg TestSubjects.getVisibleText(cts-summary-pending-count)
[00:13:12]                   │ debg TestSubjects.find(cts-summary-pending-count)
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-pending-count"]') with timeout=10000
[00:13:12]                   │ debg TestSubjects.getVisibleText(cts-summary-skipped-count)
[00:13:12]                   │ debg TestSubjects.find(cts-summary-skipped-count)
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-skipped-count"]') with timeout=10000
[00:13:12]                   │ debg TestSubjects.getVisibleText(cts-summary-error-count)
[00:13:12]                   │ debg TestSubjects.find(cts-summary-error-count)
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="cts-summary-error-count"]') with timeout=10000
[00:13:12]                   │ debg TestSubjects.click(cts-finish-button)
[00:13:12]                   │ debg Find.clickByCssSelector('[data-test-subj="cts-finish-button"]') with timeout=10000
[00:13:12]                   │ debg Find.findByCssSelector('[data-test-subj="cts-finish-button"]') with timeout=10000
[00:13:12]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="copy-to-space-flyout"]') with timeout=10000
[00:13:12]                   │ debg navigating to dashboard url: http://localhost:6121/s/custom_space/app/dashboards#/list
[00:13:12]                   │ debg navigate to: http://localhost:6121/s/custom_space/app/dashboards#/list
[00:13:13]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/app/dashboards?_t=1605796333269#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:13]                   │
[00:13:13]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:13]                   │ debg ... sleep(700) start
[00:13:13]                   │ debg ... sleep(700) end
[00:13:13]                   │ debg returned from get, calling refresh
[00:13:14]                   │ERROR browser[SEVERE] http://localhost:6121/36638/bundles/core/core.entry.js 12:193158 TypeError: Failed to fetch
[00:13:14]                   │          at _callee3$ (http://localhost:6121/36638/bundles/core/core.entry.js:6:43940)
[00:13:14]                   │          at l (http://localhost:6121/36638/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751406)
[00:13:14]                   │          at Generator._invoke (http://localhost:6121/36638/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751159)
[00:13:14]                   │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/36638/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751763)
[00:13:14]                   │          at fetch_asyncGeneratorStep (http://localhost:6121/36638/bundles/core/core.entry.js:6:38998)
[00:13:14]                   │          at _throw (http://localhost:6121/36638/bundles/core/core.entry.js:6:39406)
[00:13:14]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/app/dashboards?_t=1605796333269#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:14]                   │
[00:13:14]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:14]                   │ debg currentUrl = http://localhost:6121/s/custom_space/app/dashboards#/list
[00:13:14]                   │          appUrl = http://localhost:6121/s/custom_space/app/dashboards#/list
[00:13:14]                   │ debg TestSubjects.find(kibanaChrome)
[00:13:14]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:14]                   │ debg ... sleep(501) start
[00:13:15]                   │ debg ... sleep(501) end
[00:13:15]                   │ debg in navigateTo url = http://localhost:6121/s/custom_space/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:15]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:15]                   │ debg ... sleep(501) start
[00:13:16]                   │ debg ... sleep(501) end
[00:13:16]                   │ debg in navigateTo url = http://localhost:6121/s/custom_space/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:16]                   │ debg TestSubjects.exists(statusPageContainer)
[00:13:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:18]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:19]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:19]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:19]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:19]                   │
[00:13:19]                   │ debg browser[INFO] http://localhost:6121/s/custom_space/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:21]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:22]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:22]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:22]                   │ debg Load Saved Dashboard Dashboard With Area Chart
[00:13:22]                   │ debg gotoDashboardLandingPage
[00:13:22]                   │ debg onDashboardLandingPage
[00:13:22]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:13:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:13:22]                   │ debg searchForItemWithName: Dashboard With Area Chart
[00:13:22]                   │ debg TestSubjects.find(tableListSearchBox)
[00:13:22]                   │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:13:22]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:22]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:24]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:24]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:24]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:24]                   │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-With-Area-Chart)
[00:13:24]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[00:13:24]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-With-Area-Chart"]') with timeout=10000
[00:13:24]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:24]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:26]                   │ERROR browser[SEVERE] http://localhost:6121/36638/bundles/plugin/visualizations/visualizations.plugin.js 5:96009 Error: Saved field "@timestamp" of index pattern "logstash-*" is invalid for use with the "Date Histogram" aggregation. Please select a new field.
[00:13:26]                   │          at FieldParamType.deserialize (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:616110)
[00:13:26]                   │          at http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403907
[00:13:26]                   │          at Array.forEach (<anonymous>)
[00:13:26]                   │          at AggConfig.setParams (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403331)
[00:13:26]                   │          at AggConfig.set type [as type] (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:409110)
[00:13:26]                   │          at AggConfig.setType (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:409210)
[00:13:26]                   │          at new AggConfig (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:403129)
[00:13:26]                   │          at agg_configs_AggConfigs.createAggConfig (http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:185335)
[00:13:26]                   │          at http://localhost:6121/36638/bundles/plugin/data/data.plugin.js:1:185687
[00:13:26]                   │          at Array.forEach (<anonymous>)
[00:13:26]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:26]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:26]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:26]                   │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:13:26]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:13:27]                   │ debg isGlobalLoadingIndicatorVisible
[00:13:27]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:28]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:29]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:29]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:29]                   │ debg waitForRenderComplete
[00:13:29]                   │ debg in getSharedItemsCount
[00:13:29]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:13:29]                   │ debg Renderable.waitForRender for 1 elements
[00:13:29]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:13:39]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:13:49]                   │ debg --- retry.try error: 0 elements completed rendering, still waiting on a total of 1
[00:13:49]                   │                      specifically:
[00:13:49]                   │
[00:13:49]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:00]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:10]                   │ debg --- retry.try failed again with the same message...
[00:14:10]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:20]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:30]                   │ debg --- retry.try failed again with the same message...
[00:14:31]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:14:41]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:14:51]                   │ debg --- retry.try failed again with the same message...
[00:14:51]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:15:01]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:15:11]                   │ debg --- retry.try failed again with the same message...
[00:15:12]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:15:22]                   │ debg Find.allByCssSelector('[data-render-complete="false"]') with timeout=10000
[00:15:32]                   │ debg --- retry.try failed again with the same message...
[00:15:32]                   │ info Taking screenshot "/dev/shm/workspace/parallel/2/kibana/x-pack/test/functional/screenshots/failure/dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space.png"
[00:15:33]                   │ info Current URL is: http://localhost:6121/s/custom_space/app/dashboards#/view/24f3f950-69d9-11ea-a14d-e341629a29e6?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T17:34:10.297Z%27,to:%272015-09-23T00:09:17.180Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!t,title:%27Dashboard%20With%20Area%20Chart%27,viewMode:view)
[00:15:33]                   │ info Saving page source to: /dev/shm/workspace/parallel/2/kibana/x-pack/test/functional/failure_debug/html/dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space.html
[00:15:33]                   └- ✖ fail: dashboard drilldowns Dashboard to dashboard drilldown Copy to space Dashboards linked by a drilldown are both copied to a space
[00:15:33]                   │      retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
[00:15:33]                   │                 specifically:
[00:15:33]                   │ 
[00:15:33]                   │     at /dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:50:17
[00:15:33]                   │     at runMicrotasks (<anonymous>)
[00:15:33]                   │     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[00:15:33]                   │     at runAttempt (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:15:33]                   │     at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:15:33]                   │     at Retry.try (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:33]                   │     at Renderable.waitForRender (/dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:41:7)
[00:15:33]                   │     at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/2/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:33]                   │     at Context.<anonymous> (/dev/shm/workspace/parallel/2/kibana/x-pack/test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:33]                   │     at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:33]                   │   Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
[00:15:33]                   │                   specifically:
[00:15:33]                   │   
[00:15:33]                   │       at /dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:50:17
[00:15:33]                   │       at runMicrotasks (<anonymous>)
[00:15:33]                   │       at processTicksAndRejections (internal/process/task_queues.js:97:5)
[00:15:33]                   │       at runAttempt (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:15:33]                   │       at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:15:33]                   │       at Retry.try (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:33]                   │       at Renderable.waitForRender (/dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:41:7)
[00:15:33]                   │       at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/2/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:33]                   │       at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:33]                   │       at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:33]                   │       at onFailure (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:15:33]                   │       at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:15:33]                   │       at Retry.try (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry.ts:43:14)
[00:15:33]                   │       at Renderable.waitForRender (/dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:41:7)
[00:15:33]                   │       at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/2/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
[00:15:33]                   │       at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
[00:15:33]                   │       at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:15:33]                   │ 
[00:15:33]                   │ 

Stack Trace

Error: retry.try timeout: Error: 0 elements completed rendering, still waiting on a total of 1
                specifically:

    at /dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:50:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at runAttempt (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.try (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry.ts:43:14)
    at Renderable.waitForRender (/dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:41:7)
    at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/2/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
    at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
    at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/2/kibana/test/common/services/retry/retry.ts:43:14)
    at Renderable.waitForRender (/dev/shm/workspace/parallel/2/kibana/test/functional/services/renderable.ts:41:7)
    at DashboardPage.waitForRenderComplete (/dev/shm/workspace/parallel/2/kibana/test/functional/page_objects/dashboard_page.ts:485:7)
    at Context.<anonymous> (test/functional/apps/dashboard/drilldowns/dashboard_to_dashboard_drilldown.ts:203:9)
    at Object.apply (/dev/shm/workspace/parallel/2/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 971.5KB 972.0KB +505.0B

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

@mattkime mattkime merged commit 1c5a49a into elastic:7.x Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants