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] [APM] Fixing time comparison types (#101423) #102399

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

* fixing time comparison types

* fixing ts issues

* addressing PR comments

* addressing PR comments

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@spalger
Copy link
Contributor

spalger commented Jun 16, 2021

jenkins, test this

(restarting due to jenkins upgrade)

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard_mode/dashboard_empty_screen·js.dashboard mode empty dashboard redirects via save as button after edit, renaming itself

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:36:55]         └-: dashboard mode
[00:36:55]           └-> "before all" hook in "dashboard mode"
[00:42:35]           └-: empty dashboard
[00:42:35]             └-> "before all" hook for "adds Lens visualization to empty dashboard"
[00:42:35]             └-> "before all" hook for "adds Lens visualization to empty dashboard"
[00:42:35]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:42:35]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:42:35]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:42:35]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:42:35]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Loading "mappings.json"
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json"
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json.gz"
[00:42:36]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001/YzYNGSptQc-NS0vlljD7-A] deleting index
[00:42:36]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_1/brDv9aGsRfSMqoEzFV7RcA] deleting index
[00:42:36]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_task_manager_7.14.0_001/bbwoGj_1SKGmYLk1JDVEsw] deleting index
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_7.14.0_001"
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_1"
[00:42:36]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Created index ".kibana_1"
[00:42:36]               │ debg [x-pack/test/functional/es_archives/lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:42:36]               │ info [x-pack/test/functional/es_archives/lens/basic] Indexed 24 docs into ".kibana_1"
[00:42:36]               │ debg Migrating saved objects
[00:42:36]               │ proc [kibana]   log   [21:33:37.355] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.359] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 10ms.
[00:42:36]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:42:36]               │ proc [kibana]   log   [21:33:37.362] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 3ms.
[00:42:36]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:42:36]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] adding block write to indices [[.kibana_1/vIg5_ihWTxyeXUT_y0ucuA]]
[00:42:36]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] completed adding block write to indices [.kibana_1]
[00:42:36]               │ proc [kibana]   log   [21:33:37.421] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 66ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.435] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 73ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.452] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 31ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.452] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 100ms
[00:42:36]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:42:36]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:42:36]               │ proc [kibana]   log   [21:33:37.494] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 59ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.498] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.504] [info][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:42:36]               │ proc [kibana]   log   [21:33:37.505] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 6ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.536] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 32ms.
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] update_mapping [_doc]
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] update_mapping [_doc]
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] update_mapping [_doc]
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] update_mapping [_doc]
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] update_mapping [_doc]
[00:42:36]               │ proc [kibana]   log   [21:33:37.648] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 112ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.652] [info][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:42:36]               │ proc [kibana]   log   [21:33:37.652] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 4ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.655] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:42:36]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] adding block write to indices [[.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ]]
[00:42:36]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:42:36]               │ proc [kibana]   log   [21:33:37.688] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 33ms.
[00:42:36]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:42:36]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:42:36]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001/njdAa14BSZ-aoO0j1QFE7A] create_mapping [_doc]
[00:42:36]               │ proc [kibana]   log   [21:33:37.777] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 89ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.780] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.782] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 2ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.786] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 4ms.
[00:42:36]               │ proc [kibana]   log   [21:33:37.788] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:42:36]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001/njdAa14BSZ-aoO0j1QFE7A] update_mapping [_doc]
[00:42:36]               │ proc [kibana]   log   [21:33:37.832] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 44ms.
[00:42:36]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] 53627 finished with response BulkByScrollResponse[took=18.2ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:42:37]               │ proc [kibana]   log   [21:33:37.936] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 104ms.
[00:42:37]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_reindex_temp/lp4KzN_lQ36OeNIWKAbMIQ] deleting index
[00:42:37]               │ proc [kibana]   log   [21:33:37.969] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 33ms.
[00:42:37]               │ proc [kibana]   log   [21:33:37.970] [info][savedobjects-service] [.kibana] Migration completed after 621ms
[00:42:37]               │ debg [x-pack/test/functional/es_archives/lens/basic] Migrated Kibana index after loading Kibana data
[00:42:37]               │ debg [x-pack/test/functional/es_archives/lens/basic] Ensured that default space exists in .kibana
[00:42:37]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:42:37]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001/njdAa14BSZ-aoO0j1QFE7A] update_mapping [_doc]
[00:42:38]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:42:39]               │ debg navigating to dashboard url: http://localhost:6111/app/dashboards#/list
[00:42:39]               │ debg navigate to: http://localhost:6111/app/dashboards#/list
[00:42:40]               │ debg browser[INFO] http://localhost:6111/app/dashboards?_t=1623879220743#/list 339 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:42:40]               │
[00:42:40]               │ debg browser[INFO] http://localhost:6111/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:42:40]               │ debg ... sleep(700) start
[00:42:40]               │ debg ... sleep(700) end
[00:42:40]               │ debg returned from get, calling refresh
[00:42:40]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1623874784997430216] [.kibana_7.14.0_001/njdAa14BSZ-aoO0j1QFE7A] update_mapping [_doc]
[00:42:41]               │ debg browser[INFO] http://localhost:6111/app/dashboards?_t=1623879220743#/list 339 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:42:41]               │
[00:42:41]               │ debg browser[INFO] http://localhost:6111/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:42:41]               │ debg currentUrl = http://localhost:6111/app/dashboards#/list
[00:42:41]               │          appUrl = http://localhost:6111/app/dashboards#/list
[00:42:41]               │ debg TestSubjects.find(kibanaChrome)
[00:42:41]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:42:41]               │ debg ... sleep(501) start
[00:42:42]               │ debg ... sleep(501) end
[00:42:42]               │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:42:42]               │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:42:42]               │ debg ... sleep(501) start
[00:42:43]               │ debg ... sleep(501) end
[00:42:43]               │ debg in navigateTo url = http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:42:43]               │ debg isGlobalLoadingIndicatorVisible
[00:42:43]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:42:43]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:42:43]               │ debg browser[INFO] http://localhost:6111/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 339 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:42:43]               │
[00:42:43]               │ debg browser[INFO] http://localhost:6111/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:42:45]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:42:45]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:42:45]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:42:45]               │ debg TestSubjects.exists(newItemButton)
[00:42:45]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:42:48]               │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[00:42:51]               │ debg --- retry.tryForTime failed again with the same message...
[00:42:54]               │ debg --- retry.tryForTime failed again with the same message...
[00:42:57]               │ debg --- retry.tryForTime failed again with the same message...
[00:42:58]               │ debg TestSubjects.click(createDashboardPromptButton)
[00:42:58]               │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:42:58]               │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:42:58]               │ debg TestSubjects.exists(dashboardCreateConfirm)
[00:42:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardCreateConfirm"]') with timeout=2500
[00:43:00]               │ debg --- retry.tryForTime error: [data-test-subj="dashboardCreateConfirm"] is not displayed
[00:43:01]               │ debg waitForRenderComplete
[00:43:01]               │ debg in getSharedItemsCount
[00:43:01]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:43:01]               │ debg Renderable.waitForRender for 0 elements
[00:43:01]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:43:11]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:43:12]             └-> adds Lens visualization to empty dashboard
[00:43:12]               └-> "before each" hook: global before each for "adds Lens visualization to empty dashboard"
[00:43:12]               │ debg lensPage.createAndAddLensFromDashboard([object Object])
[00:43:12]               │ debg createAndAddLensDashboard Test Lens
[00:43:12]               │ debg getIsInViewMode
[00:43:12]               │ debg TestSubjects.exists(dashboardEditMode)
[00:43:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardEditMode"]') with timeout=2500
[00:43:14]               │ debg --- retry.tryForTime error: [data-test-subj="dashboardEditMode"] is not displayed
[00:43:15]               │ debg DashboardAddPanel.clickAddNewPanelButton
[00:43:15]               │ debg TestSubjects.click(dashboardAddNewPanelButton)
[00:43:15]               │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddNewPanelButton"]') with timeout=10000
[00:43:15]               │ debg Find.findByCssSelector('[data-test-subj="dashboardAddNewPanelButton"]') with timeout=10000
[00:43:15]               │ debg ... sleep(500) start
[00:43:15]               │ debg ... sleep(500) end
[00:43:15]               │ debg lensPage.goToTimeRange()
[00:43:15]               │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:43:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:43:15]               │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:43:15]               │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:43:15]               │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:43:16]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:43:16]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:43:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:43:16]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:43:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:43:16]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:43:16]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:43:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:43:16]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:43:16]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:43:16]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:16]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:43:16]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:16]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:43:16]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:43:16]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:43:17]               │ debg Find.waitForElementStale with timeout=10000
[00:43:17]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:43:17]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:43:17]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:43:17]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:43:17]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:43:17]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:17]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:17]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:43:17]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:43:17]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:17]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:43:17]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:43:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:43:20]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:43:20]               │ debg TestSubjects.click(querySubmitButton)
[00:43:20]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:43:20]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:43:20]               │ debg Find.waitForElementStale with timeout=10000
[00:43:21]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:43:21]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:43:21]               │ debg lensPage.configureDimension([object Object])
[00:43:21]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_xDimensionPanel > lns-empty-dimension)
[00:43:21]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:21]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:21]               │ debg TestSubjects.exists(lns-indexPatternDimension-date_histogram)
[00:43:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=2500
[00:43:21]               │ debg TestSubjects.click(lns-indexPatternDimension-date_histogram)
[00:43:21]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:43:21]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-date_histogram"]') with timeout=10000
[00:43:21]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:43:21]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:43:21]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:24]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:24]               │ debg comboBox.setElement, value: @timestamp
[00:43:24]               │ debg comboBox.isOptionSelected, value: @timestamp
[00:43:27]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:27]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:43:27]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:27]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:30]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:30]               │ debg lensPage.closeDimensionEditor()
[00:43:30]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerBack)
[00:43:30]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:30]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:30]               │ debg TestSubjects.missingOrFail(lns-indexPattern-dimensionContainerBack)
[00:43:30]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=2500
[00:43:31]               │ debg lensPage.configureDimension([object Object])
[00:43:31]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_yDimensionPanel > lns-empty-dimension)
[00:43:31]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:31]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:31]               │ debg TestSubjects.exists(lns-indexPatternDimension-average)
[00:43:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=2500
[00:43:31]               │ debg TestSubjects.click(lns-indexPatternDimension-average)
[00:43:31]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=10000
[00:43:31]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-average"]') with timeout=10000
[00:43:31]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:43:31]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:43:31]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:34]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:34]               │ debg comboBox.setElement, value: bytes
[00:43:34]               │ debg comboBox.isOptionSelected, value: bytes
[00:43:37]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:37]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:43:37]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:40]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:40]               │ debg lensPage.closeDimensionEditor()
[00:43:40]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerBack)
[00:43:40]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:40]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:40]               │ debg TestSubjects.missingOrFail(lns-indexPattern-dimensionContainerBack)
[00:43:40]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=2500
[00:43:41]               │ debg lensPage.configureDimension([object Object])
[00:43:41]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_splitDimensionPanel > lns-empty-dimension)
[00:43:41]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:41]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_splitDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:43:41]               │ debg TestSubjects.exists(lns-indexPatternDimension-terms)
[00:43:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=2500
[00:43:41]               │ debg TestSubjects.click(lns-indexPatternDimension-terms)
[00:43:41]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:43:41]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPatternDimension-terms"]') with timeout=10000
[00:43:41]               │ debg TestSubjects.find(indexPattern-dimension-field)
[00:43:41]               │ debg Find.findByCssSelector('[data-test-subj="indexPattern-dimension-field"]') with timeout=10000
[00:43:41]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:44]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:44]               │ debg comboBox.setElement, value: ip
[00:43:44]               │ debg comboBox.isOptionSelected, value: ip
[00:43:47]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:47]               │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="ip"]') with timeout=2500
[00:43:47]               │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:43:47]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:43:50]               │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:43:50]               │ debg lensPage.closeDimensionEditor()
[00:43:50]               │ debg TestSubjects.click(lns-indexPattern-dimensionContainerBack)
[00:43:50]               │ debg Find.clickByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:50]               │ debg Find.findByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=10000
[00:43:50]               │ debg TestSubjects.missingOrFail(lns-indexPattern-dimensionContainerBack)
[00:43:50]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lns-indexPattern-dimensionContainerBack"]') with timeout=2500
[00:43:51]               │ debg lensPage.save('Dashboard Test Lens', false, true)
[00:43:51]               │ debg isGlobalLoadingIndicatorVisible
[00:43:51]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:43:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:43:52]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:43:53]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:43:53]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:43:53]               │ debg TestSubjects.click(lnsApp_saveButton)
[00:43:53]               │ debg Find.clickByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:43:53]               │ debg Find.findByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:43:53]               │ debg TestSubjects.setValue(savedObjectTitle, Dashboard Test Lens)
[00:43:53]               │ debg TestSubjects.click(savedObjectTitle)
[00:43:53]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:43:53]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:43:53]               │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:43:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:43:56]               │ debg --- retry.tryForTime error: [data-test-subj="saveAsNewCheckbox"] is not displayed
[00:43:56]               │ debg TestSubjects.exists(add-to-dashboard-options)
[00:43:56]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="add-to-dashboard-options"]') with timeout=2500
[00:43:59]               │ debg --- retry.tryForTime error: [data-test-subj="add-to-dashboard-options"] is not displayed
[00:43:59]               │ debg TestSubjects.exists(add-to-library-checkbox)
[00:43:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="add-to-library-checkbox"]') with timeout=2500
[00:44:02]               │ debg --- retry.tryForTime error: [data-test-subj="add-to-library-checkbox"] is not displayed
[00:44:02]               │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:44:02]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:44:02]               │ debg redirect to origin checkbox exists. Setting its state to check
[00:44:02]               │ debg TestSubjects.find(returnToOriginModeSwitch)
[00:44:02]               │ debg Find.findByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=10000
[00:44:02]               │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:44:02]               │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:44:02]               │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:44:03]               │ debg Waiting up to 1000ms for Save modal to disappear...
[00:44:03]               │ debg TestSubjects.missingOrFail(confirmSaveSavedObjectButton)
[00:44:03]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=2500
[00:44:04]               │ debg waitForRenderComplete
[00:44:04]               │ debg in getSharedItemsCount
[00:44:04]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:44:04]               │ debg Renderable.waitForRender for 1 elements
[00:44:04]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:44:04]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:44:05]               │ debg TestSubjects.exists(embeddablePanelHeading-Dashboard Test Lens)
[00:44:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelHeading-Dashboard Test Lens"]') with timeout=2500
[00:44:08]               │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelHeading-Dashboard Test Lens"] is not displayed
[00:44:08]               └- ✓ pass  (56.6s) "dashboard mode empty dashboard adds Lens visualization to empty dashboard"
[00:44:08]             └-> redirects via save and return button after edit
[00:44:08]               └-> "before each" hook: global before each for "redirects via save and return button after edit"
[00:44:08]               │ debg openContextMenu(undefined
[00:44:08]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:44:11]               │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelContextMenuOpen"] is not displayed
[00:44:11]               │ debg toggleContextMenu
[00:44:11]               │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:44:11]               │ debg TestSubjects.find(dashboardPanelTitle)
[00:44:11]               │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:44:12]               │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:44:12]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:44:12]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:44:12]               │ debg clickEdit
[00:44:12]               │ debg openContextMenu(undefined
[00:44:12]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:44:12]               │ debg TestSubjects.exists(embeddablePanelAction-editPanel)
[00:44:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=2500
[00:44:12]               │ debg TestSubjects.clickWhenNotDisabled(embeddablePanelAction-editPanel)
[00:44:12]               │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=10000
[00:44:12]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=10000
[00:44:12]               │ debg isGlobalLoadingIndicatorVisible
[00:44:12]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:44:12]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:44:14]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:44:14]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:44:14]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:44:15]               │ debg TestSubjects.exists(top-nav)
[00:44:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="top-nav"]') with timeout=2500
[00:44:15]               │ debg lensPage.saveAndReturn()
[00:44:15]               │ debg TestSubjects.click(lnsApp_saveAndReturnButton)
[00:44:15]               │ debg Find.clickByCssSelector('[data-test-subj="lnsApp_saveAndReturnButton"]') with timeout=10000
[00:44:15]               │ debg Find.findByCssSelector('[data-test-subj="lnsApp_saveAndReturnButton"]') with timeout=10000
[00:44:15]               └- ✓ pass  (6.5s) "dashboard mode empty dashboard redirects via save and return button after edit"
[00:44:15]             └-> redirects via save as button after edit, renaming itself
[00:44:15]               └-> "before each" hook: global before each for "redirects via save as button after edit, renaming itself"
[00:44:15]               │ debg getPanelCount
[00:44:15]               │ debg TestSubjects.findAll(embeddablePanel)
[00:44:15]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=10000
[00:44:16]               │ debg waitForRenderComplete
[00:44:16]               │ debg in getSharedItemsCount
[00:44:16]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:44:16]               │ debg Renderable.waitForRender for 1 elements
[00:44:16]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:44:16]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:44:17]               │ debg openContextMenu(undefined
[00:44:17]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:17]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:44:19]               │ debg --- retry.tryForTime error: [data-test-subj="embeddablePanelContextMenuOpen"] is not displayed
[00:44:20]               │ debg toggleContextMenu
[00:44:20]               │ debg TestSubjects.moveMouseTo(dashboardPanelTitle)
[00:44:20]               │ debg TestSubjects.find(dashboardPanelTitle)
[00:44:20]               │ debg Find.findByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:44:20]               │ debg TestSubjects.find(embeddablePanelToggleMenuIcon)
[00:44:20]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:44:20]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=120000
[00:44:20]               │ debg clickEdit
[00:44:20]               │ debg openContextMenu(undefined
[00:44:20]               │ debg TestSubjects.exists(embeddablePanelContextMenuOpen)
[00:44:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelContextMenuOpen"]') with timeout=2500
[00:44:20]               │ debg TestSubjects.exists(embeddablePanelAction-editPanel)
[00:44:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=2500
[00:44:20]               │ debg TestSubjects.clickWhenNotDisabled(embeddablePanelAction-editPanel)
[00:44:20]               │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=10000
[00:44:20]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-editPanel"]') with timeout=10000
[00:44:21]               │ debg isGlobalLoadingIndicatorVisible
[00:44:21]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:44:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:44:22]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:44:23]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:44:23]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:44:23]               │ debg TestSubjects.exists(top-nav)
[00:44:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="top-nav"]') with timeout=2500
[00:44:23]               │ debg lensPage.save('wowee, looks like I have a new title', false, true)
[00:44:23]               │ debg isGlobalLoadingIndicatorVisible
[00:44:23]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:44:23]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:44:24]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:44:25]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:44:25]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:44:25]               │ debg TestSubjects.click(lnsApp_saveButton)
[00:44:25]               │ debg Find.clickByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:44:25]               │ debg Find.findByCssSelector('[data-test-subj="lnsApp_saveButton"]') with timeout=10000
[00:44:25]               │ debg TestSubjects.setValue(savedObjectTitle, wowee, looks like I have a new title)
[00:44:25]               │ debg TestSubjects.click(savedObjectTitle)
[00:44:25]               │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:44:25]               │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:44:25]               │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:44:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:44:25]               │ debg save as new checkbox exists. Setting its state to uncheck
[00:44:25]               │ debg TestSubjects.find(saveAsNewCheckbox)
[00:44:25]               │ debg Find.findByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=10000
[00:44:25]               │ debg updating checkbox saveAsNewCheckbox from true to false
[00:44:25]               │ debg TestSubjects.click(saveAsNewCheckbox)
[00:44:25]               │ debg Find.clickByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=10000
[00:44:25]               │ debg Find.findByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=10000
[00:44:25]               │ debg TestSubjects.exists(add-to-dashboard-options)
[00:44:25]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="add-to-dashboard-options"]') with timeout=2500
[00:44:28]               │ debg --- retry.tryForTime error: [data-test-subj="add-to-dashboard-options"] is not displayed
[00:44:28]               │ debg TestSubjects.exists(add-to-library-checkbox)
[00:44:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="add-to-library-checkbox"]') with timeout=2500
[00:44:31]               │ debg --- retry.tryForTime error: [data-test-subj="add-to-library-checkbox"] is not displayed
[00:44:31]               │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:44:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:44:31]               │ debg redirect to origin checkbox exists. Setting its state to check
[00:44:31]               │ debg TestSubjects.find(returnToOriginModeSwitch)
[00:44:31]               │ debg Find.findByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=10000
[00:44:31]               │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:44:31]               │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:44:31]               │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:44:31]               │ debg Waiting up to 1000ms for Save modal to disappear...
[00:44:31]               │ debg TestSubjects.missingOrFail(confirmSaveSavedObjectButton)
[00:44:31]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=2500
[00:44:32]               │ debg waitForRenderComplete
[00:44:32]               │ debg in getSharedItemsCount
[00:44:32]               │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:44:32]               │ debg Renderable.waitForRender for 1 elements
[00:44:32]               │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:44:32]               │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:44:33]               │ debg getPanelCount
[00:44:33]               │ debg TestSubjects.findAll(embeddablePanel)
[00:44:33]               │ debg Find.allByCssSelector('[data-test-subj="embeddablePanel"]') with timeout=10000
[00:44:33]               │ debg in getPanelTitles
[00:44:33]               │ debg TestSubjects.findAll(dashboardPanelTitle)
[00:44:33]               │ debg Find.allByCssSelector('[data-test-subj="dashboardPanelTitle"]') with timeout=10000
[00:44:34]               │ info Taking screenshot "/dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/screenshots/failure/dashboard mode empty dashboard redirects via save as button after edit_ renaming itself.png"
[00:44:34]               │ info Current URL is: http://localhost:6111/app/dashboards#/create?_g=(filters:!(),query:(language:kuery,query:%27%27),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:44:34]               │ info Saving page source to: /dev/shm/workspace/parallel/1/kibana/x-pack/test/functional/failure_debug/html/dashboard mode empty dashboard redirects via save as button after edit_ renaming itself.html
[00:44:34]               └- ✖ fail: dashboard mode empty dashboard redirects via save as button after edit, renaming itself
[00:44:34]               │      Error: expected -1 to not equal -1
[00:44:34]               │       at Assertion.assert (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:44:34]               │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:44:34]               │       at Assertion.be (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:44:34]               │       at Context.<anonymous> (test/functional/apps/dashboard_mode/dashboard_empty_screen.js:53:47)
[00:44:34]               │       at runMicrotasks (<anonymous>)
[00:44:34]               │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:44:34]               │       at Object.apply (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:44:34]               │ 
[00:44:34]               │ 

Stack Trace

Error: expected -1 to not equal -1
    at Assertion.assert (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/dashboard_mode/dashboard_empty_screen.js:53:47)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/1/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73: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
apm 4.3MB 4.3MB +686.0B

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

cc @cauemarcondes

@kibanamachine kibanamachine merged commit 27e6a12 into elastic:7.x Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants