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

[Lens] Use first decimal when required for data summaries #88463

Merged
merged 2 commits into from Jan 19, 2021

Conversation

dej611
Copy link
Contributor

@dej611 dej611 commented Jan 15, 2021

Summary

Mitigates #85572

This PR addresses some minor issues with Lens field data summaries:

  • because of rounding the sum of the summaries shown can go above 100% (up to ~ 5% more)
  • because of rounding sometimes a table of 0% is shown in the summary

This PR precompute the values on the summary and checks whether add a decimal point or not: this leads to smaller offset around 100%, and provide a better value for small (<1%) percentages.

When the value can be integer, the decimal is not used:

Screenshot 2021-01-15 at 14 47 34

When the decimal is required in at least one case, then it is applied for the whole summary for visual consistency:

Screenshot 2021-01-15 at 14 47 46

Screenshot 2021-01-15 at 14 47 26

@dej611 dej611 added release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 Feature:Lens v7.12.0 labels Jan 15, 2021
@dej611 dej611 linked an issue Jan 15, 2021 that may be closed by this pull request
@dej611
Copy link
Contributor Author

dej611 commented Jan 18, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Accessibility Tests.x-pack/test/accessibility/apps/ml·ts.ml for user with full ML access with data loaded data frame analytics create job configuration step

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:04:48]         └-: ml
[00:04:48]           └-> "before all" hook
[00:04:48]           └-> "before all" hook
[00:04:48]             │ debg creating role ft_ml_source
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_ml_source]
[00:04:48]             │ debg creating role ft_ml_source_readonly
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_ml_source_readonly]
[00:04:48]             │ debg creating role ft_ml_dest
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_ml_dest]
[00:04:48]             │ debg creating role ft_ml_dest_readonly
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_ml_dest_readonly]
[00:04:48]             │ debg creating role ft_ml_ui_extras
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_ml_ui_extras]
[00:04:48]             │ debg creating role ft_default_space_ml_all
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_default_space_ml_all]
[00:04:48]             │ debg creating role ft_default_space1_ml_all
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_default_space1_ml_all]
[00:04:48]             │ debg creating role ft_all_spaces_ml_all
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_all_spaces_ml_all]
[00:04:48]             │ debg creating role ft_default_space_ml_read
[00:04:48]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_default_space_ml_read]
[00:04:48]             │ debg creating role ft_default_space1_ml_read
[00:04:49]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_default_space1_ml_read]
[00:04:49]             │ debg creating role ft_all_spaces_ml_read
[00:04:49]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_all_spaces_ml_read]
[00:04:49]             │ debg creating role ft_default_space_ml_none
[00:04:49]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added role [ft_default_space_ml_none]
[00:04:49]             │ debg creating user ft_ml_poweruser
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_poweruser]
[00:04:49]             │ debg created user ft_ml_poweruser
[00:04:49]             │ debg creating user ft_ml_poweruser_spaces
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_poweruser_spaces]
[00:04:49]             │ debg created user ft_ml_poweruser_spaces
[00:04:49]             │ debg creating user ft_ml_poweruser_space1
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_poweruser_space1]
[00:04:49]             │ debg created user ft_ml_poweruser_space1
[00:04:49]             │ debg creating user ft_ml_poweruser_all_spaces
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_poweruser_all_spaces]
[00:04:49]             │ debg created user ft_ml_poweruser_all_spaces
[00:04:49]             │ debg creating user ft_ml_viewer
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_viewer]
[00:04:49]             │ debg created user ft_ml_viewer
[00:04:49]             │ debg creating user ft_ml_viewer_spaces
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_viewer_spaces]
[00:04:49]             │ debg created user ft_ml_viewer_spaces
[00:04:49]             │ debg creating user ft_ml_viewer_space1
[00:04:49]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_viewer_space1]
[00:04:49]             │ debg created user ft_ml_viewer_space1
[00:04:49]             │ debg creating user ft_ml_viewer_all_spaces
[00:04:50]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_viewer_all_spaces]
[00:04:50]             │ debg created user ft_ml_viewer_all_spaces
[00:04:50]             │ debg creating user ft_ml_unauthorized
[00:04:50]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_unauthorized]
[00:04:50]             │ debg created user ft_ml_unauthorized
[00:04:50]             │ debg creating user ft_ml_unauthorized_spaces
[00:04:50]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] added user [ft_ml_unauthorized_spaces]
[00:04:50]             │ debg created user ft_ml_unauthorized_spaces
[00:04:50]           └-: for user with full ML access
[00:04:50]             └-> "before all" hook
[00:04:50]             └-> "before all" hook
[00:04:50]               │ debg SecurityPage.forceLogout
[00:04:50]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:04:50]               │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:50]               │ debg Redirecting to /logout to force the logout
[00:04:51]               │ debg Waiting on the login form to appear
[00:04:51]               │ debg Waiting for Login Page to appear.
[00:04:51]               │ debg Waiting up to 100000ms for login page...
[00:04:51]               │ debg browser[INFO] http://localhost:61211/logout?_t=1610959361899 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:04:51]               │
[00:04:51]               │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:51]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:53]               │ debg browser[INFO] http://localhost:61211/login?msg=LOGGED_OUT 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:04:53]               │
[00:04:53]               │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:53]               │ERROR browser[SEVERE] http://localhost:61211/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:04:53]               │ debg browser[INFO] http://localhost:61211/39656/bundles/core/core.entry.js 12:195912 "Detected an unhandled Promise rejection.
[00:04:53]               │      Error: Unauthorized"
[00:04:53]               │ERROR browser[SEVERE] http://localhost:61211/39656/bundles/core/core.entry.js 5:3002 
[00:04:53]               │ debg TestSubjects.exists(loginForm)
[00:04:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:04:53]               │ debg Waiting for Login Form to appear.
[00:04:53]               │ debg Waiting up to 100000ms for login form...
[00:04:53]               │ debg TestSubjects.exists(loginForm)
[00:04:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:04:53]               │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:04:53]               │ debg TestSubjects.click(loginUsername)
[00:04:53]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:53]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:53]               │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:04:53]               │ debg TestSubjects.click(loginPassword)
[00:04:53]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:53]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:53]               │ debg TestSubjects.click(loginSubmit)
[00:04:53]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:53]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:53]               │ debg Waiting for login result, expected: chrome.
[00:04:53]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:04:53]               │ proc [kibana]   log   [08:42:44.923] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:04:57]               │ debg browser[INFO] http://localhost:61211/app/home 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:04:57]               │
[00:04:57]               │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:57]               │ debg Finished login process currentUrl = http://localhost:61211/app/home#/
[00:04:57]               │ debg Waiting up to 20000ms for logout button visible...
[00:04:57]               │ debg TestSubjects.exists(userMenuButton)
[00:04:57]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:04:57]               │ debg TestSubjects.exists(userMenu)
[00:04:57]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:04:59]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:05:00]               │ debg TestSubjects.click(userMenuButton)
[00:05:00]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:05:00]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:05:00]               │ debg TestSubjects.exists(userMenu)
[00:05:00]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:05:00]               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:05:00]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:05:00]               │ debg Deleting indices: '.ml-*'...
[00:05:00]               │ debg Indices '.ml-*' don't exist. Nothing to delete.
[00:05:10]             └-: with data loaded
[00:05:10]               └-> "before all" hook
[00:05:10]               └-> "before all" hook
[00:05:10]                 │ info [ml/farequote] Loading "mappings.json"
[00:05:10]                 │ info [ml/farequote] Loading "data.json.gz"
[00:05:10]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [ft_farequote] creating index, cause [api], templates [], shards [1]/[1]
[00:05:10]                 │ info [ml/farequote] Created index "ft_farequote"
[00:05:10]                 │ debg [ml/farequote] "ft_farequote" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:17]                 │ info [ml/farequote] Indexed 86274 docs into "ft_farequote"
[00:05:17]                 │ info [ml/ihp_outlier] Loading "mappings.json"
[00:05:17]                 │ info [ml/ihp_outlier] Loading "data.json.gz"
[00:05:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [ft_ihp_outlier] creating index, cause [api], templates [], shards [1]/[1]
[00:05:17]                 │ info [ml/ihp_outlier] Created index "ft_ihp_outlier"
[00:05:17]                 │ debg [ml/ihp_outlier] "ft_ihp_outlier" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:17]                 │ info [ml/ihp_outlier] Indexed 1460 docs into "ft_ihp_outlier"
[00:05:17]                 │ info [ml/module_sample_ecommerce] Loading "mappings.json"
[00:05:17]                 │ info [ml/module_sample_ecommerce] Loading "data.json.gz"
[00:05:17]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [ft_module_sample_ecommerce] creating index, cause [api], templates [], shards [1]/[1]
[00:05:17]                 │ info [ml/module_sample_ecommerce] Created index "ft_module_sample_ecommerce"
[00:05:17]                 │ debg [ml/module_sample_ecommerce] "ft_module_sample_ecommerce" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:17]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [ft_module_sample_ecommerce/9bwRfFz1Q0q1DQXvpReVtQ] update_mapping [_doc]
[00:05:18]                 │ info [ml/module_sample_ecommerce] Indexed 287 docs into "ft_module_sample_ecommerce"
[00:05:18]                 │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:05:18]                 │ debg  > Not found
[00:05:18]                 │ debg Creating index pattern with title 'ft_farequote' and time field '@timestamp'
[00:05:18]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.kibana_2/L20MJx7FR6-WaT3ELlDvfA] update_mapping [_doc]
[00:05:19]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_farequote' to exist...
[00:05:19]                 │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:05:19]                 │ debg  > Found '30e6ead0-5969-11eb-95ab-f7855b5c0c35'
[00:05:19]                 │ debg  > Created with id '30e6ead0-5969-11eb-95ab-f7855b5c0c35'
[00:05:19]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:05:19]                 │ debg  > Not found
[00:05:19]                 │ debg Creating index pattern with title 'ft_ihp_outlier' and time field '@timestamp'
[00:05:20]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_ihp_outlier' to exist...
[00:05:20]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:05:20]                 │ debg  > Found '3190bf60-5969-11eb-95ab-f7855b5c0c35'
[00:05:20]                 │ debg  > Created with id '3190bf60-5969-11eb-95ab-f7855b5c0c35'
[00:05:20]                 │ debg Searching for 'index-pattern' with title 'ft_module_sample_ecommerce'...
[00:05:20]                 │ debg  > Not found
[00:05:20]                 │ debg Creating index pattern with title 'ft_module_sample_ecommerce' and time field 'order_date'
[00:05:21]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_module_sample_ecommerce' to exist...
[00:05:21]                 │ debg Searching for 'index-pattern' with title 'ft_module_sample_ecommerce'...
[00:05:21]                 │ debg  > Found '322b9fd0-5969-11eb-95ab-f7855b5c0c35'
[00:05:21]                 │ debg  > Created with id '322b9fd0-5969-11eb-95ab-f7855b5c0c35'
[00:05:21]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:05:22]                 │ debg Creating anomaly detection job with id 'fq_single_a11y' ...
[00:05:22]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:05:22]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:05:22]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:05:22]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:05:22]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-anomalies-shared/HDJ7H5OxTj2U1FgxllO_YA] update_mapping [_doc]
[00:05:22]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1]
[00:05:22]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-config]
[00:05:22]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:05:22]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:05:22]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.kibana_2/L20MJx7FR6-WaT3ELlDvfA] update_mapping [_doc]
[00:05:23]                 │ debg Waiting up to 5000ms for 'fq_single_a11y' to exist...
[00:05:23]                 │ debg > AD job created.
[00:05:23]                 │ debg Creating datafeed with id 'datafeed-fq_single_a11y' ...
[00:05:24]                 │ debg Waiting up to 5000ms for 'datafeed-fq_single_a11y' to exist...
[00:05:24]                 │ debg > Datafeed created.
[00:05:24]                 │ debg Opening anomaly detection job 'fq_single_a11y'...
[00:05:24]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] Opening job [fq_single_a11y]
[00:05:24]                 │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:05:24]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:05:24]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:05:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:05:24]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:05:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:05:24]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:05:24]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] [autodetect/143528] [CResourceMonitor.cc@77] Setting model memory limit to 20 MB
[00:05:24]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] Successfully set job state to [opened] for job [fq_single_a11y]
[00:05:24]                 │ debg > AD job opened.
[00:05:24]                 │ debg Starting datafeed 'datafeed-fq_single_a11y' with start: '0', end: '1610959395927'...
[00:05:25]                 │ debg > Datafeed started.
[00:05:25]                 │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:05:25]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:25]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2021-01-18T08:43:15.927Z) with frequency [600000ms]
[00:05:25]                 │ debg --- retry.waitForWithTimeout error: expected job state to be stopped but got started
[00:05:25]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-anomalies-shared/HDJ7H5OxTj2U1FgxllO_YA] update_mapping [_doc]
[00:05:25]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:25]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:25]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:26]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:26]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:26]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:26]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:26]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:26]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:27]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:27]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:27]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:27]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:27]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:27]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:28]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:28]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:28]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:28]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:28]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:29]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:29]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:29]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:29]                 │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:05:29]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:29]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:30]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:30]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:30]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:30]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:31]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:31]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:31]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:31]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:32]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:32]                 │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] Lookback has finished
[00:05:32]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [no_realtime] attempt to stop datafeed [datafeed-fq_single_a11y] for job [fq_single_a11y]
[00:05:32]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_single_a11y] for job [fq_single_a11y]...
[00:05:32]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [no_realtime] stopping datafeed [datafeed-fq_single_a11y] for job [fq_single_a11y], acquired [true]...
[00:05:32]                 │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [no_realtime] datafeed [datafeed-fq_single_a11y] for job [fq_single_a11y] has been stopped
[00:05:32]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:32]                 │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] Closing job [fq_single_a11y], because [close job (api)]
[00:05:32]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] [autodetect/143528] [CCmdSkeleton.cc@61] Handled 86274 records
[00:05:32]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] [autodetect/143528] [CAnomalyJob.cc@1569] Pruning all models
[00:05:32]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-anomalies-shared/HDJ7H5OxTj2U1FgxllO_YA] update_mapping [_doc]
[00:05:32]                 │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] State output finished
[00:05:32]                 │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] 120 buckets parsed from autodetect output
[00:05:32]                 │ debg Fetching datafeed state for datafeed datafeed-fq_single_a11y
[00:05:32]                 │ debg Waiting up to 120000ms for job state to be closed...
[00:05:32]                 │ debg Fetching anomaly detection job stats for job fq_single_a11y...
[00:05:32]                 │ debg > AD job stats fetched.
[00:05:32]                 │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:05:33]                 │ debg Fetching anomaly detection job stats for job fq_single_a11y...
[00:05:33]                 │ debg > AD job stats fetched.
[00:05:33]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:33]                 │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [fq_single_a11y] job closed
[00:05:33]                 │ debg Fetching anomaly detection job stats for job fq_single_a11y...
[00:05:33]                 │ debg > AD job stats fetched.
[00:05:33]                 │ debg Creating data frame analytic job with id 'iph_outlier_a11y' ...
[00:05:33]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-config/EdyKR1wDRbOTkPNnnEe7hQ] update_mapping [_doc]
[00:05:34]                 │ debg Waiting up to 5000ms for 'iph_outlier_a11y' to exist...
[00:05:34]                 │ debg Fetching data frame analytics job 'iph_outlier_a11y'...
[00:05:34]                 │ debg > DFA job fetched.
[00:05:34]                 │ debg > DFA job created.
[00:05:34]                 │ debg Starting data frame analytics job 'iph_outlier_a11y'...
[00:05:34]                 │ info [o.e.x.m.a.TransportStartDataFrameAnalyticsAction] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Starting data frame analytics from state [stopped]
[00:05:34]                 │ debg > DFA job started.
[00:05:34]                 │ debg Waiting up to 60000ms for 'iph_outlier_a11y' to have training_docs_count > 0...
[00:05:34]                 │ debg Fetching data frame analytics job stats for job iph_outlier_a11y...
[00:05:34]                 │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] About to create first concrete index [.ml-stats-000001] with alias [.ml-stats-write]
[00:05:34]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-stats-000001] creating index, cause [api], templates [.ml-stats], shards [1]/[1]
[00:05:34]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-stats-000001]
[00:05:34]                 │ debg > DFA job stats fetched.
[00:05:34]                 │ debg --- retry.waitForWithTimeout error: expected data frame analytics job 'iph_outlier_a11y' to have training_docs_count > 0 (got 0)
[00:05:34]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-stats-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:05:34]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-stats-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ml-size-based-ilm-policy]
[00:05:34]                 │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Creating destination index [user-iph_outlier_a11y]
[00:05:34]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [user-iph_outlier_a11y] creating index, cause [api], templates [], shards [1]/[1]
[00:05:34]                 │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Started reindexing
[00:05:34]                 │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] moving index [.ml-stats-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ml-size-based-ilm-policy]
[00:05:35]                 │ debg Fetching data frame analytics job stats for job iph_outlier_a11y...
[00:05:35]                 │ debg > DFA job stats fetched.
[00:05:35]                 │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:05:35]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Started loading data
[00:05:35]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Started analyzing
[00:05:35]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Waiting for result processor to complete
[00:05:35]                 │ info [o.e.x.m.d.p.AnalyticsResultProcessor] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Started writing results
[00:05:35]                 │ debg Fetching data frame analytics job stats for job iph_outlier_a11y...
[00:05:35]                 │ debg > DFA job stats fetched.
[00:05:35]                 │ debg Waiting up to 120000ms for analytics state to be stopped...
[00:05:35]                 │ debg Fetching analytics state for job iph_outlier_a11y
[00:05:35]                 │ debg Fetching data frame analytics job stats for job iph_outlier_a11y...
[00:05:35]                 │ debg > DFA job stats fetched.
[00:05:35]                 │ debg --- retry.waitForWithTimeout error: expected analytics state to be stopped but got started
[00:05:36]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Result processor has completed
[00:05:36]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Closing process
[00:05:36]                 │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] [data_frame_analyzer/144068] [Main.cc@241] [{"name":"E_DFOEstimatedPeakMemoryUsage","description":"The upfront estimate of the peak memory outlier detection would use","value":962304}
[00:05:36]                 │      ,{"name":"E_DFOPeakMemoryUsage","description":"The peak memory outlier detection used","value":639352}
[00:05:36]                 │      ,{"name":"E_DFOTimeToCreateEnsemble","description":"The time it took to create the ensemble used for outlier detection","value":24}
[00:05:36]                 │      ,{"name":"E_DFOTimeToComputeScores","description":"The time it took to compute outlier scores","value":92}
[00:05:36]                 │      ,{"name":"E_DFONumberPartitions","description":"The number of partitions outlier detection used","value":1}
[00:05:36]                 │      ]
[00:05:36]                 │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Closed process
[00:05:36]                 │ info [o.e.x.m.d.DataFrameAnalyticsManager] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [iph_outlier_a11y] Marking task completed
[00:05:36]                 │ debg Fetching analytics state for job iph_outlier_a11y
[00:05:36]                 │ debg Fetching data frame analytics job stats for job iph_outlier_a11y...
[00:05:36]                 │ debg > DFA job stats fetched.
[00:05:36]                 │ debg Creating calendar with id 'calendar_a11y'...
[00:05:36]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-meta] creating index, cause [auto(bulk api)], templates [.ml-meta], shards [1]/[1]
[00:05:36]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] updating number_of_replicas to [0] for indices [.ml-meta]
[00:05:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-meta/khpDbsJBSwKLQFN3Y3fh_A] update_mapping [_doc]
[00:05:36]                 │ debg Waiting up to 5000ms for 'calendar_a11y' to exist...
[00:05:36]                 │ debg > Calendar created.
[00:05:36]                 │ debg Creating events for calendar with id 'calendar_a11y'...
[00:05:36]                 │ debg Waiting up to 5000ms for 'calendar_a11y' events to exist...
[00:05:36]                 │ debg > Calendar events created.
[00:05:36]                 │ debg Creating filter with id 'filter_a11y'...
[00:05:36]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1610956740356632389] [.ml-meta/khpDbsJBSwKLQFN3Y3fh_A] update_mapping [_doc]
[00:05:36]                 │ debg Waiting up to 5000ms for 'filter_a11y' to exist...
[00:05:36]                 │ debg > Filter created.
[00:05:36]               └-> overview page
[00:05:36]                 └-> "before each" hook: global before each
[00:05:36]                 │ debg navigating to ml url: http://localhost:61211/app/ml
[00:05:36]                 │ debg navigate to: http://localhost:61211/app/ml
[00:05:36]                 │ debg browser[INFO] http://localhost:61211/app/ml?_t=1610959407536 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:05:36]                 │
[00:05:36]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:36]                 │ debg ... sleep(700) start
[00:05:37]                 │ debg ... sleep(700) end
[00:05:37]                 │ debg returned from get, calling refresh
[00:05:37]                 │ debg browser[INFO] http://localhost:61211/app/ml?_t=1610959407536 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:05:37]                 │
[00:05:37]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:37]                 │ debg currentUrl = http://localhost:61211/app/ml
[00:05:37]                 │          appUrl = http://localhost:61211/app/ml
[00:05:37]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:39]                 │ debg ... sleep(501) start
[00:05:39]                 │ debg ... sleep(501) end
[00:05:39]                 │ debg in navigateTo url = http://localhost:61211/app/ml/overview
[00:05:39]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:05:40]                 │ debg ... sleep(501) start
[00:05:40]                 │ debg ... sleep(501) end
[00:05:40]                 │ debg in navigateTo url = http://localhost:61211/app/ml/overview
[00:05:40]                 │ debg TestSubjects.exists(statusPageContainer)
[00:05:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:43]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:43]                 │ debg TestSubjects.exists(mlApp)
[00:05:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:05:43]                 │ debg TestSubjects.click(~mlMainTab & ~overview)
[00:05:43]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="overview"]') with timeout=10000
[00:05:43]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="overview"]') with timeout=10000
[00:05:44]                 │ debg TestSubjects.exists(~mlMainTab & ~overview & ~selected)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="overview"][data-test-subj~="selected"]') with timeout=120000
[00:05:44]                 │ debg TestSubjects.exists(mlPageOverview)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=120000
[00:05:44]                 └- ✓ pass  (8.3s) "ml for user with full ML access with data loaded overview page"
[00:05:44]               └-> anomaly detection jobs list page
[00:05:44]                 └-> "before each" hook: global before each
[00:05:44]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:05:44]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:05:44]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:05:44]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:05:45]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:05:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:05:45]                 └- ✓ pass  (831ms) "ml for user with full ML access with data loaded anomaly detection jobs list page"
[00:05:45]               └-> anomaly detection create job select index pattern page
[00:05:45]                 └-> "before each" hook: global before each
[00:05:45]                 │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:05:45]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:05:46]                 │ debg TestSubjects.exists(mlPageSourceSelection)
[00:05:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:05:46]                 └- ✓ pass  (814ms) "ml for user with full ML access with data loaded anomaly detection create job select index pattern page"
[00:05:46]               └-> anomaly detection create job select type page
[00:05:46]                 └-> "before each" hook: global before each
[00:05:46]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_farequote)
[00:05:46]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:05:46]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:05:46]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:05:46]                 │ debg TestSubjects.exists(savedObjectTitleft_farequote)
[00:05:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=120000
[00:05:46]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_farequote)
[00:05:46]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=10000
[00:05:46]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=10000
[00:05:47]                 │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:05:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:05:47]                 └- ✓ pass  (1.2s) "ml for user with full ML access with data loaded anomaly detection create job select type page"
[00:05:47]               └-> anomaly detection create single metric job time range step
[00:05:47]                 └-> "before each" hook: global before each
[00:05:47]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkSingleMetricJob)
[00:05:47]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:05:47]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:05:48]                 │ debg TestSubjects.exists(mlPageJobWizard single_metric)
[00:05:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard single_metric"]') with timeout=120000
[00:05:48]                 │ debg === TEST STEP === job creation set the time range
[00:05:48]                 │ debg TestSubjects.clickWhenNotDisabled(mlButtonUseFullData)
[00:05:48]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:05:48]                 │ debg Find.findByCssSelector('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:05:48]                 │ debg TestSubjects.find(mlJobWizardDateRange)
[00:05:48]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:05:49]                 └- ✓ pass  (1.6s) "ml for user with full ML access with data loaded anomaly detection create single metric job time range step"
[00:05:49]               └-> anomaly detection create single metric job pick fields step
[00:05:49]                 └-> "before each" hook: global before each
[00:05:49]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:05:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:05:49]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:05:49]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:05:49]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:05:49]                 │ debg TestSubjects.exists(mlJobWizardStepTitlePickFields)
[00:05:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitlePickFields"]') with timeout=5000
[00:05:49]                 │ debg === TEST STEP === job creation selects field and aggregation
[00:05:49]                 │ debg comboBox.set, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:05:49]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:05:49]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:05:49]                 │ debg comboBox.setElement, value: Mean(responsetime)
[00:05:49]                 │ debg comboBox.isOptionSelected, value: Mean(responsetime)
[00:05:52]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:05:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:05:52]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Mean(responsetime)"]') with timeout=2500
[00:05:52]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:05:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:05:54]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:05:55]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:05:55]                 │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:05:55]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:05:55]                 │ debg === TEST STEP === job creation inputs the bucket span
[00:05:55]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputBucketSpan, 30m)
[00:05:55]                 │ debg TestSubjects.click(mlJobWizardInputBucketSpan)
[00:05:55]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:05:55]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:05:56]                 │ debg TestSubjects.getAttribute(mlJobWizardInputBucketSpan, value, tryTimeout=120000, findTimeout=10000)
[00:05:56]                 │ debg TestSubjects.find(mlJobWizardInputBucketSpan)
[00:05:56]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:05:56]                 └- ✓ pass  (7.3s) "ml for user with full ML access with data loaded anomaly detection create single metric job pick fields step"
[00:05:56]               └-> anomaly detection create single metric job details step
[00:05:56]                 └-> "before each" hook: global before each
[00:05:56]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:05:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:05:56]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:05:56]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:05:56]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:05:57]                 │ debg TestSubjects.exists(mlJobWizardStepTitleJobDetails)
[00:05:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleJobDetails"]') with timeout=5000
[00:05:57]                 │ debg === TEST STEP === job creation inputs the job id
[00:05:57]                 │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobId, fq_single_a11y_1610959070768)
[00:05:57]                 │ debg TestSubjects.click(mlJobWizardInputJobId)
[00:05:57]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:05:57]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:05:59]                 │ debg TestSubjects.getAttribute(mlJobWizardInputJobId, value, tryTimeout=120000, findTimeout=10000)
[00:05:59]                 │ debg TestSubjects.find(mlJobWizardInputJobId)
[00:05:59]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:05:59]                 │ debg === TEST STEP === job creation opens the additional settings section
[00:05:59]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:05:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=2500
[00:05:59]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdditionalSettingsSection"] is not displayed
[00:05:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:00]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:00]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:01]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:01]                 │ debg TestSubjects.click(mlJobWizardToggleAdditionalSettingsSection)
[00:06:01]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:06:01]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdditionalSettingsSection"]') with timeout=10000
[00:06:02]                 │ debg TestSubjects.exists(mlJobWizardAdditionalSettingsSection)
[00:06:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdditionalSettingsSection"]') with timeout=1000
[00:06:02]                 │ debg === TEST STEP === job creation opens the advanced section
[00:06:02]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:06:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:06:02]                 │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdvancedSection"] is not displayed
[00:06:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:03]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:03]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:04]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:04]                 │ debg TestSubjects.click(mlJobWizardToggleAdvancedSection)
[00:06:04]                 │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:06:04]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:06:04]                 │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:06:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=1000
[00:06:05]                 └- ✓ pass  (8.7s) "ml for user with full ML access with data loaded anomaly detection create single metric job details step"
[00:06:05]               └-> anomaly detection create single metric job validation step
[00:06:05]                 └-> "before each" hook: global before each
[00:06:05]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:06:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:06:05]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:06:05]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:06:05]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:06:05]                 │ debg TestSubjects.exists(mlJobWizardStepTitleValidation)
[00:06:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleValidation"]') with timeout=5000
[00:06:05]                 └- ✓ pass  (706ms) "ml for user with full ML access with data loaded anomaly detection create single metric job validation step"
[00:06:05]               └-> anomaly detection create single metric job summary step
[00:06:05]                 └-> "before each" hook: global before each
[00:06:05]                 │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:06:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:06:06]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:06:06]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:06:06]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:06:06]                 │ debg TestSubjects.exists(mlJobWizardStepTitleSummary)
[00:06:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleSummary"]') with timeout=5000
[00:06:06]                 └- ✓ pass  (655ms) "ml for user with full ML access with data loaded anomaly detection create single metric job summary step"
[00:06:06]               └-> anomaly detection Single Metric Viewer page
[00:06:06]                 └-> "before each" hook: global before each
[00:06:06]                 │ debg navigating to ml url: http://localhost:61211/app/ml
[00:06:06]                 │ debg navigate to: http://localhost:61211/app/ml
[00:06:06]                 │ debg browser[INFO] http://localhost:61211/app/ml?_t=1610959437622 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:06:06]                 │
[00:06:06]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:06]                 │ debg ... sleep(700) start
[00:06:07]                 │ debg ... sleep(700) end
[00:06:07]                 │ debg returned from get, calling refresh
[00:06:08]                 │ debg browser[INFO] http://localhost:61211/app/ml?_t=1610959437622 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:06:08]                 │
[00:06:08]                 │ debg browser[INFO] http://localhost:61211/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:08]                 │ debg currentUrl = http://localhost:61211/app/ml
[00:06:08]                 │          appUrl = http://localhost:61211/app/ml
[00:06:08]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:08]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:08]                 │ debg ... sleep(501) start
[00:06:09]                 │ debg ... sleep(501) end
[00:06:09]                 │ debg in navigateTo url = http://localhost:61211/app/ml/overview
[00:06:09]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:06:09]                 │ debg ... sleep(501) start
[00:06:10]                 │ debg ... sleep(501) end
[00:06:10]                 │ debg in navigateTo url = http://localhost:61211/app/ml/overview
[00:06:10]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:12]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:13]                 │ debg TestSubjects.exists(mlApp)
[00:06:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:06:13]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:06:13]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:06:13]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:06:13]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:06:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:06:13]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:06:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:06:13]                 │ debg TestSubjects.click(~mlJobListTable > ~row-fq_single_a11y > mlOpenJobsInSingleMetricViewerButton)
[00:06:13]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_a11y"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:06:13]                 │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"] [data-test-subj~="row-fq_single_a11y"] [data-test-subj="mlOpenJobsInSingleMetricViewerButton"]') with timeout=10000
[00:06:13]                 │ debg TestSubjects.exists(~mlPageSingleMetricViewer)
[00:06:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlPageSingleMetricViewer"]') with timeout=120000
[00:06:14]                 │ debg TestSubjects.missingOrFail(mlLoadingIndicator)
[00:06:14]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlLoadingIndicator"]') with timeout=2500
[00:06:14]                 │ debg === TEST STEP === should input the airline entity value
[00:06:14]                 │ debg TestSubjects.exists(mlSingleMetricViewerEntitySelection airline)
[00:06:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"]') with timeout=120000
[00:06:15]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:06:15]                 │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:06:15]                 │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:06:15]                 │ debg comboBox.set, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:06:15]                 │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:06:15]                 │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:06:15]                 │ debg comboBox.setElement, value: AAL
[00:06:15]                 │ debg comboBox.isOptionSelected, value: AAL
[00:06:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:06:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:06:17]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="AAL"]') with timeout=2500
[00:06:17]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:06:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:06:20]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:06:20]                 │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlSingleMetricViewerEntitySelection airline  > comboBoxInput
[00:06:20]                 │ debg TestSubjects.find(mlSingleMetricViewerEntitySelection airline  > comboBoxInput)
[00:06:20]                 │ debg Find.findByCssSelector('[data-test-subj="mlSingleMetricViewerEntitySelection airline"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:06:21]                 └- ✓ pass  (14.9s) "ml for user with full ML access with data loaded anomaly detection Single Metric Viewer page"
[00:06:21]               └-> anomaly detection Anomaly Explorer page
[00:06:21]               └-> data frame analytics page
[00:06:21]                 └-> "before each" hook: global before each
[00:06:21]                 │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:06:21]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:06:21]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:06:21]                 │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:06:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:06:21]                 │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:06:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:06:22]                 └- ✓ pass  (612ms) "ml for user with full ML access with data loaded data frame analytics page"
[00:06:22]               └-> data frame analytics outlier job exploration page
[00:06:22]                 └-> "before each" hook: global before each
[00:06:22]                 │ debg TestSubjects.exists(~mlAnalyticsTable > ~row-iph_outlier_a11y > mlAnalyticsJobViewButton)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_a11y"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=120000
[00:06:22]                 │ debg TestSubjects.click(~mlAnalyticsTable > ~row-iph_outlier_a11y > mlAnalyticsJobViewButton)
[00:06:22]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_a11y"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:06:22]                 │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-iph_outlier_a11y"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:06:22]                 │ debg TestSubjects.exists(mlPageDataFrameAnalyticsExploration)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalyticsExploration"]') with timeout=20000
[00:06:22]                 │ debg TestSubjects.exists(mlDFExpandableSection-results)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-results"]') with timeout=120000
[00:06:22]                 │ debg TestSubjects.exists(mlExplorationDataGrid loaded)
[00:06:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlExplorationDataGrid loaded"]') with timeout=5000
[00:06:23]                 │ debg TestSubjects.findAll(mlExplorationDataGrid loaded > dataGridRow)
[00:06:23]                 │ debg Find.allByCssSelector('[data-test-subj="mlExplorationDataGrid loaded"] [data-test-subj="dataGridRow"]') with timeout=10000
[00:06:26]                 └- ✓ pass  (4.0s) "ml for user with full ML access with data loaded data frame analytics outlier job exploration page"
[00:06:26]               └-> data frame analytics create job select index pattern modal
[00:06:26]                 └-> "before each" hook: global before each
[00:06:26]                 │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:06:26]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:06:26]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:06:26]                 │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:06:26]                 │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:06:26]                 │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:06:29]                 │ debg --- retry.tryForTime error: [data-test-subj="mlNoDataFrameAnalyticsFound"] is not displayed
[00:06:29]                 │ debg TestSubjects.click(mlAnalyticsButtonCreate)
[00:06:29]                 │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsButtonCreate"]') with timeout=10000
[00:06:29]                 │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsButtonCreate"]') with timeout=10000
[00:06:29]                 │ debg TestSubjects.exists(analyticsCreateSourceIndexModal)
[00:06:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsCreateSourceIndexModal"]') with timeout=120000
[00:06:29]                 └- ✓ pass  (3.8s) "ml for user with full ML access with data loaded data frame analytics create job select index pattern modal"
[00:06:29]               └-> data frame analytics create job configuration step
[00:06:29]                 └-> "before each" hook: global before each
[00:06:29]                 │ debg === TEST STEP === job creation selects the source data and loads the DFA job wizard page
[00:06:29]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_ihp_outlier)
[00:06:29]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:06:29]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:06:29]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:06:30]                 │ debg --- retry.try error: javascript error: arguments[0].select is not a function
[00:06:30]                 │        (Session info: headless chrome=87.0.4280.141)
[00:06:30]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_ihp_outlier)
[00:06:30]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:06:30]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:06:30]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:06:40]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:06:40]                 │      Wait timed out after 10015ms
[00:06:41]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:06:51]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:06:51]                 │      Wait timed out after 10010ms
[00:06:51]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:01]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:01]                 │      Wait timed out after 10019ms
[00:07:02]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:12]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:12]                 │      Wait timed out after 10042ms
[00:07:12]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:22]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:22]                 │      Wait timed out after 10059ms
[00:07:23]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:33]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:33]                 │      Wait timed out after 10019ms
[00:07:33]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:43]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:43]                 │      Wait timed out after 10008ms
[00:07:44]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:07:54]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:07:54]                 │      Wait timed out after 10059ms
[00:07:54]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:04]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:04]                 │      Wait timed out after 10015ms
[00:08:05]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:15]                 │      Wait timed out after 10053ms
[00:08:15]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:25]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:25]                 │      Wait timed out after 10059ms
[00:08:26]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:36]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:36]                 │      Wait timed out after 10035ms
[00:08:37]                 │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:37]                 │      Wait timed out after 10035ms
[00:08:37]                 │          at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:37]                 │          at runMicrotasks (<anonymous>)
[00:08:37]                 │          at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:37]                 │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/ml for user with full ML access with data loaded data frame analytics create job configuration step.png"
[00:08:37]                 │ info Current URL is: http://localhost:61211/app/ml/data_frame_analytics/new_job?index=30e6ead0-5969-11eb-95ab-f7855b5c0c35
[00:08:37]                 │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/ml for user with full ML access with data loaded data frame analytics create job configuration step.html
[00:08:37]                 └- ✖ fail: ml for user with full ML access with data loaded data frame analytics create job configuration step
[00:08:37]                 │      retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:37]                 │ Wait timed out after 10035ms
[00:08:37]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:37]                 │     at runMicrotasks (<anonymous>)
[00:08:37]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:37]                 │     at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:08:37]                 │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:08:37]                 │     at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
[00:08:37]                 │     at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/find.ts:430:7)
[00:08:37]                 │     at TestSubjects.click (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:116:7)
[00:08:37]                 │     at /dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:206:9
[00:08:37]                 │     at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:08:37]                 │     at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:08:37]                 │     at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
[00:08:37]                 │     at TestSubjects.setValue (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:203:14)
[00:08:37]                 │     at Object.filterSourceSelection (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/ml/job_source_selection.ts:19:7)
[00:08:37]                 │     at Object.selectSource (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/ml/job_source_selection.ts:26:7)
[00:08:37]                 │     at Object.selectSourceForAnalyticsJob (/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/services/ml/job_source_selection.ts:38:7)
[00:08:37]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/21/kibana/x-pack/test/accessibility/apps/ml.ts:250:11)
[00:08:37]                 │     at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:08:37]                 │   Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
[00:08:37]                 │   Wait timed out after 10035ms
[00:08:37]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:37]                 │       at runMicrotasks (<anonymous>)
[00:08:37]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:08:37]                 │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:08:37]                 │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:08:37]                 │       at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
[00:08:37]                 │       at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/find.ts:430:7)
[00:08:37]                 │       at TestSubjects.click (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:116:7)
[00:08:37]                 │       at /dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:206:9
[00:08:37]                 │       at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:38:15)
[00:08:37]                 │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:77:21)
[00:08:37]                 │       at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
[00:08:37]                 │       at TestSubjects.setValue (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:203:14)
[00:08:37]                 │       at Object.filterSourceSelection (test/functional/services/ml/job_source_selection.ts:19:7)
[00:08:37]                 │       at Object.selectSource (test/functional/services/ml/job_source_selection.ts:26:7)
[00:08:37]                 │       at Object.selectSourceForAnalyticsJob (test/functional/services/ml/job_source_selection.ts:38:7)
[00:08:37]                 │       at Context.<anonymous> (test/accessibility/apps/ml.ts:250:11)
[00:08:37]                 │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:08:37]                 │       at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:08:37]                 │       at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:08:37]                 │       at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
[00:08:37]                 │       at TestSubjects.setValue (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:203:14)
[00:08:37]                 │       at Object.filterSourceSelection (test/functional/services/ml/job_source_selection.ts:19:7)
[00:08:37]                 │       at Object.selectSource (test/functional/services/ml/job_source_selection.ts:26:7)
[00:08:37]                 │       at Object.selectSourceForAnalyticsJob (test/functional/services/ml/job_source_selection.ts:38:7)
[00:08:37]                 │       at Context.<anonymous> (test/accessibility/apps/ml.ts:250:11)
[00:08:37]                 │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
[00:08:37]                 │ 
[00:08:37]                 │ 

Stack Trace

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
Wait timed out after 10035ms
    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 (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/find.ts:430:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:116:7)
    at /dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:206:9
    at runAttempt (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
    at TestSubjects.setValue (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:203:14)
    at Object.filterSourceSelection (test/functional/services/ml/job_source_selection.ts:19:7)
    at Object.selectSource (test/functional/services/ml/job_source_selection.ts:26:7)
    at Object.selectSourceForAnalyticsJob (test/functional/services/ml/job_source_selection.ts:38:7)
    at Context.<anonymous> (test/accessibility/apps/ml.ts:250:11)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:43:14)
    at TestSubjects.setValue (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:203:14)
    at Object.filterSourceSelection (test/functional/services/ml/job_source_selection.ts:19:7)
    at Object.selectSource (test/functional/services/ml/job_source_selection.ts:26:7)
    at Object.selectSourceForAnalyticsJob (test/functional/services/ml/job_source_selection.ts:38:7)
    at Context.<anonymous> (test/accessibility/apps/ml.ts:250:11)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

Metrics [docs]

Async chunks

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

id before after diff
lens 1.1MB 1.1MB +181.0B

History

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

@dej611 dej611 marked this pull request as ready for review January 18, 2021 15:58
@dej611 dej611 requested a review from a team January 18, 2021 15:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Tested in Chrome and LGTM

@dej611 dej611 merged commit 1f4ee91 into elastic:master Jan 19, 2021
@dej611 dej611 deleted the fix/85572 branch January 19, 2021 11:20
dej611 added a commit to dej611/kibana that referenced this pull request Jan 19, 2021
)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dej611 added a commit that referenced this pull request Jan 19, 2021
…) (#88662)

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
JasonStoltz pushed a commit to JasonStoltz/kibana that referenced this pull request Jan 19, 2021
)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Lens] Data summaries percentage can go beyond 100%
4 participants