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

[Fleet] Bulk reassign response should include all given ids #95024

Conversation

jfsiii
Copy link
Contributor

@jfsiii jfsiii commented Mar 21, 2021

Summary

/agents/bulk_reassign should return a response with a result for each agent given; including invalid or missing ids. It currently filters out missing or invalid before updating. This PR leaves them in and includes their error results in the response.

Added/updated tests to confirm

Checklist

@jfsiii jfsiii self-assigned this Mar 21, 2021
@jfsiii jfsiii added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.13.0 v8.0.0 labels Mar 21, 2021
@jfsiii jfsiii requested review from nchaulet and jen-huang and removed request for nchaulet March 21, 2021 13:59
@jfsiii jfsiii changed the title [Fleet] Bulk reassign response should include all given agents [Fleet] Bulk reassign response should include all given ids Mar 21, 2021
@jfsiii jfsiii marked this pull request as ready for review March 21, 2021 16:16
@jfsiii jfsiii requested a review from a team as a code owner March 21, 2021 16:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@jfsiii
Copy link
Contributor Author

jfsiii commented Mar 21, 2021

@elasticmachine merge upstream

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

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

A few small questions but otherwise code LGTM 👍🏻

x-pack/plugins/fleet/server/routes/agent/handlers.ts Outdated Show resolved Hide resolved
@@ -220,14 +228,16 @@ async function getAgentDocuments(

export async function getAgentsById(
esClient: ElasticsearchClient,
agentIds: string[],
options: { includeMissing?: boolean } = { includeMissing: false }
Copy link
Contributor

Choose a reason for hiding this comment

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

is it ok to remove this flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe so. getAgentDocuments was only created last week and is only used as a part of this feature. I might have generalized too early, so I deleted the one place it was used and will see if it needs to come back.

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation·ts.machine learning data frame analytics classification creation bank marketing edits the analytics job and displays it correctly in the job list

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook in "machine learning"
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook in ""
[00:00:00]             └-> "before all" hook in ""
[00:00:00]               │ debg creating role ft_ml_source
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_ml_source]
[00:00:00]               │ debg creating role ft_ml_source_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_ml_source_readonly]
[00:00:00]               │ debg creating role ft_ml_dest
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_ml_dest]
[00:00:00]               │ debg creating role ft_ml_dest_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_ml_dest_readonly]
[00:00:00]               │ debg creating role ft_ml_ui_extras
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_ml_ui_extras]
[00:00:00]               │ debg creating role ft_default_space_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_default_space_ml_all]
[00:00:00]               │ debg creating role ft_default_space1_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_default_space1_ml_all]
[00:00:00]               │ debg creating role ft_all_spaces_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_all_spaces_ml_all]
[00:00:00]               │ debg creating role ft_default_space_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_default_space_ml_read]
[00:00:00]               │ debg creating role ft_default_space1_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_default_space1_ml_read]
[00:00:00]               │ debg creating role ft_all_spaces_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_all_spaces_ml_read]
[00:00:00]               │ debg creating role ft_default_space_ml_none
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added role [ft_default_space_ml_none]
[00:00:00]               │ debg creating user ft_ml_poweruser
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_poweruser]
[00:00:00]               │ debg created user ft_ml_poweruser
[00:00:00]               │ debg creating user ft_ml_poweruser_spaces
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_poweruser_spaces]
[00:00:00]               │ debg created user ft_ml_poweruser_spaces
[00:00:00]               │ debg creating user ft_ml_poweruser_space1
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_poweruser_space1]
[00:00:00]               │ debg created user ft_ml_poweruser_space1
[00:00:00]               │ debg creating user ft_ml_poweruser_all_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_poweruser_all_spaces]
[00:00:01]               │ debg created user ft_ml_poweruser_all_spaces
[00:00:01]               │ debg creating user ft_ml_viewer
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_viewer]
[00:00:01]               │ debg created user ft_ml_viewer
[00:00:01]               │ debg creating user ft_ml_viewer_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_viewer_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_spaces
[00:00:01]               │ debg creating user ft_ml_viewer_space1
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_viewer_space1]
[00:00:01]               │ debg created user ft_ml_viewer_space1
[00:00:01]               │ debg creating user ft_ml_viewer_all_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_viewer_all_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_all_spaces
[00:00:01]               │ debg creating user ft_ml_unauthorized
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_unauthorized]
[00:00:01]               │ debg created user ft_ml_unauthorized
[00:00:01]               │ debg creating user ft_ml_unauthorized_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] added user [ft_ml_unauthorized_spaces]
[00:00:01]               │ debg created user ft_ml_unauthorized_spaces
[00:44:24]             └-: data frame analytics
[00:44:24]               └-> "before all" hook in "data frame analytics"
[00:46:26]               └-: classification creation
[00:46:26]                 └-> "before all" hook in "classification creation"
[00:46:26]                 └-> "before all" hook in "classification creation"
[00:46:26]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:46:26]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:46:26]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [ft_bank_marketing] creating index, cause [api], templates [], shards [1]/[1]
[00:46:26]                   │ info [ml/bm_classification] Created index "ft_bank_marketing"
[00:46:26]                   │ debg [ml/bm_classification] "ft_bank_marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:46:27]                   │ info [ml/bm_classification] Indexed 9314 docs into "ft_bank_marketing"
[00:46:27]                   │ debg Searching for 'index-pattern' with title 'ft_bank_marketing'...
[00:46:27]                   │ debg  > Not found
[00:46:27]                   │ debg Creating index pattern with title 'ft_bank_marketing' and time field '@timestamp'
[00:46:27]                   │ debg Waiting up to 5000ms for index-pattern with title 'ft_bank_marketing' to exist...
[00:46:27]                   │ debg Searching for 'index-pattern' with title 'ft_bank_marketing'...
[00:46:27]                   │ debg  > Found '697f1570-8ca9-11eb-8e54-35c026851ab2'
[00:46:27]                   │ debg  > Created with id '697f1570-8ca9-11eb-8e54-35c026851ab2'
[00:46:27]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:46:28]                   │ debg SecurityPage.forceLogout
[00:46:28]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:46:28]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:29]                   │ debg Redirecting to /logout to force the logout
[00:46:29]                   │ proc [kibana]   log   [14:01:23.104] [error][data][data][indexPatterns][plugins] ResponseError: security_exception
[00:46:29]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:46:29]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:46:29]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:46:29]                   │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:46:29]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:46:29]                   │ proc [kibana]   meta: {
[00:46:29]                   │ proc [kibana]     body: { error: [Object], status: 401 },
[00:46:29]                   │ proc [kibana]     statusCode: 401,
[00:46:29]                   │ proc [kibana]     headers: {
[00:46:29]                   │ proc [kibana]       'x-opaque-id': 'c9c2af76-be17-4ad8-9f7f-8e03fa4a71fe',
[00:46:29]                   │ proc [kibana]       'www-authenticate': 'Basic realm="security" charset="UTF-8", ApiKey',
[00:46:29]                   │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:46:29]                   │ proc [kibana]       'content-length': '463'
[00:46:29]                   │ proc [kibana]     },
[00:46:29]                   │ proc [kibana]     meta: {
[00:46:29]                   │ proc [kibana]       context: null,
[00:46:29]                   │ proc [kibana]       request: [Object],
[00:46:29]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:46:29]                   │ proc [kibana]       connection: [Object],
[00:46:29]                   │ proc [kibana]       attempts: 0,
[00:46:29]                   │ proc [kibana]       aborted: false
[00:46:29]                   │ proc [kibana]     }
[00:46:29]                   │ proc [kibana]   },
[00:46:29]                   │ proc [kibana]   isBoom: true,
[00:46:29]                   │ proc [kibana]   isServer: true,
[00:46:29]                   │ proc [kibana]   data: null,
[00:46:29]                   │ proc [kibana]   output: {
[00:46:29]                   │ proc [kibana]     statusCode: 500,
[00:46:29]                   │ proc [kibana]     payload: {
[00:46:29]                   │ proc [kibana]       statusCode: 500,
[00:46:29]                   │ proc [kibana]       error: 'Internal Server Error',
[00:46:29]                   │ proc [kibana]       message: 'An internal server error occurred'
[00:46:29]                   │ proc [kibana]     },
[00:46:29]                   │ proc [kibana]     headers: {}
[00:46:29]                   │ proc [kibana]   },
[00:46:29]                   │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError'
[00:46:29]                   │ proc [kibana] }
[00:46:29]                   │ debg Waiting on the login form to appear
[00:46:29]                   │ debg Waiting for Login Page to appear.
[00:46:29]                   │ debg Waiting up to 100000ms for login page...
[00:46:29]                   │ debg browser[INFO] http://localhost:61151/logout?_t=1616594483035 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:46:29]                   │
[00:46:29]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:29]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:31]                   │ proc [kibana]   log   [14:01:24.705] [error][data][data][indexPatterns][plugins] ResponseError: security_exception
[00:46:31]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:46:31]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:46:31]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:46:31]                   │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:46:31]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:46:31]                   │ proc [kibana]   meta: {
[00:46:31]                   │ proc [kibana]     body: { error: [Object], status: 401 },
[00:46:31]                   │ proc [kibana]     statusCode: 401,
[00:46:31]                   │ proc [kibana]     headers: {
[00:46:31]                   │ proc [kibana]       'x-opaque-id': '1a0bb9b9-25c5-42f1-8cc1-5fb8378a1e33',
[00:46:31]                   │ proc [kibana]       'www-authenticate': 'Basic realm="security" charset="UTF-8", ApiKey',
[00:46:31]                   │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:46:31]                   │ proc [kibana]       'content-length': '463'
[00:46:31]                   │ proc [kibana]     },
[00:46:31]                   │ proc [kibana]     meta: {
[00:46:31]                   │ proc [kibana]       context: null,
[00:46:31]                   │ proc [kibana]       request: [Object],
[00:46:31]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:46:31]                   │ proc [kibana]       connection: [Object],
[00:46:31]                   │ proc [kibana]       attempts: 0,
[00:46:31]                   │ proc [kibana]       aborted: false
[00:46:31]                   │ proc [kibana]     }
[00:46:31]                   │ proc [kibana]   },
[00:46:31]                   │ proc [kibana]   isBoom: true,
[00:46:31]                   │ proc [kibana]   isServer: true,
[00:46:31]                   │ proc [kibana]   data: null,
[00:46:31]                   │ proc [kibana]   output: {
[00:46:31]                   │ proc [kibana]     statusCode: 500,
[00:46:31]                   │ proc [kibana]     payload: {
[00:46:31]                   │ proc [kibana]       statusCode: 500,
[00:46:31]                   │ proc [kibana]       error: 'Internal Server Error',
[00:46:31]                   │ proc [kibana]       message: 'An internal server error occurred'
[00:46:31]                   │ proc [kibana]     },
[00:46:31]                   │ proc [kibana]     headers: {}
[00:46:31]                   │ proc [kibana]   },
[00:46:31]                   │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError'
[00:46:31]                   │ proc [kibana] }
[00:46:31]                   │ proc [kibana]   log   [14:01:25.480] [error][data][data][indexPatterns][plugins] ResponseError: security_exception
[00:46:31]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:46:31]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:46:31]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:46:31]                   │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:46:31]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:46:31]                   │ proc [kibana]   meta: {
[00:46:31]                   │ proc [kibana]     body: { error: [Object], status: 401 },
[00:46:31]                   │ proc [kibana]     statusCode: 401,
[00:46:31]                   │ proc [kibana]     headers: {
[00:46:31]                   │ proc [kibana]       'x-opaque-id': 'b0df374a-66c1-4ee7-a989-ed3a4df9d7cb',
[00:46:31]                   │ proc [kibana]       'www-authenticate': 'Basic realm="security" charset="UTF-8", ApiKey',
[00:46:31]                   │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:46:31]                   │ proc [kibana]       'content-length': '463'
[00:46:31]                   │ proc [kibana]     },
[00:46:31]                   │ proc [kibana]     meta: {
[00:46:31]                   │ proc [kibana]       context: null,
[00:46:31]                   │ proc [kibana]       request: [Object],
[00:46:31]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:46:31]                   │ proc [kibana]       connection: [Object],
[00:46:31]                   │ proc [kibana]       attempts: 0,
[00:46:31]                   │ proc [kibana]       aborted: false
[00:46:31]                   │ proc [kibana]     }
[00:46:31]                   │ proc [kibana]   },
[00:46:31]                   │ proc [kibana]   isBoom: true,
[00:46:31]                   │ proc [kibana]   isServer: true,
[00:46:31]                   │ proc [kibana]   data: null,
[00:46:31]                   │ proc [kibana]   output: {
[00:46:31]                   │ proc [kibana]     statusCode: 500,
[00:46:31]                   │ proc [kibana]     payload: {
[00:46:31]                   │ proc [kibana]       statusCode: 500,
[00:46:31]                   │ proc [kibana]       error: 'Internal Server Error',
[00:46:31]                   │ proc [kibana]       message: 'An internal server error occurred'
[00:46:31]                   │ proc [kibana]     },
[00:46:31]                   │ proc [kibana]     headers: {}
[00:46:31]                   │ proc [kibana]   },
[00:46:31]                   │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError'
[00:46:31]                   │ proc [kibana] }
[00:46:32]                   │ debg browser[INFO] http://localhost:61151/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:46:32]                   │
[00:46:32]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:32]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:46:33]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:46:33]                   │ proc [kibana]   log   [14:01:26.865] [error][data][data][indexPatterns][plugins] ResponseError: security_exception
[00:46:33]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:46:33]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:46:33]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:46:33]                   │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:46:33]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:46:33]                   │ proc [kibana]   meta: {
[00:46:33]                   │ proc [kibana]     body: { error: [Object], status: 401 },
[00:46:33]                   │ proc [kibana]     statusCode: 401,
[00:46:33]                   │ proc [kibana]     headers: {
[00:46:33]                   │ proc [kibana]       'x-opaque-id': '8b3c4907-b5da-40e4-8e24-8b6bd0835ca7',
[00:46:33]                   │ proc [kibana]       'www-authenticate': 'Basic realm="security" charset="UTF-8", ApiKey',
[00:46:33]                   │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:46:33]                   │ proc [kibana]       'content-length': '463'
[00:46:33]                   │ proc [kibana]     },
[00:46:33]                   │ proc [kibana]     meta: {
[00:46:33]                   │ proc [kibana]       context: null,
[00:46:33]                   │ proc [kibana]       request: [Object],
[00:46:33]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:46:33]                   │ proc [kibana]       connection: [Object],
[00:46:33]                   │ proc [kibana]       attempts: 0,
[00:46:33]                   │ proc [kibana]       aborted: false
[00:46:33]                   │ proc [kibana]     }
[00:46:33]                   │ proc [kibana]   },
[00:46:33]                   │ proc [kibana]   isBoom: true,
[00:46:33]                   │ proc [kibana]   isServer: true,
[00:46:33]                   │ proc [kibana]   data: null,
[00:46:33]                   │ proc [kibana]   output: {
[00:46:33]                   │ proc [kibana]     statusCode: 500,
[00:46:33]                   │ proc [kibana]     payload: {
[00:46:33]                   │ proc [kibana]       statusCode: 500,
[00:46:33]                   │ proc [kibana]       error: 'Internal Server Error',
[00:46:33]                   │ proc [kibana]       message: 'An internal server error occurred'
[00:46:33]                   │ proc [kibana]     },
[00:46:33]                   │ proc [kibana]     headers: {}
[00:46:33]                   │ proc [kibana]   },
[00:46:33]                   │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError'
[00:46:33]                   │ proc [kibana] }
[00:46:33]                   │ERROR browser[SEVERE] http://localhost:61151/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:33]                   │ debg browser[INFO] http://localhost:61151/41468/bundles/core/core.entry.js 12:151257 "Detected an unhandled Promise rejection.
[00:46:33]                   │      Error: Unauthorized"
[00:46:33]                   │ERROR browser[SEVERE] http://localhost:61151/41468/bundles/core/core.entry.js 5:2514 
[00:46:33]                   │ERROR browser[SEVERE] http://localhost:61151/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:46:33]                   │ debg TestSubjects.exists(loginForm)
[00:46:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:33]                   │ debg Waiting for Login Form to appear.
[00:46:33]                   │ debg Waiting up to 100000ms for login form...
[00:46:33]                   │ debg TestSubjects.exists(loginForm)
[00:46:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:46:33]                   │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:46:33]                   │ debg TestSubjects.click(loginUsername)
[00:46:33]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:33]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:46:33]                   │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:46:33]                   │ debg TestSubjects.click(loginPassword)
[00:46:33]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:33]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:46:33]                   │ debg TestSubjects.click(loginSubmit)
[00:46:33]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:33]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:46:33]                   │ debg Waiting for login result, expected: chrome.
[00:46:33]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:46:33]                   │ proc [kibana]   log   [14:01:27.516] [error][data][data][indexPatterns][plugins] ResponseError: security_exception
[00:46:33]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)
[00:46:33]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-15/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)
[00:46:33]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:46:33]                   │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1327:12)
[00:46:33]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:46:33]                   │ proc [kibana]   meta: {
[00:46:33]                   │ proc [kibana]     body: { error: [Object], status: 401 },
[00:46:33]                   │ proc [kibana]     statusCode: 401,
[00:46:33]                   │ proc [kibana]     headers: {
[00:46:33]                   │ proc [kibana]       'x-opaque-id': 'e6ffc0e2-baff-4979-9e46-7d23c5cea04d',
[00:46:33]                   │ proc [kibana]       'www-authenticate': 'Basic realm="security" charset="UTF-8", ApiKey',
[00:46:33]                   │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:46:33]                   │ proc [kibana]       'content-length': '463'
[00:46:33]                   │ proc [kibana]     },
[00:46:33]                   │ proc [kibana]     meta: {
[00:46:33]                   │ proc [kibana]       context: null,
[00:46:33]                   │ proc [kibana]       request: [Object],
[00:46:33]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:46:33]                   │ proc [kibana]       connection: [Object],
[00:46:33]                   │ proc [kibana]       attempts: 0,
[00:46:33]                   │ proc [kibana]       aborted: false
[00:46:33]                   │ proc [kibana]     }
[00:46:33]                   │ proc [kibana]   },
[00:46:33]                   │ proc [kibana]   isBoom: true,
[00:46:33]                   │ proc [kibana]   isServer: true,
[00:46:33]                   │ proc [kibana]   data: null,
[00:46:33]                   │ proc [kibana]   output: {
[00:46:33]                   │ proc [kibana]     statusCode: 500,
[00:46:33]                   │ proc [kibana]     payload: {
[00:46:33]                   │ proc [kibana]       statusCode: 500,
[00:46:33]                   │ proc [kibana]       error: 'Internal Server Error',
[00:46:33]                   │ proc [kibana]       message: 'An internal server error occurred'
[00:46:33]                   │ proc [kibana]     },
[00:46:33]                   │ proc [kibana]     headers: {}
[00:46:33]                   │ proc [kibana]   },
[00:46:33]                   │ proc [kibana]   [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError'
[00:46:33]                   │ proc [kibana] }
[00:46:33]                   │ proc [kibana]   log   [14:01:27.518] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:46:36]                   │ debg browser[INFO] http://localhost:61151/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:46:36]                   │
[00:46:36]                   │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:36]                   │ debg Finished login process currentUrl = http://localhost:61151/app/home#/
[00:46:36]                   │ debg Waiting up to 20000ms for logout button visible...
[00:46:36]                   │ debg TestSubjects.exists(userMenuButton)
[00:46:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:46:36]                   │ debg TestSubjects.exists(userMenu)
[00:46:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:46:38]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:46:39]                   │ debg TestSubjects.click(userMenuButton)
[00:46:39]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:39]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:46:39]                   │ debg TestSubjects.exists(userMenu)
[00:46:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:46:39]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:46:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:46:39]                 └-: bank marketing
[00:46:39]                   └-> "before all" hook for "loads the data frame analytics wizard"
[00:46:39]                   └-> loads the data frame analytics wizard
[00:46:39]                     └-> "before each" hook: global before each for "loads the data frame analytics wizard"
[00:46:39]                     │ debg === TEST STEP === loads the data frame analytics page
[00:46:39]                     │ debg navigating to ml url: http://localhost:61151/app/ml
[00:46:39]                     │ debg navigate to: http://localhost:61151/app/ml
[00:46:39]                     │ debg browser[INFO] http://localhost:61151/app/ml?_t=1616594493042 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:46:39]                     │
[00:46:39]                     │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:39]                     │ debg ... sleep(700) start
[00:46:40]                     │ debg ... sleep(700) end
[00:46:40]                     │ debg returned from get, calling refresh
[00:46:41]                     │ERROR browser[SEVERE] http://localhost:61151/41468/bundles/core/core.entry.js 12:150329 TypeError: Failed to fetch
[00:46:41]                     │          at fetch_Fetch.fetchResponse (http://localhost:61151/41468/bundles/core/core.entry.js:6:29862)
[00:46:41]                     │          at async http://localhost:61151/41468/bundles/core/core.entry.js:6:27759
[00:46:41]                     │          at async http://localhost:61151/41468/bundles/core/core.entry.js:6:27665
[00:46:41]                     │ debg browser[INFO] http://localhost:61151/app/ml?_t=1616594493042 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:46:41]                     │
[00:46:41]                     │ debg browser[INFO] http://localhost:61151/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:46:41]                     │ debg currentUrl = http://localhost:61151/app/ml
[00:46:41]                     │          appUrl = http://localhost:61151/app/ml
[00:46:41]                     │ debg TestSubjects.find(kibanaChrome)
[00:46:41]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:46:42]                     │ debg ... sleep(501) start
[00:46:42]                     │ debg ... sleep(501) end
[00:46:42]                     │ debg in navigateTo url = http://localhost:61151/app/ml/overview
[00:46:42]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:46:43]                     │ debg ... sleep(501) start
[00:46:43]                     │ debg ... sleep(501) end
[00:46:43]                     │ debg in navigateTo url = http://localhost:61151/app/ml/overview
[00:46:43]                     │ debg TestSubjects.exists(statusPageContainer)
[00:46:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:46:46]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:46:46]                     │ debg TestSubjects.exists(mlApp)
[00:46:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:46:46]                     │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:46:46]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:46:46]                     │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:46:46]                     │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:46:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:46:47]                     │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:46:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:46:47]                     │ debg === TEST STEP === loads the source selection modal
[00:46:47]                     │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:46:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:46:47]                     │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:46:47]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:46:47]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:46:47]                     │ debg TestSubjects.exists(analyticsCreateSourceIndexModal)
[00:46:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsCreateSourceIndexModal"]') with timeout=120000
[00:46:47]                     │ debg === TEST STEP === selects the source data and loads the job wizard page
[00:46:47]                     │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_bank_marketing)
[00:46:47]                     │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:46:47]                     │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:46:47]                     │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:46:47]                     │ debg TestSubjects.exists(savedObjectTitleft_bank_marketing)
[00:46:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_bank_marketing"]') with timeout=120000
[00:46:48]                     │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_bank_marketing)
[00:46:48]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_bank_marketing"]') with timeout=10000
[00:46:48]                     │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_bank_marketing"]') with timeout=10000
[00:46:48]                     │ debg TestSubjects.exists(mlAnalyticsCreationContainer)
[00:46:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationContainer"]') with timeout=10000
[00:46:49]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardConfigurationStep active)
[00:46:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"]') with timeout=120000
[00:46:49]                     └- ✓ pass  (10.1s) "machine learning  data frame analytics classification creation bank marketing loads the data frame analytics wizard"
[00:46:49]                   └-> navigates through the wizard and sets all needed fields
[00:46:49]                     └-> "before each" hook: global before each for "navigates through the wizard and sets all needed fields"
[00:46:49]                     │ debg === TEST STEP === selects the job type
[00:46:49]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:46:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=120000
[00:46:49]                     │ debg TestSubjects.click(mlAnalyticsCreation-classification-option)
[00:46:49]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreation-classification-option"]') with timeout=10000
[00:46:49]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreation-classification-option"]') with timeout=10000
[00:46:49]                     │ debg TestSubjects.exists(mlAnalyticsCreation-classification-option selectedJobType)
[00:46:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreation-classification-option selectedJobType"]') with timeout=120000
[00:46:49]                     │ debg === TEST STEP === inputs the dependent variable
[00:46:49]                     │ debg TestSubjects.exists(~mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:46:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:46:49]                     │ debg TestSubjects.exists(~mlAnalyticsCreateJobWizardDependentVariableSelect)
[00:46:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsCreateJobWizardDependentVariableSelect"]') with timeout=5000
[00:46:50]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardDependentVariableSelect loaded)
[00:46:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect loaded"]') with timeout=30000
[00:46:50]                     │ debg comboBox.set, comboBoxSelector: ~mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput
[00:46:50]                     │ debg TestSubjects.find(~mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:46:50]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:46:50]                     │ debg comboBox.setElement, value: y
[00:46:50]                     │ debg comboBox.isOptionSelected, value: y
[00:46:52]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:46:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:46:52]                     │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="y"]') with timeout=2500
[00:46:52]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:46:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"duration\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"age\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"campaign\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:46:55]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:46:55]                     │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:46:55]                     │ debg TestSubjects.exists(~mlAnalyticsCreateJobWizardDependentVariableSelect)
[00:46:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsCreateJobWizardDependentVariableSelect"]') with timeout=5000
[00:46:55]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardDependentVariableSelect loaded)
[00:46:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect loaded"]') with timeout=30000
[00:46:55]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: ~mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput
[00:46:55]                     │ debg TestSubjects.find(~mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:46:55]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:46:55]                     │ debg === TEST STEP === inputs the training percent
[00:46:55]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=120000
[00:46:55]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:55]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:46:55]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:46:56]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:46:56]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:56]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:46:56]                     │ debg --- retry.tryForTime error: mlAnalyticsCreateJobWizardTrainingPercentSlider slider value should be '20' (got '70')
[00:46:56]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:46:57]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:46:57]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:57]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:46:57]                     │ debg --- retry.tryForTime error: mlAnalyticsCreateJobWizardTrainingPercentSlider slider value should be '20' (got '60')
[00:46:58]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:46:58]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:46:58]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:58]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:46:58]                     │ debg --- retry.tryForTime error: mlAnalyticsCreateJobWizardTrainingPercentSlider slider value should be '20' (got '50')
[00:46:59]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:46:59]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:46:59]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:46:59]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:46:59]                     │ debg --- retry.tryForTime error: mlAnalyticsCreateJobWizardTrainingPercentSlider slider value should be '20' (got '40')
[00:47:00]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:47:00]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:47:00]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:47:00]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:47:00]                     │ debg --- retry.tryForTime error: mlAnalyticsCreateJobWizardTrainingPercentSlider slider value should be '20' (got '30')
[00:47:01]                     │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:47:01]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value, tryTimeout=120000, findTimeout=10000)
[00:47:01]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:47:01]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:47:01]                     │ debg === TEST STEP === displays the source data preview
[00:47:01]                     │ debg TestSubjects.exists(mlAnalyticsCreationDataGrid loaded)
[00:47:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationDataGrid loaded"]') with timeout=5000
[00:47:01]                     │ debg === TEST STEP === displays the include fields selection
[00:47:01]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardIncludesTable)
[00:47:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardIncludesTable"]') with timeout=8000
[00:47:01]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardIncludesSelect)
[00:47:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardIncludesSelect"]') with timeout=120000
[00:47:01]                     │ debg === TEST STEP === displays the scatterplot matrix
[00:47:01]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardScatterplotMatrixPanel > mlScatterplotMatrix loaded)
[00:47:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardScatterplotMatrixPanel"] [data-test-subj="mlScatterplotMatrix loaded"]') with timeout=5000
[00:47:02]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardScatterplotMatrixPanel > mlScatterplotMatrix loaded)
[00:47:02]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardScatterplotMatrixPanel"] [data-test-subj="mlScatterplotMatrix loaded"]') with timeout=10000
[00:47:02]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardScatterplotMatrixPanel)
[00:47:02]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardScatterplotMatrixPanel"]') with timeout=120000
[00:47:04]                     │ debg === TEST STEP === continues to the additional options step
[00:47:04]                     │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:47:04]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:04]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:05]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardAdvancedStep active)
[00:47:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardAdvancedStep active"]') with timeout=120000
[00:47:05]                     │ debg === TEST STEP === accepts the suggested model memory limit
[00:47:05]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:47:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=120000
[00:47:05]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardModelMemoryInput, value, tryTimeout=120000, findTimeout=10000)
[00:47:05]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:47:05]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:47:05]                     │ debg === TEST STEP === continues to the details step
[00:47:05]                     │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:47:05]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:05]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:05]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardDetailsStep active)
[00:47:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDetailsStep active"]') with timeout=120000
[00:47:05]                     │ debg === TEST STEP === inputs the job id
[00:47:05]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:47:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=120000
[00:47:05]                     │ debg TestSubjects.setValueWithChecks(mlAnalyticsCreateJobFlyoutJobIdInput, bm_1_1616591692864)
[00:47:05]                     │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:47:05]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:47:05]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:47:06]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobIdInput, value, tryTimeout=120000, findTimeout=10000)
[00:47:06]                     │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:47:06]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:47:06]                     │ debg === TEST STEP === inputs the job description
[00:47:06]                     │ debg TestSubjects.exists(mlDFAnalyticsJobCreationJobDescription)
[00:47:06]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=120000
[00:47:06]                     │ debg TestSubjects.setValueWithChecks(mlDFAnalyticsJobCreationJobDescription, Classification job based on 'ft_bank_marketing' dataset with dependentVariable 'y' and trainingPercent '20')
[00:47:06]                     │ debg TestSubjects.click(mlDFAnalyticsJobCreationJobDescription)
[00:47:06]                     │ debg Find.clickByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:47:06]                     │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:47:12]                     │ debg TestSubjects.getAttribute(mlDFAnalyticsJobCreationJobDescription, value, tryTimeout=120000, findTimeout=10000)
[00:47:12]                     │ debg TestSubjects.find(mlDFAnalyticsJobCreationJobDescription)
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:47:12]                     │ debg === TEST STEP === should default the set destination index to job id switch to true
[00:47:12]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch)
[00:47:12]                     │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=120000
[00:47:12]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:47:12]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch)
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=10000
[00:47:12]                     │ debg === TEST STEP === should input the destination index
[00:47:12]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:47:12]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch)
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=10000
[00:47:12]                     │ debg TestSubjects.click(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch)
[00:47:12]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=10000
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=10000
[00:47:12]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:47:12]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch)
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDestIndexSameAsIdSwitch"]') with timeout=10000
[00:47:12]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:47:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=120000
[00:47:12]                     │ debg TestSubjects.setValueWithChecks(mlAnalyticsCreateJobFlyoutDestinationIndexInput, user-bm_1_1616591692864)
[00:47:12]                     │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:47:12]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:47:12]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:47:13]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutDestinationIndexInput, value, tryTimeout=120000, findTimeout=10000)
[00:47:13]                     │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:47:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:47:13]                     │ debg === TEST STEP === sets the create index pattern switch
[00:47:13]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardCreateIndexPatternSwitch)
[00:47:13]                     │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateIndexPatternSwitch"]') with timeout=120000
[00:47:13]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardCreateIndexPatternSwitch, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:47:13]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardCreateIndexPatternSwitch)
[00:47:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateIndexPatternSwitch"]') with timeout=10000
[00:47:13]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardCreateIndexPatternSwitch, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:47:13]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardCreateIndexPatternSwitch)
[00:47:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateIndexPatternSwitch"]') with timeout=10000
[00:47:13]                     │ debg === TEST STEP === continues to the validation step
[00:47:13]                     │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:47:13]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:14]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardValidationStepWrapper active)
[00:47:14]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardValidationStepWrapper active"]') with timeout=120000
[00:47:14]                     │ debg === TEST STEP === checks validation callouts exist
[00:47:14]                     │ debg TestSubjects.exists(mlValidationCallout)
[00:47:14]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlValidationCallout"]') with timeout=120000
[00:47:14]                     │ debg TestSubjects.findAll(mlValidationCallout)
[00:47:14]                     │ debg Find.allByCssSelector('[data-test-subj="mlValidationCallout"]') with timeout=10000
[00:47:15]                     │ debg === TEST STEP === continues to the create step
[00:47:15]                     │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:47:15]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:15]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:47:15]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardCreateStep active)
[00:47:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateStep active"]') with timeout=120000
[00:47:15]                     └- ✓ pass  (25.7s) "machine learning  data frame analytics classification creation bank marketing navigates through the wizard and sets all needed fields"
[00:47:15]                   └-> runs the analytics job and displays it correctly in the job list
[00:47:15]                     └-> "before each" hook: global before each for "runs the analytics job and displays it correctly in the job list"
[00:47:15]                     │ debg === TEST STEP === creates and starts the analytics job
[00:47:15]                     │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardCreateButton)
[00:47:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateButton"]') with timeout=120000
[00:47:15]                     │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardStartJobCheckbox, checked, tryTimeout=120000, findTimeout=10000)
[00:47:15]                     │ debg TestSubjects.find(mlAnalyticsCreateJobWizardStartJobCheckbox)
[00:47:15]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardStartJobCheckbox"]') with timeout=10000
[00:47:15]                     │ debg TestSubjects.click(mlAnalyticsCreateJobWizardCreateButton)
[00:47:15]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateButton"]') with timeout=10000
[00:47:15]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardCreateButton"]') with timeout=10000
[00:47:15]                     │ debg TestSubjects.exists(analyticsWizardCardManagement)
[00:47:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsWizardCardManagement"]') with timeout=120000
[00:47:15]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:47:15]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-config]
[00:47:15]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:47:15]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:47:15]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:47:15]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:47:15]                     │ debg Waiting up to 5000ms for 'bm_1_1616591692864' to exist...
[00:47:15]                     │ debg Fetching data frame analytics job 'bm_1_1616591692864'...
[00:47:15]                     │ debg > DFA job fetched.
[00:47:15]                     │ debg === TEST STEP === finishes analytics processing
[00:47:15]                     │ debg Waiting up to 60000ms for 'bm_1_1616591692864' to have training_docs_count > 0...
[00:47:15]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:15]                     │ debg > DFA job stats fetched.
[00:47:15]                     │ debg --- retry.waitForWithTimeout error: expected data frame analytics job 'bm_1_1616591692864' to have training_docs_count > 0 (got 0)
[00:47:16]                     │ info [o.e.x.m.a.TransportStartDataFrameAnalyticsAction] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Starting data frame analytics from state [stopped]
[00:47:16]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-inference-000003] creating index, cause [api], templates [], shards [1]/[1]
[00:47:16]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-inference-000003]
[00:47:16]                     │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:47:16]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:47:16]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] About to create first concrete index [.ml-stats-000001] with alias [.ml-stats-write]
[00:47:16]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [.ml-stats-000001] creating index, cause [api], templates [.ml-stats], shards [1]/[1]
[00:47:16]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] updating number_of_replicas to [0] for indices [.ml-stats-000001]
[00:47:16]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:16]                     │ debg > DFA job stats fetched.
[00:47:16]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Creating destination index [user-bm_1_1616591692864]
[00:47:16]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [user-bm_1_1616591692864] creating index, cause [api], templates [], shards [1]/[1]
[00:47:16]                     │ info [o.e.x.m.d.s.ReindexingStep] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Started reindexing
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-stats-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-stats-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] moving index [.ml-stats-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:47:16]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:17]                     │ debg > DFA job stats fetched.
[00:47:17]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:17]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:17]                     │ debg > DFA job stats fetched.
[00:47:17]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:17]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Started loading data
[00:47:17]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Started analyzing
[00:47:17]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Waiting for result processor to complete
[00:47:18]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:18]                     │ debg > DFA job stats fetched.
[00:47:18]                     │ debg Waiting up to 120000ms for analytics state to be stopped...
[00:47:18]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:18]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:18]                     │ debg > DFA job stats fetched.
[00:47:18]                     │ debg --- retry.waitForWithTimeout error: expected analytics state to be stopped but got started
[00:47:18]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:18]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:18]                     │ debg > DFA job stats fetched.
[00:47:18]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:19]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:19]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:19]                     │ debg > DFA job stats fetched.
[00:47:19]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:19]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:19]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:19]                     │ debg > DFA job stats fetched.
[00:47:19]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:20]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:20]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:20]                     │ debg > DFA job stats fetched.
[00:47:20]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:20]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:20]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:20]                     │ debg > DFA job stats fetched.
[00:47:20]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:21]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:21]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:21]                     │ debg > DFA job stats fetched.
[00:47:21]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:21]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:21]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:21]                     │ debg > DFA job stats fetched.
[00:47:21]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:22]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:22]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:22]                     │ debg > DFA job stats fetched.
[00:47:22]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:22]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:22]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:22]                     │ debg > DFA job stats fetched.
[00:47:22]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:23]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:23]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:23]                     │ debg > DFA job stats fetched.
[00:47:23]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:23]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:23]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:23]                     │ debg > DFA job stats fetched.
[00:47:23]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:24]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:24]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:24]                     │ debg > DFA job stats fetched.
[00:47:24]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:24]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:24]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:24]                     │ debg > DFA job stats fetched.
[00:47:24]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:25]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:25]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:25]                     │ debg > DFA job stats fetched.
[00:47:25]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:25]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:25]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:25]                     │ debg > DFA job stats fetched.
[00:47:25]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:26]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:26]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:26]                     │ debg > DFA job stats fetched.
[00:47:26]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:26]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:26]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:26]                     │ debg > DFA job stats fetched.
[00:47:26]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:27]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:27]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:27]                     │ debg > DFA job stats fetched.
[00:47:27]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:27]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:27]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:27]                     │ debg > DFA job stats fetched.
[00:47:27]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:28]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:28]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:28]                     │ debg > DFA job stats fetched.
[00:47:28]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:28]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:28]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:28]                     │ debg > DFA job stats fetched.
[00:47:28]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:29]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:29]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:29]                     │ debg > DFA job stats fetched.
[00:47:29]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:29]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:29]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:29]                     │ debg > DFA job stats fetched.
[00:47:29]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:30]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:30]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:30]                     │ debg > DFA job stats fetched.
[00:47:30]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:30]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:30]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:30]                     │ debg > DFA job stats fetched.
[00:47:30]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:31]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:31]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:31]                     │ debg > DFA job stats fetched.
[00:47:31]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:31]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:31]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:31]                     │ debg > DFA job stats fetched.
[00:47:31]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:32]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:32]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:32]                     │ debg > DFA job stats fetched.
[00:47:32]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:32]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:32]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:32]                     │ debg > DFA job stats fetched.
[00:47:32]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:33]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:33]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:33]                     │ debg > DFA job stats fetched.
[00:47:33]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:33]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:33]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:33]                     │ debg > DFA job stats fetched.
[00:47:33]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:34]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:34]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:34]                     │ debg > DFA job stats fetched.
[00:47:34]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:34]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:34]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:34]                     │ debg > DFA job stats fetched.
[00:47:34]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:34]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] [data_frame_analyzer/313571] [CBoostedTreeImpl.cc@237] Exiting hyperparameter optimisation loop early
[00:47:35]                     │ info [o.e.x.m.d.p.ChunkedTrainedModelPersister] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] finished storing trained model with id [bm_1_1616591692864-1616594548770]
[00:47:35]                     │ info [o.e.x.m.d.p.AnalyticsResultProcessor] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Started writing results
[00:47:35]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:35]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:35]                     │ debg > DFA job stats fetched.
[00:47:35]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:35]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Result processor has completed
[00:47:35]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Closing process
[00:47:35]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] [data_frame_analyzer/313571] [Main.cc@241] [{"name":"E_DFTPMEstimatedPeakMemoryUsage","description":"The upfront estimate of the peak memory training the predictive model would use","value":11241157}
[00:47:35]                     │      ,{"name":"E_DFTPMPeakMemoryUsage","description":"The peak memory training the predictive model used","value":831908}
[00:47:35]                     │      ,{"name":"E_DFTPMTimeToTrain","description":"The time it took to train the predictive model","value":17410}
[00:47:35]                     │      ,{"name":"E_DFTPMTrainedForestNumberTrees","description":"The total number of trees in the trained forest","value":73}
[00:47:35]                     │      ]
[00:47:35]                     │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] State output finished
[00:47:35]                     │ info [o.e.x.m.d.p.AnalyticsProcessManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Closed process
[00:47:35]                     │ info [o.e.x.m.d.i.InferenceRunner] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Started inference on test data against model [bm_1_1616591692864-1616594548770]
[00:47:35]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:35]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:35]                     │ debg > DFA job stats fetched.
[00:47:35]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:36]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:36]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:36]                     │ debg > DFA job stats fetched.
[00:47:36]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:36]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:36]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:36]                     │ debg > DFA job stats fetched.
[00:47:36]                     │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:47:37]                     │ info [o.e.x.m.d.DataFrameAnalyticsManager] [kibana-ci-immutable-debian-tests-xxl-1616589269508536335] [bm_1_1616591692864] Marking task completed
[00:47:37]                     │ debg Fetching analytics state for job bm_1_1616591692864
[00:47:37]                     │ debg Fetching data frame analytics job stats for job bm_1_1616591692864...
[00:47:37]                     │ debg > DFA job stats fetched.
[00:47:37]                     │ debg === TEST STEP === displays the analytics table
[00:47:37]                     │ debg TestSubjects.exists(analyticsWizardCreationCallout_0)
[00:47:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsWizardCreationCallout_0"]') with timeout=120000
[00:47:37]                     │ debg TestSubjects.exists(analyticsWizardCreationCallout_1)
[00:47:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsWizardCreationCallout_1"]') with timeout=120000
[00:47:37]                     │ debg TestSubjects.exists(analyticsWizardCreationCallout_2)
[00:47:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsWizardCreationCallout_2"]') with timeout=120000
[00:47:37]                     │ debg TestSubjects.click(analyticsWizardCardManagement)
[00:47:37]                     │ debg Find.clickByCssSelector('[data-test-subj="analyticsWizardCardManagement"]') with timeout=10000
[00:47:37]                     │ debg Find.findByCssSelector('[data-test-subj="analyticsWizardCardManagement"]') with timeout=10000
[00:47:37]                     │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:47:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:47:37]                     │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:47:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=120000
[00:47:38]                     │ debg === TEST STEP === displays the stats bar
[00:47:38]                     │ debg TestSubjects.exists(mlAnalyticsStatsBar)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsStatsBar"]') with timeout=120000
[00:47:38]                     │ debg === TEST STEP === displays the created job in the analytics table
[00:47:38]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:38]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:38]                     │ debg TestSubjects.click(~mlAnalyticsRefreshListButton)
[00:47:38]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:38]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:38]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:38]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:38]                     │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:47:38]                     │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:47:38]                     │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:47:38]                     │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:47:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:47:38]                     │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:47:38]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:47:39]                     │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:47:39]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:47:39]                     │ debg TestSubjects.find(~mlAnalyticsTable)
[00:47:39]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:47:39]                     │ debg === TEST STEP === displays details for the created job in the analytics table
[00:47:39]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:39]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:39]                     │ debg TestSubjects.click(~mlAnalyticsRefreshListButton)
[00:47:39]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:39]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:39]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:39]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:39]                     │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:47:39]                     │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:47:39]                     │ debg TestSubjects.find(~mlAnalyticsTable)
[00:47:39]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:47:39]                     └- ✓ pass  (24.2s) "machine learning  data frame analytics classification creation bank marketing runs the analytics job and displays it correctly in the job list"
[00:47:39]                   └-> edits the analytics job and displays it correctly in the job list
[00:47:39]                     └-> "before each" hook: global before each for "edits the analytics job and displays it correctly in the job list"
[00:47:39]                     │ debg === TEST STEP === should open the edit form for the created job in the analytics table
[00:47:39]                     │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:47:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=2500
[00:47:42]                     │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsJobDeleteButton"] is not displayed
[00:47:42]                     │ debg TestSubjects.click(~mlAnalyticsTable > ~row-bm_1_1616591692864 > euiCollapsedItemActionsButton)
[00:47:42]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1616591692864"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:47:42]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1616591692864"] [data-test-subj="euiCollapsedItemActionsButton"]') with timeout=10000
[00:47:42]                     │ debg TestSubjects.exists(mlAnalyticsJobDeleteButton)
[00:47:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsJobDeleteButton"]') with timeout=5000
[00:47:42]                     │ debg TestSubjects.click(mlAnalyticsJobEditButton)
[00:47:42]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobEditButton"]') with timeout=10000
[00:47:42]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobEditButton"]') with timeout=10000
[00:47:42]                     │ debg TestSubjects.exists(mlAnalyticsEditFlyout)
[00:47:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsEditFlyout"]') with timeout=5000
[00:47:42]                     │ debg === TEST STEP === should input the description in the edit form
[00:47:42]                     │ debg TestSubjects.exists(mlAnalyticsEditFlyoutDescriptionInput)
[00:47:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutDescriptionInput"]') with timeout=120000
[00:47:42]                     │ debg TestSubjects.setValueWithChecks(mlAnalyticsEditFlyoutDescriptionInput, Edited description)
[00:47:42]                     │ debg TestSubjects.click(mlAnalyticsEditFlyoutDescriptionInput)
[00:47:42]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutDescriptionInput"]') with timeout=10000
[00:47:42]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutDescriptionInput"]') with timeout=10000
[00:47:44]                     │ debg TestSubjects.getAttribute(mlAnalyticsEditFlyoutDescriptionInput, value, tryTimeout=120000, findTimeout=10000)
[00:47:44]                     │ debg TestSubjects.find(mlAnalyticsEditFlyoutDescriptionInput)
[00:47:44]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutDescriptionInput"]') with timeout=10000
[00:47:44]                     │ debg === TEST STEP === should input the model memory limit in the edit form
[00:47:44]                     │ debg TestSubjects.exists(mlAnalyticsEditFlyoutmodelMemoryLimitInput)
[00:47:44]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutmodelMemoryLimitInput"]') with timeout=120000
[00:47:44]                     │ debg TestSubjects.setValueWithChecks(mlAnalyticsEditFlyoutmodelMemoryLimitInput, 21mb)
[00:47:44]                     │ debg TestSubjects.click(mlAnalyticsEditFlyoutmodelMemoryLimitInput)
[00:47:44]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutmodelMemoryLimitInput"]') with timeout=10000
[00:47:44]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutmodelMemoryLimitInput"]') with timeout=10000
[00:47:45]                     │ debg TestSubjects.getAttribute(mlAnalyticsEditFlyoutmodelMemoryLimitInput, value, tryTimeout=120000, findTimeout=10000)
[00:47:45]                     │ debg TestSubjects.find(mlAnalyticsEditFlyoutmodelMemoryLimitInput)
[00:47:45]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutmodelMemoryLimitInput"]') with timeout=10000
[00:47:45]                     │ debg === TEST STEP === should submit the edit job form
[00:47:45]                     │ debg TestSubjects.exists(mlAnalyticsEditFlyoutUpdateButton)
[00:47:45]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutUpdateButton"]') with timeout=120000
[00:47:45]                     │ debg TestSubjects.click(mlAnalyticsEditFlyoutUpdateButton)
[00:47:45]                     │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutUpdateButton"]') with timeout=10000
[00:47:45]                     │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsEditFlyoutUpdateButton"]') with timeout=10000
[00:47:45]                     │ debg TestSubjects.missingOrFail(mlAnalyticsEditFlyout)
[00:47:45]                     │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsEditFlyout"]') with timeout=2500
[00:47:46]                     │ debg === TEST STEP === displays details for the edited job in the analytics table
[00:47:46]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:46]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:46]                     │ debg TestSubjects.click(~mlAnalyticsRefreshListButton)
[00:47:46]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:46]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:46]                     │ debg TestSubjects.exists(~mlAnalyticsRefreshListButton)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsRefreshListButton"]') with timeout=10000
[00:47:46]                     │ debg TestSubjects.exists(mlAnalyticsRefreshListButton loaded)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsRefreshListButton loaded"]') with timeout=30000
[00:47:46]                     │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:47:46]                     │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:47:46]                     │ debg TestSubjects.find(~mlAnalyticsTable)
[00:47:46]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=10000
[00:47:46]                     │ debg === TEST STEP === creates the destination index and writes results to it
[00:47:46]                     │ debg === TEST STEP === displays the results view for created job
[00:47:46]                     │ debg TestSubjects.exists(~mlAnalyticsTable > ~row-bm_1_1616591692864 > mlAnalyticsJobViewButton)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1616591692864"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=120000
[00:47:46]                     │ debg TestSubjects.click(~mlAnalyticsTable > ~row-bm_1_1616591692864 > mlAnalyticsJobViewButton)
[00:47:46]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1616591692864"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:47:46]                     │ debg Find.findByCssSelector('[data-test-subj~="mlAnalyticsTable"] [data-test-subj~="row-bm_1_1616591692864"] [data-test-subj="mlAnalyticsJobViewButton"]') with timeout=10000
[00:47:46]                     │ debg TestSubjects.exists(mlPageDataFrameAnalyticsExploration)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalyticsExploration"]') with timeout=20000
[00:47:46]                     │ debg TestSubjects.exists(mlDFExpandableSection-ClassificationEvaluation)
[00:47:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-ClassificationEvaluation"]') with timeout=120000
[00:47:47]                     │ debg TestSubjects.exists(mlDFAnalyticsClassificationExplorationConfusionMatrix)
[00:47:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsClassificationExplorationConfusionMatrix"]') with timeout=120000
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"duration\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"age\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"campaign\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:47:48]                     │ debg browser[WARNING] http://localhost:61151/41468/bundles/plugin/ml/ml.chunk.11.js 2:311650 "WARN" "Infinite extent for field \"cons_conf_idx\": [Infinity, -Infinity]"
[00:47:48]                     │ debg TestSubjects.exists(mlDFAnalyticsClassificationExplorationRocCurveChart)
[00:47:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsClassificationExplorationRocCurveChart"]') with timeout=120000
[00:47:49]                     │ debg TestSubjects.exists(mlDFAnalyticsClassificationExplorationRocCurveChart)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsClassificationExplorationRocCurveChart"]') with timeout=120000
[00:47:49]                     │ debg TestSubjects.exists(mlDFAnalyticsExplorationTablePanel)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsExplorationTablePanel"]') with timeout=120000
[00:47:49]                     │ debg TestSubjects.exists(mlExplorationDataGrid loaded)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlExplorationDataGrid loaded"]') with timeout=5000
[00:47:49]                     │ debg TestSubjects.exists(mlDFAnalyticsExplorationQueryBarFilterButtons)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsExplorationQueryBarFilterButtons"]') with timeout=5000
[00:47:49]                     │ debg TestSubjects.find(mlExplorationDataGrid loaded)
[00:47:49]                     │ debg Find.findByCssSelector('[data-test-subj="mlExplorationDataGrid loaded"]') with timeout=10000
[00:47:49]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom > mlScatterplotMatrix loaded)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"] [data-test-subj="mlScatterplotMatrix loaded"]') with timeout=5000
[00:47:49]                     │ debg TestSubjects.find(mlDFExpandableSection-splom > mlScatterplotMatrix loaded)
[00:47:49]                     │ debg Find.findByCssSelector('[data-test-subj="mlDFExpandableSection-splom"] [data-test-subj="mlScatterplotMatrix loaded"]') with timeout=10000
[00:47:49]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:47:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:47:52]                     │ debg --- retry.tryForTime error: Color stats for 'mlDFExpandableSection-splom' should be within tolerance. Expected: '[{"key":"#7FC6B3","value":1},{"key":"#88ADD0","value":0.03},{"key":"#DDDDDD","value":8},{"key":"#D3DAE6","value":8},{"key":"#F5F7FA","value":20}]' (got '[{"key":"#7FC6B3","value":0.16988084414030719,"withinTolerance":true},{"key":"#88ADD0","value":0,"withinTolerance":false},{"key":"#DDDDDD","value":7.644637986313825,"withinTolerance":true},{"key":"#D3DAE6","value":8.836196583241613,"withinTolerance":true},{"key":"#F5F7FA","value":19.373594295831936,"withinTolerance":true}]')
[00:47:52]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:47:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:47:55]                     │ debg --- retry.tryForTime failed again with the same message...
[00:47:55]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:47:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:47:58]                     │ debg --- retry.tryForTime failed again with the same message...
[00:47:58]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:47:58]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:01]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:01]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:01]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:04]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:04]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:07]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:07]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:10]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:10]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:13]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:13]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:16]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:16]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:16]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:18]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:19]                     │ debg TestSubjects.exists(mlDFExpandableSection-splom)
[00:48:19]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFExpandableSection-splom"]') with timeout=120000
[00:48:21]                     │ debg --- retry.tryForTime failed again with the same message...
[00:48:22]                     │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/machine learning  data frame analytics classification creation bank marketing edits the analytics job and displays it correctly in the job list.png"
[00:48:22]                     │ info Current URL is: http://localhost:61151/app/ml/data_frame_analytics/exploration?_g=(ml%3A(analysisType%3Aclassification%2CjobId%3Abm_1_1616591692864))
[00:48:22]                     │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/machine learning  data frame analytics classification creation bank marketing edits the analytics job and displays it correctly in the job list.html
[00:48:22]                     └- ✖ fail: machine learning  data frame analytics classification creation bank marketing edits the analytics job and displays it correctly in the job list
[00:48:22]                     │      retry.tryForTime timeout: Error: Color stats for 'mlDFExpandableSection-splom' should be within tolerance. Expected: '[{"key":"#7FC6B3","value":1},{"key":"#88ADD0","value":0.03},{"key":"#DDDDDD","value":8},{"key":"#D3DAE6","value":8},{"key":"#F5F7FA","value":20}]' (got '[{"key":"#7FC6B3","value":0.16988084414030719,"withinTolerance":true},{"key":"#88ADD0","value":0,"withinTolerance":false},{"key":"#DDDDDD","value":7.644637986313825,"withinTolerance":true},{"key":"#D3DAE6","value":8.836196583241613,"withinTolerance":true},{"key":"#F5F7FA","value":19.373594295831936,"withinTolerance":true}]')
[00:48:22]                     │     at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:48:22]                     │     at Assertion.eql (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:48:22]                     │     at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/ml/common_ui.ts:245:82
[00:48:22]                     │     at runMicrotasks (<anonymous>)
[00:48:22]                     │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:48:22]                     │     at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:48:22]                     │     at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:48:22]                     │     at Retry.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:23:14)
[00:48:22]                     │     at Object.assertColorsInCanvasElement (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/ml/common_ui.ts:233:7)
[00:48:22]                     │     at Object.assertScatterplotMatrix (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/ml/data_frame_analytics_results.ts:92:7)
[00:48:22]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation.ts:253:11)
[00:48:22]                     │     at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:48:22]                     │   Error: retry.tryForTime timeout: Error: Color stats for 'mlDFExpandableSection-splom' should be within tolerance. Expected: '[{"key":"#7FC6B3","value":1},{"key":"#88ADD0","value":0.03},{"key":"#DDDDDD","value":8},{"key":"#D3DAE6","value":8},{"key":"#F5F7FA","value":20}]' (got '[{"key":"#7FC6B3","value":0.16988084414030719,"withinTolerance":true},{"key":"#88ADD0","value":0,"withinTolerance":false},{"key":"#DDDDDD","value":7.644637986313825,"withinTolerance":true},{"key":"#D3DAE6","value":8.836196583241613,"withinTolerance":true},{"key":"#F5F7FA","value":19.373594295831936,"withinTolerance":true}]')
[00:48:22]                     │       at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:48:22]                     │       at Assertion.eql (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:48:22]                     │       at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/ml/common_ui.ts:245:82
[00:48:22]                     │       at runMicrotasks (<anonymous>)
[00:48:22]                     │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:48:22]                     │       at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:48:22]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:48:22]                     │       at Retry.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:23:14)
[00:48:22]                     │       at Object.assertColorsInCanvasElement (test/functional/services/ml/common_ui.ts:233:7)
[00:48:22]                     │       at Object.assertScatterplotMatrix (test/functional/services/ml/data_frame_analytics_results.ts:92:7)
[00:48:22]                     │       at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/classification_creation.ts:253:11)
[00:48:22]                     │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:48:22]                     │       at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:48:22]                     │       at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:48:22]                     │       at Retry.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:23:14)
[00:48:22]                     │       at Object.assertColorsInCanvasElement (test/functional/services/ml/common_ui.ts:233:7)
[00:48:22]                     │       at Object.assertScatterplotMatrix (test/functional/services/ml/data_frame_analytics_results.ts:92:7)
[00:48:22]                     │       at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/classification_creation.ts:253:11)
[00:48:22]                     │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:48:22]                     │ 
[00:48:22]                     │ 

Stack Trace

Error: retry.tryForTime timeout: Error: Color stats for 'mlDFExpandableSection-splom' should be within tolerance. Expected: '[{"key":"#7FC6B3","value":1},{"key":"#88ADD0","value":0.03},{"key":"#DDDDDD","value":8},{"key":"#D3DAE6","value":8},{"key":"#F5F7FA","value":20}]' (got '[{"key":"#7FC6B3","value":0.16988084414030719,"withinTolerance":true},{"key":"#88ADD0","value":0,"withinTolerance":false},{"key":"#DDDDDD","value":7.644637986313825,"withinTolerance":true},{"key":"#D3DAE6","value":8.836196583241613,"withinTolerance":true},{"key":"#F5F7FA","value":19.373594295831936,"withinTolerance":true}]')
    at Assertion.assert (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/services/ml/common_ui.ts:245:82
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at runAttempt (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:23:14)
    at Object.assertColorsInCanvasElement (test/functional/services/ml/common_ui.ts:233:7)
    at Object.assertScatterplotMatrix (test/functional/services/ml/data_frame_analytics_results.ts:92:7)
    at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/classification_creation.ts:253:11)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.tryForTime (/dev/shm/workspace/parallel/15/kibana/test/common/services/retry/retry.ts:23:14)
    at Object.assertColorsInCanvasElement (test/functional/services/ml/common_ui.ts:233:7)
    at Object.assertScatterplotMatrix (test/functional/services/ml/data_frame_analytics_results.ts:92:7)
    at Context.<anonymous> (test/functional/apps/ml/data_frame_analytics/classification_creation.ts:253:11)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

History

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

cc @jfsiii

@jfsiii jfsiii added the auto-backport Deprecated - use backport:version if exact versions are needed label Mar 24, 2021
@jfsiii jfsiii merged commit 3639aa4 into elastic:master Mar 24, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 24, 2021
…95024)

## Summary
`/agents/bulk_reassign` should return a response with a result for each agent given; including invalid or missing ids. It currently filters out missing or invalid before updating. This PR leaves them in and includes their error results in the response. 

[Added/updated tests](https://github.com/elastic/kibana/pull/95024/files#diff-7ec94bee3e2bae79e5d98b8c17c17b26fad14736143ffa144f3e035773d4cad1R113-R128) to confirm

### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

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

💚 Backport successful

7.x / #95324

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Mar 24, 2021
…95324)

## Summary
`/agents/bulk_reassign` should return a response with a result for each agent given; including invalid or missing ids. It currently filters out missing or invalid before updating. This PR leaves them in and includes their error results in the response. 

[Added/updated tests](https://github.com/elastic/kibana/pull/95024/files#diff-7ec94bee3e2bae79e5d98b8c17c17b26fad14736143ffa144f3e035773d4cad1R113-R128) to confirm

### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

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

Co-authored-by: John Schulz <john.schulz@elastic.co>
jfsiii pushed a commit that referenced this pull request Mar 26, 2021
## Summary
`/agents/bulk_upgrade` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object.

This PR includes commits from open PR #95024. The additions from this PR are https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb

[TS type diff for response](https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb#diff-7006a6c170a608c8c7211fc218c0a6f4bc8ff642c170ea264db4b1b5545fb728)

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUpgradeResponse {}

+ export type PostBulkAgentUpgradeResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 26, 2021
## Summary
`/agents/bulk_upgrade` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object.

This PR includes commits from open PR elastic#95024. The additions from this PR are https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb

[TS type diff for response](https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb#diff-7006a6c170a608c8c7211fc218c0a6f4bc8ff642c170ea264db4b1b5545fb728)

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUpgradeResponse {}

+ export type PostBulkAgentUpgradeResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Mar 26, 2021
## Summary
`/agents/bulk_upgrade` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object.

This PR includes commits from open PR #95024. The additions from this PR are https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb

[TS type diff for response](https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb#diff-7006a6c170a608c8c7211fc218c0a6f4bc8ff642c170ea264db4b1b5545fb728)

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUpgradeResponse {}

+ export type PostBulkAgentUpgradeResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

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

Co-authored-by: John Schulz <john.schulz@elastic.co>
@jfsiii jfsiii deleted the bulk-reassign-response-should-include-all-given-agents branch April 6, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants