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

[APM] Stabilize agent configuration API #57767

Merged
merged 11 commits into from
Feb 24, 2020

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Feb 16, 2020

Closes #57018
Closes #57005
Closes #57659

This PR contains:

  • Public docs for Agent Configuration API
  • Improvements to the Agent Configuration API
  • Improvements to the API tests of Agent Configuration

Create and update APIs are merged
Previously a config was created with POST '/api/apm/settings/agent-configuration/new' and a config was updated with PUT /api/apm/settings/agent-configuration/{configurationId}.

Now both are handled with PUT /api/apm/settings/agent-configuration.
It is possible to overwrite an existing configuration (determined by service.name / service.environment) by providing ?overwrite=true. Without it a 400 error will be returned if a matching config already exists.

Delete API modified
Before: DELETE /api/apm/settings/agent-configuration/{configurationId}.
After: DELETE /api/apm/settings/agent-configuration

To specify a config, the request body must contain:

{
  "service": "my-service",
  "environment": "my-environment"
}

To setup the docs locally

Clone docs repo as a sibling to kibana

git clone git@github.com:elastic/docs.git

Run from Kibana:

node scripts/docs.js --open

Docs can be accessed on http://localhost:8000/guide/agent-config-api.html

Improvements of flaky tests
I did some changes to the API tests that should make them more stable. Related issue: #51764

@sorenlouv sorenlouv requested a review from a team as a code owner February 16, 2020 21:43
@sorenlouv sorenlouv added release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Feb 16, 2020
@sorenlouv sorenlouv force-pushed the update-apm-agent-config-api branch 2 times, most recently from 6a0b116 to 0d4ffc9 Compare February 20, 2020 14:54
Copy link
Member

@bmorelli25 bmorelli25 left a comment

Choose a reason for hiding this comment

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

An HTML preview of the documentation changes is available here.

docs/apm/api.asciidoc Outdated Show resolved Hide resolved
docs/apm/api.asciidoc Outdated Show resolved Hide resolved
docs/apm/api.asciidoc Outdated Show resolved Hide resolved
docs/apm/api.asciidoc Outdated Show resolved Hide resolved
docs/apm/api.asciidoc Outdated Show resolved Hide resolved
docs/apm/api.asciidoc Outdated Show resolved Hide resolved
sorenlouv and others added 11 commits February 24, 2020 17:54
Remove unused `deleteByQuery`

Fix issues with query param decoding

Fix tests

Fix tsc

Use hashed service as id

Revert "Use hashed service as id"

This reverts commit 9e943ea6f22cbcdfeec6711818db535d09b31342.

Ensure that overwriting only happens when updating configurations

Add comment to explain “markAppliedByAgent”
@smith smith self-requested a review February 24, 2020 16:56
Copy link
Member

@dgieselaar dgieselaar left a comment

Choose a reason for hiding this comment

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

Looks good AFAICT! I have one last suggestion for serviceRt: if we want to prevent an accidental omission of service, what about:

const serviceRt = t.intersection([
	t.null,
	t.type({ environment: t.string, name: t.string }),
	t.type({ environment: t.string }),
	t.type({ name: t.string })
]);

That might be a little safer than just using t.partial(), which might just move the risk to the {name,environment} values.

Copy link
Member

@bmorelli25 bmorelli25 left a comment

Choose a reason for hiding this comment

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

Docs LGTM

@sorenlouv sorenlouv merged commit 13eacb5 into elastic:master Feb 24, 2020
@sorenlouv sorenlouv deleted the update-apm-agent-config-api branch February 24, 2020 22:43
jloleysens added a commit to jloleysens/kibana that referenced this pull request Feb 25, 2020
…re/files-and-filetree

* 'master' of github.com:elastic/kibana: (174 commits)
  [SIEM] Fix unnecessary re-renders on the Overview page (elastic#56587)
  Don't mutate error message (elastic#58452)
  Fix service map popover transaction duration (elastic#58422)
  [ML] Adding filebeat config to file dataviz (elastic#58152)
  [Uptime] Improve refresh handling when generating test data (elastic#58285)
  [Logs / Metrics UI] Remove path prefix from ViewSourceConfigur… (elastic#58238)
  [ML] Functional tests - adjust classification model memory (elastic#58445)
  [ML] Use event.timezone instead of beat.timezone in file upload (elastic#58447)
  [Logs UI] Unskip and stabilitize log column configuration tests (elastic#58392)
  [Telemetry] Separate the license retrieval from the stats in the usage collectors (elastic#57332)
  hide welcome screen for cloud (elastic#58371)
  Move src/legacy/ui/public/notify/app_redirect to kibana_legacy (elastic#58127)
  [ML] Functional tests - stabilize typing during df analytics creation (elastic#58227)
  fix short url in spaces (elastic#58313)
  [SIEM] Upgrades cypress to version 4.0.2 (elastic#58400)
  [Index management] Move to new platform "plugins" folder (elastic#58109)
  [kbn/optimizer] disable parallelization in terser plugin (elastic#58396)
  [Uptime] Delete useless try...catch blocks (elastic#58263)
  [Uptime] Use scripted metric for snapshot calculation (elastic#58247) (elastic#58389)
  [APM] Stabilize agent configuration API (elastic#57767)
  ...

# Conflicts:
#	src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added backport missing Added to PRs automatically when the are determined to be missing a backport. and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Feb 25, 2020
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation·ts.machine learning data frame analytics classification creation bank marketing starts the analytics job

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:03:51]         └-: machine learning
[00:03:51]           └-> "before all" hook
[00:03:51]           └-> "before all" hook
[00:03:51]             │ debg creating role ml_source
[00:03:51]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_source]
[00:03:51]             │ debg created role ml_source
[00:03:51]             │ debg creating role ml_dest
[00:03:51]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_dest]
[00:03:51]             │ debg created role ml_dest
[00:03:51]             │ debg creating role ml_dest_readonly
[00:03:51]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_dest_readonly]
[00:03:51]             │ debg created role ml_dest_readonly
[00:03:51]             │ debg creating role ml_ui_extras
[00:03:51]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_ui_extras]
[00:03:51]             │ debg created role ml_ui_extras
[00:03:51]             │ debg creating user ml_poweruser
[00:03:51]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added user [ml_poweruser]
[00:03:51]             │ debg created user ml_poweruser
[00:03:51]             │ debg creating user ml_viewer
[00:03:51]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added user [ml_viewer]
[00:03:51]             │ debg created user ml_viewer
[00:33:05]           └-: data frame analytics
[00:33:05]             └-> "before all" hook
[00:35:14]             └-: classification creation
[00:35:14]               └-> "before all" hook
[00:35:14]               └-> "before all" hook
[00:35:14]                 │ info [ml/bm_classification] Loading "mappings.json"
[00:35:14]                 │ info [ml/bm_classification] Loading "data.json.gz"
[00:35:14]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:35:14]                 │ info [ml/bm_classification] Created index "bank-marketing"
[00:35:14]                 │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:35:14]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/1a2GsC1LRAqn7mYFilD3Fg] deleting index
[00:35:14]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_1/XMjbqUjNQUarNUa-YUI-QQ] deleting index
[00:35:14]                 │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:35:14]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:35:14]                 │ info [ml/bm_classification] Created index ".kibana_1"
[00:35:14]                 │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:35:15]                 │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:35:15]                 │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:35:16]                 │ info Detected mapping change in "properties.case-workflow"
[00:35:16]                 │ info Creating index .kibana_2.
[00:35:16]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:35:16]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.kibana_2]
[00:35:16]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:35:16]                 │ debg Migrating saved objects space:default, telemetry:telemetry, config:7.0.0, index-pattern:5ef765b0-41b1-11ea-87af-5ba256dbe605, maps-telemetry:maps-telemetry
[00:35:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/WxG6TD8ASQSiheaIZv4DYw] update_mapping [_doc]
[00:35:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/WxG6TD8ASQSiheaIZv4DYw] update_mapping [_doc]
[00:35:16]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/WxG6TD8ASQSiheaIZv4DYw] update_mapping [_doc]
[00:35:16]                 │ info Pointing alias .kibana to .kibana_2.
[00:35:16]                 │ info Finished in 254ms.
[00:35:16]                 │ debg SecurityPage.forceLogout
[00:35:16]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:35:16]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:35:17]                 │ debg Redirecting to /logout to force the logout
[00:35:17]                 │ debg Waiting on the login form to appear
[00:35:17]                 │ debg Waiting up to 100000ms for login form...
[00:35:17]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:35:17]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1582709245074 350 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:35:17]                 │
[00:35:17]                 │ debg browser[INFO] http://localhost:6131/bundles/app/logout/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:20]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:27Z
[00:35:20]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:35:20]                 │
[00:35:20]                 │      "
[00:35:20]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582709245074 350 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:35:20]                 │
[00:35:20]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:20]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:35:21]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:35:22]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:30Z
[00:35:22]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:35:22]                 │
[00:35:22]                 │      "
[00:35:22]                 │ debg navigating to login url: http://localhost:6131/login
[00:35:22]                 │ debg Navigate to: http://localhost:6131/login
[00:35:22]                 │ debg ... sleep(700) start
[00:35:22]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582709250490 350 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:35:22]                 │
[00:35:22]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:23]                 │ debg ... sleep(700) end
[00:35:23]                 │ debg returned from get, calling refresh
[00:35:24]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:32Z
[00:35:24]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:35:24]                 │
[00:35:24]                 │      "
[00:35:24]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582709250490 350 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:35:24]                 │
[00:35:24]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:24]                 │ debg currentUrl = http://localhost:6131/login
[00:35:24]                 │          appUrl = http://localhost:6131/login
[00:35:24]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:35:25]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:33Z
[00:35:25]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:35:25]                 │
[00:35:25]                 │      "
[00:35:25]                 │ debg ... sleep(501) start
[00:35:26]                 │ debg ... sleep(501) end
[00:35:26]                 │ debg in navigateTo url = http://localhost:6131/login#/
[00:35:26]                 │ debg TestSubjects.exists(statusPageContainer)
[00:35:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:35:28]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:35:29]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:35:29]                 │ debg TestSubjects.click(loginUsername)
[00:35:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:35:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:35:29]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:35:29]                 │ debg TestSubjects.click(loginPassword)
[00:35:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:35:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:35:29]                 │ debg TestSubjects.click(loginSubmit)
[00:35:29]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:35:29]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:35:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:35:34]                 │ debg browser[INFO] http://localhost:6131/app/kibana 350 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:35:34]                 │
[00:35:34]                 │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:34]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:40Z
[00:35:34]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:35:34]                 │
[00:35:34]                 │      "
[00:35:34]                 │ debg Finished login process currentUrl = http://localhost:6131/app/kibana#/home
[00:35:34]                 │ debg Waiting up to 20000ms for logout button visible...
[00:35:34]                 │ debg TestSubjects.exists(userMenuButton)
[00:35:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:35:34]                 │ debg TestSubjects.exists(userMenu)
[00:35:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:35:36]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:35:37]                 │ debg TestSubjects.click(userMenuButton)
[00:35:37]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:35:37]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:35:37]                 │ debg Waiting up to 20000ms for user menu opened...
[00:35:37]                 │ debg TestSubjects.exists(userMenu)
[00:35:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:35:37]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:35:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:35:37]               └-: bank marketing
[00:35:37]                 └-> "before all" hook
[00:35:37]                 └-> loads the data frame analytics page
[00:35:37]                   └-> "before each" hook: global before each
[00:35:37]                   │ debg navigating to ml url: http://localhost:6131/app/ml
[00:35:37]                   │ debg Navigate to: http://localhost:6131/app/ml
[00:35:37]                   │ debg ... sleep(700) start
[00:35:37]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1582709265525 350 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:35:37]                   │
[00:35:37]                   │ debg browser[INFO] http://localhost:6131/bundles/app/ml/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:38]                   │ debg ... sleep(700) end
[00:35:38]                   │ debg returned from get, calling refresh
[00:35:38]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1582709265525 350 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:35:38]                   │
[00:35:38]                   │ debg browser[INFO] http://localhost:6131/bundles/app/ml/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:39]                   │ debg currentUrl = http://localhost:6131/app/ml
[00:35:39]                   │          appUrl = http://localhost:6131/app/ml
[00:35:39]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:35:41]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T09:27:48Z
[00:35:41]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:35:41]                   │
[00:35:41]                   │      "
[00:35:41]                   │ debg ... sleep(501) start
[00:35:42]                   │ debg ... sleep(501) end
[00:35:42]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:35:42]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:35:42]                   │ debg ... sleep(501) start
[00:35:43]                   │ debg ... sleep(501) end
[00:35:43]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:35:43]                   │ debg TestSubjects.exists(statusPageContainer)
[00:35:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:35:45]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:35:46]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:35:46]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:35:46]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:35:46]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:35:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:35:46]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:35:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:35:46]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:35:46]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:35:46]                   └- ✓ pass  (9.1s) "machine learning data frame analytics classification creation bank marketing loads the data frame analytics page"
[00:35:46]                 └-> loads the job creation flyout
[00:35:46]                   └-> "before each" hook: global before each
[00:35:46]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:35:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:35:46]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:35:46]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:35:46]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:35:46]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:35:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:35:47]                   └- ✓ pass  (345ms) "machine learning data frame analytics classification creation bank marketing loads the job creation flyout"
[00:35:47]                 └-> selects the job type
[00:35:47]                   └-> "before each" hook: global before each
[00:35:47]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:35:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=120000
[00:35:47]                   │ debg Find.selectValue('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]', option[value="classification"]')
[00:35:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:35:47]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:35:47]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:35:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:35:47]                   └- ✓ pass  (209ms) "machine learning data frame analytics classification creation bank marketing selects the job type"
[00:35:47]                 └-> inputs the job id
[00:35:47]                   └-> "before each" hook: global before each
[00:35:47]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:35:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=120000
[00:35:47]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutJobIdInput, bm_1_1582707126265)
[00:35:47]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:35:47]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:35:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:35:47]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobIdInput, value)
[00:35:47]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:35:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:35:47]                   └- ✓ pass  (444ms) "machine learning data frame analytics classification creation bank marketing inputs the job id"
[00:35:47]                 └-> inputs the job description
[00:35:47]                   └-> "before each" hook: global before each
[00:35:47]                   │ debg TestSubjects.exists(mlDFAnalyticsJobCreationJobDescription)
[00:35:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=120000
[00:35:47]                   │ debg TestSubjects.setValue(mlDFAnalyticsJobCreationJobDescription, Classification job based on 'bank-marketing' dataset with dependentVariable 'y' and trainingPercent '20')
[00:35:47]                   │ debg TestSubjects.click(mlDFAnalyticsJobCreationJobDescription)
[00:35:47]                   │ debg Find.clickByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:35:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:35:48]                   │ debg TestSubjects.getAttribute(mlDFAnalyticsJobCreationJobDescription, value)
[00:35:48]                   │ debg TestSubjects.find(mlDFAnalyticsJobCreationJobDescription)
[00:35:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:35:48]                   └- ✓ pass  (1.2s) "machine learning data frame analytics classification creation bank marketing inputs the job description"
[00:35:48]                 └-> selects the source index
[00:35:48]                   └-> "before each" hook: global before each
[00:35:48]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:35:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:35:48]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:35:48]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:35:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:35:48]                   │ debg comboBox.setElement, value: bank-marketing*
[00:35:48]                   │ debg comboBox.isOptionSelected, value: bank-marketing*
[00:35:51]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:35:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:35:51]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bank-marketing*"]') with timeout=2500
[00:35:51]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:35:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:35:54]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:35:54]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:35:54]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:35:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:35:54]                   └- ✓ pass  (5.7s) "machine learning data frame analytics classification creation bank marketing selects the source index"
[00:35:54]                 └-> inputs the destination index
[00:35:54]                   └-> "before each" hook: global before each
[00:35:54]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:35:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=120000
[00:35:54]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutDestinationIndexInput, user-bm_1_1582707126265)
[00:35:54]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:35:54]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:35:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:35:55]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutDestinationIndexInput, value)
[00:35:55]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:35:55]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:35:55]                   └- ✓ pass  (428ms) "machine learning data frame analytics classification creation bank marketing inputs the destination index"
[00:35:55]                 └-> inputs the dependent variable
[00:35:55]                   └-> "before each" hook: global before each
[00:35:55]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:35:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:35:55]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:35:55]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:35:55]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:35:55]                   │ debg comboBox.setElement, value: y
[00:35:55]                   │ debg comboBox.isOptionSelected, value: y
[00:35:57]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:35:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:35:57]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="y"]') with timeout=2500
[00:35:57]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:35:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:36:00]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:36:00]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:36:00]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:36:00]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:36:00]                   └- ✓ pass  (5.5s) "machine learning data frame analytics classification creation bank marketing inputs the dependent variable"
[00:36:00]                 └-> inputs the training percent
[00:36:00]                   └-> "before each" hook: global before each
[00:36:00]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=120000
[00:36:00]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:00]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:36:00]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:36:01]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '70')
[00:36:01]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:36:02]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '60')
[00:36:02]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:36:03]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '50')
[00:36:03]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:36:04]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '40')
[00:36:04]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:36:05]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '30')
[00:36:05]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:36:06]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '20')
[00:36:06]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutTrainingPercentSlider, value)
[00:36:06]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:36:06]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:36:06]                   └- ✓ pass  (6.3s) "machine learning data frame analytics classification creation bank marketing inputs the training percent"
[00:36:06]                 └-> inputs the model memory limit
[00:36:06]                   └-> "before each" hook: global before each
[00:36:06]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=120000
[00:36:06]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutModelMemoryInput, 105mb)
[00:36:06]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:06]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:06]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:07]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutModelMemoryInput, value)
[00:36:07]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:36:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:36:07]                   └- ✓ pass  (256ms) "machine learning data frame analytics classification creation bank marketing inputs the model memory limit"
[00:36:07]                 └-> sets the create index pattern switch
[00:36:07]                   └-> "before each" hook: global before each
[00:36:07]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:07]                   │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=120000
[00:36:07]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:36:07]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:07]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:07]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:07]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:36:07]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:36:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:36:07]                   └- ✓ pass  (133ms) "machine learning data frame analytics classification creation bank marketing sets the create index pattern switch"
[00:36:07]                 └-> creates the analytics job
[00:36:07]                   └-> "before each" hook: global before each
[00:36:07]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:07]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=120000
[00:36:07]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:07]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:36:07]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:36:07]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutCreateButton)
[00:36:07]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=2500
[00:36:07]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:36:07]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-config]
[00:36:07]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:07]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:36:07]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] Created ML annotations index and aliases
[00:36:07]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-config/obXT7qmOR1CiECuPb9iUWQ] update_mapping [_doc]
[00:36:07]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:36:07]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:36:08]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:36:08]                   └- ✓ pass  (962ms) "machine learning data frame analytics classification creation bank marketing creates the analytics job"
[00:36:08]                 └-> starts the analytics job
[00:36:08]                   └-> "before each" hook: global before each
[00:36:08]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:36:08]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:08]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:36:08]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:36:08]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:08]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:36:08]                   │ERROR browser[SEVERE] http://localhost:6131/api/ml/data_frame/analytics/bm_1_1582707126265/_start - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:36:10]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:36:10]                   │      Wait timed out after 2558ms
[00:36:11]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:36:11]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:36:13]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:36:13]                   │      Wait timed out after 2570ms
[00:36:14]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics classification creation bank marketing starts the analytics job.png"
[00:36:14]                   │ info Current URL is: http://localhost:6131/app/ml#/data_frame_analytics?_g=(refreshInterval:(pause:!f,value:30000))
[00:36:14]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics classification creation bank marketing starts the analytics job.html
[00:36:14]                   └- ✖ fail: "machine learning data frame analytics classification creation bank marketing starts the analytics job"
[00:36:14]                   │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
Wait timed out after 2570ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/machine_learning/data_frame_analytics/classification_creation·ts.machine learning data frame analytics classification creation bank marketing starts the analytics job

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:04:46]         └-: machine learning
[00:04:46]           └-> "before all" hook
[00:04:46]           └-> "before all" hook
[00:04:46]             │ debg creating role ml_source
[00:04:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_source]
[00:04:46]             │ debg created role ml_source
[00:04:46]             │ debg creating role ml_dest
[00:04:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_dest]
[00:04:46]             │ debg created role ml_dest
[00:04:46]             │ debg creating role ml_dest_readonly
[00:04:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_dest_readonly]
[00:04:46]             │ debg created role ml_dest_readonly
[00:04:46]             │ debg creating role ml_ui_extras
[00:04:46]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added role [ml_ui_extras]
[00:04:46]             │ debg created role ml_ui_extras
[00:04:46]             │ debg creating user ml_poweruser
[00:04:46]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added user [ml_poweruser]
[00:04:46]             │ debg created user ml_poweruser
[00:04:46]             │ debg creating user ml_viewer
[00:04:46]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] added user [ml_viewer]
[00:04:46]             │ debg created user ml_viewer
[00:36:23]           └-: data frame analytics
[00:36:23]             └-> "before all" hook
[00:38:24]             └-: classification creation
[00:38:24]               └-> "before all" hook
[00:38:24]               └-> "before all" hook
[00:38:24]                 │ info [ml/bm_classification] Loading "mappings.json"
[00:38:24]                 │ info [ml/bm_classification] Loading "data.json.gz"
[00:38:24]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:38:24]                 │ info [ml/bm_classification] Created index "bank-marketing"
[00:38:24]                 │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:38:25]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_1/XoVIRf2BQBOHbB_lmfb8hA] deleting index
[00:38:25]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/ITcACaizTXmmc2W5zJTVNw] deleting index
[00:38:25]                 │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:38:25]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:38:25]                 │ info [ml/bm_classification] Created index ".kibana_1"
[00:38:25]                 │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:38:25]                 │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:38:25]                 │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:38:26]                 │ info Detected mapping change in "properties.case-workflow"
[00:38:26]                 │ info Creating index .kibana_2.
[00:38:26]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:38:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.kibana_2]
[00:38:26]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:38:26]                 │ debg Migrating saved objects space:default, telemetry:telemetry, config:7.0.0, index-pattern:5ef765b0-41b1-11ea-87af-5ba256dbe605, maps-telemetry:maps-telemetry
[00:38:26]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/hbq_uzTHSxuvn9GtQVs_4Q] update_mapping [_doc]
[00:38:26]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/hbq_uzTHSxuvn9GtQVs_4Q] update_mapping [_doc]
[00:38:26]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.kibana_2/hbq_uzTHSxuvn9GtQVs_4Q] update_mapping [_doc]
[00:38:26]                 │ info Pointing alias .kibana to .kibana_2.
[00:38:26]                 │ info Finished in 230ms.
[00:38:26]                 │ debg SecurityPage.forceLogout
[00:38:26]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:38:27]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:38:27]                 │ debg Redirecting to /logout to force the logout
[00:38:27]                 │ debg Waiting on the login form to appear
[00:38:27]                 │ debg Waiting up to 100000ms for login form...
[00:38:27]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:38:27]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1582706950437 350 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:38:27]                 │
[00:38:27]                 │ debg browser[INFO] http://localhost:6131/bundles/app/logout/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:30]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:12Z
[00:38:30]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:38:30]                 │
[00:38:30]                 │      "
[00:38:30]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582706950437 350 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:38:30]                 │
[00:38:30]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:30]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:38:31]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:38:33]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:15Z
[00:38:33]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:38:33]                 │
[00:38:33]                 │      "
[00:38:33]                 │ debg navigating to login url: http://localhost:6131/login
[00:38:33]                 │ debg Navigate to: http://localhost:6131/login
[00:38:33]                 │ debg ... sleep(700) start
[00:38:33]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582706956031 350 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:38:33]                 │
[00:38:33]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:33]                 │ debg ... sleep(700) end
[00:38:33]                 │ debg returned from get, calling refresh
[00:38:35]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:17Z
[00:38:35]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:38:35]                 │
[00:38:35]                 │      "
[00:38:35]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582706956031 350 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:38:35]                 │
[00:38:35]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:35]                 │ debg currentUrl = http://localhost:6131/login
[00:38:35]                 │          appUrl = http://localhost:6131/login
[00:38:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:38:36]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:19Z
[00:38:36]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:38:36]                 │
[00:38:36]                 │      "
[00:38:37]                 │ debg ... sleep(501) start
[00:38:37]                 │ debg ... sleep(501) end
[00:38:37]                 │ debg in navigateTo url = http://localhost:6131/login#/
[00:38:37]                 │ debg TestSubjects.exists(statusPageContainer)
[00:38:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:38:40]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:38:40]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:38:40]                 │ debg TestSubjects.click(loginUsername)
[00:38:40]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:38:40]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:38:40]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:38:40]                 │ debg TestSubjects.click(loginPassword)
[00:38:40]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:38:40]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:38:40]                 │ debg TestSubjects.click(loginSubmit)
[00:38:40]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:38:40]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:38:41]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:38:44]                 │ debg browser[INFO] http://localhost:6131/app/kibana 350 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:38:44]                 │
[00:38:44]                 │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:44]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:26Z
[00:38:44]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:38:44]                 │
[00:38:44]                 │      "
[00:38:45]                 │ debg Finished login process currentUrl = http://localhost:6131/app/kibana#/home
[00:38:45]                 │ debg Waiting up to 20000ms for logout button visible...
[00:38:45]                 │ debg TestSubjects.exists(userMenuButton)
[00:38:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:38:45]                 │ debg TestSubjects.exists(userMenu)
[00:38:45]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:38:48]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:38:48]                 │ debg TestSubjects.click(userMenuButton)
[00:38:48]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:38:48]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:38:48]                 │ debg Waiting up to 20000ms for user menu opened...
[00:38:48]                 │ debg TestSubjects.exists(userMenu)
[00:38:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:38:48]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:38:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:38:48]               └-: bank marketing
[00:38:48]                 └-> "before all" hook
[00:38:48]                 └-> loads the data frame analytics page
[00:38:48]                   └-> "before each" hook: global before each
[00:38:48]                   │ debg navigating to ml url: http://localhost:6131/app/ml
[00:38:48]                   │ debg Navigate to: http://localhost:6131/app/ml
[00:38:48]                   │ debg ... sleep(700) start
[00:38:48]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1582706971591 350 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:38:48]                   │
[00:38:48]                   │ debg browser[INFO] http://localhost:6131/bundles/app/ml/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:49]                   │ debg ... sleep(700) end
[00:38:49]                   │ debg returned from get, calling refresh
[00:38:49]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1582706971591 350 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:38:49]                   │
[00:38:49]                   │ debg browser[INFO] http://localhost:6131/bundles/app/ml/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:38:50]                   │ debg currentUrl = http://localhost:6131/app/ml
[00:38:50]                   │          appUrl = http://localhost:6131/app/ml
[00:38:50]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:38:52]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 62:139970 "INFO: 2020-02-26T08:49:34Z
[00:38:52]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:38:52]                   │
[00:38:52]                   │      "
[00:38:52]                   │ debg ... sleep(501) start
[00:38:53]                   │ debg ... sleep(501) end
[00:38:53]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:38:53]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:38:53]                   │ debg ... sleep(501) start
[00:38:54]                   │ debg ... sleep(501) end
[00:38:54]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=(refreshInterval:(pause:!t,value:0))
[00:38:54]                   │ debg TestSubjects.exists(statusPageContainer)
[00:38:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:38:56]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:38:57]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:38:57]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:38:57]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:38:57]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:38:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:38:57]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:38:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:38:57]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:38:57]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:38:57]                   └- ✓ pass  (9.1s) "machine learning data frame analytics classification creation bank marketing loads the data frame analytics page"
[00:38:57]                 └-> loads the job creation flyout
[00:38:57]                   └-> "before each" hook: global before each
[00:38:57]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:38:57]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:38:57]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:38:57]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:38:57]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:38:58]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:38:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:38:58]                   └- ✓ pass  (377ms) "machine learning data frame analytics classification creation bank marketing loads the job creation flyout"
[00:38:58]                 └-> selects the job type
[00:38:58]                   └-> "before each" hook: global before each
[00:38:58]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=120000
[00:38:58]                   │ debg Find.selectValue('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]', option[value="classification"]')
[00:38:58]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:58]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:58]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:58]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:58]                   └- ✓ pass  (194ms) "machine learning data frame analytics classification creation bank marketing selects the job type"
[00:38:58]                 └-> inputs the job id
[00:38:58]                   └-> "before each" hook: global before each
[00:38:58]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:38:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=120000
[00:38:58]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutJobIdInput, bm_1_1582704642013)
[00:38:58]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:38:58]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:38:58]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:38:58]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobIdInput, value)
[00:38:58]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobIdInput)
[00:38:58]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobIdInput"]') with timeout=10000
[00:38:58]                   └- ✓ pass  (399ms) "machine learning data frame analytics classification creation bank marketing inputs the job id"
[00:38:58]                 └-> inputs the job description
[00:38:58]                   └-> "before each" hook: global before each
[00:38:58]                   │ debg TestSubjects.exists(mlDFAnalyticsJobCreationJobDescription)
[00:38:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=120000
[00:38:58]                   │ debg TestSubjects.setValue(mlDFAnalyticsJobCreationJobDescription, Classification job based on 'bank-marketing' dataset with dependentVariable 'y' and trainingPercent '20')
[00:38:58]                   │ debg TestSubjects.click(mlDFAnalyticsJobCreationJobDescription)
[00:38:58]                   │ debg Find.clickByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:38:58]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:38:59]                   │ debg TestSubjects.getAttribute(mlDFAnalyticsJobCreationJobDescription, value)
[00:38:59]                   │ debg TestSubjects.find(mlDFAnalyticsJobCreationJobDescription)
[00:38:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlDFAnalyticsJobCreationJobDescription"]') with timeout=10000
[00:38:59]                   └- ✓ pass  (1.0s) "machine learning data frame analytics classification creation bank marketing inputs the job description"
[00:38:59]                 └-> selects the source index
[00:38:59]                   └-> "before each" hook: global before each
[00:38:59]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:38:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:38:59]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:38:59]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:38:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:38:59]                   │ debg comboBox.setElement, value: bank-marketing*
[00:38:59]                   │ debg comboBox.isOptionSelected, value: bank-marketing*
[00:39:02]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:39:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:39:02]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bank-marketing*"]') with timeout=2500
[00:39:02]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:39:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:39:05]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:39:05]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput
[00:39:05]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutSourceIndexSelect > comboBoxInput)
[00:39:05]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutSourceIndexSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:39:05]                   └- ✓ pass  (5.7s) "machine learning data frame analytics classification creation bank marketing selects the source index"
[00:39:05]                 └-> inputs the destination index
[00:39:05]                   └-> "before each" hook: global before each
[00:39:05]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:39:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=120000
[00:39:05]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutDestinationIndexInput, user-bm_1_1582704642013)
[00:39:05]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:39:05]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:39:05]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:39:06]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutDestinationIndexInput, value)
[00:39:06]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDestinationIndexInput)
[00:39:06]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDestinationIndexInput"]') with timeout=10000
[00:39:06]                   └- ✓ pass  (447ms) "machine learning data frame analytics classification creation bank marketing inputs the destination index"
[00:39:06]                 └-> inputs the dependent variable
[00:39:06]                   └-> "before each" hook: global before each
[00:39:06]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:39:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:39:06]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:39:06]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:39:06]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:39:06]                   │ debg comboBox.setElement, value: y
[00:39:06]                   │ debg comboBox.isOptionSelected, value: y
[00:39:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:39:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:39:08]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="y"]') with timeout=2500
[00:39:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:39:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:39:11]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:39:11]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput
[00:39:11]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutDependentVariableSelect > comboBoxInput)
[00:39:11]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:39:11]                   └- ✓ pass  (5.5s) "machine learning data frame analytics classification creation bank marketing inputs the dependent variable"
[00:39:11]                 └-> inputs the training percent
[00:39:11]                   └-> "before each" hook: global before each
[00:39:11]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:39:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=120000
[00:39:11]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:39:11]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:39:11]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:39:12]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '70')
[00:39:12]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:39:13]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '60')
[00:39:13]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:39:14]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '50')
[00:39:14]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:39:15]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '40')
[00:39:15]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:39:16]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '30')
[00:39:16]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:39:17]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '20')
[00:39:17]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutTrainingPercentSlider, value)
[00:39:17]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutTrainingPercentSlider)
[00:39:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutTrainingPercentSlider"]') with timeout=10000
[00:39:17]                   └- ✓ pass  (6.2s) "machine learning data frame analytics classification creation bank marketing inputs the training percent"
[00:39:17]                 └-> inputs the model memory limit
[00:39:17]                   └-> "before each" hook: global before each
[00:39:17]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:39:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=120000
[00:39:17]                   │ debg TestSubjects.setValue(mlAnalyticsCreateJobFlyoutModelMemoryInput, 105mb)
[00:39:17]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:39:17]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:39:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:39:17]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutModelMemoryInput, value)
[00:39:17]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutModelMemoryInput)
[00:39:17]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutModelMemoryInput"]') with timeout=10000
[00:39:18]                   └- ✓ pass  (226ms) "machine learning data frame analytics classification creation bank marketing inputs the model memory limit"
[00:39:18]                 └-> sets the create index pattern switch
[00:39:18]                   └-> "before each" hook: global before each
[00:39:18]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:39:18]                   │ debg Find.existsByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=120000
[00:39:18]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:39:18]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:39:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:39:18]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:39:18]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:39:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:39:18]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch, aria-checked)
[00:39:18]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch)
[00:39:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateIndexPatternSwitch"]') with timeout=10000
[00:39:18]                   └- ✓ pass  (136ms) "machine learning data frame analytics classification creation bank marketing sets the create index pattern switch"
[00:39:18]                 └-> creates the analytics job
[00:39:18]                   └-> "before each" hook: global before each
[00:39:18]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutCreateButton)
[00:39:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=120000
[00:39:18]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutCreateButton)
[00:39:18]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:39:18]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=10000
[00:39:18]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutCreateButton)
[00:39:18]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutCreateButton"]') with timeout=2500
[00:39:18]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:39:18]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-config]
[00:39:18]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:39:18]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:39:18]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] Created ML annotations index and aliases
[00:39:18]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-config/UvHl8OdcSuG0CXsEPLrLGw] update_mapping [_doc]
[00:39:18]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:39:18]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582702500167179619] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:39:19]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:39:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:39:19]                   └- ✓ pass  (943ms) "machine learning data frame analytics classification creation bank marketing creates the analytics job"
[00:39:19]                 └-> starts the analytics job
[00:39:19]                   └-> "before each" hook: global before each
[00:39:19]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyoutStartButton)
[00:39:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=120000
[00:39:19]                   │ debg TestSubjects.click(mlAnalyticsCreateJobFlyoutStartButton)
[00:39:19]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:39:19]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=10000
[00:39:19]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:39:19]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:39:19]                   │ERROR browser[SEVERE] http://localhost:6131/api/ml/data_frame/analytics/bm_1_1582704642013/_start - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:39:21]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:39:21]                   │      Wait timed out after 2550ms
[00:39:22]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobFlyoutStartButton)
[00:39:22]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"]') with timeout=2500
[00:39:24]                   │ debg --- retry.tryForTime error: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
[00:39:24]                   │      Wait timed out after 2535ms
[00:39:25]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics classification creation bank marketing starts the analytics job.png"
[00:39:25]                   │ info Current URL is: http://localhost:6131/app/ml#/data_frame_analytics?_g=(refreshInterval:(pause:!f,value:30000))
[00:39:25]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics classification creation bank marketing starts the analytics job.html
[00:39:25]                   └- ✖ fail: "machine learning data frame analytics classification creation bank marketing starts the analytics job"
[00:39:25]                   │

Stack Trace

Error: retry.tryForTime timeout: TimeoutError: The element [data-test-subj="mlAnalyticsCreateJobFlyoutStartButton"] was still present when it should have disappeared.
Wait timed out after 2535ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:Agent Configuration release_note:skip Skip the PR/issue when compiling release notes v7.7.0
Projects
None yet
5 participants