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

Rule registry bundle size #97251

Merged
merged 1 commit into from
Apr 18, 2021

Conversation

dgieselaar
Copy link
Member

Closes #97128.

@dgieselaar dgieselaar force-pushed the rule-registry-bundle-size branch from c2efc31 to c14e9b2 Compare April 18, 2021 10:01
@dgieselaar dgieselaar marked this pull request as ready for review April 18, 2021 10:28
@dgieselaar dgieselaar requested a review from a team as a code owner April 18, 2021 10:28
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/sync_colors·ts.dashboard sync colors should sync colors on dashboard by default

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard
[00:00:00]           └-> "before all" hook in "dashboard"
[00:19:50]           └-: sync colors
[00:19:50]             └-> "before all" hook for "should sync colors on dashboard by default"
[00:19:50]             └-> "before all" hook for "should sync colors on dashboard by default"
[00:19:50]               │ info [logstash_functional] Loading "mappings.json"
[00:19:50]               │ info [logstash_functional] Loading "data.json.gz"
[00:19:50]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:19:50]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:19:50]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:19:51]               │ info [lens/basic] Loading "mappings.json"
[00:19:51]               │ info [lens/basic] Loading "data.json"
[00:19:51]               │ info [lens/basic] Loading "data.json.gz"
[00:19:51]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001/PFgBzZ0fSDqol6OfMOkQ5w] deleting index
[00:19:51]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_pre6.5.0_001/Lo1HDrKpRXG6VeQlN0-CPQ] deleting index
[00:19:51]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_task_manager_8.0.0_001/SBlEW12IQayT9RjYR7a5GA] deleting index
[00:19:52]               │ info [lens/basic] Deleted existing index ".kibana_8.0.0_001"
[00:19:52]               │ info [lens/basic] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:19:52]               │ info [lens/basic] Deleted existing index ".kibana_pre6.5.0_001"
[00:19:52]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:19:52]               │ info [lens/basic] Created index ".kibana_1"
[00:19:52]               │ debg [lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:19:52]               │ info [lens/basic] Indexed 24 docs into ".kibana_1"
[00:19:52]               │ debg Migrating saved objects
[00:19:52]               │ proc [kibana]   log   [11:07:26.454] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 10ms.
[00:19:52]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:19:52]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:19:52]               │ proc [kibana]   log   [11:07:26.467] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 25ms.
[00:19:52]               │ proc [kibana]   log   [11:07:26.480] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 13ms.
[00:19:52]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] adding block write to indices [[.kibana_1/TlXvbSGvQWKLQnBKSgNRqQ]]
[00:19:52]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] completed adding block write to indices [.kibana_1]
[00:19:52]               │ proc [kibana]   log   [11:07:26.532] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 78ms.
[00:19:52]               │ proc [kibana]   log   [11:07:26.549] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 69ms.
[00:19:52]               │ proc [kibana]   log   [11:07:26.561] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 29ms.
[00:19:52]               │ proc [kibana]   log   [11:07:26.562] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 118ms
[00:19:52]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:19:52]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:19:52]               │ proc [kibana]   log   [11:07:26.620] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP. took: 71ms.
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_reindex_temp/InSfdUI5S0OlXTjn0vpdiQ] update_mapping [_doc]
[00:19:52]               │ proc [kibana]   log   [11:07:26.633] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK. took: 13ms.
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_reindex_temp/InSfdUI5S0OlXTjn0vpdiQ] update_mapping [_doc]
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_reindex_temp/InSfdUI5S0OlXTjn0vpdiQ] update_mapping [_doc]
[00:19:52]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] 30617 finished with response BulkByScrollResponse[took=101.4ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:19:52]               │ proc [kibana]   log   [11:07:26.747] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK. took: 114ms.
[00:19:52]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] adding block write to indices [[.kibana_8.0.0_reindex_temp/InSfdUI5S0OlXTjn0vpdiQ]]
[00:19:52]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:19:52]               │ proc [kibana]   log   [11:07:26.798] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 51ms.
[00:19:52]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:19:52]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:19:52]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001/rSZVi7sSStmDt6Cr8IJ6bA] create_mapping
[00:19:52]               │ proc [kibana]   log   [11:07:26.905] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 107ms.
[00:19:52]               │ proc [kibana]   log   [11:07:26.919] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM. took: 14ms.
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001/rSZVi7sSStmDt6Cr8IJ6bA] update_mapping [_doc]
[00:19:52]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001/rSZVi7sSStmDt6Cr8IJ6bA] update_mapping [_doc]
[00:19:53]               │ proc [kibana]   log   [11:07:27.848] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH. took: 929ms.
[00:19:53]               │ proc [kibana]   log   [11:07:27.860] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 12ms.
[00:19:53]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_001/rSZVi7sSStmDt6Cr8IJ6bA] update_mapping [_doc]
[00:19:53]               │ proc [kibana]   log   [11:07:27.928] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 68ms.
[00:19:53]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] 30733 finished with response BulkByScrollResponse[took=30.5ms,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:19:53]               │ proc [kibana]   log   [11:07:28.039] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 111ms.
[00:19:53]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1618740114295101591] [.kibana_8.0.0_reindex_temp/InSfdUI5S0OlXTjn0vpdiQ] deleting index
[00:19:53]               │ proc [kibana]   log   [11:07:28.084] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 45ms.
[00:19:53]               │ proc [kibana]   log   [11:07:28.084] [info][savedobjects-service] [.kibana] Migration completed after 1642ms
[00:19:53]               │ debg [lens/basic] Migrated Kibana index after loading Kibana data
[00:19:53]               │ debg [lens/basic] Ensured that default space exists in .kibana
[00:19:53]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:19:55]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:19:56]             └-> should sync colors on dashboard by default
[00:19:56]               └-> "before each" hook: global before each for "should sync colors on dashboard by default"
[00:19:56]               │ debg navigating to dashboard url: http://localhost:61221/app/dashboards#/list
[00:19:56]               │ debg navigate to: http://localhost:61221/app/dashboards#/list
[00:19:56]               │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1618744050879#/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:19:56]               │
[00:19:56]               │ debg browser[INFO] http://localhost:61221/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:56]               │ debg ... sleep(700) start
[00:19:57]               │ debg ... sleep(700) end
[00:19:57]               │ debg returned from get, calling refresh
[00:19:57]               │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1618744050879#/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:19:57]               │
[00:19:57]               │ debg browser[INFO] http://localhost:61221/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:19:57]               │ debg currentUrl = http://localhost:61221/app/dashboards#/list
[00:19:57]               │          appUrl = http://localhost:61221/app/dashboards#/list
[00:19:57]               │ debg TestSubjects.find(kibanaChrome)
[00:19:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:19:59]               │ debg ... sleep(501) start
[00:20:00]               │ debg ... sleep(501) end
[00:20:00]               │ debg in navigateTo url = http://localhost:61221/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:20:00]               │ debg TestSubjects.exists(statusPageContainer)
[00:20:00]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:20:02]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:20:03]               │ debg TestSubjects.click(createDashboardPromptButton)
[00:20:03]               │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:20:03]               │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:20:03]               │ debg DashboardAddPanel.clickAddNewPanelButton
[00:20:03]               │ debg TestSubjects.click(dashboardAddNewPanelButton)
[00:20:03]               │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddNewPanelButton"]') with timeout=10000
[00:20:03]               │ debg Find.findByCssSelector('[data-test-subj="dashboardAddNewPanelButton"]') with timeout=10000
[00:20:03]               │ debg ... sleep(500) start
[00:20:04]               │ debg ... sleep(500) end
[00:20:04]               │ debg isGlobalLoadingIndicatorVisible
[00:20:04]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:20:04]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:20:05]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:20:06]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:06]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:06]               │ debg lensPage.goToTimeRange()
[00:20:06]               │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:20:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:20:08]               │ debg --- retry.tryForTime error: [data-test-subj="noDataPopoverDismissButton"] is not displayed
[00:20:09]               │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:20:09]               │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:20:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:20:09]               │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:20:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:20:09]               │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:20:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:20:09]               │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:20:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:20:09]               │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:20:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:20:09]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:20:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:20:09]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:20:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:09]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:20:09]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:20:09]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:09]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:10]               │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:20:10]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:20:10]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:20:10]               │ debg Find.waitForElementStale with timeout=10000
[00:20:10]               │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:20:10]               │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:20:10]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:20:10]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:20:10]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:20:10]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:10]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:10]               │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:20:10]               │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:20:10]               │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:10]               │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:20:11]               │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:20:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:20:13]               │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:20:14]               │ debg TestSubjects.click(querySubmitButton)
[00:20:14]               │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:20:14]               │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:20:14]               │ debg Find.waitForElementStale with timeout=10000
[00:20:14]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:20:14]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:20:14]               │ debg lensPage.configureDimension([object Object])
[00:20:14]               │ debg TestSubjects.click(lns-layerPanel-0 > lnsXY_yDimensionPanel > lns-empty-dimension)
[00:20:14]               │ debg Find.clickByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:20:14]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:20:24]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:20:24]               │      Wait timed out after 10055ms
[00:20:25]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:20:35]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:20:35]               │      Wait timed out after 10036ms
[00:20:35]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:20:45]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:20:45]               │      Wait timed out after 10031ms
[00:20:46]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:20:56]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:20:56]               │      Wait timed out after 10056ms
[00:20:56]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:06]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:06]               │      Wait timed out after 10030ms
[00:21:07]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:17]               │      Wait timed out after 10029ms
[00:21:17]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:28]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:28]               │      Wait timed out after 10020ms
[00:21:28]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:38]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:38]               │      Wait timed out after 10026ms
[00:21:39]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:49]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:49]               │      Wait timed out after 10004ms
[00:21:49]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:21:59]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:21:59]               │      Wait timed out after 10031ms
[00:22:00]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:10]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:22:10]               │      Wait timed out after 10012ms
[00:22:10]               │ debg Find.findByCssSelector('[data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"]') with timeout=10000
[00:22:20]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:22:20]               │      Wait timed out after 10028ms
[00:22:21]               │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:22:21]               │      Wait timed out after 10028ms
[00:22:21]               │          at /dev/shm/workspace/parallel/22/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:22:21]               │          at runMicrotasks (<anonymous>)
[00:22:21]               │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:22:21]               │ info Taking screenshot "/dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/screenshots/failure/dashboard sync colors should sync colors on dashboard by default.png"
[00:22:21]               │ info Current URL is: http://localhost:61221/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!f,title:%27%27,viewMode:edit)
[00:22:21]               │ info Saving page source to: /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/failure_debug/html/dashboard sync colors should sync colors on dashboard by default.html
[00:22:21]               └- ✖ fail: dashboard sync colors should sync colors on dashboard by default
[00:22:21]               │      retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:22:21]               │ Wait timed out after 10028ms
[00:22:21]               │     at /dev/shm/workspace/parallel/22/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:22:21]               │     at runMicrotasks (<anonymous>)
[00:22:21]               │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:22:21]               │     at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:22:21]               │     at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:22:21]               │     at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
[00:22:21]               │     at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:420:7)
[00:22:21]               │     at TestSubjects.click (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:109:7)
[00:22:21]               │     at /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/page_objects/lens_page.ts:114:9
[00:22:21]               │     at runAttempt (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:22:21]               │     at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:22:21]               │     at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
[00:22:21]               │     at Object.configureDimension (/dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/page_objects/lens_page.ts:113:7)
[00:22:21]               │     at Context.<anonymous> (/dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/apps/dashboard/sync_colors.ts:55:7)
[00:22:21]               │     at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:22:21]               │   Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
[00:22:21]               │   Wait timed out after 10028ms
[00:22:21]               │       at /dev/shm/workspace/parallel/22/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:22:21]               │       at runMicrotasks (<anonymous>)
[00:22:21]               │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:22:21]               │       at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:22:21]               │       at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:22:21]               │       at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
[00:22:21]               │       at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:420:7)
[00:22:21]               │       at TestSubjects.click (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:109:7)
[00:22:21]               │       at /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/page_objects/lens_page.ts:114:9
[00:22:21]               │       at runAttempt (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:22:21]               │       at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:22:21]               │       at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
[00:22:21]               │       at Object.configureDimension (test/functional/page_objects/lens_page.ts:113:7)
[00:22:21]               │       at Context.<anonymous> (test/functional/apps/dashboard/sync_colors.ts:55:7)
[00:22:21]               │       at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:22:21]               │       at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:22:21]               │       at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:22:21]               │       at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
[00:22:21]               │       at Object.configureDimension (test/functional/page_objects/lens_page.ts:113:7)
[00:22:21]               │       at Context.<anonymous> (test/functional/apps/dashboard/sync_colors.ts:55:7)
[00:22:21]               │       at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:22:21]               │ 
[00:22:21]               │ 

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="lns-layerPanel-0"] [data-test-subj="lnsXY_yDimensionPanel"] [data-test-subj="lns-empty-dimension"])
Wait timed out after 10028ms
    at /dev/shm/workspace/parallel/22/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/find.ts:420:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/22/kibana/test/functional/services/common/test_subjects.ts:109:7)
    at /dev/shm/workspace/parallel/22/kibana/x-pack/test/functional/page_objects/lens_page.ts:114:9
    at runAttempt (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
    at Object.configureDimension (test/functional/page_objects/lens_page.ts:113:7)
    at Context.<anonymous> (test/functional/apps/dashboard/sync_colors.ts:55:7)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/22/kibana/test/common/services/retry/retry.ts:32:14)
    at Object.configureDimension (test/functional/page_objects/lens_page.ts:113:7)
    at Context.<anonymous> (test/functional/apps/dashboard/sync_colors.ts:55:7)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1574 1575 +1
ruleRegistry 17 5 -12
total -11

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.1MB 4.2MB +51.1KB
observability 447.2KB 447.6KB +416.0B
total +51.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
apm 53.5KB 29.4KB -24.1KB
observability 39.0KB 38.5KB -524.0B
ruleRegistry 90.8KB 3.4KB -87.4KB
total -112.0KB

History

  • 💔 Build #119979 failed c2efc3166a07e77562796da4be66eba969c0a945

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

Copy link
Contributor

@smith smith left a comment

Choose a reason for hiding this comment

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

tenor-56605734

@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Apr 18, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@dgieselaar dgieselaar added v7.13.0 release_note:skip Skip the PR/issue when compiling release notes labels Apr 18, 2021
@dgieselaar dgieselaar merged commit fed17c2 into elastic:master Apr 18, 2021
@dgieselaar dgieselaar deleted the rule-registry-bundle-size branch April 18, 2021 14:40
dgieselaar added a commit to dgieselaar/kibana that referenced this pull request Apr 18, 2021
dgieselaar added a commit that referenced this pull request Apr 18, 2021
jloleysens added a commit to jloleysens/kibana that referenced this pull request Apr 19, 2021
…te-legacy-es-client

* 'master' of github.com:elastic/kibana: (102 commits)
  [Exploratory view] integerate page views to exploratory view (elastic#97258)
  Fix typo in license_api_guard README name and import http server mocks from public interface (elastic#97334)
  Avoid mutating KQL query when validating it (elastic#97081)
  Add description as title on tag badge (elastic#97109)
  Remove legacy ES client usages in `home` and `xpack_legacy` (elastic#97359)
  [Fleet] Finer-grained error information from install/upgrade API (elastic#95649)
  Rule registry bundle size (elastic#97251)
  [Partial Results] Move other bucket into Search Source (elastic#96384)
  [Dashboard] Makes lens default editor for creating new panels (elastic#96181)
  skip flaky suite (elastic#97387)
  [Asset Management] Agent picker follow up (elastic#97357)
  skip flaky suite (elastic#97382)
  [Security Solutions] Fixes flake with cypress tests (elastic#97329)
  skip flaky suite (elastic#97355)
  Skip test to try and stabilize master
  minimize number of so fild asserted in tests. it creates flakines when implementation details change (elastic#97374)
  [Search Sessions] Client side search cache (elastic#92439)
  [SavedObjects] Add aggregations support (elastic#96292)
  [Reporting] Remove legacy elasticsearch client usage from the reporting plugin (elastic#97184)
  [kbnClient] fix basePath handling and export reponse type (elastic#97277)
  ...

# Conflicts:
#	x-pack/plugins/watcher/server/lib/license_pre_routing_factory/license_pre_routing_factory.ts
#	x-pack/plugins/watcher/server/plugin.ts
#	x-pack/plugins/watcher/server/routes/api/indices/register_get_route.ts
#	x-pack/plugins/watcher/server/routes/api/license/register_refresh_route.ts
#	x-pack/plugins/watcher/server/routes/api/register_list_fields_route.ts
#	x-pack/plugins/watcher/server/routes/api/register_load_history_route.ts
#	x-pack/plugins/watcher/server/routes/api/settings/register_load_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_activate_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_deactivate_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_execute_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_history_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_load_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_save_route.ts
#	x-pack/plugins/watcher/server/routes/api/watch/register_visualize_route.ts
#	x-pack/plugins/watcher/server/routes/api/watches/register_delete_route.ts
#	x-pack/plugins/watcher/server/routes/api/watches/register_list_route.ts
#	x-pack/plugins/watcher/server/shared_imports.ts
#	x-pack/plugins/watcher/server/types.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RAC] Minimize impact on page load bundle of rule registry
4 participants