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] [ML] [NP] Removing ui imports (#56358) #57336

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

jgowdyelastic
Copy link
Member

Backports the following commits to 7.x:

* [ML] [NP] Removing ui imports

* replacing timefilter and ui context

* replacing ui/i18n and ui/metadata

* removing ui/system_api

* removing ui/notify

* removing most ui/new_platform

* fix explorer date format loading

* removing ui/chrome

* fixing timebuckets test

* fixing jest tests

* adding http

* testing odd CI type failure

* revrting type test changes

* fixing odd test type error

* refactoring dependencies

* removing injectI18n and using withKibana for context

* updating components to use kibana context

* re-enabling some tests

* fixing translation strings

* adding comments

* removing commented out code

* missing i18n

* fixing rebase conflicts

* removing unused ui contexts

* changes based on review

* adding text to errors

* fixing management plugin

* changes based on review

* refeactor after rebase

* fixing test
@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 save Graph workspace

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: graph app
[00:00:00]           └-> "before all" hook
[00:04:39]           └-: graph
[00:04:39]             └-> "before all" hook
[00:04:39]             └-> "before all" hook
[00:04:39]               │ debg load graph/secrepo data
[00:04:39]               │ info [graph/secrepo] Loading "mappings.json"
[00:04:39]               │ info [graph/secrepo] Loading "data.json.gz"
[00:04:39]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [secrepo] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:40]               │ info [graph/secrepo] Created index "secrepo"
[00:04:40]               │ debg [graph/secrepo] "secrepo" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:46]               │ info [graph/secrepo] Indexed 10000 docs into "secrepo"
[00:04:46]               │ info [empty_kibana] Loading "mappings.json"
[00:04:46]               │ info [empty_kibana] Loading "data.json.gz"
[00:04:46]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/k2u-kVCtTb6aChMftWRQgA] deleting index
[00:04:46]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_1/70vPdBaZTb-JRAZYZMy-4A] deleting index
[00:04:46]               │ info [empty_kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:04:46]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:46]               │ info [empty_kibana] Created index ".kibana"
[00:04:46]               │ debg [empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:46]               │ info [empty_kibana] Indexed 2 docs into ".kibana"
[00:04:48]               │ info Creating index .kibana_2.
[00:04:48]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:48]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] updating number_of_replicas to [0] for indices [.kibana_2]
[00:04:48]               │ info Reindexing .kibana to .kibana_1
[00:04:48]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:04:48]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] updating number_of_replicas to [0] for indices [.kibana_1]
[00:04:48]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] 4948 finished with response BulkByScrollResponse[took=66.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:04:48]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana/mbzYdjnpRiGQ6XKvqEuIzA] deleting index
[00:04:48]               │ info Migrating .kibana_1 saved objects to .kibana_2
[00:04:48]               │ debg Migrating saved objects config:6.0.0-alpha1, space:default
[00:04:48]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:04:48]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:04:49]               │ info Pointing alias .kibana to .kibana_2.
[00:04:49]               │ info Finished in 901ms.
[00:04:49]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:04:49]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:04:50]               │ debg create secrepo index pattern
[00:04:50]               │ debg navigating to settings url: http://localhost:6121/app/kibana#/management
[00:04:50]               │ debg Navigate to: http://localhost:6121/app/kibana#/management
[00:04:50]               │ debg ... sleep(700) start
[00:04:50]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1581440145883#/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:04:50]               │
[00:04:50]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:51]               │ debg ... sleep(700) end
[00:04:51]               │ debg returned from get, calling refresh
[00:04:51]               │ debg currentUrl = http://localhost:6121/app/kibana#/management
[00:04:51]               │          appUrl = http://localhost:6121/app/kibana#/management
[00:04:51]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:51]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1581440145883#/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:04:51]               │
[00:04:51]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:57]               │ debg TestSubjects.find(kibanaChrome)
[00:04:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:04:57]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-11T16:55:50Z
[00:04:57]               │        Adding connection to http://localhost:6121/elasticsearch
[00:04:57]               │
[00:04:57]               │      "
[00:04:58]               │ debg ... sleep(501) start
[00:04:58]               │ debg ... sleep(501) end
[00:04:58]               │ debg in navigateTo url = http://localhost:6121/app/kibana#/management?_g=()
[00:04:58]               │ debg TestSubjects.exists(statusPageContainer)
[00:04:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:01]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:01]               │ debg isGlobalLoadingIndicatorVisible
[00:05:01]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:03]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:03]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:03]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:03]               │ debg clickKibanaIndexPatterns link
[00:05:03]               │ debg TestSubjects.click(index_patterns)
[00:05:03]               │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:03]               │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:03]               │ debg isGlobalLoadingIndicatorVisible
[00:05:03]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:05]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:05]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:05]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:05]               │ debg Waiting up to 20000ms for index pattern info flyout...
[00:05:05]               │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:05:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:05:05]               │ debg TestSubjects.click(CreateIndexPatternPrompt > euiFlyoutCloseButton)
[00:05:05]               │ debg Find.clickByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:05:05]               │ debg Find.findByCssSelector('[data-test-subj="CreateIndexPatternPrompt"] [data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:05:06]               │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:05:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:05:09]               │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:05:09]               │ debg isGlobalLoadingIndicatorVisible
[00:05:09]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:11]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:11]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:11]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:11]               │ debg TestSubjects.isDisplayed(createIndexPatternButton)
[00:05:11]               │ debg TestSubjects.find(createIndexPatternButton)
[00:05:11]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:05:11]               │ debg TestSubjects.click(createIndexPatternButton)
[00:05:11]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:05:11]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:05:11]               │ debg isGlobalLoadingIndicatorVisible
[00:05:11]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:12]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:12]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:13]               │ debg setIndexPatternField(secrepo)
[00:05:13]               │ debg TestSubjects.find(createIndexPatternNameInput)
[00:05:13]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternNameInput"]') with timeout=10000
[00:05:14]               │ debg setIndexPatternField set to secrepo*
[00:05:14]               │ debg ... sleep(2000) start
[00:05:16]               │ debg ... sleep(2000) end
[00:05:16]               │ debg TestSubjects.find(createIndexPatternGoToStep2Button)
[00:05:16]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternGoToStep2Button"]') with timeout=10000
[00:05:16]               │ debg ... sleep(2000) start
[00:05:18]               │ debg ... sleep(2000) end
[00:05:18]               │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:05:18]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:05:18]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:05:19]               │ debg TestSubjects.click(createIndexPatternTimeFieldSelect)
[00:05:19]               │ debg Find.clickByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:05:19]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternTimeFieldSelect"]') with timeout=10000
[00:05:19]               │ debg isGlobalLoadingIndicatorVisible
[00:05:19]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:19]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:20]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:21]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:21]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:21]               │ debg selectTimeFieldOption(@timestamp)
[00:05:21]               │ debg Find.displayedByCssSelector(option[value="@timestamp"])
[00:05:21]               │ debg Find.findByCssSelector('option[value="@timestamp"]') with timeout=10000
[00:05:21]               │ debg Wait for element become visible: option[value="@timestamp"] with timeout=10000
[00:05:21]               │ debg TestSubjects.find(createIndexPatternButton)
[00:05:21]               │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:05:21]               │ debg isGlobalLoadingIndicatorVisible
[00:05:21]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:21]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:05:22]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:22]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:22]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:05:23]               │ info currentUrl http://localhost:6121/app/kibana#/management/kibana/index_patterns/6b5579c0-4cef-11ea-8c8b-d17bb2045ad0?_g=()
[00:05:23]               │ debg Index pattern created: http://localhost:6121/app/kibana#/management/kibana/index_patterns/6b5579c0-4cef-11ea-8c8b-d17bb2045ad0?_g=()
[00:05:23]               │ debg index pattern ID:  6b5579c0-4cef-11ea-8c8b-d17bb2045ad0?_g=()
[00:05:23]               │ debg navigateTo graph
[00:05:23]               │ debg navigating to graph url: http://localhost:6121/app/graph
[00:05:23]               │ debg Navigate to: http://localhost:6121/app/graph
[00:05:23]               │ debg ... sleep(700) start
[00:05:23]               │ debg browser[INFO] http://localhost:6121/app/graph?_t=1581440178999 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:05:23]               │
[00:05:23]               │ debg browser[INFO] http://localhost:6121/bundles/app/graph/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:24]               │ debg ... sleep(700) end
[00:05:24]               │ debg returned from get, calling refresh
[00:05:24]               │ debg browser[INFO] http://localhost:6121/app/graph?_t=1581440178999 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:05:24]               │
[00:05:24]               │ debg browser[INFO] http://localhost:6121/bundles/app/graph/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:24]               │ debg currentUrl = http://localhost:6121/app/graph
[00:05:24]               │          appUrl = http://localhost:6121/app/graph
[00:05:24]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:29]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_3.bundle.dll.js 488:139970 "INFO: 2020-02-11T16:56:23Z
[00:05:29]               │        Adding connection to http://localhost:6121/elasticsearch
[00:05:29]               │
[00:05:29]               │      "
[00:05:29]               │ debg ... sleep(501) start
[00:05:29]               │ debg ... sleep(501) end
[00:05:29]               │ debg in navigateTo url = http://localhost:6121/app/graph#/home
[00:05:29]               │ debg TestSubjects.exists(statusPageContainer)
[00:05:29]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:32]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:32]               │ debg TestSubjects.click(graphCreateGraphPromptButton)
[00:05:32]               │ debg Find.clickByCssSelector('[data-test-subj="graphCreateGraphPromptButton"]') with timeout=10000
[00:05:32]               │ debg Find.findByCssSelector('[data-test-subj="graphCreateGraphPromptButton"]') with timeout=10000
[00:05:32]             └-> should show correct node labels
[00:05:32]               └-> "before each" hook: global before each
[00:05:32]               │ debg TestSubjects.click(graphDatasourceButton)
[00:05:32]               │ debg Find.clickByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:05:32]               │ debg Find.findByCssSelector('[data-test-subj="graphDatasourceButton"]') with timeout=10000
[00:05:33]               │ debg TestSubjects.click(savedObjectTitlesecrepo*)
[00:05:33]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:05:33]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlesecrepo*"]') with timeout=10000
[00:05:33]               │ debg Find.waitForAttributeToChange('[data-test-subj="graph-add-field-button"]', 'aria-disabled', 'false')
[00:05:33]               │ debg Waiting up to 20000ms for aria-disabled to equal "false"...
[00:05:33]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:33]               │ debg click Add Field icon
[00:05:33]               │ debg TestSubjects.click(graph-add-field-button)
[00:05:33]               │ debg Find.clickByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:33]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:33]               │ debg TestSubjects.exists(graph-field-search)
[00:05:33]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graph-field-search"]') with timeout=3000
[00:05:34]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:36]               │ERROR browser[SEVERE] http://localhost:6121/api/saved_objects/index-pattern/6b5579c0-4cef-11ea-8c8b-d17bb2045ad0 - Failed to load resource: the server responded with a status of 409 (Conflict)
[00:05:36]               │ debg --- retry.tryForTime error: [data-test-subj="graph-field-search"] is not displayed
[00:05:37]               │ debg --- retry.try error: expected testSubject(graph-field-search) to exist
[00:05:37]               │ debg TestSubjects.click(graph-add-field-button)
[00:05:37]               │ debg Find.clickByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:37]               │ debg Find.findByCssSelector('[data-test-subj="graph-add-field-button"]') with timeout=10000
[00:05:37]               │ debg TestSubjects.exists(graph-field-search)
[00:05:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graph-field-search"]') with timeout=3000
[00:05:37]               │ debg select field url.parts
[00:05:37]               │ debg TestSubjects.setValue(graph-field-search, url.parts)
[00:05:37]               │ debg TestSubjects.click(graph-field-search)
[00:05:37]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:37]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:38]               │ debg Find.clickDisplayedByCssSelector('[title="url.parts"]') with timeout=10000
[00:05:38]               │ debg Find.displayedByCssSelector([title="url.parts"])
[00:05:38]               │ debg Find.findByCssSelector('[title="url.parts"]') with timeout=10000
[00:05:38]               │ debg Wait for element become visible: [title="url.parts"] with timeout=10000
[00:05:38]               │ debg select field url
[00:05:38]               │ debg TestSubjects.setValue(graph-field-search, url)
[00:05:38]               │ debg TestSubjects.click(graph-field-search)
[00:05:38]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:38]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:38]               │ debg Find.clickDisplayedByCssSelector('[title="url"]') with timeout=10000
[00:05:38]               │ debg Find.displayedByCssSelector([title="url"])
[00:05:38]               │ debg Find.findByCssSelector('[title="url"]') with timeout=10000
[00:05:38]               │ debg Wait for element become visible: [title="url"] with timeout=10000
[00:05:39]               │ debg select field params
[00:05:39]               │ debg TestSubjects.setValue(graph-field-search, params)
[00:05:39]               │ debg TestSubjects.click(graph-field-search)
[00:05:39]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:39]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:39]               │ debg Find.clickDisplayedByCssSelector('[title="params"]') with timeout=10000
[00:05:39]               │ debg Find.displayedByCssSelector([title="params"])
[00:05:39]               │ debg Find.findByCssSelector('[title="params"]') with timeout=10000
[00:05:39]               │ debg Wait for element become visible: [title="params"] with timeout=10000
[00:05:39]               │ debg select field src
[00:05:39]               │ debg TestSubjects.setValue(graph-field-search, src)
[00:05:39]               │ debg TestSubjects.click(graph-field-search)
[00:05:39]               │ debg Find.clickByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:39]               │ debg Find.findByCssSelector('[data-test-subj="graph-field-search"]') with timeout=10000
[00:05:40]               │ debg Find.clickDisplayedByCssSelector('[title="src"]') with timeout=10000
[00:05:40]               │ debg Find.displayedByCssSelector([title="src"])
[00:05:40]               │ debg Find.findByCssSelector('[title="src"]') with timeout=10000
[00:05:40]               │ debg Wait for element become visible: [title="src"] with timeout=10000
[00:05:40]               │ debg TestSubjects.click(queryInput)
[00:05:40]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:05:40]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:05:40]               │ debg TestSubjects.setValue(queryInput, admin)
[00:05:40]               │ debg TestSubjects.click(queryInput)
[00:05:40]               │ debg Find.clickByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:05:40]               │ debg Find.findByCssSelector('[data-test-subj="queryInput"]') with timeout=10000
[00:05:41]               │ debg TestSubjects.click(graph-explore-button)
[00:05:41]               │ debg Find.clickByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:05:41]               │ debg Find.findByCssSelector('[data-test-subj="graph-explore-button"]') with timeout=10000
[00:05:41]               │ debg ... sleep(8000) start
[00:05:49]               │ debg ... sleep(8000) end
[00:05:49]               │ debg TestSubjects.exists(graphPauseLayout)
[00:05:49]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:05:49]               │ debg TestSubjects.click(graphPauseLayout)
[00:05:49]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:05:49]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:05:50]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:05:54]               │ debg TestSubjects.exists(graphResumeLayout)
[00:05:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:05:54]               │ debg TestSubjects.click(graphResumeLayout)
[00:05:54]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:05:54]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:05:55]               └- ✓ pass  (22.2s) "graph app graph should show correct node labels"
[00:05:55]             └-> should show correct connections
[00:05:55]               └-> "before each" hook: global before each
[00:05:55]               │ debg TestSubjects.exists(graphPauseLayout)
[00:05:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=2500
[00:05:55]               │ debg TestSubjects.click(graphPauseLayout)
[00:05:55]               │ debg Find.clickByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:05:55]               │ debg Find.findByCssSelector('[data-test-subj="graphPauseLayout"]') with timeout=10000
[00:05:55]               │ debg Find.allByCssSelector('#graphSvg line, #graphSvg circle, #graphSvg text.gphNode__label') with timeout=10000
[00:05:58]               │ debg TestSubjects.exists(graphResumeLayout)
[00:05:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=2500
[00:05:58]               │ debg TestSubjects.click(graphResumeLayout)
[00:05:58]               │ debg Find.clickByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:05:58]               │ debg Find.findByCssSelector('[data-test-subj="graphResumeLayout"]') with timeout=10000
[00:05:58]               └- ✓ pass  (3.5s) "graph app graph should show correct connections"
[00:05:58]             └-> should save Graph workspace
[00:05:58]               └-> "before each" hook: global before each
[00:05:58]               │ debg TestSubjects.click(graphSaveButton)
[00:05:58]               │ debg Find.clickByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:05:58]               │ debg Find.findByCssSelector('[data-test-subj="graphSaveButton"]') with timeout=10000
[00:05:59]               │ debg TestSubjects.exists(savedObjectTitle)
[00:05:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=3000
[00:05:59]               │ debg TestSubjects.setValue(savedObjectTitle, my Graph workspace name 1581439853049)
[00:05:59]               │ debg TestSubjects.click(savedObjectTitle)
[00:05:59]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:05:59]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:06:03]               │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:06:03]               │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:06:03]               │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:06:03]               │ debg TestSubjects.exists(saveGraphSuccess)
[00:06:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveGraphSuccess"]') with timeout=2500
[00:06:04]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-tests-xl-1581437961748703616] [.kibana_2/Y0bp3uQDSEGgvSQU8VQYKw] update_mapping [_doc]
[00:06:07]               │ debg --- retry.tryForTime error: [data-test-subj="saveGraphSuccess"] is not displayed
[00:06:07]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/graph app graph should save Graph workspace.png"
[00:06:07]               │ info Current URL is: http://localhost:6121/app/graph#/workspace/84b79560-4cef-11ea-8c8b-d17bb2045ad0
[00:06:08]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/graph app graph should save Graph workspace.html
[00:06:08]               └- ✖ fail: "graph app graph should save Graph workspace"
[00:06:08]               │

Stack Trace

{ Error: expected false to sort of equal true
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/graph/graph.ts:106:30) actual: 'false', expected: 'true', showDiff: true }

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

@jgowdyelastic jgowdyelastic merged commit 696e46a into elastic:7.x Feb 11, 2020
@jgowdyelastic jgowdyelastic deleted the backport/7.x/pr-56358 branch February 11, 2020 17:58
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