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

[data views] rename files from index patterns to data view #112047

Merged

Conversation

mattkime
Copy link
Contributor

@mattkime mattkime commented Sep 14, 2021

Summary

Renaming files and directories from index_patterns to data_views. Also renaming dataViews.hasUserIndexPattern to dataViews.hasUserDataView (indexPatterns and dataViews services are the same)

Part of #103978 - larger renaming of index patterns to data views.

@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

merge conflict between base and head

@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

merge conflict between base and head

@mattkime mattkime marked this pull request as ready for review September 15, 2021 20:06
@mattkime mattkime requested review from a team as code owners September 15, 2021 20:06
@mattkime mattkime added auto-backport Deprecated - use backport:version if exact versions are needed Feature:Data Views Data Views code and UI - index patterns before 8.0 release_note:skip Skip the PR/issue when compiling release notes Team:AppServices v7.16.0 v8.0.0 labels Sep 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

Copy link
Contributor

@rudolf rudolf left a comment

Choose a reason for hiding this comment

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

👍 for core changes

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/anomaly_detection/saved_search_job·ts.machine learning anomaly detection saved search with lucene query job creation runs the job and displays it correctly in the job list

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook in "machine learning"
[00:00:00]           └-: 
[00:00:00]             └-> "before all" hook in ""
[00:00:00]             └-> "before all" hook in ""
[00:00:00]               │ debg creating role ft_ml_source
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_source]
[00:00:00]               │ debg creating role ft_ml_source_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_source_readonly]
[00:00:00]               │ debg creating role ft_ml_dest
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_dest]
[00:00:00]               │ debg creating role ft_ml_dest_readonly
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_dest_readonly]
[00:00:00]               │ debg creating role ft_ml_ui_extras
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_ui_extras]
[00:00:00]               │ debg creating role ft_default_space_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_all]
[00:00:00]               │ debg creating role ft_default_space1_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space1_ml_all]
[00:00:00]               │ debg creating role ft_all_spaces_ml_all
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_all_spaces_ml_all]
[00:00:00]               │ debg creating role ft_default_space_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_read]
[00:00:00]               │ debg creating role ft_default_space1_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space1_ml_read]
[00:00:00]               │ debg creating role ft_all_spaces_ml_read
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_all_spaces_ml_read]
[00:00:00]               │ debg creating role ft_default_space_ml_none
[00:00:00]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_none]
[00:00:00]               │ debg creating user ft_ml_poweruser
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser]
[00:00:00]               │ debg created user ft_ml_poweruser
[00:00:00]               │ debg creating user ft_ml_poweruser_spaces
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_spaces]
[00:00:00]               │ debg created user ft_ml_poweruser_spaces
[00:00:00]               │ debg creating user ft_ml_poweruser_space1
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_space1]
[00:00:00]               │ debg created user ft_ml_poweruser_space1
[00:00:00]               │ debg creating user ft_ml_poweruser_all_spaces
[00:00:00]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_all_spaces]
[00:00:00]               │ debg created user ft_ml_poweruser_all_spaces
[00:00:00]               │ debg creating user ft_ml_viewer
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer]
[00:00:01]               │ debg created user ft_ml_viewer
[00:00:01]               │ debg creating user ft_ml_viewer_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_spaces
[00:00:01]               │ debg creating user ft_ml_viewer_space1
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_space1]
[00:00:01]               │ debg created user ft_ml_viewer_space1
[00:00:01]               │ debg creating user ft_ml_viewer_all_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_all_spaces]
[00:00:01]               │ debg created user ft_ml_viewer_all_spaces
[00:00:01]               │ debg creating user ft_ml_unauthorized
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_unauthorized]
[00:00:01]               │ debg created user ft_ml_unauthorized
[00:00:01]               │ debg creating user ft_ml_unauthorized_spaces
[00:00:01]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_unauthorized_spaces]
[00:00:01]               │ debg created user ft_ml_unauthorized_spaces
[00:07:48]             └-: anomaly detection
[00:07:48]               └-> "before all" hook in "anomaly detection"
[00:13:20]               └-: saved search
[00:13:20]                 └-> "before all" hook in "saved search"
[00:13:20]                 └-> "before all" hook in "saved search"
[00:13:20]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:13:20]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:13:20]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:13:21]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:21]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:21]                   │ debg Index pattern with title 'ft_farequote' already exists. Nothing to create.
[00:13:21]                   │ debg Searching for 'search' with title 'ft_farequote_filter'...
[00:13:21]                   │ debg  > Not found
[00:13:21]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:21]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:21]                   │ debg Creating saved search with title 'ft_farequote_filter'
[00:13:21]                   │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/0mpEnZARQfiicpEnIjrTSw] update_mapping [_doc]
[00:13:21]                   │ debg Waiting up to 5000ms for search with title 'ft_farequote_filter' to exist...
[00:13:21]                   │ debg Searching for 'search' with title 'ft_farequote_filter'...
[00:13:21]                   │ debg  > Found '42e8efc0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:21]                   │ debg  > Created with id '42e8efc0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:21]                   │ debg Searching for 'search' with title 'ft_farequote_lucene'...
[00:13:21]                   │ debg  > Not found
[00:13:21]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:21]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:21]                   │ debg Creating saved search with title 'ft_farequote_lucene'
[00:13:22]                   │ debg Waiting up to 5000ms for search with title 'ft_farequote_lucene' to exist...
[00:13:22]                   │ debg Searching for 'search' with title 'ft_farequote_lucene'...
[00:13:22]                   │ debg  > Found '43423350-1666-11ec-a1a1-8170a2b1bb09'
[00:13:22]                   │ debg  > Created with id '43423350-1666-11ec-a1a1-8170a2b1bb09'
[00:13:22]                   │ debg Searching for 'search' with title 'ft_farequote_kuery'...
[00:13:22]                   │ debg  > Not found
[00:13:22]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:23]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:23]                   │ debg Creating saved search with title 'ft_farequote_kuery'
[00:13:23]                   │ debg Waiting up to 5000ms for search with title 'ft_farequote_kuery' to exist...
[00:13:23]                   │ debg Searching for 'search' with title 'ft_farequote_kuery'...
[00:13:23]                   │ debg  > Found '43dd61e0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:23]                   │ debg  > Created with id '43dd61e0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:23]                   │ debg Searching for 'search' with title 'ft_farequote_filter_and_lucene'...
[00:13:23]                   │ debg  > Not found
[00:13:23]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:24]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:24]                   │ debg Creating saved search with title 'ft_farequote_filter_and_lucene'
[00:13:24]                   │ debg Waiting up to 5000ms for search with title 'ft_farequote_filter_and_lucene' to exist...
[00:13:24]                   │ debg Searching for 'search' with title 'ft_farequote_filter_and_lucene'...
[00:13:24]                   │ debg  > Found '44764680-1666-11ec-a1a1-8170a2b1bb09'
[00:13:25]                   │ debg  > Created with id '44764680-1666-11ec-a1a1-8170a2b1bb09'
[00:13:25]                   │ debg Searching for 'search' with title 'ft_farequote_filter_and_kuery'...
[00:13:25]                   │ debg  > Not found
[00:13:25]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:13:25]                   │ debg  > Found '86df8920-1664-11ec-a1a1-8170a2b1bb09'
[00:13:25]                   │ debg Creating saved search with title 'ft_farequote_filter_and_kuery'
[00:13:26]                   │ debg Waiting up to 5000ms for search with title 'ft_farequote_filter_and_kuery' to exist...
[00:13:26]                   │ debg Searching for 'search' with title 'ft_farequote_filter_and_kuery'...
[00:13:26]                   │ debg  > Found '451126f0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:26]                   │ debg  > Created with id '451126f0-1666-11ec-a1a1-8170a2b1bb09'
[00:13:26]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:13:27]                   │ debg SecurityPage.forceLogout
[00:13:27]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:13:27]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:13:27]                   │ debg Redirecting to /logout to force the logout
[00:13:27]                   │ debg Waiting on the login form to appear
[00:13:27]                   │ debg Waiting for Login Page to appear.
[00:13:27]                   │ debg Waiting up to 100000ms for login page...
[00:13:27]                   │ debg browser[INFO] http://localhost:61191/logout?_t=1631738906891 281 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:13:27]                   │
[00:13:27]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:27]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:13:30]                   │ERROR browser[SEVERE] http://localhost:61191/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:13:30]                   │ debg browser[INFO] http://localhost:61191/46319/bundles/core/core.entry.js 7:151958 "Detected an unhandled Promise rejection.
[00:13:30]                   │      Error: Unauthorized"
[00:13:30]                   │ERROR browser[SEVERE] http://localhost:61191/46319/bundles/core/core.entry.js 0:25156 
[00:13:30]                   │ debg browser[INFO] http://localhost:61191/login?msg=LOGGED_OUT 281 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:13:30]                   │
[00:13:30]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:30]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:13:30]                   │ERROR browser[SEVERE] http://localhost:61191/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:13:31]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:13:31]                   │ debg TestSubjects.exists(loginForm)
[00:13:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:13:31]                   │ debg Waiting for Login Form to appear.
[00:13:31]                   │ debg Waiting up to 100000ms for login form...
[00:13:31]                   │ debg TestSubjects.exists(loginForm)
[00:13:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:13:31]                   │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:13:31]                   │ debg TestSubjects.click(loginUsername)
[00:13:31]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:13:31]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:13:31]                   │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:13:31]                   │ debg TestSubjects.click(loginPassword)
[00:13:31]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:13:31]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:13:31]                   │ debg TestSubjects.click(loginSubmit)
[00:13:31]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:13:31]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:13:31]                   │ debg Waiting for login result, expected: chrome.
[00:13:31]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuAvatar"]') with timeout=20000
[00:13:31]                   │ proc [kibana]   log   [20:48:31.124] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:13:34]                   │ debg browser[INFO] http://localhost:61191/app/home 281 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:13:34]                   │
[00:13:34]                   │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:34]                   │ debg Finished login process currentUrl = http://localhost:61191/app/home#/
[00:13:34]                   │ debg Waiting up to 20000ms for logout button visible...
[00:13:34]                   │ debg TestSubjects.exists(userMenuButton)
[00:13:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:13:34]                   │ debg TestSubjects.exists(userMenu)
[00:13:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:13:36]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:13:37]                   │ debg TestSubjects.click(userMenuButton)
[00:13:37]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:13:37]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:13:37]                   │ debg TestSubjects.exists(userMenu)
[00:13:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:13:37]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:13:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:14:43]                 └-:  with lucene query
[00:14:43]                   └-> "before all" hook for "job creation loads the multi metric wizard for the source data"
[00:14:43]                   └-> job creation loads the multi metric wizard for the source data
[00:14:43]                     └-> "before each" hook: global before each for "job creation loads the multi metric wizard for the source data"
[00:14:43]                     │ debg === TEST STEP === job creation loads the job management page
[00:14:43]                     │ debg navigating to ml url: http://localhost:61191/app/ml
[00:14:43]                     │ debg navigate to: http://localhost:61191/app/ml
[00:14:43]                     │ debg browser[INFO] http://localhost:61191/app/ml?_t=1631738982992 281 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:14:43]                     │
[00:14:43]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:43]                     │ debg ... sleep(700) start
[00:14:44]                     │ debg ... sleep(700) end
[00:14:44]                     │ debg returned from get, calling refresh
[00:14:45]                     │ERROR browser[SEVERE] http://localhost:61191/46319/bundles/core/core.entry.js 7:151038 TypeError: Failed to fetch
[00:14:45]                     │          at fetch_Fetch.fetchResponse (http://localhost:61191/46319/bundles/core/core.entry.js:1:50763)
[00:14:45]                     │          at async http://localhost:61191/46319/bundles/core/core.entry.js:1:48552
[00:14:45]                     │          at async http://localhost:61191/46319/bundles/core/core.entry.js:1:48458
[00:14:45]                     │ debg browser[INFO] http://localhost:61191/app/ml?_t=1631738982992 281 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:14:45]                     │
[00:14:45]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:45]                     │ debg currentUrl = http://localhost:61191/app/ml
[00:14:45]                     │          appUrl = http://localhost:61191/app/ml
[00:14:45]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:45]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:46]                     │ debg ... sleep(501) start
[00:14:46]                     │ debg ... sleep(501) end
[00:14:46]                     │ debg in navigateTo url = http://localhost:61191/app/ml/overview
[00:14:46]                     │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:14:47]                     │ debg ... sleep(501) start
[00:14:47]                     │ debg ... sleep(501) end
[00:14:47]                     │ debg in navigateTo url = http://localhost:61191/app/ml/overview
[00:14:47]                     │ debg TestSubjects.exists(mlApp)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:14:47]                     │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:14:47]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:14:47]                     │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:14:47]                     │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:14:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:14:48]                     │ debg TestSubjects.exists(mlPageJobManagement)
[00:14:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:14:48]                     │ debg === TEST STEP === job creation loads the new job source selection page
[00:14:48]                     │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:14:48]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.exists(mlPageSourceSelection)
[00:14:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:14:48]                     │ debg === TEST STEP === job creation loads the job type selection page
[00:14:48]                     │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_farequote_lucene)
[00:14:48]                     │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:14:48]                     │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.exists(savedObjectTitleft_farequote_lucene)
[00:14:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_farequote_lucene"]') with timeout=120000
[00:14:49]                     │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_farequote_lucene)
[00:14:49]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_farequote_lucene"]') with timeout=10000
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_farequote_lucene"]') with timeout=10000
[00:14:49]                     │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:14:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:14:49]                     │ debg === TEST STEP === job creation loads the multi metric job wizard page
[00:14:49]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkMultiMetricJob)
[00:14:49]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkMultiMetricJob"]') with timeout=10000
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkMultiMetricJob"]') with timeout=10000
[00:14:50]                     │ debg TestSubjects.exists(mlPageJobWizard multi_metric)
[00:14:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard multi_metric"]') with timeout=120000
[00:14:50]                     └- ✓ pass  (6.9s) "machine learning  anomaly detection saved search  with lucene query job creation loads the multi metric wizard for the source data"
[00:14:50]                   └-> job creation navigates through the multi metric wizard and sets all needed fields
[00:14:50]                     └-> "before each" hook: global before each for "job creation navigates through the multi metric wizard and sets all needed fields"
[00:14:50]                     │ debg === TEST STEP === job creation displays the time range step
[00:14:50]                     │ debg TestSubjects.exists(mlJobWizardStepTitleTimeRange)
[00:14:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleTimeRange"]') with timeout=5000
[00:14:50]                     │ debg === TEST STEP === job creation sets the time range
[00:14:50]                     │ debg TestSubjects.clickWhenNotDisabled(mlButtonUseFullData)
[00:14:50]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:14:50]                     │ debg Find.findByCssSelector('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:14:51]                     │ debg TestSubjects.find(mlJobWizardDateRange)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:14:51]                     │ debg --- retry.tryForTime error: Expected start date to be 'Feb 7, 2016 @ 00:00:00.000' (got 'Sep 15, 2021 @ 20:34:49.843')
[00:14:51]                     │ debg TestSubjects.find(mlJobWizardDateRange)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:14:51]                     │ debg === TEST STEP === job creation displays the event rate chart
[00:14:51]                     │ debg TestSubjects.exists(~mlEventRateChart)
[00:14:51]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlEventRateChart"]') with timeout=120000
[00:14:51]                     │ debg TestSubjects.exists(mlEventRateChart withData)
[00:14:51]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlEventRateChart withData"]') with timeout=120000
[00:14:51]                     │ debg === TEST STEP === job creation displays the pick fields step
[00:14:51]                     │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:14:51]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:14:51]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:14:51]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:14:52]                     │ debg TestSubjects.exists(mlJobWizardStepTitlePickFields)
[00:14:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitlePickFields"]') with timeout=5000
[00:14:52]                     │ debg === TEST STEP === job creation selects detectors and displays detector previews
[00:14:52]                     │ debg TestSubjects.exists(mlJobWizardAggSelection > comboBoxInput)
[00:14:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:14:52]                     │ debg comboBox.set, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:14:52]                     │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:14:52]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:14:52]                     │ debg comboBox.setElement, value: Mean(responsetime)
[00:14:52]                     │ debg comboBox.isOptionSelected, value: Mean(responsetime)
[00:14:54]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:54]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:54]                     │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Mean(responsetime)"]') with timeout=2500
[00:14:54]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:54]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:57]                     │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:14:57]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:14:57]                     │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:14:57]                     │ debg TestSubjects.exists(mlDetector 0)
[00:14:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDetector 0"]') with timeout=120000
[00:14:57]                     │ debg TestSubjects.exists(mlDetector 0 > mlDetectorTitle)
[00:14:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDetector 0"] [data-test-subj="mlDetectorTitle"]') with timeout=120000
[00:14:57]                     │ debg TestSubjects.getVisibleText(mlDetector 0 > mlDetectorTitle)
[00:14:57]                     │ debg TestSubjects.find(mlDetector 0 > mlDetectorTitle)
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="mlDetector 0"] [data-test-subj="mlDetectorTitle"]') with timeout=10000
[00:14:57]                     │ debg === TEST STEP === job creation inputs the split field and displays split cards
[00:14:57]                     │ debg TestSubjects.exists(mlMultiMetricSplitFieldSelect > comboBoxInput)
[00:14:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlMultiMetricSplitFieldSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:14:57]                     │ debg comboBox.set, comboBoxSelector: mlMultiMetricSplitFieldSelect > comboBoxInput
[00:14:57]                     │ debg TestSubjects.find(mlMultiMetricSplitFieldSelect > comboBoxInput)
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="mlMultiMetricSplitFieldSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:14:57]                     │ debg comboBox.setElement, value: airline
[00:14:57]                     │ debg comboBox.isOptionSelected, value: airline
[00:15:00]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:00]                     │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="airline"]') with timeout=2500
[00:15:00]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:02]                     │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:03]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlMultiMetricSplitFieldSelect > comboBoxInput
[00:15:03]                     │ debg TestSubjects.find(mlMultiMetricSplitFieldSelect > comboBoxInput)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="mlMultiMetricSplitFieldSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:03]                     │ debg TestSubjects.exists(mlDataSplit > mlDataSplitTitle airline)
[00:15:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDataSplit"] [data-test-subj="mlDataSplitTitle airline"]') with timeout=120000
[00:15:03]                     │ debg TestSubjects.exists(mlDataSplit > mlSplitCard front)
[00:15:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlDataSplit"] [data-test-subj="mlSplitCard front"]') with timeout=120000
[00:15:03]                     │ debg TestSubjects.getVisibleText(mlDataSplit > mlSplitCard front > mlSplitCardTitle)
[00:15:03]                     │ debg TestSubjects.find(mlDataSplit > mlSplitCard front > mlSplitCardTitle)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="mlDataSplit"] [data-test-subj="mlSplitCard front"] [data-test-subj="mlSplitCardTitle"]') with timeout=10000
[00:15:03]                     │ debg TestSubjects.findAll(mlDataSplit > mlSplitCard back)
[00:15:03]                     │ debg Find.allByCssSelector('[data-test-subj="mlDataSplit"] [data-test-subj="mlSplitCard back"]') with timeout=10000
[00:15:03]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlInfluencerSelect > comboBoxInput
[00:15:03]                     │ debg TestSubjects.find(mlInfluencerSelect > comboBoxInput)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="mlInfluencerSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:03]                     │ debg === TEST STEP === job creation displays the influencer field
[00:15:03]                     │ debg TestSubjects.exists(mlInfluencerSelect > comboBoxInput)
[00:15:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlInfluencerSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:15:03]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlInfluencerSelect > comboBoxInput
[00:15:03]                     │ debg TestSubjects.find(mlInfluencerSelect > comboBoxInput)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="mlInfluencerSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:03]                     │ debg === TEST STEP === job creation inputs the bucket span
[00:15:03]                     │ debg TestSubjects.exists(mlJobWizardInputBucketSpan)
[00:15:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=120000
[00:15:03]                     │ debg TestSubjects.setValueWithChecks(mlJobWizardInputBucketSpan, 15m)
[00:15:03]                     │ debg TestSubjects.click(mlJobWizardInputBucketSpan)
[00:15:03]                     │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:15:04]                     │ debg TestSubjects.getAttribute(mlJobWizardInputBucketSpan, value, tryTimeout=120000, findTimeout=10000)
[00:15:04]                     │ debg TestSubjects.find(mlJobWizardInputBucketSpan)
[00:15:04]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputBucketSpan"]') with timeout=10000
[00:15:04]                     │ debg === TEST STEP === job creation displays the job details step
[00:15:04]                     │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:15:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:15:04]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:15:04]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:04]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:05]                     │ debg TestSubjects.exists(mlJobWizardStepTitleJobDetails)
[00:15:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleJobDetails"]') with timeout=5000
[00:15:05]                     │ debg === TEST STEP === job creation inputs the job id
[00:15:05]                     │ debg TestSubjects.exists(mlJobWizardInputJobId)
[00:15:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=120000
[00:15:05]                     │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobId, fq_saved_search_2_1631738098034)
[00:15:05]                     │ debg TestSubjects.click(mlJobWizardInputJobId)
[00:15:05]                     │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:15:05]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:15:07]                     │ debg TestSubjects.getAttribute(mlJobWizardInputJobId, value, tryTimeout=120000, findTimeout=10000)
[00:15:07]                     │ debg TestSubjects.find(mlJobWizardInputJobId)
[00:15:07]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobId"]') with timeout=10000
[00:15:07]                     │ debg === TEST STEP === job creation inputs the job description
[00:15:07]                     │ debg TestSubjects.exists(mlJobWizardInputJobDescription)
[00:15:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=120000
[00:15:07]                     │ debg TestSubjects.setValueWithChecks(mlJobWizardInputJobDescription, Create multi metric job based on a saved search with lucene query)
[00:15:07]                     │ debg TestSubjects.click(mlJobWizardInputJobDescription)
[00:15:07]                     │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:15:07]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:15:10]                     │ debg TestSubjects.getVisibleText(mlJobWizardInputJobDescription)
[00:15:10]                     │ debg TestSubjects.find(mlJobWizardInputJobDescription)
[00:15:10]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardInputJobDescription"]') with timeout=10000
[00:15:11]                     │ debg === TEST STEP === job creation inputs job groups
[00:15:11]                     │ debg TestSubjects.exists(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:15:11]                     │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: automated
[00:15:11]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:11]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:13]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:13]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:15:13]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:13]                     │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: farequote
[00:15:13]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:13]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:15]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:15]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:15:15]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:15]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:15]                     │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: multi-metric
[00:15:15]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:15]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:18]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:18]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:15:18]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:18]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:18]                     │ debg comboBox.setCustom, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput, value: saved-search
[00:15:18]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:18]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:20]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:20]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:20]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:15:20]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:20]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:20]                     │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlJobWizardComboBoxJobGroups > comboBoxInput
[00:15:20]                     │ debg TestSubjects.find(mlJobWizardComboBoxJobGroups > comboBoxInput)
[00:15:20]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardComboBoxJobGroups"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:15:20]                     │ debg === TEST STEP === job creation opens the advanced section
[00:15:20]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:20]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:20]                     │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardAdvancedSection"] is not displayed
[00:15:21]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:21]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:22]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:22]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:23]                     │ debg TestSubjects.click(mlJobWizardToggleAdvancedSection)
[00:15:23]                     │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:15:23]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardToggleAdvancedSection"]') with timeout=10000
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=1000
[00:15:23]                     │ debg === TEST STEP === job creation displays the model plot switch
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchModelPlot)
[00:15:23]                     │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchModelPlot"]') with timeout=120000
[00:15:23]                     │ debg === TEST STEP === job creation enables the dedicated index switch
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:15:23]                     │ debg Find.existsByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=120000
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:15:23]                     │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:15:23]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardAdvancedSection > mlJobWizardSwitchUseDedicatedIndex)
[00:15:23]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:15:23]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:15:23]                     │ debg TestSubjects.getAttribute(mlJobWizardSwitchUseDedicatedIndex, aria-checked, tryTimeout=120000, findTimeout=10000)
[00:15:23]                     │ debg TestSubjects.find(mlJobWizardSwitchUseDedicatedIndex)
[00:15:23]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardSwitchUseDedicatedIndex"]') with timeout=10000
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg === TEST STEP === job creation inputs the model memory limit
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=120000
[00:15:23]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:23]                     │ debg TestSubjects.setValueWithChecks(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, 20mb)
[00:15:23]                     │ debg TestSubjects.click(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:15:23]                     │ debg Find.clickByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:15:23]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:15:24]                     │ debg TestSubjects.exists(mlJobWizardAdvancedSection)
[00:15:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"]') with timeout=2500
[00:15:24]                     │ debg TestSubjects.getAttribute(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit, value, tryTimeout=120000, findTimeout=10000)
[00:15:24]                     │ debg TestSubjects.find(mlJobWizardAdvancedSection > mlJobWizardInputModelMemoryLimit)
[00:15:24]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAdvancedSection"] [data-test-subj="mlJobWizardInputModelMemoryLimit"]') with timeout=10000
[00:15:24]                     │ debg === TEST STEP === job creation displays the validation step
[00:15:24]                     │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:15:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:15:24]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:15:24]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:24]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:24]                     │ debg TestSubjects.exists(mlJobWizardStepTitleValidation)
[00:15:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleValidation"]') with timeout=5000
[00:15:24]                     │ debg === TEST STEP === job creation displays the summary step
[00:15:24]                     │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:15:24]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:15:25]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:15:25]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:25]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:15:25]                     │ debg TestSubjects.exists(mlJobWizardStepTitleSummary)
[00:15:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleSummary"]') with timeout=5000
[00:15:25]                     └- ✓ pass  (34.9s) "machine learning  anomaly detection saved search  with lucene query job creation navigates through the multi metric wizard and sets all needed fields"
[00:15:25]                   └-> job creation runs the job and displays it correctly in the job list
[00:15:25]                     └-> "before each" hook: global before each for "job creation runs the job and displays it correctly in the job list"
[00:15:25]                     │ debg === TEST STEP === job creation creates the job and finishes processing
[00:15:25]                     │ debg TestSubjects.exists(mlJobWizardButtonCreateJob)
[00:15:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=120000
[00:15:25]                     │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardButtonCreateJob)
[00:15:25]                     │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:15:25]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardButtonCreateJob"]') with timeout=10000
[00:15:25]                     │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.ml-anomalies-custom-fq_saved_search_2_1631738098034] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:15:25]                     │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.ml-anomalies-custom-fq_saved_search_2_1631738098034]
[00:15:25]                     │ debg TestSubjects.exists(mlJobWizardButtonRunInRealTime)
[00:15:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardButtonRunInRealTime"]') with timeout=120000
[00:15:25]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.ml-anomalies-custom-fq_saved_search_2_1631738098034/j6g1GzzHQQ2QUGotoRuEZg] update_mapping [_doc]
[00:15:27]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [node-01] Opening job [fq_saved_search_2_1631738098034]
[00:15:27]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [node-01] [fq_saved_search_2_1631738098034] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:15:27]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [node-01] [fq_saved_search_2_1631738098034] [autodetect/123831] [CResourceMonitor.cc@82] Setting model memory limit to 20 MB
[00:15:27]                     │ info [o.e.x.m.d.DatafeedJob] [node-01] [fq_saved_search_2_1631738098034] Datafeed started (from: 2016-02-07T00:00:00.000Z to: 2016-02-11T23:59:54.001Z) with frequency [450000ms]
[00:15:27]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.ml-anomalies-custom-fq_saved_search_2_1631738098034/j6g1GzzHQQ2QUGotoRuEZg] update_mapping [_doc]
[00:15:28]                     │ info [o.e.x.m.j.p.DataCountsReporter] [node-01] [fq_saved_search_2_1631738098034] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:15:28]                     │ debg browser[INFO] http://localhost:61191/46319/bundles/plugin/ml/8.0.0/ml.chunk.2.js 2:14406 "Response for job query:" Object
[00:15:28]                     │ debg browser[INFO] http://localhost:61191/46319/bundles/plugin/ml/8.0.0/ml.chunk.2.js 2:14616 "checkSaveResponse(): save successful"
[00:15:28]                     │ debg --- retry.tryForTime error: [data-test-subj="mlJobWizardButtonRunInRealTime"] is not displayed
[00:15:28]                     │ info [o.e.x.m.j.p.DataCountsReporter] [node-01] [fq_saved_search_2_1631738098034] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:15:29]                     │ info [o.e.x.m.j.p.DataCountsReporter] [node-01] [fq_saved_search_2_1631738098034] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:15:31]                     │ info [o.e.x.m.d.DatafeedJob] [node-01] [fq_saved_search_2_1631738098034] Lookback has finished
[00:15:31]                     │ info [o.e.x.m.d.DatafeedRunner] [node-01] [no_realtime] attempt to stop datafeed [datafeed-fq_saved_search_2_1631738098034] for job [fq_saved_search_2_1631738098034]
[00:15:31]                     │ info [o.e.x.m.d.DatafeedRunner] [node-01] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_saved_search_2_1631738098034] for job [fq_saved_search_2_1631738098034]...
[00:15:31]                     │ info [o.e.x.m.d.DatafeedRunner] [node-01] [no_realtime] stopping datafeed [datafeed-fq_saved_search_2_1631738098034] for job [fq_saved_search_2_1631738098034], acquired [true]...
[00:15:31]                     │ info [o.e.x.m.d.DatafeedRunner] [node-01] [no_realtime] datafeed [datafeed-fq_saved_search_2_1631738098034] for job [fq_saved_search_2_1631738098034] has been stopped
[00:15:31]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:31]                     │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [node-01] Closing job [fq_saved_search_2_1631738098034], because [close job (api)]
[00:15:31]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [node-01] [fq_saved_search_2_1631738098034] [autodetect/123831] [CCmdSkeleton.cc@66] Handled 34415 records
[00:15:31]                     │ info [o.e.x.m.p.l.CppLogMessageHandler] [node-01] [fq_saved_search_2_1631738098034] [autodetect/123831] [CAnomalyJob.cc@1601] Pruning obsolete models
[00:15:31]                     │ info [o.e.x.m.p.AbstractNativeProcess] [node-01] [fq_saved_search_2_1631738098034] State output finished
[00:15:31]                     │ info [o.e.c.m.MetadataMappingService] [node-01] [.ml-anomalies-custom-fq_saved_search_2_1631738098034/j6g1GzzHQQ2QUGotoRuEZg] update_mapping [_doc]
[00:15:31]                     │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [node-01] [fq_saved_search_2_1631738098034] 480 buckets parsed from autodetect output
[00:15:32]                     │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [node-01] [fq_saved_search_2_1631738098034] autodetect connection for job closed
[00:15:33]                     │ debg === TEST STEP === job creation displays the created job in the job list
[00:15:33]                     │ debg navigating to ml url: http://localhost:61191/app/ml
[00:15:33]                     │ debg navigate to: http://localhost:61191/app/ml
[00:15:33]                     │ debg browser[INFO] http://localhost:61191/app/ml?_t=1631739032399 281 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:15:33]                     │
[00:15:33]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:33]                     │ debg ... sleep(700) start
[00:15:34]                     │ debg ... sleep(700) end
[00:15:34]                     │ debg returned from get, calling refresh
[00:15:34]                     │ERROR browser[SEVERE] http://localhost:61191/46319/bundles/core/core.entry.js 7:151038 TypeError: Failed to fetch
[00:15:34]                     │          at fetch_Fetch.fetchResponse (http://localhost:61191/46319/bundles/core/core.entry.js:1:50763)
[00:15:34]                     │          at async http://localhost:61191/46319/bundles/core/core.entry.js:1:48552
[00:15:34]                     │          at async http://localhost:61191/46319/bundles/core/core.entry.js:1:48458
[00:15:34]                     │ debg browser[INFO] http://localhost:61191/app/ml?_t=1631739032399 281 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:15:34]                     │
[00:15:34]                     │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:15:35]                     │ debg currentUrl = http://localhost:61191/app/ml
[00:15:35]                     │          appUrl = http://localhost:61191/app/ml
[00:15:35]                     │ debg TestSubjects.find(kibanaChrome)
[00:15:35]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:15:35]                     │ debg ... sleep(501) start
[00:15:35]                     │ debg ... sleep(501) end
[00:15:35]                     │ debg in navigateTo url = http://localhost:61191/app/ml/overview
[00:15:35]                     │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:15:36]                     │ debg ... sleep(501) start
[00:15:36]                     │ debg ... sleep(501) end
[00:15:36]                     │ debg in navigateTo url = http://localhost:61191/app/ml/overview
[00:15:36]                     │ debg TestSubjects.exists(mlApp)
[00:15:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:15:36]                     │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:15:36]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:15:36]                     │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:15:37]                     │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:15:37]                     │ debg TestSubjects.exists(mlPageJobManagement)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:15:37]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:37]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:37]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:37]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:37]                     │ debg TestSubjects.find(mlJobListSearchBar)
[00:15:37]                     │ debg Find.findByCssSelector('[data-test-subj="mlJobListSearchBar"]') with timeout=10000
[00:15:38]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:38]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:38]                     │ debg === TEST STEP === job creation displays details for the created job in the job list
[00:15:38]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:38]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:38]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:38]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:38]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:38]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:38]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:38]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:38]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:38]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:38]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:38]                     │ debg --- retry.tryForTime error: Expected job row to be '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,416","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}' (got '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,415","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}')
[00:15:39]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:39]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:39]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:39]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:39]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:39]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:39]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:39]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:39]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:39]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:39]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:39]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:40]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:40]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:40]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:40]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:40]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:40]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:40]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:40]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:40]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:41]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:41]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:41]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:41]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:41]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:41]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:41]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:41]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:41]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:41]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:41]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:41]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:41]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:41]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:41]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:41]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:41]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:42]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:42]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:42]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:42]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:42]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:42]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:42]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:42]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:42]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:42]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:42]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:42]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:42]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:43]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:43]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:43]                     │ debg TestSubjects.click(~mlRefreshJobListButton)
[00:15:43]                     │ debg Find.clickByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:43]                     │ debg Find.findByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:43]                     │ debg TestSubjects.exists(~mlRefreshJobListButton)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlRefreshJobListButton"]') with timeout=10000
[00:15:43]                     │ debg TestSubjects.exists(mlRefreshJobListButton loaded)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlRefreshJobListButton loaded"]') with timeout=30000
[00:15:43]                     │ debg TestSubjects.exists(~mlJobListTable)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=60000
[00:15:43]                     │ debg TestSubjects.exists(mlJobListTable loaded)
[00:15:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobListTable loaded"]') with timeout=30000
[00:15:43]                     │ debg TestSubjects.find(~mlJobListTable)
[00:15:43]                     │ debg Find.findByCssSelector('[data-test-subj~="mlJobListTable"]') with timeout=10000
[00:15:43]                     │ debg --- retry.tryForTime failed again with the same message...
[00:15:44]                     │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/machine learning  anomaly detection saved search  with lucene query job creation runs the job and displays it correctly in the job list.png"
[00:15:44]                     │ info Current URL is: http://localhost:61191/app/ml/jobs?_g=(refreshInterval%3A(pause%3A!f%2Cvalue%3A30000))&_a=(jobs%3A(pageIndex%3A0%2CpageSize%3A10%2CqueryText%3Afq_saved_search_2_1631738098034%2CsortDirection%3Aasc%2CsortField%3Aid))
[00:15:44]                     │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/machine learning  anomaly detection saved search  with lucene query job creation runs the job and displays it correctly in the job list.html
[00:15:44]                     └- ✖ fail: machine learning  anomaly detection saved search  with lucene query job creation runs the job and displays it correctly in the job list
[00:15:44]                     │      retry.tryForTime timeout: Error: Expected job row to be '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,416","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}' (got '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,415","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}')
[00:15:44]                     │     at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:15:44]                     │     at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:15:44]                     │     at /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/services/ml/job_table.ts:241:27
[00:15:44]                     │     at runMicrotasks (<anonymous>)
[00:15:44]                     │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:15:44]                     │     at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:15:44]                     │     at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:15:44]                     │     at RetryService.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:22:12)
[00:15:44]                     │     at MlJobTable.assertJobRowFields (/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/services/ml/job_table.ts:237:7)
[00:15:44]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/apps/ml/anomaly_detection/saved_search_job.ts:418:11)
[00:15:44]                     │     at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:15:44]                     │   Error: retry.tryForTime timeout: Error: Expected job row to be '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,416","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}' (got '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,415","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}')
[00:15:44]                     │       at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:15:44]                     │       at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:15:44]                     │       at /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/services/ml/job_table.ts:241:27
[00:15:44]                     │       at runMicrotasks (<anonymous>)
[00:15:44]                     │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:15:44]                     │       at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:15:44]                     │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:15:44]                     │       at RetryService.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:22:12)
[00:15:44]                     │       at MlJobTable.assertJobRowFields (test/functional/services/ml/job_table.ts:237:7)
[00:15:44]                     │       at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/saved_search_job.ts:418:11)
[00:15:44]                     │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:15:44]                     │       at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:15:44]                     │       at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:15:44]                     │       at RetryService.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:22:12)
[00:15:44]                     │       at MlJobTable.assertJobRowFields (test/functional/services/ml/job_table.ts:237:7)
[00:15:44]                     │       at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/saved_search_job.ts:418:11)
[00:15:44]                     │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:15:44]                     │ 
[00:15:44]                     │ 

Stack Trace

Error: retry.tryForTime timeout: Error: Expected job row to be '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,416","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}' (got '{"id":"fq_saved_search_2_1631738098034","description":"Create multi metric job based on a saved search with lucene query","jobGroups":["automated","farequote","multi-metric","saved-search"],"recordCount":"34,415","memoryStatus":"ok","jobState":"closed","datafeedState":"stopped","latestTimestamp":"2016-02-11 23:59:54"}')
    at Assertion.assert (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/services/ml/job_table.ts:241:27
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at runAttempt (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:22:12)
    at MlJobTable.assertJobRowFields (test/functional/services/ml/job_table.ts:237:7)
    at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/saved_search_job.ts:418:11)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.tryForTime (/dev/shm/workspace/parallel/19/kibana/test/common/services/retry/retry.ts:22:12)
    at MlJobTable.assertJobRowFields (test/functional/services/ml/job_table.ts:237:7)
    at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/saved_search_job.ts:418:11)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Async chunks

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

id before after diff
home 119.7KB 119.7KB -4.0B
indexPatternEditor 174.8KB 174.8KB -4.0B
indexPatternManagement 371.6KB 371.6KB -4.0B
kibanaOverview 18.4KB 18.4KB -4.0B
total -16.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 779.6KB 780.0KB +327.0B

History

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

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

LGTM, data discover code owner review. just one file changed

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Did not test this locally, but happy if CI is green for app services changes 👍🏻

@mattkime mattkime merged commit 3c0e5e5 into elastic:master Sep 16, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 112047

mattkime added a commit to mattkime/kibana that referenced this pull request Sep 16, 2021
…12047)

* rename directories

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	src/plugins/data/common/search/search_source/search_source.test.ts
#	src/plugins/data/public/data_views/data_views/on_unsupported_time_pattern.tsx
#	src/plugins/data/public/data_views/index.ts
#	src/plugins/data/server/search/search_service.ts
mattkime added a commit that referenced this pull request Sep 16, 2021
…112408)

* rename directories

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	src/plugins/data/common/search/search_source/search_source.test.ts
#	src/plugins/data/public/data_views/data_views/on_unsupported_time_pattern.tsx
#	src/plugins/data/public/data_views/index.ts
#	src/plugins/data/server/search/search_service.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Data Views Data Views code and UI - index patterns before 8.0 release_note:skip Skip the PR/issue when compiling release notes v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants