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

[SIEM] [Cases] Shell scripts and unit tests #60183

Merged
merged 31 commits into from
Mar 18, 2020

Conversation

stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Mar 14, 2020

Summary

This PR

  1. adds a few more tests to pages/case/components/all_cases (removed because they are now in [SIEM] [Case] Bulk status update, add comment avatar, id => title in breadcrumbs #60410 ) and pages/case/components/case_view
  2. Adds shell scripts to test the Case API

scripts

To test shell scripts:

  • cd x-pack/plugins/case/server/scripts
  • running ./hard_reset.sh will find all of your current cases (if you have less than 500), delete them, and create one new case with one new comment
  • Examples of how to run each script are located at the top of the file.
  • More detailed instructions are in x-pack/plugins/case/server/scripts/README.md

@stephmilovic stephmilovic added Team:SIEM v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Mar 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

Go to the scripts folder `cd kibana/x-pack/plugins/case/server/scripts` and run:

```sh
./hard_reset.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

I followed the step here but was unable to complete this. Would like to know if we need to set SPACE_URL in .bashrc as well?

Copy link
Contributor

Choose a reason for hiding this comment

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

Had another try, and it was done successfully!

@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

@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/cloning·ts.machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_source]
[00:00:00]             │ debg created role ml_source
[00:00:00]             │ debg creating role ml_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_dest]
[00:00:00]             │ debg created role ml_dest
[00:00:00]             │ debg creating role ml_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_dest_readonly]
[00:00:00]             │ debg created role ml_dest_readonly
[00:00:00]             │ debg creating role ml_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_ui_extras]
[00:00:00]             │ debg created role ml_ui_extras
[00:00:00]             │ debg creating user ml_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added user [ml_poweruser]
[00:00:00]             │ debg created user ml_poweruser
[00:00:00]             │ debg creating user ml_viewer
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added user [ml_viewer]
[00:00:00]             │ debg created user ml_viewer
[00:32:38]           └-: data frame analytics
[00:32:38]             └-> "before all" hook
[00:36:12]             └-: jobs cloning supported by UI form
[00:36:12]               └-> "before all" hook
[00:36:12]               └-> "before all" hook
[00:36:12]                 │ debg SecurityPage.forceLogout
[00:36:12]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:36:12]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:36:12]                 │ debg Redirecting to /logout to force the logout
[00:36:13]                 │ debg Waiting on the login form to appear
[00:36:13]                 │ debg Waiting up to 100000ms for login form...
[00:36:13]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 14:236639 "clearing dependency cache"
[00:36:13]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1584546047519 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:13]                 │
[00:36:13]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:13]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:36:16]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:40:50Z
[00:36:16]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:36:16]                 │
[00:36:16]                 │      "
[00:36:16]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:36:16]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584546047519 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:16]                 │
[00:36:16]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:17]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:36:19]                 │ proc [kibana]   log   [15:40:53.845] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:36:19]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:40:53Z
[00:36:19]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:36:19]                 │
[00:36:19]                 │      "
[00:36:19]                 │ debg navigating to login url: http://localhost:6131/login
[00:36:19]                 │ debg Navigate to: http://localhost:6131/login
[00:36:19]                 │ debg ... sleep(700) start
[00:36:19]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584546054018 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:19]                 │
[00:36:19]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:20]                 │ debg ... sleep(700) end
[00:36:20]                 │ debg returned from get, calling refresh
[00:36:20]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584546054018 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:20]                 │
[00:36:20]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:20]                 │ debg currentUrl = http://localhost:6131/login
[00:36:20]                 │          appUrl = http://localhost:6131/login
[00:36:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:36:22]                 │ proc [kibana]   log   [15:40:57.517] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:36:22]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:40:57Z
[00:36:22]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:36:22]                 │
[00:36:22]                 │      "
[00:36:23]                 │ debg ... sleep(501) start
[00:36:23]                 │ debg ... sleep(501) end
[00:36:23]                 │ debg in navigateTo url = http://localhost:6131/login
[00:36:23]                 │ debg TestSubjects.exists(statusPageContainer)
[00:36:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:36:26]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:36:26]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:36:26]                 │ debg TestSubjects.click(loginUsername)
[00:36:26]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:36:26]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:36:26]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:36:26]                 │ debg TestSubjects.click(loginPassword)
[00:36:26]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:36:26]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:36:27]                 │ debg TestSubjects.click(loginSubmit)
[00:36:27]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:36:27]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:36:27]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:36:31]                 │ debg browser[INFO] http://localhost:6131/app/kibana 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:31]                 │
[00:36:31]                 │ 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:36:31]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:41:04Z
[00:36:31]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:36:31]                 │
[00:36:31]                 │      "
[00:36:32]                 │ debg Finished login process currentUrl = http://localhost:6131/app/kibana#/home
[00:36:32]                 │ debg Waiting up to 20000ms for logout button visible...
[00:36:32]                 │ debg TestSubjects.exists(userMenuButton)
[00:36:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:36:32]                 │ debg TestSubjects.exists(userMenu)
[00:36:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:36:34]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:36:35]                 │ debg TestSubjects.click(userMenuButton)
[00:36:35]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:36:35]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:36:35]                 │ debg Waiting up to 20000ms for user menu opened...
[00:36:35]                 │ debg TestSubjects.exists(userMenu)
[00:36:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:36:35]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:36:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:36:35]               └-: classification job supported by the form
[00:36:35]                 └-> "before all" hook
[00:36:35]                 └-> "before all" hook
[00:36:35]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:36:35]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:36:35]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:35]                   │ info [ml/bm_classification] Created index "bank-marketing"
[00:36:35]                   │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:36:35]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1/eS7h63mVQlyW2hpAKop8OA] deleting index
[00:36:35]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/Wk6_85caQTys6T6ya7Jy9g] deleting index
[00:36:35]                   │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:36:35]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:36:35]                   │ info [ml/bm_classification] Created index ".kibana_1"
[00:36:35]                   │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:36:36]                   │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:36:36]                   │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:36:36]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1/4vQaGRvOTfiJZlTB5ydRUw] update_mapping [_doc]
[00:36:36]                   │ debg Migrating saved objects
[00:36:37]                   │ proc [kibana]   log   [15:41:12.210] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:36:37]                   │ proc [kibana]   log   [15:41:12.212] [info][savedobjects-service] Creating index .kibana_2.
[00:36:37]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:37]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.kibana_2]
[00:36:37]                   │ proc [kibana]   log   [15:41:12.273] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:36:37]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/S4UE777tQ-yQwFAtXOMojA] update_mapping [_doc]
[00:36:37]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/S4UE777tQ-yQwFAtXOMojA] update_mapping [_doc]
[00:36:37]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/S4UE777tQ-yQwFAtXOMojA] update_mapping [_doc]
[00:36:37]                   │ proc [kibana]   log   [15:41:12.397] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:36:37]                   │ proc [kibana]   log   [15:41:12.444] [info][savedobjects-service] Finished in 233ms.
[00:36:37]                   │ debg Creating data frame analytic job with id 'bm_1_1584543873114'...
[00:36:37]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:36:37]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-config]
[00:36:37]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:36:37]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:36:37]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] Created ML annotations index and aliases
[00:36:37]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-config/-xgNYmNjTTyCZAykwDUl0Q] update_mapping [_doc]
[00:36:38]                   │ debg Waiting up to 5000ms for 'bm_1_1584543873114' to be created...
[00:36:38]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:36:38]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:36:38]                   │ debg navigating to ml url: http://localhost:6131/app/ml
[00:36:38]                   │ debg Navigate to: http://localhost:6131/app/ml
[00:36:38]                   │ debg ... sleep(700) start
[00:36:38]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584546072612 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:38]                   │
[00:36:38]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:38]                   │ debg ... sleep(700) end
[00:36:38]                   │ debg returned from get, calling refresh
[00:36:39]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584546072612 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:36:39]                   │
[00:36:39]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:36:39]                   │ debg currentUrl = http://localhost:6131/app/ml
[00:36:39]                   │          appUrl = http://localhost:6131/app/ml
[00:36:39]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:36:42]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:41:16Z
[00:36:42]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:36:42]                   │
[00:36:42]                   │      "
[00:36:42]                   │ debg ... sleep(501) start
[00:36:42]                   │ debg ... sleep(501) end
[00:36:42]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:36:42]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:36:43]                   │ debg ... sleep(501) start
[00:36:43]                   │ debg ... sleep(501) end
[00:36:43]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:36:43]                   │ debg TestSubjects.exists(statusPageContainer)
[00:36:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:36:46]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:36:46]                   │ debg TestSubjects.exists(mlPageOverview)
[00:36:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:36:46]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:36:46]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:36:46]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:36:46]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:36:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:36:47]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:36:47]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:36:47]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:36:47]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:36:47]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:36:47]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:36:47]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:36:47]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:36:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:36:47]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:36:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:36:47]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584543873114"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:36:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584543873114"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:36:47]                   │ debg Find.existsByCssSelector('.euiPanel') with timeout=20000
[00:36:47]                   │ debg TestSubjects.click(mlAnalyticsJobCloneButton)
[00:36:47]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:36:47]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:36:47]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:36:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:36:48]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 39:266958 "Property \"class_assignment_objective\" is unknown."
[00:36:48]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreateJobFlyout"] is not displayed
[00:36:48]                 └-> should open the flyout with a proper header
[00:36:48]                   └-> "before each" hook: global before each
[00:36:48]                   │ debg TestSubjects.getVisibleText(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:36:48]                   │ debg TestSubjects.find(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:36:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlDataFrameAnalyticsFlyoutHeaderTitle"]') with timeout=10000
[00:36:48]                   └- ✓ pass  (29ms) "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should open the flyout with a proper header"
[00:36:48]                 └-> should have correct init form values
[00:36:48]                   └-> "before each" hook: global before each
[00:36:48]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:36:48]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:36:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:36:58]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:36:58]                   │      Wait timed out after 10043ms
[00:36:59]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:36:59]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:36:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:37:09]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:37:09]                   │      Wait timed out after 10005ms
[00:37:09]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:37:09]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:37:09]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:37:19]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:37:19]                   │      Wait timed out after 10038ms
[00:37:20]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:37:20]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:37:20]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:37:30]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:37:30]                   │      Wait timed out after 10039ms
[00:37:30]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:37:30]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:37:30]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:37:40]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:37:40]                   │      Wait timed out after 10024ms
[00:37:41]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:37:41]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:37:41]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:37:51]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:37:51]                   │      Wait timed out after 10042ms
[00:37:51]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:37:51]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:37:51]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:01]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:01]                   │      Wait timed out after 10026ms
[00:38:02]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:02]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:02]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:12]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:12]                   │      Wait timed out after 10023ms
[00:38:12]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:12]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:12]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:22]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:22]                   │      Wait timed out after 10006ms
[00:38:23]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:23]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:23]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:33]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:33]                   │      Wait timed out after 10040ms
[00:38:34]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:34]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:34]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:44]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:44]                   │      Wait timed out after 10027ms
[00:38:44]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:38:44]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:38:44]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:38:54]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:38:54]                   │      Wait timed out after 10053ms
[00:38:55]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.png"
[00:38:55]                   │ info Current URL is: http://localhost:6131/app/ml#/data_frame_analytics?_g=%28refreshInterval%3A%28pause%3A%21f%2Cvalue%3A30000%29%29
[00:38:55]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.html
[00:38:55]                   └- ✖ fail: "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values"
[00:38:55]                   │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
Wait timed out after 10053ms
    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/cloning·ts.machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_source]
[00:00:00]             │ debg created role ml_source
[00:00:00]             │ debg creating role ml_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_dest]
[00:00:00]             │ debg created role ml_dest
[00:00:00]             │ debg creating role ml_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_dest_readonly]
[00:00:00]             │ debg created role ml_dest_readonly
[00:00:00]             │ debg creating role ml_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added role [ml_ui_extras]
[00:00:00]             │ debg created role ml_ui_extras
[00:00:00]             │ debg creating user ml_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added user [ml_poweruser]
[00:00:00]             │ debg created user ml_poweruser
[00:00:00]             │ debg creating user ml_viewer
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] added user [ml_viewer]
[00:00:00]             │ debg created user ml_viewer
[00:37:30]           └-: data frame analytics
[00:37:30]             └-> "before all" hook
[00:41:22]             └-: jobs cloning supported by UI form
[00:41:22]               └-> "before all" hook
[00:41:22]               └-> "before all" hook
[00:41:22]                 │ debg SecurityPage.forceLogout
[00:41:22]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:41:22]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:41:23]                 │ debg Redirecting to /logout to force the logout
[00:41:23]                 │ debg Waiting on the login form to appear
[00:41:23]                 │ debg Waiting up to 100000ms for login form...
[00:41:23]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 14:236639 "clearing dependency cache"
[00:41:23]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1584543591771 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:23]                 │
[00:41:23]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:23]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:41:26]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T14:59:54Z
[00:41:26]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:41:26]                 │
[00:41:26]                 │      "
[00:41:26]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:41:26]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584543591771 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:26]                 │
[00:41:26]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:27]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:41:29]                 │ proc [kibana]   log   [14:59:57.938] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:41:29]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T14:59:57Z
[00:41:29]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:41:29]                 │
[00:41:29]                 │      "
[00:41:29]                 │ debg navigating to login url: http://localhost:6131/login
[00:41:29]                 │ debg Navigate to: http://localhost:6131/login
[00:41:29]                 │ debg ... sleep(700) start
[00:41:29]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584543598088 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:29]                 │
[00:41:29]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:30]                 │ debg ... sleep(700) end
[00:41:30]                 │ debg returned from get, calling refresh
[00:41:32]                 │ proc [kibana]   log   [15:00:00.803] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:41:32]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:00:00Z
[00:41:32]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:41:32]                 │
[00:41:32]                 │      "
[00:41:32]                 │ debg browser[INFO] http://localhost:6131/login?_t=1584543598088 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:32]                 │
[00:41:32]                 │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:32]                 │ debg currentUrl = http://localhost:6131/login
[00:41:32]                 │          appUrl = http://localhost:6131/login
[00:41:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:41:34]                 │ proc [kibana]   log   [15:00:02.970] [warning][plugins][spaces] Error toggling capabilities for request to /api/core/capabilities: [security_exception] missing authentication credentials for REST request [/_security/user/_has_privileges], with { header={ WWW-Authenticate={ 0="ApiKey" & 1="Basic realm=\"security\" charset=\"UTF-8\"" } } } :: {"path":"/_security/user/_has_privileges","query":{},"body":"{\"applications\":[{\"application\":\"kibana-.kibana\",\"resources\":[\"space:default\"],\"privileges\":[\"version:8.0.0-SNAPSHOT\",\"login:\"]}]}","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_security/user/_has_privileges]\",\"header\":{\"WWW-Authenticate\":[\"ApiKey\",\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"]}},\"status\":401}","wwwAuthenticateDirective":"ApiKey, Basic realm=\"security\" charset=\"UTF-8\""}
[00:41:34]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:00:02Z
[00:41:34]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:41:34]                 │
[00:41:34]                 │      "
[00:41:34]                 │ debg ... sleep(501) start
[00:41:35]                 │ debg ... sleep(501) end
[00:41:35]                 │ debg in navigateTo url = http://localhost:6131/login
[00:41:35]                 │ debg TestSubjects.exists(statusPageContainer)
[00:41:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:41:37]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:41:38]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:41:38]                 │ debg TestSubjects.click(loginUsername)
[00:41:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:41:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:41:38]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:41:38]                 │ debg TestSubjects.click(loginPassword)
[00:41:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:41:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:41:38]                 │ debg TestSubjects.click(loginSubmit)
[00:41:38]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:41:38]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:41:38]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide) ') with timeout=20000
[00:41:43]                 │ debg browser[INFO] http://localhost:6131/app/kibana 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:43]                 │
[00:41:43]                 │ 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:41:43]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:00:10Z
[00:41:43]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:41:43]                 │
[00:41:43]                 │      "
[00:41:43]                 │ debg Finished login process currentUrl = http://localhost:6131/app/kibana#/home
[00:41:43]                 │ debg Waiting up to 20000ms for logout button visible...
[00:41:43]                 │ debg TestSubjects.exists(userMenuButton)
[00:41:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:41:43]                 │ debg TestSubjects.exists(userMenu)
[00:41:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:41:46]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:41:46]                 │ debg TestSubjects.click(userMenuButton)
[00:41:46]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:41:46]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:41:47]                 │ debg Waiting up to 20000ms for user menu opened...
[00:41:47]                 │ debg TestSubjects.exists(userMenu)
[00:41:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:41:47]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:41:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:41:47]               └-: classification job supported by the form
[00:41:47]                 └-> "before all" hook
[00:41:47]                 └-> "before all" hook
[00:41:47]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:41:47]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:41:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [bank-marketing] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:41:47]                   │ info [ml/bm_classification] Created index "bank-marketing"
[00:41:47]                   │ debg [ml/bm_classification] "bank-marketing" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:41:47]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/iJcGpFbsSouwUayzVmp8tg] deleting index
[00:41:47]                   │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1/ScyuUIvvQyqvWE6tIZmwuw] deleting index
[00:41:47]                   │ info [ml/bm_classification] Deleted existing index [".kibana_2",".kibana_1"]
[00:41:47]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:41:47]                   │ info [ml/bm_classification] Created index ".kibana_1"
[00:41:47]                   │ debg [ml/bm_classification] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:41:48]                   │ info [ml/bm_classification] Indexed 9314 docs into "bank-marketing"
[00:41:48]                   │ info [ml/bm_classification] Indexed 5 docs into ".kibana_1"
[00:41:48]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_1/pfdad4jjT22SyKHynxeKaw] update_mapping [_doc]
[00:41:48]                   │ debg Migrating saved objects
[00:41:49]                   │ proc [kibana]   log   [15:00:17.750] [info][savedobjects-service] Detected mapping change in "dynamic"
[00:41:49]                   │ proc [kibana]   log   [15:00:17.751] [info][savedobjects-service] Creating index .kibana_2.
[00:41:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:41:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.kibana_2]
[00:41:49]                   │ proc [kibana]   log   [15:00:17.827] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:41:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/BQfKwgCHSgaXARCZSp-P7A] update_mapping [_doc]
[00:41:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/BQfKwgCHSgaXARCZSp-P7A] update_mapping [_doc]
[00:41:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.kibana_2/BQfKwgCHSgaXARCZSp-P7A] update_mapping [_doc]
[00:41:49]                   │ proc [kibana]   log   [15:00:17.981] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:41:49]                   │ proc [kibana]   log   [15:00:18.038] [info][savedobjects-service] Finished in 288ms.
[00:41:49]                   │ debg Creating data frame analytic job with id 'bm_1_1584541106905'...
[00:41:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1], mappings [_doc]
[00:41:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-config]
[00:41:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:41:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:41:49]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] Created ML annotations index and aliases
[00:41:49]                   │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-config/MyWKVcm0QEGz0EBBwLXpOQ] update_mapping [_doc]
[00:41:49]                   │ debg Waiting up to 5000ms for 'bm_1_1584541106905' to be created...
[00:41:49]                   │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1], mappings [_doc]
[00:41:49]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xl-1584538951025659388] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:41:49]                   │ debg navigating to ml url: http://localhost:6131/app/ml
[00:41:49]                   │ debg Navigate to: http://localhost:6131/app/ml
[00:41:49]                   │ debg ... sleep(700) start
[00:41:49]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584543618252 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:49]                   │
[00:41:49]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:50]                   │ debg ... sleep(700) end
[00:41:50]                   │ debg returned from get, calling refresh
[00:41:51]                   │ debg browser[INFO] http://localhost:6131/app/ml?_t=1584543618252 340 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:41:51]                   │
[00:41:51]                   │ debg browser[INFO] http://localhost:6131/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:41:51]                   │ debg currentUrl = http://localhost:6131/app/ml
[00:41:51]                   │          appUrl = http://localhost:6131/app/ml
[00:41:51]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:41:54]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-18T15:00:22Z
[00:41:54]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:41:54]                   │
[00:41:54]                   │      "
[00:41:54]                   │ debg ... sleep(501) start
[00:41:54]                   │ debg ... sleep(501) end
[00:41:54]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:41:54]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:41:55]                   │ debg ... sleep(501) start
[00:41:55]                   │ debg ... sleep(501) end
[00:41:55]                   │ debg in navigateTo url = http://localhost:6131/app/ml#/overview?_g=%28refreshInterval%3A%28pause%3A%21t%2Cvalue%3A0%29%29
[00:41:55]                   │ debg TestSubjects.exists(statusPageContainer)
[00:41:55]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:41:58]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:41:58]                   │ debg TestSubjects.exists(mlPageOverview)
[00:41:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:41:58]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:41:58]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:41:58]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:41:59]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:41:59]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:41:59]                   │ debg TestSubjects.findAll(~mlSubTab)
[00:41:59]                   │ debg Find.allByCssSelector('[data-test-subj~="mlSubTab"]') with timeout=3
[00:41:59]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:41:59]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:41:59]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:41:59]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:41:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:41:59]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:41:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:41:59]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:41:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:41:59]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584541106905"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:41:59]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1584541106905"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:42:00]                   │ debg Find.existsByCssSelector('.euiPanel') with timeout=20000
[00:42:00]                   │ debg TestSubjects.click(mlAnalyticsJobCloneButton)
[00:42:00]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:42:00]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:42:00]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobFlyout)
[00:42:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyout"]') with timeout=120000
[00:42:00]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/ml/ml.plugin.js 39:266958 "Property \"class_assignment_objective\" is unknown."
[00:42:00]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreateJobFlyout"] is not displayed
[00:42:01]                 └-> should open the flyout with a proper header
[00:42:01]                   └-> "before each" hook: global before each
[00:42:01]                   │ debg TestSubjects.getVisibleText(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:42:01]                   │ debg TestSubjects.find(mlDataFrameAnalyticsFlyoutHeaderTitle)
[00:42:01]                   │ debg Find.findByCssSelector('[data-test-subj="mlDataFrameAnalyticsFlyoutHeaderTitle"]') with timeout=10000
[00:42:01]                   └- ✓ pass  (31ms) "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should open the flyout with a proper header"
[00:42:01]                 └-> should have correct init form values
[00:42:01]                   └-> "before each" hook: global before each
[00:42:01]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:01]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:01]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:42:11]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:42:11]                   │      Wait timed out after 10017ms
[00:42:11]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:11]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:11]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:42:21]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:42:21]                   │      Wait timed out after 10006ms
[00:42:22]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:22]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:22]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:42:32]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:42:32]                   │      Wait timed out after 10047ms
[00:42:32]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:32]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:32]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:42:42]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:42:42]                   │      Wait timed out after 10014ms
[00:42:43]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:43]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:43]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:42:53]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:42:53]                   │      Wait timed out after 10011ms
[00:42:53]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:42:53]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:42:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:03]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:03]                   │      Wait timed out after 10037ms
[00:43:04]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:04]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:04]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:14]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:14]                   │      Wait timed out after 10059ms
[00:43:14]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:14]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:14]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:24]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:24]                   │      Wait timed out after 10056ms
[00:43:25]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:25]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:25]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:35]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:35]                   │      Wait timed out after 10044ms
[00:43:35]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:35]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:35]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:45]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:45]                   │      Wait timed out after 10016ms
[00:43:46]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:46]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:46]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:43:56]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:43:56]                   │      Wait timed out after 10018ms
[00:43:57]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobFlyoutJobTypeSelect, value)
[00:43:57]                   │ debg TestSubjects.find(mlAnalyticsCreateJobFlyoutJobTypeSelect)
[00:43:57]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"]') with timeout=10000
[00:44:07]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
[00:44:07]                   │      Wait timed out after 10011ms
[00:44:07]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.png"
[00:44:07]                   │ info Current URL is: http://localhost:6131/app/ml#/data_frame_analytics?_g=%28refreshInterval%3A%28pause%3A%21f%2Cvalue%3A30000%29%29
[00:44:07]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values.html
[00:44:07]                   └- ✖ fail: "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values"
[00:44:07]                   │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="mlAnalyticsCreateJobFlyoutJobTypeSelect"])
Wait timed out after 10011ms
    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
release_note:skip Skip the PR/issue when compiling release notes Team:SIEM v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants