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

[ML] Use doc links service for more ML pages #86405

Merged
merged 8 commits into from
Dec 22, 2020

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Dec 17, 2020

Summary

Related to #85181
This PR switches to using the doc links service in more pages within the machine learning app.

@lcawl lcawl added :ml v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Dec 17, 2020
@lcawl lcawl marked this pull request as ready for review December 18, 2020 15:10
@lcawl lcawl requested a review from a team as a code owner December 18, 2020 15:10
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@lcawl
Copy link
Contributor Author

lcawl commented Dec 21, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_save·ts.dashboard app using legacy data dashboard save Does not warn when you save an existing dashboard with the title it already has, and that title is a duplicate

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using legacy data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadLogstash
[00:00:00]               │ info [logstash_functional] Loading "mappings.json"
[00:00:00]               │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:00]               │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]               │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]               │ info progress: 2703
[00:00:20]               │ info progress: 7814
[00:00:30]               │ info progress: 13498
[00:00:30]               │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:30]               │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:30]               │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:31]             └-: dashboard save
[00:00:31]               └-> "before all" hook
[00:00:31]               └-> "before all" hook
[00:00:31]                 │ debg load kibana index with visualizations and log data
[00:00:31]                 │ info [dashboard/legacy] Loading "mappings.json"
[00:00:31]                 │ info [dashboard/legacy] Loading "data.json.gz"
[00:00:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_1/sRjTD6woRXigVUTTF3ACKA] deleting index
[00:00:31]                 │ info [dashboard/legacy] Deleted existing index [".kibana_1"]
[00:00:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:31]                 │ info [dashboard/legacy] Created index ".kibana"
[00:00:31]                 │ debg [dashboard/legacy] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:31]                 │ info [dashboard/legacy] Indexed 9 docs into ".kibana"
[00:00:31]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana/vk5tEP-MQZeepNHjCUqiuQ] update_mapping [_doc]
[00:00:31]                 │ debg Migrating saved objects
[00:00:31]                 │ proc [kibana]   log   [20:53:47.087] [info][savedobjects-service] Creating index .kibana_2.
[00:00:31]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:31]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:32]                 │ proc [kibana]   log   [20:53:47.235] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:32]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:32]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] updating number_of_replicas to [0] for indices [.tasks]
[00:00:32]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] 811 finished with response BulkByScrollResponse[took=145.5ms,timed_out=false,sliceId=null,updated=0,created=9,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:32]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana/vk5tEP-MQZeepNHjCUqiuQ] deleting index
[00:00:32]                 │ proc [kibana]   log   [20:53:47.986] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_2/-YzQR5KwQoa_4uxjnB1q8w] update_mapping [_doc]
[00:00:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_2/-YzQR5KwQoa_4uxjnB1q8w] update_mapping [_doc]
[00:00:33]                 │ proc [kibana]   log   [20:53:48.224] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:33]                 │ proc [kibana]   log   [20:53:48.300] [info][savedobjects-service] Finished in 1216ms.
[00:00:33]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:33]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_2/-YzQR5KwQoa_4uxjnB1q8w] update_mapping [_doc]
[00:00:35]                 │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:36]                 │ debg navigating to dashboard url: http://localhost:61161/app/dashboards#/list
[00:00:36]                 │ debg navigate to: http://localhost:61161/app/dashboards#/list
[00:00:36]                 │ debg browser[INFO] http://localhost:61161/app/dashboards?_t=1608584031277#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:36]                 │
[00:00:36]                 │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:36]                 │ debg ... sleep(700) start
[00:00:37]                 │ debg ... sleep(700) end
[00:00:37]                 │ debg returned from get, calling refresh
[00:00:38]                 │ debg browser[INFO] http://localhost:61161/app/dashboards?_t=1608584031277#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:38]                 │
[00:00:38]                 │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:39]                 │ debg currentUrl = http://localhost:61161/app/dashboards#/list
[00:00:39]                 │          appUrl = http://localhost:61161/app/dashboards#/list
[00:00:39]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:39]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:39]                 │ debg ... sleep(501) start
[00:00:40]                 │ debg ... sleep(501) end
[00:00:40]                 │ debg in navigateTo url = http://localhost:61161/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:00:40]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:42]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:43]               └-> warns on duplicate name for new dashboard
[00:00:43]                 └-> "before each" hook: global before each
[00:00:43]                 │ debg TestSubjects.exists(newItemButton)
[00:00:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:00:45]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:00:48]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:51]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:54]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:55]                 │ debg TestSubjects.click(createDashboardPromptButton)
[00:00:55]                 │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:55]                 │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:00:55]                 │ debg waitForRenderComplete
[00:00:55]                 │ debg in getSharedItemsCount
[00:00:55]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:00:55]                 │ debg Renderable.waitForRender for 0 elements
[00:00:55]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:01:05]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:01:06]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:01:06]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:07]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:01:07]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:01:07]                 │ debg entering new title
[00:01:07]                 │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Save Test)
[00:01:07]                 │ debg TestSubjects.click(savedObjectTitle)
[00:01:07]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:07]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:07]                 │ debg DashboardPage.clickSave
[00:01:07]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:01:07]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:07]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:07]                 │ debg Find.waitForElementStale with timeout=10000
[00:01:07]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1608582715260305226] [.kibana_2/-YzQR5KwQoa_4uxjnB1q8w] update_mapping [_doc]
[00:01:08]                 │ debg TestSubjects.exists(saveDashboardSuccess)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveDashboardSuccess"]') with timeout=120000
[00:01:08]                 │ debg Find.findByCssSelector('.euiToast') with timeout=20000
[00:01:08]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:01:08]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:08]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:08]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:10]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:10]                 │ debg Waiting for save modal to close
[00:01:10]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:01:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:01:13]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:01:13]                 │ debg TestSubjects.missingOrFail(titleDupicateWarnMsg)
[00:01:13]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="titleDupicateWarnMsg"]') with timeout=2500
[00:01:14]                 │ debg gotoDashboardLandingPage
[00:01:14]                 │ debg onDashboardLandingPage
[00:01:14]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:16]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:19]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:20]                 │ debg clickDashboardBreadcrumbLink
[00:01:20]                 │ debg TestSubjects.click(breadcrumb dashboardListingBreadcrumb first)
[00:01:20]                 │ debg Find.clickByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:01:20]                 │ debg Find.findByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:01:20]                 │ debg TestSubjects.exists(confirmModalTitleText)
[00:01:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:01:22]                 │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:01:23]                 │ debg expectExistsDashboardLandingPage
[00:01:23]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:23]                 │ debg TestSubjects.exists(newItemButton)
[00:01:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:23]                 │ debg TestSubjects.click(newItemButton)
[00:01:23]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:23]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:23]                 │ debg waitForRenderComplete
[00:01:23]                 │ debg in getSharedItemsCount
[00:01:23]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:23]                 │ debg Renderable.waitForRender for 0 elements
[00:01:23]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:01:33]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:01:34]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:01:34]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:34]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:34]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:01:34]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:01:34]                 │ debg entering new title
[00:01:34]                 │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Save Test)
[00:01:34]                 │ debg TestSubjects.click(savedObjectTitle)
[00:01:34]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:34]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:35]                 │ debg DashboardPage.clickSave
[00:01:35]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:35]                 │ debg TestSubjects.exists(titleDupicateWarnMsg)
[00:01:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="titleDupicateWarnMsg"]') with timeout=120000
[00:01:35]                 └- ✓ pass  (52.1s) "dashboard app using legacy data dashboard save warns on duplicate name for new dashboard"
[00:01:35]               └-> does not save on reject confirmation
[00:01:35]                 └-> "before each" hook: global before each
[00:01:35]                 │ debg Canceling save
[00:01:35]                 │ debg TestSubjects.click(saveCancelButton)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="saveCancelButton"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="saveCancelButton"]') with timeout=10000
[00:01:35]                 │ debg gotoDashboardLandingPage
[00:01:35]                 │ debg onDashboardLandingPage
[00:01:35]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:38]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:41]                 │ debg clickDashboardBreadcrumbLink
[00:01:41]                 │ debg TestSubjects.click(breadcrumb dashboardListingBreadcrumb first)
[00:01:41]                 │ debg Find.clickByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:01:41]                 │ debg Find.findByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:01:41]                 │ debg TestSubjects.exists(confirmModalTitleText)
[00:01:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:01:44]                 │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:01:44]                 │ debg expectExistsDashboardLandingPage
[00:01:44]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:44]                 │ debg searchForItemWithName: Dashboard Save Test
[00:01:44]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:44]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:45]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:45]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:46]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:47]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:47]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:47]                 │ debg TestSubjects.findAll(dashboardListingTitleLink-Dashboard-Save-Test)
[00:01:47]                 │ debg Find.allByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-Save-Test"]') with timeout=10000
[00:01:47]                 └- ✓ pass  (11.9s) "dashboard app using legacy data dashboard save does not save on reject confirmation"
[00:01:47]               └-> Saves on confirm duplicate title warning
[00:01:47]                 └-> "before each" hook: global before each
[00:01:47]                 │ debg gotoDashboardLandingPage
[00:01:47]                 │ debg onDashboardLandingPage
[00:01:47]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:47]                 │ debg TestSubjects.exists(newItemButton)
[00:01:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:47]                 │ debg TestSubjects.click(newItemButton)
[00:01:47]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:47]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:47]                 │ debg waitForRenderComplete
[00:01:47]                 │ debg in getSharedItemsCount
[00:01:47]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:47]                 │ debg Renderable.waitForRender for 0 elements
[00:01:47]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:01:57]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:01:58]                 │ debg TestSubjects.click(dashboardSaveMenuItem)
[00:01:58]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardSaveMenuItem"]') with timeout=10000
[00:01:58]                 │ debg TestSubjects.find(savedObjectSaveModal)
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=10000
[00:01:58]                 │ debg entering new title
[00:01:58]                 │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Save Test)
[00:01:58]                 │ debg TestSubjects.click(savedObjectTitle)
[00:01:58]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:58]                 │ debg DashboardPage.clickSave
[00:01:58]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:01:58]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:58]                 │ debg TestSubjects.exists(titleDupicateWarnMsg)
[00:01:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="titleDupicateWarnMsg"]') with timeout=120000
[00:01:58]                 │ debg DashboardPage.clickSave
[00:01:58]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:01:58]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:58]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:59]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:59]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:00]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:01]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:01]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:01]                 │ debg gotoDashboardLandingPage
[00:02:01]                 │ debg onDashboardLandingPage
[00:02:01]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:02:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:02:03]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:02:06]                 │ debg --- retry.tryForTime failed again with the same message...
[00:02:07]                 │ debg clickDashboardBreadcrumbLink
[00:02:07]                 │ debg TestSubjects.click(breadcrumb dashboardListingBreadcrumb first)
[00:02:07]                 │ debg Find.clickByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:02:07]                 │ debg Find.findByCssSelector('[data-test-subj="breadcrumb dashboardListingBreadcrumb first"]') with timeout=10000
[00:02:07]                 │ debg TestSubjects.exists(confirmModalTitleText)
[00:02:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="confirmModalTitleText"]') with timeout=2500
[00:02:09]                 │ debg --- retry.tryForTime error: [data-test-subj="confirmModalTitleText"] is not displayed
[00:02:10]                 │ debg expectExistsDashboardLandingPage
[00:02:10]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:02:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:02:10]                 │ debg searchForItemWithName: Dashboard Save Test
[00:02:10]                 │ debg TestSubjects.find(tableListSearchBox)
[00:02:10]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:02:10]                 │ debg isGlobalLoadingIndicatorVisible
[00:02:10]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:10]                 │ debg TestSubjects.findAll(dashboardListingTitleLink-Dashboard-Save-Test)
[00:02:10]                 │ debg Find.allByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-Save-Test"]') with timeout=10000
[00:02:10]                 └- ✓ pass  (23.4s) "dashboard app using legacy data dashboard save Saves on confirm duplicate title warning"
[00:02:10]               └-> Does not warn when you save an existing dashboard with the title it already has, and that title is a duplicate
[00:02:10]                 └-> "before each" hook: global before each
[00:02:10]                 │ debg TestSubjects.click(dashboardListingTitleLink-Dashboard-Save-Test)
[00:02:10]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-Save-Test"]') with timeout=10000
[00:02:10]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardListingTitleLink-Dashboard-Save-Test"]') with timeout=10000
[00:02:10]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:10]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:10]                 │ debg Switching to edit mode
[00:02:10]                 │ debg TestSubjects.click(dashboardEditMode)
[00:02:10]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:02:10]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:02:20]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:02:20]                 │      Wait timed out after 10030ms
[00:02:21]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:02:31]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:02:31]                 │      Wait timed out after 10036ms
[00:02:31]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:02:41]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:02:41]                 │      Wait timed out after 10041ms
[00:02:42]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:02:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:02:52]                 │      Wait timed out after 10038ms
[00:02:52]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:02]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:02]                 │      Wait timed out after 10035ms
[00:03:03]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:13]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:13]                 │      Wait timed out after 10021ms
[00:03:13]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:23]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:23]                 │      Wait timed out after 10031ms
[00:03:24]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:34]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:34]                 │      Wait timed out after 10033ms
[00:03:35]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:45]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:45]                 │      Wait timed out after 10022ms
[00:03:45]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:03:55]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:03:55]                 │      Wait timed out after 10050ms
[00:03:56]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:04:06]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:04:06]                 │      Wait timed out after 10045ms
[00:04:06]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=10000
[00:04:16]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:04:16]                 │      Wait timed out after 10051ms
[00:04:17]                 │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/test/functional/screenshots/failure/dashboard app using legacy data dashboard save Does not warn when you save an existing dashboard with the title it already has_ and that title is a duplicate.png"
[00:04:17]                 │ info Current URL is: http://localhost:61161/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:04:17]                 │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/test/functional/failure_debug/html/dashboard app using legacy data dashboard save Does not warn when you save an existing dashboard with the title it already has_ and that title is a duplicate.html
[00:04:17]                 └- ✖ fail: dashboard app using legacy data dashboard save Does not warn when you save an existing dashboard with the title it already has, and that title is a duplicate
[00:04:17]                 │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
[00:04:17]                 │ Wait timed out after 10051ms
[00:04:17]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:17]                 │     at runMicrotasks (<anonymous>)
[00:04:17]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:17]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:17]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:17]                 │       at Retry.try (test/common/services/retry/retry.ts:43:14)
[00:04:17]                 │       at Proxy.clickByCssSelector (test/functional/services/common/find.ts:430:7)
[00:04:17]                 │       at TestSubjects.click (test/functional/services/common/test_subjects.ts:116:7)
[00:04:17]                 │       at DashboardPage.switchToEditMode (test/functional/page_objects/dashboard_page.ts:210:7)
[00:04:17]                 │       at Context.<anonymous> (test/functional/apps/dashboard/dashboard_save.ts:78:7)
[00:04:17]                 │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:04:17]                 │ 
[00:04:17]                 │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dashboardEditMode"])
Wait timed out after 10051ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (test/common/services/retry/retry.ts:43:14)
    at Proxy.clickByCssSelector (test/functional/services/common/find.ts:430:7)
    at TestSubjects.click (test/functional/services/common/test_subjects.ts:116:7)
    at DashboardPage.switchToEditMode (test/functional/page_objects/dashboard_page.ts:210:7)
    at Context.<anonymous> (test/functional/apps/dashboard/dashboard_save.ts:78:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 7.0MB 7.0MB -1.4KB

Distributable file count

id before after diff
default 47143 47903 +760

History

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

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest edits LGTM.

Did you want too reference two PRs in the summary of this PR? It links to #85181 twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants