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] Reduce bundle size of the default editor (#78938) #79107

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

sulemanof
Copy link
Contributor

Backports the following commits to 7.x:

* Reduce bundle size

* Remove useless line of code

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

💛 Build succeeded, but was flaky


Test Failures

Chrome UI Functional Tests.test/functional/apps/discover/_field_data·js.discover app discover tab field data search php should show the correct hit count

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: discover app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:15:07]           └-: discover tab
[00:15:07]             └-> "before all" hook
[00:15:07]             └-> "before all" hook
[00:15:07]               │ info [logstash_functional] Loading "mappings.json"
[00:15:07]               │ info [logstash_functional] Loading "data.json.gz"
[00:15:07]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:15:07]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:15:07]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:15:08]               │ info [discover] Loading "mappings.json"
[00:15:08]               │ info [discover] Loading "data.json.gz"
[00:15:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:15:08]               │ info [discover] Created index ".kibana"
[00:15:08]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:15:08]               │ info [discover] Indexed 2 docs into ".kibana"
[00:15:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana/-Q6yXyIvSzGY1PASpsyGUQ] update_mapping [_doc]
[00:15:08]               │ debg Migrating saved objects
[00:15:08]               │ proc [kibana]   log   [13:03:46.330] [info][savedobjects-service] Creating index .kibana_2.
[00:15:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:15:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] updating number_of_replicas to [0] for indices [.kibana_2]
[00:15:08]               │ proc [kibana]   log   [13:03:46.384] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:15:08]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:15:08]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] updating number_of_replicas to [0] for indices [.kibana_1]
[00:15:08]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] 6592 finished with response BulkByScrollResponse[took=15.8ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:15:09]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana/-Q6yXyIvSzGY1PASpsyGUQ] deleting index
[00:15:09]               │ proc [kibana]   log   [13:03:46.723] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:15:09]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana_2/Rl7VF4xDRTC1Yem9bA5uww] update_mapping [_doc]
[00:15:09]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana_2/Rl7VF4xDRTC1Yem9bA5uww] update_mapping [_doc]
[00:15:09]               │ proc [kibana]   log   [13:03:46.774] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:15:09]               │ proc [kibana]   log   [13:03:46.797] [info][savedobjects-service] Finished in 468ms.
[00:15:09]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:15:09]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1601555373041912914] [.kibana_2/Rl7VF4xDRTC1Yem9bA5uww] update_mapping [_doc]
[00:15:10]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:15:11]               │ debg navigating to discover url: http://localhost:61101/app/discover#/
[00:15:11]               │ debg navigate to: http://localhost:61101/app/discover#/
[00:15:12]               │ debg ... sleep(700) start
[00:15:12]               │ debg browser[INFO] http://localhost:61101/app/discover?_t=1601557429395#/ 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:15:12]               │
[00:15:12]               │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:12]               │ debg ... sleep(700) end
[00:15:12]               │ debg returned from get, calling refresh
[00:15:12]               │ debg browser[INFO] http://localhost:61101/app/discover?_t=1601557429395#/ 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:15:12]               │
[00:15:12]               │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:12]               │ debg currentUrl = http://localhost:61101/app/discover#/
[00:15:12]               │          appUrl = http://localhost:61101/app/discover#/
[00:15:12]               │ debg TestSubjects.find(kibanaChrome)
[00:15:12]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:13]               │ debg ... sleep(501) start
[00:15:14]               │ debg browser[INFO] http://localhost:61101/35303/bundles/core/core.entry.js 40:217199 "Detected an unhandled Promise rejection.
[00:15:14]               │      Error: Saved field \"@timestamp\" is invalid for use with the \"Date Histogram\" aggregation. Please select a new field."
[00:15:14]               │ERROR browser[SEVERE] http://localhost:61101/35303/bundles/plugin/data/data.plugin.js 5:526218 Uncaught Error: Saved field "@timestamp" is invalid for use with t…istogram" aggregation. Please select a new field.
[00:15:14]               │ debg ... sleep(501) end
[00:15:14]               │ debg in navigateTo url = http://localhost:61101/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:15:14]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:15:14]               │ debg ... sleep(501) start
[00:15:15]               │ debg ... sleep(501) end
[00:15:15]               │ debg in navigateTo url = http://localhost:61101/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:15:15]               │ debg TestSubjects.exists(statusPageContainer)
[00:15:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:15:17]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:15:18]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:15:18]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:15:18]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:15:18]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:15:18]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:15:18]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:15:18]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:15:18]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:15:18]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:15:18]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:15:18]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:18]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:18]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:18]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:18]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:18]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:15:18]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:18]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:18]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:19]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:15:19]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:19]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:15:19]               │ debg Find.waitForElementStale with timeout=10000
[00:15:19]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:15:19]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:15:19]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:19]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:15:19]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:19]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:19]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:19]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:15:19]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:15:19]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:19]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:15:20]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:15:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:22]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:23]               │ debg TestSubjects.click(querySubmitButton)
[00:15:23]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:23]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:23]               │ debg Find.waitForElementStale with timeout=10000
[00:15:23]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:23]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:23]             └-: field data
[00:15:23]               └-> "before all" hook
[00:15:23]               └-> search php should show the correct hit count
[00:15:23]                 └-> "before each" hook: global before each
[00:15:23]                 │ debg QueryBar.setQuery(php)
[00:15:23]                 │ debg TestSubjects.click(queryInput)
[00:15:23]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:23]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:15:23]                 │ debg TestSubjects.find(queryInput)
[00:15:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:23]                 │ debg QueryBar.submitQuery
[00:15:23]                 │ debg TestSubjects.click(queryInput)
[00:15:23]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:23]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:23]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:25]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:25]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:25]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:25]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:25]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:27]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:27]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:15:27]                 │ debg TestSubjects.find(discoverQueryHits)
[00:15:27]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:15:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:15:37]                 │      Wait timed out after 10011ms
[00:15:38]                 │ debg QueryBar.setQuery(php)
[00:15:38]                 │ debg TestSubjects.click(queryInput)
[00:15:38]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:38]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:15:38]                 │ debg TestSubjects.find(queryInput)
[00:15:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:38]                 │ debg QueryBar.submitQuery
[00:15:38]                 │ debg TestSubjects.click(queryInput)
[00:15:38]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:38]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:38]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:40]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:40]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:40]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:42]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:42]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:15:42]                 │ debg TestSubjects.find(discoverQueryHits)
[00:15:42]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:15:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:15:52]                 │      Wait timed out after 10004ms
[00:15:53]                 │ debg QueryBar.setQuery(php)
[00:15:53]                 │ debg TestSubjects.click(queryInput)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:53]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:15:53]                 │ debg TestSubjects.find(queryInput)
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:53]                 │ debg QueryBar.submitQuery
[00:15:53]                 │ debg TestSubjects.click(queryInput)
[00:15:53]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:53]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:15:53]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:53]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:55]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:55]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:55]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:55]                 │ debg isGlobalLoadingIndicatorVisible
[00:15:55]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:57]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:57]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:57]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:57]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:15:57]                 │ debg TestSubjects.find(discoverQueryHits)
[00:15:57]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:07]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:07]                 │      Wait timed out after 10016ms
[00:16:08]                 │ debg QueryBar.setQuery(php)
[00:16:08]                 │ debg TestSubjects.click(queryInput)
[00:16:08]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:08]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:08]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:08]                 │ debg TestSubjects.find(queryInput)
[00:16:08]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:08]                 │ debg QueryBar.submitQuery
[00:16:08]                 │ debg TestSubjects.click(queryInput)
[00:16:08]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:08]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:08]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:08]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:10]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:10]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:10]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:12]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:12]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:12]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:12]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:12]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:22]                 │      Wait timed out after 10052ms
[00:16:23]                 │ debg QueryBar.setQuery(php)
[00:16:23]                 │ debg TestSubjects.click(queryInput)
[00:16:23]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:23]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:23]                 │ debg TestSubjects.find(queryInput)
[00:16:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:23]                 │ debg QueryBar.submitQuery
[00:16:23]                 │ debg TestSubjects.click(queryInput)
[00:16:23]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:23]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:23]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:23]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:24]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:25]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:25]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:25]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:25]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:27]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:27]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:27]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:27]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:37]                 │      Wait timed out after 10007ms
[00:16:38]                 │ debg QueryBar.setQuery(php)
[00:16:38]                 │ debg TestSubjects.click(queryInput)
[00:16:38]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:38]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:38]                 │ debg TestSubjects.find(queryInput)
[00:16:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:38]                 │ debg QueryBar.submitQuery
[00:16:38]                 │ debg TestSubjects.click(queryInput)
[00:16:38]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:38]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:38]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:38]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:39]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:40]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:40]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:41]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:42]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:42]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:42]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:52]                 │      Wait timed out after 10017ms
[00:16:52]                 │ debg QueryBar.setQuery(php)
[00:16:52]                 │ debg TestSubjects.click(queryInput)
[00:16:52]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:52]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:53]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:53]                 │ debg TestSubjects.find(queryInput)
[00:16:53]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:53]                 │ debg QueryBar.submitQuery
[00:16:53]                 │ debg TestSubjects.click(queryInput)
[00:16:53]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:53]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:53]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:53]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:54]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:55]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:55]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:55]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:55]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:56]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:57]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:57]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:57]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:57]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:57]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:07]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:07]                 │      Wait timed out after 10008ms
[00:17:07]                 │ debg QueryBar.setQuery(php)
[00:17:07]                 │ debg TestSubjects.click(queryInput)
[00:17:07]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:07]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:07]                 │ debg TestSubjects.find(queryInput)
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:07]                 │ debg QueryBar.submitQuery
[00:17:07]                 │ debg TestSubjects.click(queryInput)
[00:17:07]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:07]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:07]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:09]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:10]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:10]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:11]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:12]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:12]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:12]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:12]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:12]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:22]                 │      Wait timed out after 10007ms
[00:17:22]                 │ debg QueryBar.setQuery(php)
[00:17:22]                 │ debg TestSubjects.click(queryInput)
[00:17:22]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:22]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:22]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:22]                 │ debg TestSubjects.find(queryInput)
[00:17:22]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:22]                 │ debg QueryBar.submitQuery
[00:17:22]                 │ debg TestSubjects.click(queryInput)
[00:17:22]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:22]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:22]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:22]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:24]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:24]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:24]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:24]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:24]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:26]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:26]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:26]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:26]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:26]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:26]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:36]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:36]                 │      Wait timed out after 10040ms
[00:17:37]                 │ info Taking screenshot "/dev/shm/workspace/parallel/10/kibana/test/functional/screenshots/failure/discover app discover tab field data search php should show the correct hit count.png"
[00:17:37]                 │ info Current URL is: http://localhost:61101/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:php),sort:!())
[00:17:37]                 │ info Saving page source to: /dev/shm/workspace/parallel/10/kibana/test/functional/failure_debug/html/discover app discover tab field data search php should show the correct hit count.html
[00:17:37]                 └- ✖ fail: discover app discover tab field data search php should show the correct hit count
[00:17:37]                 │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:37]                 │ Wait timed out after 10040ms
[00:17:37]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:17:37]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:37]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:17:37]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:17:37]                 │ 
[00:17:37]                 │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
Wait timed out after 10040ms
    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 (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Metrics [docs]

@kbn/optimizer bundle module count

id before after diff
visDefaultEditor 240 241 +1

async chunks size

id before after diff
visDefaultEditor 44.8KB 458.5KB ⚠️ +413.7KB

distributable file count

id before after diff
default 47576 47579 +3
oss 28288 28291 +3

page load bundle size

id before after diff
visDefaultEditor 446.6KB 34.4KB -412.2KB

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

@sulemanof sulemanof merged commit 75322d4 into elastic:7.x Oct 1, 2020
@sulemanof sulemanof deleted the backport/7.x/pr-78938 branch October 1, 2020 14:07
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