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] Replace lodash template with static react renderer for discover's row formatter (#98072) #98600

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

… formatter (elastic#98072)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@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/visualize/precalculated_histogram·ts.Visualize pre_calculated_histogram works in visualizations "before all" hook for "with percentiles aggregation"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[01:05:20]         └-: Visualize
[01:05:20]           └-> "before all" hook in "Visualize"
[01:11:02]           └-: pre_calculated_histogram
[01:11:02]             └-> "before all" hook for "appears correctly in discover"
[01:11:02]             └-> "before all" hook for "appears correctly in discover"
[01:11:02]               │ debg Starting pre_calculated_histogram before method
[01:11:02]               │ info [pre_calculated_histogram] Loading "mappings.json"
[01:11:02]               │ info [pre_calculated_histogram] Loading "data.json"
[01:11:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619613390546572139] [histogram-test] creating index, cause [api], templates [], shards [1]/[0]
[01:11:02]               │ info [pre_calculated_histogram] Created index "histogram-test"
[01:11:02]               │ debg [pre_calculated_histogram] "histogram-test" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[01:11:02]               │ info [pre_calculated_histogram] Indexed 8 docs into "histogram-test"
[01:11:02]               │ info [pre_calculated_histogram] Indexed 1 docs into ".kibana"
[01:11:02]               │ debg Migrating saved objects
[01:11:02]               │ proc [kibana]   log   [14:16:00.685] [info][savedobjects-service] [.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH. took: 3ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.691] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH. took: 10ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.693] [info][savedobjects-service] [.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 8ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.698] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM. took: 7ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.702] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 9ms.
[01:11:02]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619613390546572139] 93440 finished with response BulkByScrollResponse[took=978.2micros,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[01:11:02]               │ proc [kibana]   log   [14:16:00.806] [info][savedobjects-service] [.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 104ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.806] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 124ms
[01:11:02]               │ proc [kibana]   log   [14:16:00.928] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH. took: 230ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.935] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 7ms.
[01:11:02]               │ proc [kibana]   log   [14:16:00.987] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 52ms.
[01:11:02]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619613390546572139] 93460 finished with response BulkByScrollResponse[took=16.4ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[01:11:02]               │ proc [kibana]   log   [14:16:01.093] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE. took: 106ms.
[01:11:02]               │ proc [kibana]   log   [14:16:01.093] [info][savedobjects-service] [.kibana] Migration completed after 412ms
[01:11:02]               │ debg [pre_calculated_histogram] Migrated Kibana index after loading Kibana data
[01:11:02]               │ debg [pre_calculated_histogram] Ensured that default space exists in .kibana
[01:11:02]               │ debg replacing kibana config doc: {"defaultIndex":"test-histogram"}
[01:11:04]             └-> appears correctly in discover
[01:11:04]               └-> "before each" hook: global before each for "appears correctly in discover"
[01:11:04]               │ debg navigating to discover url: http://localhost:61191/app/discover#/
[01:11:04]               │ debg navigate to: http://localhost:61191/app/discover#/
[01:11:04]               │ debg browser[INFO] http://localhost:61191/app/discover?_t=1619619362953#/ 340 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.
[01:11:04]               │
[01:11:04]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:11:04]               │ debg ... sleep(700) start
[01:11:05]               │ debg ... sleep(700) end
[01:11:05]               │ debg returned from get, calling refresh
[01:11:05]               │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/core/core.entry.js 12:150793 TypeError: Failed to fetch
[01:11:05]               │          at fetch_Fetch.fetchResponse (http://localhost:61191/40734/bundles/core/core.entry.js:6:26193)
[01:11:05]               │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:24090
[01:11:05]               │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:23996
[01:11:05]               │ debg browser[INFO] http://localhost:61191/app/discover?_t=1619619362953#/ 340 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.
[01:11:05]               │
[01:11:05]               │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:11:06]               │ debg currentUrl = http://localhost:61191/app/discover#/
[01:11:06]               │          appUrl = http://localhost:61191/app/discover#/
[01:11:06]               │ debg TestSubjects.find(kibanaChrome)
[01:11:06]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:11:06]               │ debg ... sleep(501) start
[01:11:07]               │ debg ... sleep(501) end
[01:11:07]               │ debg in navigateTo url = http://localhost:61191/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:histogram-test,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[01:11:07]               │ debg --- retry.try error: URL changed, waiting for it to settle
[01:11:07]               │ debg ... sleep(501) start
[01:11:08]               │ debg ... sleep(501) end
[01:11:08]               │ debg in navigateTo url = http://localhost:61191/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(),filters:!(),index:histogram-test,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[01:11:08]               │ debg TestSubjects.exists(statusPageContainer)
[01:11:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[01:11:08]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619613390546572139] [.kibana_7.14.0_001/NjQlH0o-TOy4SsOVt7ZURw] update_mapping [_doc]
[01:11:10]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[01:11:11]               │ debg TestSubjects.missingOrFail(loadingSpinner)
[01:11:11]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="loadingSpinner"]') with timeout=100000
[01:11:11]               │ debg TestSubjects.moveMouseTo(field-histogram-content)
[01:11:11]               │ debg TestSubjects.find(field-histogram-content)
[01:11:11]               │ debg Find.findByCssSelector('[data-test-subj="field-histogram-content"]') with timeout=10000
[01:11:11]               │ debg TestSubjects.click(fieldToggle-histogram-content)
[01:11:11]               │ debg Find.clickByCssSelector('[data-test-subj="fieldToggle-histogram-content"]') with timeout=10000
[01:11:11]               │ debg Find.findByCssSelector('[data-test-subj="fieldToggle-histogram-content"]') with timeout=10000
[01:11:12]               │ debg TestSubjects.find(docTable)
[01:11:12]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[01:11:12]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1619613390546572139] [.kibana_7.14.0_001/NjQlH0o-TOy4SsOVt7ZURw] update_mapping [_doc]
[01:11:12]               └- ✓ pass  (7.9s) "Visualize pre_calculated_histogram appears correctly in discover"
[01:11:12]             └-: works in visualizations
[01:11:12]               └-> "before all" hook for "with percentiles aggregation"
[01:11:12]               └-> "before all" hook for "with percentiles aggregation"
[01:11:12]                 │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[01:11:12]                 │ debg navigate to: http://localhost:61191/app/visualize#/
[01:11:12]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1619619370864#/ 340 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.
[01:11:12]                 │
[01:11:12]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:11:12]                 │ debg ... sleep(700) start
[01:11:13]                 │ debg ... sleep(700) end
[01:11:13]                 │ debg returned from get, calling refresh
[01:11:13]                 │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/core/core.entry.js 12:150793 TypeError: Failed to fetch
[01:11:13]                 │          at fetch_Fetch.fetchResponse (http://localhost:61191/40734/bundles/core/core.entry.js:6:26193)
[01:11:13]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:24090
[01:11:13]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:23996
[01:11:13]                 │ debg browser[INFO] http://localhost:61191/app/visualize?_t=1619619370864#/ 340 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.
[01:11:13]                 │
[01:11:13]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[01:11:14]                 │ debg currentUrl = http://localhost:61191/app/visualize#/
[01:11:14]                 │          appUrl = http://localhost:61191/app/visualize#/
[01:11:14]                 │ debg TestSubjects.find(kibanaChrome)
[01:11:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[01:11:14]                 │ debg ... sleep(501) start
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/api/fleet/epm/packages?experimental=true - Failed to load resource: net::ERR_NETWORK_CHANGED
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/api/saved_objects/_find?fields=title&per_page=10000&type=index-pattern - Failed to load resource: net::ERR_NETWORK_CHANGED
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/core/core.entry.js 12:46186 TypeError: Failed to fetch
[01:11:14]                 │          at fetch_Fetch.fetchResponse (http://localhost:61191/40734/bundles/core/core.entry.js:6:26193)
[01:11:14]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:24090
[01:11:14]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:23996
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/internal/global_search/searchable_types - Failed to load resource: net::ERR_NETWORK_CHANGED
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/api/_newsfeed-FTS-external-service-simulators/kibana/v7.14.0.json - Failed to load resource: net::ERR_NETWORK_CHANGED
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/plugin/newsfeed/kibana/newsfeed.plugin.js 0:18527 TypeError: Failed to fetch
[01:11:14]                 │          at fetch_Fetch.fetchResponse (http://localhost:61191/40734/bundles/core/core.entry.js:6:26193)
[01:11:14]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:24090
[01:11:14]                 │          at async http://localhost:61191/40734/bundles/core/core.entry.js:6:23996
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/api/alerts/list_alert_types - Failed to load resource: net::ERR_NETWORK_CHANGED
[01:11:14]                 │ debg browser[INFO] http://localhost:61191/40734/bundles/core/core.entry.js 12:151721 "Detected an unhandled Promise rejection.
[01:11:14]                 │      TypeError: Failed to fetch"
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/core/core.entry.js 5:2514 
[01:11:14]                 │ debg browser[INFO] http://localhost:61191/40734/bundles/core/core.entry.js 12:151721 "Detected an unhandled Promise rejection.
[01:11:14]                 │      TypeError: Failed to fetch"
[01:11:14]                 │ERROR browser[SEVERE] http://localhost:61191/40734/bundles/core/core.entry.js 5:2514 
[01:11:14]                 │ debg ... sleep(501) end
[01:11:14]                 │ debg in navigateTo url = http://localhost:61191/app/visualize#/
[01:11:14]                 │ debg TestSubjects.exists(statusPageContainer)
[01:11:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[01:11:17]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[01:11:17]                 │ debg isGlobalLoadingIndicatorVisible
[01:11:17]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[01:11:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[01:11:19]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[01:11:19]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[01:11:19]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[01:11:19]                 │ debg TestSubjects.exists(newItemButton)
[01:11:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[01:11:22]                 │ debg --- retry.tryForTime error: [data-test-subj="newItemButton"] is not displayed
[01:11:25]                 │ debg --- retry.tryForTime failed again with the same message...
[01:11:28]                 │ debg --- retry.tryForTime failed again with the same message...
[01:11:31]                 │ debg --- retry.tryForTime failed again with the same message...
[01:11:31]                 │ debg TestSubjects.click(createVisualizationPromptButton)
[01:11:31]                 │ debg Find.clickByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:11:31]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:11:42]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:11:42]                 │      Wait timed out after 10023ms
[01:11:42]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:11:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:11:52]                 │      Wait timed out after 10053ms
[01:11:53]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:03]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:03]                 │      Wait timed out after 10042ms
[01:12:03]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:13]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:13]                 │      Wait timed out after 10033ms
[01:12:14]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:24]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:24]                 │      Wait timed out after 10026ms
[01:12:24]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:34]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:34]                 │      Wait timed out after 10017ms
[01:12:35]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:45]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:45]                 │      Wait timed out after 10052ms
[01:12:45]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:12:55]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:12:55]                 │      Wait timed out after 10042ms
[01:12:56]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:13:06]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:06]                 │      Wait timed out after 10014ms
[01:13:06]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:13:16]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:16]                 │      Wait timed out after 10034ms
[01:13:17]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:13:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:27]                 │      Wait timed out after 10018ms
[01:13:27]                 │ debg Find.findByCssSelector('[data-test-subj="createVisualizationPromptButton"]') with timeout=10000
[01:13:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:37]                 │      Wait timed out after 10049ms
[01:13:38]                 │ debg --- retry.tryForTime error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:38]                 │      Wait timed out after 10049ms
[01:13:38]                 │          at /dev/shm/workspace/parallel/19/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[01:13:38]                 │          at runMicrotasks (<anonymous>)
[01:13:38]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[01:13:38]                 │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/Visualize pre_calculated_histogram works in visualizations _before all_ hook for _with percentiles aggregation_.png"
[01:13:39]                 │ info Current URL is: http://localhost:61191/app/visualize#/
[01:13:39]                 │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/Visualize pre_calculated_histogram works in visualizations _before all_ hook for _with percentiles aggregation_.html
[01:13:39]                 └- ✖ fail: Visualize pre_calculated_histogram works in visualizations "before all" hook for "with percentiles aggregation"
[01:13:39]                 │      retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:39]                 │ Wait timed out after 10049ms
[01:13:39]                 │     at /dev/shm/workspace/parallel/19/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[01:13:39]                 │     at runMicrotasks (<anonymous>)
[01:13:39]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[01:13:39]                 │     at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[01:13:39]                 │     at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[01:13:39]                 │     at Retry.try (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:32:14)
[01:13:39]                 │     at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/find.ts:420:7)
[01:13:39]                 │     at TestSubjects.click (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/test_subjects.ts:109:7)
[01:13:39]                 │     at /dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:195:11
[01:13:39]                 │     at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[01:13:39]                 │     at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[01:13:39]                 │     at Retry.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:23:14)
[01:13:39]                 │     at ListingTable.clickNewButton (/dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:186:7)
[01:13:39]                 │     at VisualizePage.clickNewVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:56:7)
[01:13:39]                 │     at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:129:7)
[01:13:39]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/apps/visualize/precalculated_histogram.ts:38:9)
[01:13:39]                 │     at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[01:13:39]                 │   Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
[01:13:39]                 │   Wait timed out after 10049ms
[01:13:39]                 │       at /dev/shm/workspace/parallel/19/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[01:13:39]                 │       at runMicrotasks (<anonymous>)
[01:13:39]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[01:13:39]                 │       at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[01:13:39]                 │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[01:13:39]                 │       at Retry.try (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:32:14)
[01:13:39]                 │       at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/find.ts:420:7)
[01:13:39]                 │       at TestSubjects.click (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/test_subjects.ts:109:7)
[01:13:39]                 │       at /dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:195:11
[01:13:39]                 │       at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[01:13:39]                 │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[01:13:39]                 │       at Retry.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:23:14)
[01:13:39]                 │       at ListingTable.clickNewButton (/dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:186:7)
[01:13:39]                 │       at VisualizePage.clickNewVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:56:7)
[01:13:39]                 │       at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:129:7)
[01:13:39]                 │       at Context.<anonymous> (test/functional/apps/visualize/precalculated_histogram.ts:38:9)
[01:13:39]                 │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[01:13:39]                 │       at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[01:13:39]                 │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[01:13:39]                 │       at Retry.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:23:14)
[01:13:39]                 │       at ListingTable.clickNewButton (/dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:186:7)
[01:13:39]                 │       at VisualizePage.clickNewVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:56:7)
[01:13:39]                 │       at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:129:7)
[01:13:39]                 │       at Context.<anonymous> (test/functional/apps/visualize/precalculated_histogram.ts:38:9)
[01:13:39]                 │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[01:13:39]                 │ 
[01:13:39]                 │ 

Stack Trace

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createVisualizationPromptButton"])
Wait timed out after 10049ms
    at /dev/shm/workspace/parallel/19/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/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:32:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/find.ts:420:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/19/kibana/test/functional/services/common/test_subjects.ts:109:7)
    at /dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:195:11
    at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:23:14)
    at ListingTable.clickNewButton (/dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:186:7)
    at VisualizePage.clickNewVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:56:7)
    at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:129:7)
    at Context.<anonymous> (test/functional/apps/visualize/precalculated_histogram.ts:38:9)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:23:14)
    at ListingTable.clickNewButton (/dev/shm/workspace/parallel/19/kibana/test/functional/services/listing_table.ts:186:7)
    at VisualizePage.clickNewVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:56:7)
    at VisualizePage.navigateToNewAggBasedVisualization (/dev/shm/workspace/parallel/19/kibana/test/functional/page_objects/visualize_page.ts:129:7)
    at Context.<anonymous> (test/functional/apps/visualize/precalculated_histogram.ts:38:9)
    at Object.apply (/dev/shm/workspace/parallel/19/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
discover 410.8KB 411.5KB +747.0B

Page load bundle

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

id before after diff
discover 74.6KB 74.7KB +74.0B

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

cc @legrego

@kibanamachine kibanamachine merged commit 6548268 into elastic:7.x Apr 28, 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.

2 participants