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

[Security Solution] Fix the status of timelines' bulk actions #74559

Closed
wants to merge 5 commits into from

Conversation

angorayc
Copy link
Contributor

@angorayc angorayc commented Aug 6, 2020

Summary

https://github.com/elastic/siem-team/issues/799

How to verify this PR:

  1. go to timelines tables and remove all the custom timelines / templates
  2. unselect tabs if you are applying any
  3. click on bulk actions
  4. expect all the actions should be disabled
  5. create a custom timeline or template
  6. select the template / timeline you just created
  7. click on bulk actions
  8. make sure it is exportable / deletable

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@angorayc angorayc added the release_note:skip Skip the PR/issue when compiling release notes label Aug 6, 2020
@angorayc angorayc closed this Aug 6, 2020
@angorayc
Copy link
Contributor Author

angorayc commented Aug 6, 2020

open a new PR with a new branch #74560

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/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 for config step

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-16-tests-xl-1596730848934085788] added 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-16-tests-xl-1596730848934085788] added 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-16-tests-xl-1596730848934085788] added 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-16-tests-xl-1596730848934085788] added role [ml_ui_extras]
[00:00:00]             │ debg creating user ml_poweruser
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] [ilm-history-2-000001] creating index, cause [api], templates [ilm-history], shards [1]/[0]
[00:00:00]             │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] moving index [ilm-history-2-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[ilm-history-2-000001][0]]])." previous.health="YELLOW" reason="shards started [[ilm-history-2-000001][0]]"
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] 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.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] moving index [ilm-history-2-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ilm-history-ilm-policy]
[00:00:00]             │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] moving index [ilm-history-2-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ilm-history-ilm-policy]
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] added user [ml_viewer]
[00:00:00]             │ debg created user ml_viewer
[00:00:00]             │ debg creating user ml_unauthorized
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] added user [ml_unauthorized]
[00:00:00]             │ debg created user ml_unauthorized
[00:31:30]           └-: data frame analytics
[00:31:30]             └-> "before all" hook
[00:34:50]             └-: jobs cloning supported by UI form
[00:34:50]               └-> "before all" hook
[00:34:50]               └-> "before all" hook
[00:34:50]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:34:51]                 │ debg SecurityPage.forceLogout
[00:34:51]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:34:51]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:34:51]                 │ debg Redirecting to /logout to force the logout
[00:34:51]                 │ debg Waiting on the login form to appear
[00:34:51]                 │ debg Waiting for Login Page to appear.
[00:34:51]                 │ debg Waiting up to 100000ms for login page...
[00:34:51]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1596734824902 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:51]                 │
[00:34:51]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:51]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:34:54]                 │ debg browser[INFO] http://localhost:6141/35385/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-06T17:27:06Z
[00:34:54]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:34:54]                 │
[00:34:54]                 │      "
[00:34:54]                 │ debg browser[INFO] http://localhost:6141/login?_t=1596734824902 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:54]                 │
[00:34:54]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:54]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:34:55]                 │ debg browser[INFO] http://localhost:6141/35385/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-06T17:27:08Z
[00:34:55]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:34:55]                 │
[00:34:55]                 │      "
[00:34:55]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:34:55]                 │ debg navigating to login url: http://localhost:6141/login
[00:34:55]                 │ debg navigate to: http://localhost:6141/login
[00:34:55]                 │ debg browser[INFO] http://localhost:6141/login?_t=1596734829054 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:55]                 │
[00:34:55]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:55]                 │ debg ... sleep(700) start
[00:34:56]                 │ debg ... sleep(700) end
[00:34:56]                 │ debg returned from get, calling refresh
[00:34:56]                 │ debg browser[INFO] http://localhost:6141/login?_t=1596734829054 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:34:56]                 │
[00:34:56]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:56]                 │ debg currentUrl = http://localhost:6141/login
[00:34:56]                 │          appUrl = http://localhost:6141/login
[00:34:56]                 │ debg TestSubjects.find(kibanaChrome)
[00:34:56]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:34:58]                 │ debg browser[INFO] http://localhost:6141/35385/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-06T17:27:11Z
[00:34:58]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:34:58]                 │
[00:34:58]                 │      "
[00:34:58]                 │ debg ... sleep(501) start
[00:34:59]                 │ debg ... sleep(501) end
[00:34:59]                 │ debg in navigateTo url = http://localhost:6141/login
[00:34:59]                 │ debg TestSubjects.exists(statusPageContainer)
[00:34:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:35:01]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:35:02]                 │ debg Waiting for Login Form to appear.
[00:35:02]                 │ debg Waiting up to 100000ms for login form...
[00:35:02]                 │ debg TestSubjects.exists(loginForm)
[00:35:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:35:02]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:35:02]                 │ debg TestSubjects.click(loginUsername)
[00:35:02]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:35:02]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:35:02]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:35:02]                 │ debg TestSubjects.click(loginPassword)
[00:35:02]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:35:02]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:35:02]                 │ debg TestSubjects.click(loginSubmit)
[00:35:02]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:35:02]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:35:02]                 │ debg Waiting for login result, expected: chrome.
[00:35:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:35:04]                 │ debg browser[INFO] http://localhost:6141/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:35:04]                 │
[00:35:04]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:04]                 │ debg browser[INFO] http://localhost:6141/35385/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-06T17:27:16Z
[00:35:04]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:35:04]                 │
[00:35:04]                 │      "
[00:35:05]                 │ debg Finished login process currentUrl = http://localhost:6141/app/home#/
[00:35:05]                 │ debg Waiting up to 20000ms for logout button visible...
[00:35:05]                 │ debg TestSubjects.exists(userMenuButton)
[00:35:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:35:05]                 │ debg TestSubjects.exists(userMenu)
[00:35:05]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:35:07]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:35:08]                 │ debg TestSubjects.click(userMenuButton)
[00:35:08]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:35:08]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:35:08]                 │ debg TestSubjects.exists(userMenu)
[00:35:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:35:08]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:35:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:35:08]               └-: classification job supported by the form
[00:35:08]                 └-> "before all" hook
[00:35:08]                 └-> "before all" hook
[00:35:08]                   │ info [ml/bm_classification] Loading "mappings.json"
[00:35:08]                   │ info [ml/bm_classification] Loading "data.json.gz"
[00:35:08]                   │ info [ml/bm_classification] Skipped restore for existing index "ft_bank_marketing"
[00:35:08]                   │ debg Searching for 'index-pattern' with title 'ft_bank_marketing'...
[00:35:08]                   │ debg  > Found 'd32fc550-d809-11ea-9dc4-f12c2405cb3f'
[00:35:08]                   │ debg Index pattern with title 'ft_bank_marketing' already exists. Nothing to create.
[00:35:08]                   │ debg Creating data frame analytic job with id 'bm_1_1596732732203'...
[00:35:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] [.ml-config] creating index, cause [auto(bulk api)], templates [.ml-config], shards [1]/[1]
[00:35:08]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] updating number_of_replicas to [0] for indices [.ml-config]
[00:35:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:35:08]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:35:08]                   │ info [o.e.x.m.MlInitializationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] Created ML annotations index and aliases
[00:35:08]                   │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] [.ml-config/p9I1bNWRTmWXpl3K5Aav0A] update_mapping [_doc]
[00:35:08]                   │ debg Waiting up to 5000ms for 'bm_1_1596732732203' to exist...
[00:35:08]                   │ debg Fetching data frame analytics job 'bm_1_1596732732203'...
[00:35:08]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:35:08]                   │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xl-1596730848934085788] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:35:08]                   │ debg navigating to ml url: http://localhost:6141/app/ml
[00:35:08]                   │ debg navigate to: http://localhost:6141/app/ml
[00:35:08]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1596734841956 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:35:08]                   │
[00:35:08]                   │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:08]                   │ debg ... sleep(700) start
[00:35:09]                   │ debg ... sleep(700) end
[00:35:09]                   │ debg returned from get, calling refresh
[00:35:09]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1596734841956 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:35:09]                   │
[00:35:09]                   │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:35:09]                   │ debg currentUrl = http://localhost:6141/app/ml
[00:35:09]                   │          appUrl = http://localhost:6141/app/ml
[00:35:09]                   │ debg TestSubjects.find(kibanaChrome)
[00:35:09]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:35:11]                   │ debg browser[INFO] http://localhost:6141/35385/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-06T17:27:23Z
[00:35:11]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:35:11]                   │
[00:35:11]                   │      "
[00:35:11]                   │ debg ... sleep(501) start
[00:35:11]                   │ debg ... sleep(501) end
[00:35:11]                   │ debg in navigateTo url = http://localhost:6141/app/ml/overview
[00:35:11]                   │ debg TestSubjects.exists(statusPageContainer)
[00:35:11]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:35:14]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:35:14]                   │ debg TestSubjects.exists(mlPageOverview)
[00:35:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:35:14]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:35:14]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:35:14]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:35:15]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:35:15]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:35:15]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:35:15]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:35:15]                   │ debg TestSubjects.exists(~mlAnalyticsTable)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlAnalyticsTable"]') with timeout=60000
[00:35:15]                   │ debg TestSubjects.exists(mlAnalyticsTable loaded)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsTable loaded"]') with timeout=30000
[00:35:15]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:35:15]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:35:15]                   │ debg TestSubjects.find(mlAnalyticsTableContainer)
[00:35:15]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableContainer"]') with timeout=10000
[00:35:15]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1596732732203"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:35:15]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsTableRow row-bm_1_1596732732203"] [data-test-subj=euiCollapsedItemActionsButton]') with timeout=10000
[00:35:15]                   │ debg Find.existsByCssSelector('.euiPanel') with timeout=20000
[00:35:15]                   │ debg TestSubjects.click(mlAnalyticsJobCloneButton)
[00:35:15]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:35:15]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsJobCloneButton"]') with timeout=10000
[00:35:15]                   │ debg TestSubjects.exists(mlAnalyticsCreationContainer)
[00:35:15]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationContainer"]') with timeout=120000
[00:35:16]                 └-> should open the wizard with a proper header
[00:35:16]                   └-> "before each" hook: global before each
[00:35:16]                   │ debg TestSubjects.getVisibleText(mlDataFrameAnalyticsWizardHeaderTitle)
[00:35:16]                   │ debg TestSubjects.find(mlDataFrameAnalyticsWizardHeaderTitle)
[00:35:16]                   │ debg Find.findByCssSelector('[data-test-subj="mlDataFrameAnalyticsWizardHeaderTitle"]') with timeout=10000
[00:35:16]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardConfigurationStep active)
[00:35:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"]') with timeout=120000
[00:35:16]                   └- ✓ pass  (76ms) "machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should open the wizard with a proper header"
[00:35:16]                 └-> should have correct init form values for config step
[00:35:16]                   └-> "before each" hook: global before each
[00:35:16]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardJobTypeSelect, value)
[00:35:16]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:35:16]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:35:16]                   │ 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 for config step.png"
[00:35:17]                   │ info Current URL is: http://localhost:6141/app/ml/data_frame_analytics/new_job?index=d32fc550-d809-11ea-9dc4-f12c2405cb3f&jobId=bm_1_1596732732203
[00:35:17]                   │ 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 for config step.html
[00:35:17]                   └- ✖ fail: machine learning data frame analytics jobs cloning supported by UI form classification job supported by the form should have correct init form values for config step
[00:35:17]                   │       Error: Job type selection should be 'classification' (got '')
[00:35:17]                   │       + expected - actual
[00:35:17]                   │ 
[00:35:17]                   │       +classification
[00:35:17]                   │       
[00:35:17]                   │       at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
[00:35:17]                   │       at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
[00:35:17]                   │       at Object.assertJobTypeSelection (test/functional/services/ml/data_frame_analytics_creation.ts:53:34)
[00:35:17]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:35:17]                   │ 
[00:35:17]                   │ 

Stack Trace

{ Error: Job type selection should be 'classification' (got '')
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at Object.assertJobTypeSelection (test/functional/services/ml/data_frame_analytics_creation.ts:53:34)
    at process._tickCallback (internal/process/next_tick.js:68:7) actual: '', expected: 'classification', showDiff: true }

Build metrics

async chunks size

id value diff baseline
securitySolution 7.3MB -344.0B 7.3MB

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

@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

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: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants