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

test fix for create index pattern wizard test failing on cloud #81233

Merged

Conversation

rashmivkulkarni
Copy link
Contributor

Fixes #74449

@rashmivkulkarni
Copy link
Contributor Author

@mattkime - once this passes could u please code review? Thanks

@jen-huang jen-huang added v7.10.0 and removed v7.10 labels Oct 20, 2020
@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 4 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:16:01]           └-: discover tab
[00:16:01]             └-> "before all" hook
[00:16:01]             └-> "before all" hook
[00:16:01]               │ info [logstash_functional] Loading "mappings.json"
[00:16:01]               │ info [logstash_functional] Loading "data.json.gz"
[00:16:01]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:16:01]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:16:01]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:16:02]               │ info [discover] Loading "mappings.json"
[00:16:02]               │ info [discover] Loading "data.json.gz"
[00:16:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana/t8q_UZ8wQa-7gzTOuQkgrA] deleting index
[00:16:02]               │ info [discover] Deleted existing index [".kibana"]
[00:16:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:16:02]               │ info [discover] Created index ".kibana"
[00:16:02]               │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:16:02]               │ info [discover] Indexed 2 docs into ".kibana"
[00:16:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana/n6V3uyWiS1ebclMc-Gh63A] update_mapping [_doc]
[00:16:02]               │ debg Migrating saved objects
[00:16:02]               │ proc [kibana]   log   [19:58:19.581] [info][savedobjects-service] Creating index .kibana_2.
[00:16:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:16:02]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] updating number_of_replicas to [0] for indices [.kibana_2]
[00:16:02]               │ proc [kibana]   log   [19:58:19.628] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:16:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:16:02]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] updating number_of_replicas to [0] for indices [.kibana_1]
[00:16:02]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] 6810 finished with response BulkByScrollResponse[took=16.1ms,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:16:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana/n6V3uyWiS1ebclMc-Gh63A] deleting index
[00:16:02]               │ proc [kibana]   log   [19:58:19.950] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:16:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana_2/QS5MiZQgSzS3qc-HOxOucA] update_mapping [_doc]
[00:16:02]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana_2/QS5MiZQgSzS3qc-HOxOucA] update_mapping [_doc]
[00:16:03]               │ proc [kibana]   log   [19:58:20.011] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:16:03]               │ proc [kibana]   log   [19:58:20.036] [info][savedobjects-service] Finished in 457ms.
[00:16:03]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:16:03]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1603221897562375251] [.kibana_2/QS5MiZQgSzS3qc-HOxOucA] update_mapping [_doc]
[00:16:04]               │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:16:05]               │ debg applying update to kibana config: {"timepicker:timeDefaults":"{ \"from\": \"2015-09-18T06:31:44.000Z\", \"to\": \"2015-09-23T18:31:44.000Z\"}"}
[00:16:06]               │ debg navigating to discover url: http://localhost:61131/app/discover#/
[00:16:06]               │ debg navigate to: http://localhost:61131/app/discover#/
[00:16:06]               │ debg browser[INFO] http://localhost:61131/app/discover?_t=1603223903647#/ 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:16:06]               │
[00:16:06]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:06]               │ debg ... sleep(700) start
[00:16:07]               │ debg ... sleep(700) end
[00:16:07]               │ debg returned from get, calling refresh
[00:16:07]               │ debg browser[INFO] http://localhost:61131/app/discover?_t=1603223903647#/ 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:16:07]               │
[00:16:07]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:07]               │ debg currentUrl = http://localhost:61131/app/discover#/
[00:16:07]               │          appUrl = http://localhost:61131/app/discover#/
[00:16:07]               │ debg TestSubjects.find(kibanaChrome)
[00:16:07]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:08]               │ debg ... sleep(501) start
[00:16:08]               │ debg browser[INFO] http://localhost:61131/35801/bundles/core/core.entry.js 12:234471 "Detected an unhandled Promise rejection.
[00:16:08]               │      Error: Saved field \"@timestamp\" is invalid for use with the \"Date Histogram\" aggregation. Please select a new field."
[00:16:08]               │ERROR browser[SEVERE] http://localhost:61131/35801/bundles/plugin/data/data.plugin.js 0:749289 Uncaught Error: Saved field "@timestamp" is invalid for use with t…istogram" aggregation. Please select a new field.
[00:16:08]               │ debg ... sleep(501) end
[00:16:08]               │ debg in navigateTo url = http://localhost:61131/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06: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:%27%27),sort:!())
[00:16:08]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:16:09]               │ debg ... sleep(501) start
[00:16:09]               │ debg ... sleep(501) end
[00:16:09]               │ debg in navigateTo url = http://localhost:61131/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06: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:%27%27),sort:!())
[00:16:09]               │ debg TestSubjects.exists(statusPageContainer)
[00:16:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:12]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:12]             └-: field data
[00:16:12]               └-> "before all" hook
[00:16:12]               └-> search php should show the correct hit count
[00:16:12]                 └-> "before each" hook: global before each
[00:16:12]                 │ debg QueryBar.setQuery(php)
[00:16:12]                 │ debg TestSubjects.click(queryInput)
[00:16:12]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:13]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:13]                 │ debg TestSubjects.find(queryInput)
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:13]                 │ debg QueryBar.submitQuery
[00:16:13]                 │ debg TestSubjects.click(queryInput)
[00:16:13]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:13]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:13]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:13]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:15]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:15]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:16]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:17]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:17]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:17]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:27]                 │      Wait timed out after 10046ms
[00:16:27]                 │ debg QueryBar.setQuery(php)
[00:16:27]                 │ debg TestSubjects.click(queryInput)
[00:16:27]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:27]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:28]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:28]                 │ debg TestSubjects.find(queryInput)
[00:16:28]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:28]                 │ debg QueryBar.submitQuery
[00:16:28]                 │ debg TestSubjects.click(queryInput)
[00:16:28]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:28]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:28]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:28]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:30]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:30]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:31]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:32]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:32]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:32]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:42]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:42]                 │      Wait timed out after 10044ms
[00:16:42]                 │ debg QueryBar.setQuery(php)
[00:16:42]                 │ debg TestSubjects.click(queryInput)
[00:16:42]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:42]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:43]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:43]                 │ debg TestSubjects.find(queryInput)
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:43]                 │ debg QueryBar.submitQuery
[00:16:43]                 │ debg TestSubjects.click(queryInput)
[00:16:43]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:43]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:43]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:44]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:45]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:45]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:46]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:16:47]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:16:47]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:16:47]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:16:47]                 │ debg TestSubjects.find(discoverQueryHits)
[00:16:47]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:16:57]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:16:57]                 │      Wait timed out after 10025ms
[00:16:57]                 │ debg QueryBar.setQuery(php)
[00:16:57]                 │ debg TestSubjects.click(queryInput)
[00:16:57]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:57]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:58]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:16:58]                 │ debg TestSubjects.find(queryInput)
[00:16:58]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:58]                 │ debg QueryBar.submitQuery
[00:16:58]                 │ debg TestSubjects.click(queryInput)
[00:16:58]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:58]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:16:58]                 │ debg isGlobalLoadingIndicatorVisible
[00:16:58]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:16:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:16:59]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:00]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:00]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:00]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:00]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:01]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:02]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:02]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:02]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:02]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:12]                 │      Wait timed out after 10021ms
[00:17:12]                 │ debg QueryBar.setQuery(php)
[00:17:12]                 │ debg TestSubjects.click(queryInput)
[00:17:12]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:12]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:12]                 │ debg TestSubjects.find(queryInput)
[00:17:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:12]                 │ debg QueryBar.submitQuery
[00:17:12]                 │ debg TestSubjects.click(queryInput)
[00:17:12]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:12]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:12]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:15]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:15]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:16]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:17]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:17]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:17]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:27]                 │      Wait timed out after 10030ms
[00:17:27]                 │ debg QueryBar.setQuery(php)
[00:17:27]                 │ debg TestSubjects.click(queryInput)
[00:17:27]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:27]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:27]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:27]                 │ debg TestSubjects.find(queryInput)
[00:17:27]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:27]                 │ debg QueryBar.submitQuery
[00:17:27]                 │ debg TestSubjects.click(queryInput)
[00:17:27]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:27]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:29]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:29]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:31]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:32]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:32]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:32]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:42]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:42]                 │      Wait timed out after 10026ms
[00:17:42]                 │ debg QueryBar.setQuery(php)
[00:17:42]                 │ debg TestSubjects.click(queryInput)
[00:17:42]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:42]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:42]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:42]                 │ debg TestSubjects.find(queryInput)
[00:17:42]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:42]                 │ debg QueryBar.submitQuery
[00:17:42]                 │ debg TestSubjects.click(queryInput)
[00:17:42]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:42]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:42]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:42]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:44]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:44]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:44]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:46]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:46]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:46]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:46]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:17:46]                 │ debg TestSubjects.find(discoverQueryHits)
[00:17:46]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:17:56]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:17:56]                 │      Wait timed out after 10021ms
[00:17:57]                 │ debg QueryBar.setQuery(php)
[00:17:57]                 │ debg TestSubjects.click(queryInput)
[00:17:57]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:57]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:57]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:17:57]                 │ debg TestSubjects.find(queryInput)
[00:17:57]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:57]                 │ debg QueryBar.submitQuery
[00:17:57]                 │ debg TestSubjects.click(queryInput)
[00:17:57]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:57]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:17:57]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:57]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:17:59]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:17:59]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:59]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:59]                 │ debg isGlobalLoadingIndicatorVisible
[00:17:59]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:17:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:01]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:01]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:18:01]                 │ debg TestSubjects.find(discoverQueryHits)
[00:18:01]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:18:11]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:18:11]                 │      Wait timed out after 10056ms
[00:18:12]                 │ debg QueryBar.setQuery(php)
[00:18:12]                 │ debg TestSubjects.click(queryInput)
[00:18:12]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:18:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:18:12]                 │ debg TestSubjects.getAttribute(queryInput, value)
[00:18:12]                 │ debg TestSubjects.find(queryInput)
[00:18:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:18:12]                 │ debg QueryBar.submitQuery
[00:18:12]                 │ debg TestSubjects.click(queryInput)
[00:18:12]                 │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:18:12]                 │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:18:12]                 │ debg isGlobalLoadingIndicatorVisible
[00:18:12]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:14]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:14]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:14]                 │ debg isGlobalLoadingIndicatorVisible
[00:18:14]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:18:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:18:16]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:18:16]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:18:16]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:18:16]                 │ debg TestSubjects.getVisibleText(discoverQueryHits)
[00:18:16]                 │ debg TestSubjects.find(discoverQueryHits)
[00:18:16]                 │ debg Find.findByCssSelector('[data-test-subj="discoverQueryHits"]') with timeout=10000
[00:18:26]                 │ debg --- retry.try failed again with the same message...
[00:18:27]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/test/functional/screenshots/failure/discover app discover tab field data search php should show the correct hit count.png"
[00:18:27]                 │ info Current URL is: http://localhost:61131/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-18T06: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:18:27]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/test/functional/failure_debug/html/discover app discover tab field data search php should show the correct hit count.html
[00:18:27]                 └- ✖ fail: discover app discover tab field data search php should show the correct hit count
[00:18:27]                 │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
[00:18:27]                 │ Wait timed out after 10056ms
[00:18:27]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:18:27]                 │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:18:27]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:18:27]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:18:27]                 │ 
[00:18:27]                 │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="discoverQueryHits"])
Wait timed out after 10056ms
    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]

✅ unchanged

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

@rashmivkulkarni
Copy link
Contributor Author

@elasticmachine merge upstream

@rashmivkulkarni
Copy link
Contributor Author

since its flaky, re-running them again.

@rashmivkulkarni
Copy link
Contributor Author

rashmivkulkarni commented Oct 20, 2020

7.x: a547801
7.9: 3ed96ae
master: f3fc995
7.10: deae325

@LeeDr LeeDr mentioned this pull request Nov 4, 2020
@LeeDr
Copy link
Contributor

LeeDr commented Nov 4, 2020

previous backports had some problems.

New backport for master #82642

rashmivkulkarni added a commit that referenced this pull request Nov 4, 2020
* fixes #74449

* :wqfixes #74449

Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Nov 5, 2020
* master: (127 commits)
  [ILM] Fix breadcrumbs (elastic#82594)
  [UX]Swap env filter with percentile (elastic#82246)
  Add platform's missing READMEs (elastic#82268)
  [Discover] Adding uiMetric to track Visualize link click (elastic#82344)
  [Search] Add used index pattern name to the search agg error field (elastic#82604)
  improve client-side SO client get pooling (elastic#82603)
  [Security Solution] Unskips Overview tests (elastic#82459)
  Embeddables/migrations (elastic#82296)
  [Enterprise Search] Refactor product server route registrations to their own files/folders (elastic#82663)
  Moving reinstall function outside of promise.all (elastic#82672)
  Load choropleth layer correctly (elastic#82628)
  Master  backport elastic#81233 (elastic#82642)
  [Fleet] Allow snake cased Kibana assets (elastic#77515)
  Reduce saved objects authorization checks (elastic#82204)
  [data.search] Add request handler context and asScoped pattern (elastic#80775)
  [ML] Fixes formatting of fields in index data visualizer (elastic#82593)
  Usage collector readme (elastic#82548)
  [Lens] Visualization validation and better error messages (elastic#81439)
  [ML] Add annotation markers to time series brush area to indicate annotations exist outside of selected range (elastic#81490)
  chore(NA): install microdnf in UBI docker build only (elastic#82611)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes test_ui_functional test-cloud v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants