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

[Observability] Lazy load shared components #88802

Merged

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Jan 20, 2021

Summary

Few weeks back, we added core vitals to observability shared plugin. It ended up increasing plugin bundle size.

This PR makes sure corevitals and header portal component from obsv shared dir are lazy loaded whenever they are used by other plugins.

This improves bundle size
image

@shahzad31 shahzad31 added release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v8.0.0 labels Jan 21, 2021
@shahzad31 shahzad31 marked this pull request as ready for review January 21, 2021 09:08
@shahzad31 shahzad31 requested a review from a team as a code owner January 21, 2021 09:08
@shahzad31 shahzad31 changed the title lazy load components [Observability] Lazy load shared components Jan 21, 2021
@shahzad31 shahzad31 requested a review from smith January 21, 2021 09:09
@shahzad31
Copy link
Contributor Author

@elasticmachine merge upstream

@botelastic botelastic bot added Team:APM All issues that need APM UI Team support Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Jan 25, 2021
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome UI Functional Tests.test/functional/apps/visualize/legacy/_data_table·ts.visualize with legacy visualizations legacy data table visualization legacy data table visualization "before all" hook for "should show percentage columns"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: visualize with legacy visualizations
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize legacy before method
[00:00:00]             │ info [logstash_functional] Loading "mappings.json"
[00:00:00]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]             │ info progress: 10223
[00:00:12]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:12]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:12]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:13]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:13]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:13]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:00:13]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:13]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:23]             │ info progress: 11137
[00:00:25]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:25]             │ info [visualize] Loading "mappings.json"
[00:00:25]             │ info [visualize] Loading "data.json"
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_1/KmdG8vAySymo-Dx1y-98xg] deleting index
[00:00:25]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:26]             │ info [visualize] Created index ".kibana"
[00:00:26]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana/bsyiHiR9Tc-W4e-8UHqrOA] update_mapping [_doc]
[00:00:26]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana/bsyiHiR9Tc-W4e-8UHqrOA] update_mapping [_doc]
[00:00:26]             │ debg Migrating saved objects
[00:00:26]             │ proc [kibana]   log   [10:31:53.871] [info][savedobjects-service] Creating index .kibana_2.
[00:00:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:26]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:26]             │ proc [kibana]   log   [10:31:53.937] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:26]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:26]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:26]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] updating number_of_replicas to [0] for indices [.tasks]
[00:00:26]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] 1507 finished with response BulkByScrollResponse[took=71.1ms,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:00:26]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana/bsyiHiR9Tc-W4e-8UHqrOA] deleting index
[00:00:26]             │ proc [kibana]   log   [10:31:54.321] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:26]             │ proc [kibana]   log   [10:31:54.340] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_2/CXx_-LiUQQKLiNPZhdyxtA] update_mapping [_doc]
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_2/CXx_-LiUQQKLiNPZhdyxtA] update_mapping [_doc]
[00:00:26]             │ proc [kibana]   log   [10:31:54.431] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:26]             │ proc [kibana]   log   [10:31:54.472] [info][savedobjects-service] Finished in 604ms.
[00:00:26]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611567819470670068] [.kibana_2/CXx_-LiUQQKLiNPZhdyxtA] update_mapping [_doc]
[00:00:28]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:29]           └-: legacy data table visualization
[00:00:29]             └-> "before all" hook
[00:00:29]             └-: legacy data table visualization
[00:00:29]               └-> "before all" hook
[00:00:29]               └-> "before all" hook
[00:00:29]                 │ debg navigateToApp visualize
[00:00:29]                 │ debg navigating to visualize url: http://localhost:61101/app/visualize#/
[00:00:29]                 │ debg navigate to: http://localhost:61101/app/visualize#/
[00:00:29]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570716965#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:29]                 │
[00:00:29]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]                 │ debg ... sleep(700) start
[00:00:30]                 │ debg ... sleep(700) end
[00:00:30]                 │ debg returned from get, calling refresh
[00:00:31]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:31]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:00:31]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:00:31]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:00:31]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:00:31]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:00:31]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:00:31]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:00:31]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:00:31]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:00:31]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570716965#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:31]                 │
[00:00:31]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]                 │ debg currentUrl = http://localhost:61101/app/visualize#/
[00:00:31]                 │          appUrl = http://localhost:61101/app/visualize#/
[00:00:31]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:31]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:31]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:31]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:00:31]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:00:31]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:00:31]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:00:31]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:00:31]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:00:31]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:00:31]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:00:31]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:00:31]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:31]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:31]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:31]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:00:31]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:00:31]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:01:31]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:31]                 │      Wait timed out after 60061ms
[00:01:31]                 │ debg navigate to: http://localhost:61101/app/visualize#/
[00:01:31]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570779468#/ 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:01:31]                 │
[00:01:31]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:31]                 │ debg ... sleep(700) start
[00:01:32]                 │ debg ... sleep(700) end
[00:01:32]                 │ debg returned from get, calling refresh
[00:01:32]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:32]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:01:32]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:01:32]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:01:32]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:01:32]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:01:32]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:01:32]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:01:32]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:01:32]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:01:32]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:32]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:32]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:32]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:01:32]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:32]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:01:32]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570779468#/ 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:01:32]                 │
[00:01:32]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:32]                 │ debg currentUrl = http://localhost:61101/app/visualize#/
[00:01:32]                 │          appUrl = http://localhost:61101/app/visualize#/
[00:01:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:33]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:33]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:01:33]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:01:33]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:01:33]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:01:33]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:01:33]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:01:33]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:01:33]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:01:33]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:01:33]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:33]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:33]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:33]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:01:33]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:33]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:32]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:32]                 │      Wait timed out after 60200ms
[00:02:33]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:33]                 │      Wait timed out after 60200ms
[00:02:33]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:33]                 │          at runMicrotasks (<anonymous>)
[00:02:33]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:34]                 │ debg navigate to: http://localhost:61101/app/visualize#/
[00:02:34]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570841712#/ 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:02:34]                 │
[00:02:34]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:34]                 │ debg ... sleep(700) start
[00:02:34]                 │ debg ... sleep(700) end
[00:02:34]                 │ debg returned from get, calling refresh
[00:02:35]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:35]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:02:35]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:02:35]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:02:35]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:02:35]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:02:35]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:02:35]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:02:35]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:02:35]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:35]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:35]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:02:35]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:35]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570841712#/ 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:02:35]                 │
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:35]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:02:35]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:02:35]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:02:35]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:02:35]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:02:35]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:02:35]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:02:35]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:02:35]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:02:35]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:02:35]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:02:35]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:02:35]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:02:35]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:02:35]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:35]                 │ debg currentUrl = http://localhost:61101/app/visualize#/
[00:02:35]                 │          appUrl = http://localhost:61101/app/visualize#/
[00:02:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:02:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:35]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:03:35]                 │      Wait timed out after 60094ms
[00:03:35]                 │ debg navigate to: http://localhost:61101/app/visualize#/
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570903648#/ 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:03:36]                 │
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:36]                 │ debg ... sleep(700) start
[00:03:36]                 │ debg ... sleep(700) end
[00:03:36]                 │ debg returned from get, calling refresh
[00:03:36]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:36]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:03:36]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:03:36]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:03:36]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:03:36]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:03:36]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:03:36]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:03:36]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:03:36]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:36]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:36]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:03:36]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:36]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/app/visualize?_t=1611570903648#/ 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:03:36]                 │
[00:03:36]                 │ debg browser[INFO] http://localhost:61101/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:36]                 │ debg currentUrl = http://localhost:61101/app/visualize#/
[00:03:36]                 │          appUrl = http://localhost:61101/app/visualize#/
[00:03:36]                 │ debg TestSubjects.find(kibanaChrome)
[00:03:36]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:03:37]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:194220 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:03:37]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:58756)
[00:03:37]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61101/39799/bundles/plugin/uiActions/uiActions.plugin.js:1:59571)
[00:03:37]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61101/39799/bundles/plugin/data/data.plugin.js:8:234181)
[00:03:37]                 │          at _callee$ (http://localhost:61101/39799/bundles/core/core.entry.js:13:251140)
[00:03:37]                 │          at l (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968491)
[00:03:37]                 │          at Generator._invoke (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968244)
[00:03:37]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:968848)
[00:03:37]                 │          at plugin_asyncGeneratorStep (http://localhost:61101/39799/bundles/core/core.entry.js:13:249244)
[00:03:37]                 │          at _next (http://localhost:61101/39799/bundles/core/core.entry.js:13:249561)
[00:03:37]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:89301 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:03:37]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:03:37]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:03:37]                 │ debg browser[INFO] http://localhost:61101/39799/bundles/core/core.entry.js 12:195167 "Detected an unhandled Promise rejection.
[00:03:37]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:03:37]                 │ERROR browser[SEVERE] http://localhost:61101/39799/bundles/core/core.entry.js 12:351141 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:04:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:37]                 │      Wait timed out after 60192ms
[00:04:37]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:37]                 │      Wait timed out after 60192ms
[00:04:37]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:37]                 │          at runMicrotasks (<anonymous>)
[00:04:37]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:38]                 │ info Taking screenshot "/dev/shm/workspace/parallel/10/kibana/test/functional/screenshots/failure/visualize with legacy visualizations legacy data table visualization legacy data table visualization _before all_ hook.png"
[00:04:38]                 │ info Current URL is: http://localhost:61101/app/visualize#/
[00:04:38]                 │ info Saving page source to: /dev/shm/workspace/parallel/10/kibana/test/functional/failure_debug/html/visualize with legacy visualizations legacy data table visualization legacy data table visualization _before all_ hook.html
[00:04:38]                 └- ✖ fail: visualize with legacy visualizations legacy data table visualization legacy data table visualization "before all" hook for "should show percentage columns"
[00:04:38]                 │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:38]                 │ Wait timed out after 60192ms
[00:04:38]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:38]                 │     at runMicrotasks (<anonymous>)
[00:04:38]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:38]                 │     at onFailure (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:38]                 │     at retryForSuccess (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:38]                 │     at Retry.try (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry.ts:32:14)
[00:04:38]                 │     at /dev/shm/workspace/parallel/10/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:38]                 │     at runAttempt (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:04:38]                 │     at retryForSuccess (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:04:38]                 │     at Retry.tryForTime (/dev/shm/workspace/parallel/10/kibana/test/common/services/retry/retry.ts:23:14)
[00:04:38]                 │     at CommonPage.navigateToApp (/dev/shm/workspace/parallel/10/kibana/test/functional/page_objects/common_page.ts:226:7)
[00:04:38]                 │     at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/10/kibana/test/functional/page_objects/visualize_page.ts:126:7)
[00:04:38]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/10/kibana/test/functional/apps/visualize/legacy/_data_table.ts:26:7)
[00:04:38]                 │     at Object.apply (/dev/shm/workspace/parallel/10/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:38]                 │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:04:38]                 │   Wait timed out after 60192ms
[00:04:38]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:38]                 │       at runMicrotasks (<anonymous>)
[00:04:38]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:04:38]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:38]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:38]                 │       at Retry.try (test/common/services/retry/retry.ts:32:14)
[00:04:38]                 │       at /dev/shm/workspace/parallel/10/kibana/test/functional/page_objects/common_page.ts:227:23
[00:04:38]                 │       at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
[00:04:38]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
[00:04:38]                 │       at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
[00:04:38]                 │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
[00:04:38]                 │       at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:126:7)
[00:04:38]                 │       at Context.<anonymous> (test/functional/apps/visualize/legacy/_data_table.ts:26:7)
[00:04:38]                 │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:38]                 │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:04:38]                 │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:04:38]                 │       at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
[00:04:38]                 │       at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
[00:04:38]                 │       at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:126:7)
[00:04:38]                 │       at Context.<anonymous> (test/functional/apps/visualize/legacy/_data_table.ts:26:7)
[00:04:38]                 │       at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:04:38]                 │ 
[00:04:38]                 │ 

Stack Trace

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 60192ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (test/common/services/retry/retry.ts:32:14)
    at /dev/shm/workspace/parallel/10/kibana/test/functional/page_objects/common_page.ts:227:23
    at runAttempt (test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
    at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:126:7)
    at Context.<anonymous> (test/functional/apps/visualize/legacy/_data_table.ts:26:7)
    at Object.apply (packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.tryForTime (test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (test/functional/page_objects/common_page.ts:226:7)
    at VisualizePage.navigateToNewAggBasedVisualization (test/functional/page_objects/visualize_page.ts:126:7)
    at Context.<anonymous> (test/functional/apps/visualize/legacy/_data_table.ts:26:7)
    at Object.apply (packages/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
observability 110 111 +1

Async chunks

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

id before after diff
apm 5.5MB 5.5MB +58.0B
observability 163.2KB 216.3KB +53.1KB
total +53.2KB

Page load bundle

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

id before after diff
observability 80.4KB 54.6KB -25.8KB
Unknown metric groups

async chunk count

id before after diff
observability 1 3 +2

History

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

Copy link
Member

@sorenlouv sorenlouv left a comment

Choose a reason for hiding this comment

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

thanks for doing this. lgtm 👍

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

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

LGTM

@shahzad31 shahzad31 merged commit 6391ef9 into elastic:master Jan 25, 2021
@shahzad31 shahzad31 deleted the lazy-load-shared-obsv-ui-components branch January 25, 2021 16:08
shahzad31 added a commit to shahzad31/kibana that referenced this pull request Jan 25, 2021
shahzad31 added a commit that referenced this pull request Jan 26, 2021
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 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants