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

Allow legacy imports size respect savedObjects.maxImportPayloadBytes config #77409

Merged
merged 4 commits into from
Sep 16, 2020

Conversation

joshdover
Copy link
Contributor

Summary

This helps alleviate elastic/beats#20432 in some situations by allowing the legacy import API to accept file sizes up to the value configured in savedObjects.maxImportPayloadBytes which is 10MB by default. Keep in mind that proxies in front of Kibana often have a lower limit in place, so Beats may still have problems importing dashboards in some cases. For example, the default payload size limit for Nginx is 1MB.

Release Note

The deprecated Dashboard Import API (POST /api/kibana/dashboards/import) now accepts filesizes up to the savedObjects.maxImportPayloadBytes configuration which is 10MB by default.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@joshdover joshdover added release_note:enhancement Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Saved Objects v8.0.0 v7.10.0 labels Sep 14, 2020
@joshdover joshdover requested a review from a team as a code owner September 14, 2020 20:41
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/drilldowns/explore_data_panel_action·ts.dashboard drilldowns Explore underlying data - panel action carries over panel time range

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:58]           └-: drilldowns
[00:11:58]             └-> "before all" hook
[00:11:58]             └-> "before all" hook
[00:11:58]               │ info [logstash_functional] Loading "mappings.json"
[00:11:58]               │ info [logstash_functional] Loading "data.json.gz"
[00:11:58]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:11:58]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:11:58]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:11:59]               │ info [dashboard/drilldowns] Loading "mappings.json"
[00:11:59]               │ info [dashboard/drilldowns] Loading "data.json"
[00:12:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_1/lgVepaM5QiqWDESjlvggow] deleting index
[00:12:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/ModPd_-rSfetuShLFalrYQ] deleting index
[00:12:00]               │ info [dashboard/drilldowns] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:00]               │ info [dashboard/drilldowns] Created index ".kibana"
[00:12:00]               │ debg [dashboard/drilldowns] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana/qj4zAT-4RJ6fCzpK-fZJKw] update_mapping [_doc]
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana/qj4zAT-4RJ6fCzpK-fZJKw] update_mapping [_doc]
[00:12:00]               │ info [dashboard/drilldowns] Indexed 12 docs into ".kibana"
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana/qj4zAT-4RJ6fCzpK-fZJKw] update_mapping [_doc]
[00:12:00]               │ debg Migrating saved objects
[00:12:00]               │ proc [kibana]   log   [22:55:56.237] [info][savedobjects-service] Creating index .kibana_2.
[00:12:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:00]               │ proc [kibana]   log   [22:55:56.307] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:00]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] 15360 finished with response BulkByScrollResponse[took=35.2ms,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:12:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana/qj4zAT-4RJ6fCzpK-fZJKw] deleting index
[00:12:00]               │ proc [kibana]   log   [22:55:56.679] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/EaMFABroR4q_UJ19HIka3w] update_mapping [_doc]
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/EaMFABroR4q_UJ19HIka3w] update_mapping [_doc]
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/EaMFABroR4q_UJ19HIka3w] update_mapping [_doc]
[00:12:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/EaMFABroR4q_UJ19HIka3w] update_mapping [_doc]
[00:12:01]               │ proc [kibana]   log   [22:55:56.937] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:01]               │ proc [kibana]   log   [22:55:56.990] [info][savedobjects-service] Finished in 755ms.
[00:12:01]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600207780398386345] [.kibana_2/EaMFABroR4q_UJ19HIka3w] update_mapping [_doc]
[00:12:02]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:14:19]             └-: Explore underlying data - panel action
[00:14:19]               └-> "before all" hook
[00:14:19]               └-> "before all" hook: change default index pattern to verify action navigates to correct index pattern
[00:14:19]                 │ debg replacing kibana config doc: {"defaultIndex":"logstash*"}
[00:14:19]               └-> "before all" hook: start on Dashboard landing page
[00:14:19]                 │ debg navigating to dashboard url: http://localhost:61191/app/dashboards#/list
[00:14:19]                 │ debg navigate to: http://localhost:61191/app/dashboards#/list
[00:14:19]                 │ debg browser[INFO] http://localhost:61191/app/dashboards?_t=1600210695544#/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:14:19]                 │
[00:14:19]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:19]                 │ debg ... sleep(700) start
[00:14:20]                 │ debg ... sleep(700) end
[00:14:20]                 │ debg returned from get, calling refresh
[00:14:20]                 │ debg browser[INFO] http://localhost:61191/app/dashboards?_t=1600210695544#/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:14:20]                 │
[00:14:20]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:21]                 │ debg currentUrl = http://localhost:61191/app/dashboards#/list
[00:14:21]                 │          appUrl = http://localhost:61191/app/dashboards#/list
[00:14:21]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:21]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:22]                 │ debg ... sleep(501) start
[00:14:22]                 │ debg ... sleep(501) end
[00:14:22]                 │ debg in navigateTo url = http://localhost:61191/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:22]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:23]                 │ debg ... sleep(501) start
[00:14:23]                 │ debg ... sleep(501) end
[00:14:23]                 │ debg in navigateTo url = http://localhost:61191/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:23]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:27]                 │ debg browser[INFO] http://localhost:61191/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:14:27]                 │
[00:14:27]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:28]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:29]               └-> action exists in panel context menu
[00:14:29]                 └-> "before each" hook: global before each
[00:14:29]                 │ debg Load Saved Dashboard Dashboard with Pie Chart
[00:14:29]                 │ debg gotoDashboardLandingPage
[00:14:29]                 │ debg onDashboardLandingPage
[00:14:29]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:14:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:14:29]                 │ debg searchForItemWithName: Dashboard with Pie Chart
[00:14:29]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:14:29]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:29]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:30]                 │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-with-Pie-Chart)
[00:14:30]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:14:30]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:14:30]                 │ debg isGlobalLoadingIndicatorVisible
[00:14:30]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:30]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:31]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:31]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:31]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:14:31]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:14:32]                 │ debg openContextMenu(undefined
[00:14:32]                 │ debg toggleContextMenu
[00:14:32]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:14:32]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:14:32]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:14:32]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:14:32]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:14:32]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:14:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:14:32]                 │ debg TestSubjects.exists(embeddablePanelAction-ACTION_EXPLORE_DATA)
[00:14:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelAction-ACTION_EXPLORE_DATA"]') with timeout=120000
[00:14:32]                 └- ✓ pass  (3.3s) "dashboard drilldowns Explore underlying data - panel action action exists in panel context menu"
[00:14:32]               └-> is a link <a> element
[00:14:32]                 └-> "before each" hook: global before each
[00:14:32]                 │ debg TestSubjects.find(embeddablePanelAction-ACTION_EXPLORE_DATA)
[00:14:32]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-ACTION_EXPLORE_DATA"]') with timeout=10000
[00:14:32]                 └- ✓ pass  (14ms) "dashboard drilldowns Explore underlying data - panel action is a link <a> element"
[00:14:32]               └-> navigates to Discover app to index pattern of the panel on action click
[00:14:32]                 └-> "before each" hook: global before each
[00:14:32]                 │ debg TestSubjects.clickWhenNotDisabled(embeddablePanelAction-ACTION_EXPLORE_DATA)
[00:14:32]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="embeddablePanelAction-ACTION_EXPLORE_DATA"]') with timeout=10000
[00:14:32]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-ACTION_EXPLORE_DATA"]') with timeout=10000
[00:14:33]                 │ debg Waiting up to 20000ms for Discover app on screen...
[00:14:33]                 │ debg Find.allByCssSelector('discover-app') with timeout=10000
[00:14:33]                 │ debg TestSubjects.find(indexPattern-switch-link)
[00:14:33]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-switch-link"]') with timeout=10000
[00:14:33]                 └- ✓ pass  (954ms) "dashboard drilldowns Explore underlying data - panel action navigates to Discover app to index pattern of the panel on action click"
[00:14:33]               └-> carries over panel time range
[00:14:33]                 └-> "before each" hook: global before each
[00:14:33]                 │ debg navigating to dashboard url: http://localhost:61191/app/dashboards#/list
[00:14:33]                 │ debg navigate to: http://localhost:61191/app/dashboards#/list
[00:14:33]                 │ proc [kibana]   log   [22:58:29.661] [error][data][elasticsearch] [RequestAbortedError]: Request aborted
[00:14:33]                 │ debg browser[INFO] http://localhost:61191/app/dashboards?_t=1600210709554#/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:14:33]                 │
[00:14:33]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:33]                 │ debg ... sleep(700) start
[00:14:34]                 │ debg ... sleep(700) end
[00:14:34]                 │ debg returned from get, calling refresh
[00:14:35]                 │ERROR browser[SEVERE] http://localhost:61191/36308/bundles/core/core.entry.js 97:270822 TypeError: Failed to fetch
[00:14:35]                 │ debg browser[INFO] http://localhost:61191/app/dashboards?_t=1600210709554#/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:14:35]                 │
[00:14:35]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:36]                 │ debg currentUrl = http://localhost:61191/app/dashboards#/list
[00:14:36]                 │          appUrl = http://localhost:61191/app/dashboards#/list
[00:14:36]                 │ debg TestSubjects.find(kibanaChrome)
[00:14:36]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:37]                 │ debg ... sleep(501) start
[00:14:37]                 │ debg ... sleep(501) end
[00:14:37]                 │ debg in navigateTo url = http://localhost:61191/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:37]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:38]                 │ debg ... sleep(501) start
[00:14:38]                 │ debg ... sleep(501) end
[00:14:38]                 │ debg in navigateTo url = http://localhost:61191/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:38]                 │ debg TestSubjects.exists(statusPageContainer)
[00:14:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:41]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:41]                 │ debg Load Saved Dashboard Dashboard with Pie Chart
[00:14:41]                 │ debg gotoDashboardLandingPage
[00:14:41]                 │ debg onDashboardLandingPage
[00:14:41]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:14:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:14:41]                 │ debg searchForItemWithName: Dashboard with Pie Chart
[00:14:41]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:14:51]                 │ debg --- retry.try error: Cannot read property 'clearValue' of undefined
[00:14:52]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:15:02]                 │ debg --- retry.try failed again with the same message...
[00:15:02]                 │ debg Find.allByCssSelector('main .euiFieldSearch') with timeout=10000
[00:15:04]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:04]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:04]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:04]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:04]                 │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-with-Pie-Chart)
[00:15:04]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:15:04]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-with-Pie-Chart"]') with timeout=10000
[00:15:04]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:04]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:04]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:04]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:05]                 │ debg TestSubjects.missingOrFail(dashboardLandingPage)
[00:15:05]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=10000
[00:15:05]                 │ debg Switching to edit mode
[00:15:05]                 │ debg TestSubjects.click(dashboardEditMode)
[00:15:05]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:15:05]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:15:05]                 │ debg Waiting up to 20000ms for in edit mode...
[00:15:05]                 │ debg TestSubjects.findAll(embeddablePanel)
[00:15:05]                 │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=2500
[00:15:06]                 │ debg TestSubjects.findAll(embeddablePanelToggleMenuIcon)
[00:15:06]                 │ debg Find.allByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=2500
[00:15:06]                 │ debg openContextMenu(undefined
[00:15:06]                 │ debg toggleContextMenu
[00:15:06]                 │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:15:06]                 │ debg TestSubjects.find(dashboardPanelTitle)
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:15:06]                 │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:15:06]                 │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:15:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:15:06]                 │ debg clickTimeRangeActionInContextMenu
[00:15:06]                 │ debg TestSubjects.click(embeddablePanelAction-CUSTOM_TIME_RANGE)
[00:15:06]                 │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-CUSTOM_TIME_RANGE"]') with timeout=10000
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-CUSTOM_TIME_RANGE"]') with timeout=10000
[00:15:06]                 │ debg clickToggleQuickMenuButton
[00:15:06]                 │ debg findToggleQuickMenuButton
[00:15:06]                 │ debg findModalElement
[00:15:06]                 │ debg findModal
[00:15:06]                 │ debg TestSubjects.find(customizeTimeRangeModal)
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="customizeTimeRangeModal"]') with timeout=10000
[00:15:06]                 │ debg clickCommonlyUsedTimeRange Last_90 days
[00:15:06]                 │ debg TestSubjects.click(superDatePickerCommonlyUsed_Last_90 days)
[00:15:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_Last_90 days"]') with timeout=10000
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerCommonlyUsed_Last_90 days"]') with timeout=10000
[00:15:06]                 │ debg clickModalPrimaryButton
[00:15:06]                 │ debg findModalElement
[00:15:06]                 │ debg findModal
[00:15:06]                 │ debg TestSubjects.find(customizeTimeRangeModal)
[00:15:06]                 │ debg Find.findByCssSelector('[data-test-subj="customizeTimeRangeModal"]') with timeout=10000
[00:15:07]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:15:07]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:07]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:07]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:15:07]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:15:07]                 │ debg entering new title
[00:15:07]                 │ debg TestSubjects.setValue(savedObjectTitle, Dashboard with Pie Chart)
[00:15:07]                 │ debg TestSubjects.click(savedObjectTitle)
[00:15:07]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:15:07]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:15:07]                 │ debg DashboardPage.clickSave
[00:15:07]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:15:07]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:15:07]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:15:07]                 │ debg Find.waitForElementStale with timeout=10000
[00:15:17]                 │ debg --- retry.try error: Waiting element to become stale
[00:15:17]                 │      Wait timed out after 10082ms
[00:15:18]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:15:18]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:18]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:19]                 │ warn WebElementWrapper.click: element click intercepted: Element <button class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--xSmall euiHeaderLink euiHeaderLink-isActive" type="button" data-test-subj="shareTopNavButton">...</button> is not clickable at point (1301, 73). Other element would receive the click: <nav aria-label="breadcrumb" class="euiBreadcrumbs euiHeaderBreadcrumbs euiBreadcrumbs--truncate" data-test-subj="breadcrumbs">...</nav>
[00:15:19]                 │        (Session info: headless chrome=84.0.4147.135)
[00:15:19]                 │ debg finding element 'By(css selector, [data-test-subj="dashboardSaveMenuItem"])' again, 2 attempts left
[00:15:29]                 │ debg --- retry.try error: no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj="dashboardSaveMenuItem"]"}
[00:15:29]                 │        (Session info: headless chrome=84.0.4147.135)
[00:15:29]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:39]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:15:39]                 │      Wait timed out after 10053ms
[00:15:40]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:15:50]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:15:50]                 │      Wait timed out after 10033ms
[00:15:51]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:01]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:01]                 │      Wait timed out after 10009ms
[00:16:01]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:11]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:11]                 │      Wait timed out after 10012ms
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:22]                 │      Wait timed out after 10026ms
[00:16:22]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:32]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:32]                 │      Wait timed out after 10053ms
[00:16:33]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:43]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:43]                 │      Wait timed out after 10044ms
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:16:53]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:16:53]                 │      Wait timed out after 10050ms
[00:16:54]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:17:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:17:04]                 │      Wait timed out after 10043ms
[00:17:04]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:17:14]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:17:14]                 │      Wait timed out after 10032ms
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:17:25]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:17:25]                 │      Wait timed out after 10034ms
[00:17:25]                 │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:17:25]                 │      Wait timed out after 10034ms
[00:17:25]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:17:25]                 │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:26]                 │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/dashboard drilldowns Explore underlying data - panel action carries over panel time range.png"
[00:17:26]                 │ info Current URL is: http://localhost:61191/app/dashboards#/view/41e77910-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),timeRestore:!t,title:%27Dashboard%20with%20Pie%20Chart%27,viewMode:view)
[00:17:26]                 │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/dashboard drilldowns Explore underlying data - panel action carries over panel time range.html
[00:17:26]                 └- ✖ fail: dashboard drilldowns Explore underlying data - panel action carries over panel time range
[00:17:26]                 │      Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
[00:17:26]                 │ Wait timed out after 10034ms
[00:17:26]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:17:26]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:26]                 │     at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:17:26]                 │     at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:17:26]                 │       at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:17:26]                 │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:17:26]                 │ 
[00:17:26]                 │ 

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardSaveMenuItem"])
Wait timed out after 10034ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

page load bundle size

id value diff baseline
core 1.2MB +39.0B 1.2MB

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Saved Objects release_note:enhancement Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants