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] update estimateBucketSpan schema and api test (#58004) #58123

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

Backports the following commits to 7.x:

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/graph/graph·ts.graph app graph should show venn when clicking a line

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: graph app
[00:00:00]           └-> "before all" hook
[00:06:06]           └-: graph
[00:06:06]             └-> "before all" hook
[00:06:06]             └-> "before all" hook
[00:06:06]               │ debg load graph/secrepo data
[00:06:06]               │ info [graph/secrepo] Loading "mappings.json"
[00:06:06]               │ info [graph/secrepo] Loading "data.json.gz"
[00:06:06]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [secrepo] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:07]               │ info [graph/secrepo] Created index "secrepo"
[00:06:07]               │ debg [graph/secrepo] "secrepo" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:11]               │ info [graph/secrepo] Indexed 10000 docs into "secrepo"
[00:06:11]               │ info [empty_kibana] Loading "mappings.json"
[00:06:11]               │ info [empty_kibana] Loading "data.json.gz"
[00:06:11]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/uNrAM4AbTTmTyjg0bgG1cg] deleting index
[00:06:11]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_1/HVDTxYBzTxKejgWQNUXFDQ] deleting index
[00:06:12]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:06:12]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:12]               │ info [empty_kibana] Created index ".kibana"
[00:06:12]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:06:12]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:06:13]               │ info Creating index .kibana_2.
[00:06:13]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] updating number_of_replicas to [0] for indices [.kibana_2]
[00:06:13]               │ info Reindexing .kibana to .kibana_1
[00:06:13]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:06:13]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] updating number_of_replicas to [0] for indices [.kibana_1]
[00:06:13]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] 5282 finished with response BulkByScrollResponse[took=94.2ms,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:06:14]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana/qsbeWnR8SLmciMb0fdfieQ] deleting index
[00:06:14]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:06:14]               │ debg Migrating saved objects config:6.0.0-alpha1, space:default
[00:06:14]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:06:14]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:06:14]               │ info Pointing alias .kibana to .kibana_2.
[00:06:14]               │ info Finished in 1233ms.
[00:06:14]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:06:15]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:06:16]               │ debg create secrepo index pattern
[00:06:16]               │ debg navigating to settings url: http://localhost:6111/app/kibana#/management
[00:06:16]               │ debg Navigate to: http://localhost:6111/app/kibana#/management
[00:06:16]               │ debg ... sleep(700) start
[00:06:16]               │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1582210789891#/management 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:16]               │
[00:06:16]               │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:17]               │ debg ... sleep(700) end
[00:06:17]               │ debg returned from get, calling refresh
[00:06:19]               │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1582210789891#/management 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:19]               │
[00:06:19]               │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:19]               │ debg currentUrl = http://localhost:6111/app/kibana#/management
[00:06:19]               │          appUrl = http://localhost:6111/app/kibana#/management
[00:06:19]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:31]               │ debg TestSubjects.find(kibanaChrome)
[00:06:31]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:06:31]               │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-20T15:00:01Z
[00:06:31]               │        Adding connection to http://localhost:6111/elasticsearch
[00:06:31]               │
[00:06:31]               │      "
[00:06:31]               │ debg ... sleep(501) start
[00:06:31]               │ debg ... sleep(501) end
[00:06:31]               │ debg in navigateTo url = http://localhost:6111/app/kibana#/management?_g=()
[00:06:31]               │ debg TestSubjects.exists(statusPageContainer)
[00:06:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:34]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:34]               │ debg isGlobalLoadingIndicatorVisible
[00:06:34]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:34]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:36]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:36]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:36]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:36]               │ debg clickKibanaIndexPatterns link
[00:06:36]               │ debg TestSubjects.click(index_patterns)
[00:06:36]               │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:06:36]               │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:06:37]               │ debg isGlobalLoadingIndicatorVisible
[00:06:37]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:39]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:39]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:39]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:39]               │ debg Waiting up to 20000ms for index pattern info flyout...
[00:06:39]               │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:06:39]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:06:39]               │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:06:39]               │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:06:39]               │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:06:40]               │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:06:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:06:42]               │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:06:43]               │ debg isGlobalLoadingIndicatorVisible
[00:06:43]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:43]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:44]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:45]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:45]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:45]               │ debg TestSubjects.isDisplayed(createIndexPatternButton)
[00:06:45]               │ debg TestSubjects.find(createIndexPatternButton)
[00:06:45]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:45]               │ debg TestSubjects.click(createIndexPatternButton)
[00:06:45]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:45]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:45]               │ debg isGlobalLoadingIndicatorVisible
[00:06:45]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:45]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:45]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:46]               │ debg setIndexPatternField(secrepo)
[00:06:46]               │ debg TestSubjects.find(createIndexPatternNameInput)
[00:06:46]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:06:47]               │ debg setIndexPatternField set to secrepo*
[00:06:47]               │ debg ... sleep(2000) start
[00:06:49]               │ debg ... sleep(2000) end
[00:06:49]               │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:06:49]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:06:49]               │ debg ... sleep(2000) start
[00:06:51]               │ debg ... sleep(2000) end
[00:06:51]               │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:06:51]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:06:52]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:06:52]               │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:06:52]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:06:52]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:06:52]               │ debg isGlobalLoadingIndicatorVisible
[00:06:52]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:53]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:54]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:54]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:54]               │ debg selectTimeFieldOption(@timestamp)
[00:06:54]               │ debg Find.displayedByCssSelector(option[value="@timestamp"])
[00:06:54]               │ debg Find.findByCssSelector('option[value="@timestamp"]') with timeout=10000
[00:06:54]               │ debg Wait for element become visible: option[value="@timestamp"] with timeout=10000
[00:06:54]               │ debg TestSubjects.find(createIndexPatternButton)
[00:06:54]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:54]               │ debg isGlobalLoadingIndicatorVisible
[00:06:54]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:54]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:06:55]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:55]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:55]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:06:56]               │ info currentUrl http://localhost:6111/app/kibana#/management/kibana/index_patterns/bb1b3e50-53f1-11ea-abef-91e9264ec140?_g=()
[00:06:56]               │ debg Index pattern created: http://localhost:6111/app/kibana#/management/kibana/index_patterns/bb1b3e50-53f1-11ea-abef-91e9264ec140?_g=()
[00:06:56]               │ debg index pattern ID:  bb1b3e50-53f1-11ea-abef-91e9264ec140?_g=()
[00:06:56]               │ debg navigateTo graph
[00:06:56]               │ debg navigating to graph url: http://localhost:6111/app/graph
[00:06:56]               │ debg Navigate to: http://localhost:6111/app/graph
[00:06:57]               │ debg ... sleep(700) start
[00:06:57]               │ debg browser[INFO] http://localhost:6111/app/graph?_t=1582210830145 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:57]               │
[00:06:57]               │ debg browser[INFO] http://localhost:6111/bundles/app/graph/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:57]               │ debg ... sleep(700) end
[00:06:57]               │ debg returned from get, calling refresh
[00:06:58]               │ debg browser[INFO] http://localhost:6111/app/graph?_t=1582210830145 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:58]               │
[00:06:58]               │ debg browser[INFO] http://localhost:6111/bundles/app/graph/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:58]               │ debg currentUrl = http://localhost:6111/app/graph
[00:06:58]               │          appUrl = http://localhost:6111/app/graph
[00:06:58]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:07:05]               │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-20T15:00:37Z
[00:07:05]               │        Adding connection to http://localhost:6111/elasticsearch
[00:07:05]               │
[00:07:05]               │      "
[00:07:05]               │ debg ... sleep(501) start
[00:07:06]               │ debg ... sleep(501) end
[00:07:06]               │ debg in navigateTo url = http://localhost:6111/app/graph#/home
[00:07:06]               │ debg TestSubjects.exists(statusPageContainer)
[00:07:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:07:08]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:07:09]               │ debg TestSubjects.click(graphCreateGraphPromptButton)
[00:07:09]               │ debg Find.clickByCssSelector('[data-test-subj="graphCreateGraphPromptButton"]') with timeout=10000
[00:07:09]               │ debg Find.findByCssSelector('[data-test-subj="graphCreateGraphPromptButton"]') with timeout=10000
[00:07:09]             └-> should show correct node labels
[00:07:09]               └-> "before each" hook: global before each
[00:07:09]               │ debg TestSubjects.click(graphDatasourceButton)
[00:07:09]               │ debg Find.clickByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:07:09]               │ debg Find.findByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:07:09]               │ debg TestSubjects.click(savedObjectTitlesecrepo*)
[00:07:09]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:07:09]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:07:10]               │ debg Find.waitForAttributeToChange('[data-test-subj="graph-add-field-button"]', 'aria-disabled', 'false')
[00:07:10]               │ debg Waiting up to 20000ms for aria-disabled to equal "false"...
[00:07:10]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:10]               │ debg click Add Field icon
[00:07:10]               │ debg TestSubjects.click(graph-add-field-button)
[00:07:10]               │ debg Find.clickByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:10]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:10]               │ debg TestSubjects.exists(graph-field-search)
[00:07:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graph-field-search"]') with timeout=3000
[00:07:10]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:13]               │ERROR browser[SEVERE] http://localhost:6111/api/saved_objects/index-pattern/bb1b3e50-53f1-11ea-abef-91e9264ec140 - Failed to load resource: the server responded with a status of 409 (Conflict)
[00:07:13]               │ debg --- retry.tryForTime error: [data-test-subj="graph-field-search"] is not displayed
[00:07:13]               │ debg --- retry.try error: expected testSubject(graph-field-search) to exist
[00:07:14]               │ debg TestSubjects.click(graph-add-field-button)
[00:07:14]               │ debg Find.clickByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:14]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:14]               │ debg TestSubjects.exists(graph-field-search)
[00:07:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graph-field-search"]') with timeout=3000
[00:07:14]               │ debg select field url.parts
[00:07:14]               │ debg TestSubjects.setValue(graph-field-search, url.parts)
[00:07:14]               │ debg TestSubjects.click(graph-field-search)
[00:07:14]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:14]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:14]               │ debg Find.clickDisplayedByCssSelector('[title="url.parts"]') with timeout=10000
[00:07:14]               │ debg Find.displayedByCssSelector([title="url.parts"])
[00:07:14]               │ debg Find.findByCssSelector('[title="url.parts"]') with timeout=10000
[00:07:14]               │ debg Wait for element become visible: [title="url.parts"] with timeout=10000
[00:07:15]               │ debg select field url
[00:07:15]               │ debg TestSubjects.setValue(graph-field-search, url)
[00:07:15]               │ debg TestSubjects.click(graph-field-search)
[00:07:15]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:15]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:15]               │ debg Find.clickDisplayedByCssSelector('[title="url"]') with timeout=10000
[00:07:15]               │ debg Find.displayedByCssSelector([title="url"])
[00:07:15]               │ debg Find.findByCssSelector('[title="url"]') with timeout=10000
[00:07:15]               │ debg Wait for element become visible: [title="url"] with timeout=10000
[00:07:15]               │ debg select field params
[00:07:15]               │ debg TestSubjects.setValue(graph-field-search, params)
[00:07:15]               │ debg TestSubjects.click(graph-field-search)
[00:07:15]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:15]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:16]               │ debg Find.clickDisplayedByCssSelector('[title="params"]') with timeout=10000
[00:07:16]               │ debg Find.displayedByCssSelector([title="params"])
[00:07:16]               │ debg Find.findByCssSelector('[title="params"]') with timeout=10000
[00:07:16]               │ debg Wait for element become visible: [title="params"] with timeout=10000
[00:07:16]               │ debg select field src
[00:07:16]               │ debg TestSubjects.setValue(graph-field-search, src)
[00:07:16]               │ debg TestSubjects.click(graph-field-search)
[00:07:16]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:16]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:07:16]               │ debg Find.clickDisplayedByCssSelector('[title="src"]') with timeout=10000
[00:07:16]               │ debg Find.displayedByCssSelector([title="src"])
[00:07:16]               │ debg Find.findByCssSelector('[title="src"]') with timeout=10000
[00:07:16]               │ debg Wait for element become visible: [title="src"] with timeout=10000
[00:07:16]               │ debg TestSubjects.click(queryInput)
[00:07:16]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:07:16]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:07:16]               │ debg TestSubjects.setValue(queryInput, admin)
[00:07:16]               │ debg TestSubjects.click(queryInput)
[00:07:16]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:07:16]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:07:17]               │ debg TestSubjects.click(graph-explore-button)
[00:07:17]               │ debg Find.clickByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:07:17]               │ debg Find.findByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:07:17]               │ debg ... sleep(8000) start
[00:07:25]               │ debg ... sleep(8000) end
[00:07:25]               │ debg TestSubjects.exists(graphPauseLayout)
[00:07:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:07:25]               │ debg TestSubjects.click(graphPauseLayout)
[00:07:25]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:25]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:25]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:07:28]               │ debg TestSubjects.exists(graphResumeLayout)
[00:07:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:07:28]               │ debg TestSubjects.click(graphResumeLayout)
[00:07:28]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:28]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:28]               └- ✓ pass  (19.6s) "graph app graph should show correct node labels"
[00:07:28]             └-> should show correct connections
[00:07:28]               └-> "before each" hook: global before each
[00:07:28]               │ debg TestSubjects.exists(graphPauseLayout)
[00:07:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:07:28]               │ debg TestSubjects.click(graphPauseLayout)
[00:07:28]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:28]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:29]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:07:31]               │ debg TestSubjects.exists(graphResumeLayout)
[00:07:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:07:31]               │ debg TestSubjects.click(graphResumeLayout)
[00:07:31]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:31]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:31]               └- ✓ pass  (3.0s) "graph app graph should show correct connections"
[00:07:31]             └-> should save Graph workspace
[00:07:31]               └-> "before each" hook: global before each
[00:07:31]               │ debg TestSubjects.click(graphSaveButton)
[00:07:31]               │ debg Find.clickByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:07:31]               │ debg Find.findByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:07:32]               │ debg TestSubjects.exists(savedObjectTitle)
[00:07:32]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=3000
[00:07:35]               │ debg --- retry.tryForTime error: [data-test-subj="savedObjectTitle"] is not displayed
[00:07:35]               │ debg --- retry.try error: expected testSubject(savedObjectTitle) to exist
[00:07:36]               │ debg TestSubjects.click(graphSaveButton)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:07:36]               │ debg TestSubjects.exists(savedObjectTitle)
[00:07:36]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=3000
[00:07:36]               │ debg TestSubjects.setValue(savedObjectTitle, my Graph workspace name 1582210412506)
[00:07:36]               │ debg TestSubjects.click(savedObjectTitle)
[00:07:36]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:07:36]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:07:38]               │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:07:38]               │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:07:38]               │ debg TestSubjects.exists(saveGraphSuccess)
[00:07:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveGraphSuccess"]') with timeout=2500
[00:07:38]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1582208109636065025] [.kibana_2/kKc8IDk4Quu5-i8auS1XYA] update_mapping [_doc]
[00:07:40]               └- ✓ pass  (8.2s) "graph app graph should save Graph workspace"
[00:07:40]             └-> should open Graph workspace
[00:07:40]               └-> "before each" hook: global before each
[00:07:40]               │ debg TestSubjects.click(breadcrumb graphHomeBreadcrumb first)
[00:07:40]               │ debg Find.clickByCssSelector('[data-test-subj="breadcrumb graphHomeBreadcrumb first"]') with timeout=10000
[00:07:40]               │ debg Find.findByCssSelector('[data-test-subj="breadcrumb graphHomeBreadcrumb first"]') with timeout=10000
[00:07:40]               │ debg TestSubjects.exists(graphLandingPage)
[00:07:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphLandingPage"]') with timeout=3000
[00:07:40]               │ debg Find.allByCssSelector('.euiFieldSearch') with timeout=10000
[00:07:41]               │ debg Find.waitForDeletedByCssSelector('.euiBasicTable-loading') with timeout=5000
[00:07:42]               │ debg isGlobalLoadingIndicatorVisible
[00:07:42]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:07:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:07:43]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:44]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:44]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:44]               │ debg Find.clickByLinkText('my Graph workspace name 1582210412506') with timeout=10000
[00:07:44]               │ debg Find.byLinkText('my Graph workspace name 1582210412506') with timeout=10000
[00:07:44]               │ debg Find.existsByCssSelector('.gphNode') with timeout=10000
[00:07:45]               │ debg ... sleep(5000) start
[00:07:50]               │ debg ... sleep(5000) end
[00:07:50]               │ debg TestSubjects.exists(graphPauseLayout)
[00:07:50]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:07:50]               │ debg TestSubjects.click(graphPauseLayout)
[00:07:50]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:50]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:07:50]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:07:53]               │ debg TestSubjects.exists(graphResumeLayout)
[00:07:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:07:53]               │ debg TestSubjects.click(graphResumeLayout)
[00:07:53]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:53]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:07:53]               │ debg Looking for /wordpress/wp-admin/
[00:07:53]               │ debg Looking for blog
[00:07:53]               │ debg Looking for 202.136.75.194
[00:07:53]               │ debg Looking for 190.154.27.54
[00:07:53]               │ debg Looking for 187.131.21.37
[00:07:53]               │ debg Looking for wp
[00:07:53]               │ debg Looking for 80.5.27.16
[00:07:53]               │ debg Looking for 181.113.155.46
[00:07:53]               │ debg Looking for login.php
[00:07:53]               │ debg Looking for admin
[00:07:53]               │ debg Looking for /test/wp-admin/
[00:07:53]               │ debg Looking for wordpress
[00:07:53]               │ debg Looking for test
[00:07:53]               │ debg Looking for /wp-login.php
[00:07:53]               │ debg Looking for /blog/wp-admin/
[00:07:53]               └- ✓ pass  (13.5s) "graph app graph should open Graph workspace"
[00:07:53]             └-> should create new Graph workspace
[00:07:53]               └-> "before each" hook: global before each
[00:07:53]               │ debg Click New Workspace
[00:07:53]               │ debg TestSubjects.click(graphNewButton)
[00:07:53]               │ debg Find.clickByCssSelector('[data-test-subj="graphNewButton"]') with timeout=10000
[00:07:53]               │ debg Find.findByCssSelector('[data-test-subj="graphNewButton"]') with timeout=10000
[00:07:54]               │ debg TestSubjects.exists(confirmModal)
[00:07:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModal"]') with timeout=3000
[00:07:54]               │ debg Clicking modal confirm
[00:07:54]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:07:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:07:54]               │ debg TestSubjects.click(confirmModalConfirmButton)
[00:07:54]               │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:07:54]               │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:07:55]               │ debg TestSubjects.exists(confirmModalTitleText)
[00:07:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:07:57]               │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:07:58]               │ debg TestSubjects.exists(graphGuidancePanel)
[00:07:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphGuidancePanel"]') with timeout=120000
[00:07:58]               │ debg TestSubjects.click(graphDatasourceButton)
[00:07:58]               │ debg Find.clickByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:07:58]               │ debg Find.findByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:07:58]               │ debg TestSubjects.click(savedObjectTitlesecrepo*)
[00:07:58]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:07:58]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:07:58]               │ debg Find.waitForAttributeToChange('[data-test-subj="graph-add-field-button"]', 'aria-disabled', 'false')
[00:07:58]               │ debg Waiting up to 20000ms for aria-disabled to equal "false"...
[00:07:58]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:07:58]               │ debg TestSubjects.exists(graphPauseLayout)
[00:07:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:08:01]               │ debg --- retry.tryForTime error: [data-test-subj="graphPauseLayout"] is not displayed
[00:08:01]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:08:11]               │ debg TestSubjects.exists(graphResumeLayout)
[00:08:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:08:14]               │ debg --- retry.tryForTime error: [data-test-subj="graphResumeLayout"] is not displayed
[00:08:15]               └- ✓ pass  (21.5s) "graph app graph should create new Graph workspace"
[00:08:15]             └-> should show venn when clicking a line
[00:08:15]               └-> "before each" hook: global before each
[00:08:15]               │ debg click Add Field icon
[00:08:15]               │ debg TestSubjects.click(graph-add-field-button)
[00:08:15]               │ debg Find.clickByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:08:15]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:08:15]               │ debg TestSubjects.exists(graph-field-search)
[00:08:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graph-field-search"]') with timeout=3000
[00:08:15]               │ debg select field url.parts
[00:08:15]               │ debg TestSubjects.setValue(graph-field-search, url.parts)
[00:08:15]               │ debg TestSubjects.click(graph-field-search)
[00:08:15]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:15]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:15]               │ debg Find.clickDisplayedByCssSelector('[title="url.parts"]') with timeout=10000
[00:08:15]               │ debg Find.displayedByCssSelector([title="url.parts"])
[00:08:15]               │ debg Find.findByCssSelector('[title="url.parts"]') with timeout=10000
[00:08:15]               │ debg Wait for element become visible: [title="url.parts"] with timeout=10000
[00:08:15]               │ debg select field url
[00:08:15]               │ debg TestSubjects.setValue(graph-field-search, url)
[00:08:15]               │ debg TestSubjects.click(graph-field-search)
[00:08:15]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:15]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:16]               │ debg Find.clickDisplayedByCssSelector('[title="url"]') with timeout=10000
[00:08:16]               │ debg Find.displayedByCssSelector([title="url"])
[00:08:16]               │ debg Find.findByCssSelector('[title="url"]') with timeout=10000
[00:08:16]               │ debg Wait for element become visible: [title="url"] with timeout=10000
[00:08:16]               │ debg select field params
[00:08:16]               │ debg TestSubjects.setValue(graph-field-search, params)
[00:08:16]               │ debg TestSubjects.click(graph-field-search)
[00:08:16]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:16]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:16]               │ debg Find.clickDisplayedByCssSelector('[title="params"]') with timeout=10000
[00:08:16]               │ debg Find.displayedByCssSelector([title="params"])
[00:08:16]               │ debg Find.findByCssSelector('[title="params"]') with timeout=10000
[00:08:16]               │ debg Wait for element become visible: [title="params"] with timeout=10000
[00:08:16]               │ debg select field src
[00:08:16]               │ debg TestSubjects.setValue(graph-field-search, src)
[00:08:16]               │ debg TestSubjects.click(graph-field-search)
[00:08:16]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:16]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:08:17]               │ debg Find.clickDisplayedByCssSelector('[title="src"]') with timeout=10000
[00:08:17]               │ debg Find.displayedByCssSelector([title="src"])
[00:08:17]               │ debg Find.findByCssSelector('[title="src"]') with timeout=10000
[00:08:17]               │ debg Wait for element become visible: [title="src"] with timeout=10000
[00:08:17]               │ debg TestSubjects.click(queryInput)
[00:08:17]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:17]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:17]               │ debg TestSubjects.setValue(queryInput, admin)
[00:08:17]               │ debg TestSubjects.click(queryInput)
[00:08:17]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:17]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:08:17]               │ debg TestSubjects.click(graph-explore-button)
[00:08:17]               │ debg Find.clickByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:08:17]               │ debg Find.findByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:08:17]               │ debg ... sleep(8000) start
[00:08:25]               │ debg ... sleep(8000) end
[00:08:25]               │ debg TestSubjects.exists(graphPauseLayout)
[00:08:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:08:25]               │ debg TestSubjects.click(graphPauseLayout)
[00:08:25]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:08:25]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:08:26]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:08:29]               │ debg TestSubjects.exists(graphResumeLayout)
[00:08:29]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:08:29]               │ debg TestSubjects.click(graphResumeLayout)
[00:08:29]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:08:29]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:08:29]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/graph app graph should show venn when clicking a line.png"
[00:08:29]               │ info Current URL is: http://localhost:6111/app/graph#/workspace/
[00:08:30]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/graph app graph should show venn when clicking a line.html
[00:08:30]               └- ✖ fail: "graph app graph should show venn when clicking a line"
[00:08:30]               │

Stack Trace

TypeError: Cannot read property 'sourceNode' of undefined
    at GraphPage.isolateEdge (test/functional/page_objects/graph_page.ts:87:25)
    at Context.<anonymous> (test/functional/apps/graph/graph.ts:138:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

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

@alvarezmelissa87 alvarezmelissa87 merged commit 1f87879 into elastic:7.x Feb 20, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-58004 branch February 20, 2020 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants