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

[7.x] [ML] Delete annotation directly from the index it is stored in (#115328) #115539

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/anomaly_detection/categorization_job·ts.machine learning anomaly detection categorization job creation loads the categorization wizard for the source data

Link to Jenkins

Standard Out

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

[00:00:00]     │
[00:00:00]       └-: machine learning
[00:00:00]         └-> "before all" hook 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:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer]
[00:00:00]             │ debg created user ft_ml_viewer
[00:00:00]             │ 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:08:06]           └-: anomaly detection
[00:08:06]             └-> "before all" hook in "anomaly detection"
[00:32:07]             └-: categorization
[00:32:07]               └-> "before all" hook for "job creation loads the categorization wizard for the source data"
[00:32:07]               └-> "before all" hook for "job creation loads the categorization wizard for the source data"
[00:32:07]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Loading "mappings.json"
[00:32:07]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Loading "data.json.gz"
[00:32:07]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [ft_categorization] creating index, cause [api], templates [], shards [1]/[0]
[00:32:07]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Created index "ft_categorization"
[00:32:07]                 │ debg [x-pack/test/functional/es_archives/ml/categorization] "ft_categorization" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:32:08]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Indexed 1501 docs into "ft_categorization"
[00:32:08]                 │ debg Searching for 'index-pattern' with title 'ft_categorization'...
[00:32:08]                 │ debg  > Not found
[00:32:08]                 │ debg Creating index pattern with title 'ft_categorization' and time field '@timestamp'
[00:32:09]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_categorization' to exist...
[00:32:09]                 │ debg Searching for 'index-pattern' with title 'ft_categorization'...
[00:32:09]                 │ debg  > Found '85d372f0-30d4-11ec-b723-430535be3c96'
[00:32:09]                 │ debg  > Created with id '85d372f0-30d4-11ec-b723-430535be3c96'
[00:32:09]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:32:10]                 │ debg Creating calendar with id 'wizard-test-calendar_1634643058656'...
[00:32:10]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.ml-meta] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:32:10]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.ml-meta]
[00:32:10]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:32:10]                 │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:32:10]                 │ debg Waiting up to 5000ms for 'wizard-test-calendar_1634643058656' to exist...
[00:32:10]                 │ debg > Calendar created.
[00:32:10]                 │ debg SecurityPage.forceLogout
[00:32:10]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:32:10]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:32:10]                 │ debg Redirecting to /logout to force the logout
[00:32:10]                 │ debg Waiting on the login form to appear
[00:32:10]                 │ debg Waiting for Login Page to appear.
[00:32:10]                 │ debg Waiting up to 100000ms for login page...
[00:32:10]                 │ debg browser[INFO] http://localhost:61131/logout?_t=1634644990267 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:32:10]                 │
[00:32:10]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:10]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:32:13]                 │ debg browser[INFO] http://localhost:61131/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:32:13]                 │
[00:32:13]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:13]                 │ warn browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:32:13]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:32:14]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:32:14]                 │ debg TestSubjects.exists(loginForm)
[00:32:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:32:14]                 │ debg Waiting for Login Form to appear.
[00:32:14]                 │ debg Waiting up to 100000ms for login form...
[00:32:14]                 │ debg TestSubjects.exists(loginForm)
[00:32:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:32:14]                 │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:32:14]                 │ debg TestSubjects.click(loginUsername)
[00:32:14]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:32:14]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:32:14]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:32:14]                 │ debg TestSubjects.click(loginPassword)
[00:32:14]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:32:14]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:32:14]                 │ debg TestSubjects.click(loginSubmit)
[00:32:14]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:32:14]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:32:14]                 │ debg Waiting for login result, expected: chrome.
[00:32:14]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuAvatar"]') with timeout=20000
[00:32:14]                 │ proc [kibana]   log   [12:03:14.333] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:32:17]                 │ debg browser[INFO] http://localhost:61131/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:32:17]                 │
[00:32:17]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:17]                 │ debg Finished login process currentUrl = http://localhost:61131/app/home#/
[00:32:17]                 │ debg Waiting up to 20000ms for logout button visible...
[00:32:17]                 │ debg TestSubjects.exists(userMenuButton)
[00:32:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:32:17]                 │ debg TestSubjects.exists(userMenu)
[00:32:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:32:19]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:32:20]                 │ debg TestSubjects.click(userMenuButton)
[00:32:20]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:32:20]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:32:20]                 │ debg TestSubjects.exists(userMenu)
[00:32:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:32:20]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:32:20]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:32:20]               └-> job creation loads the categorization wizard for the source data
[00:32:20]                 └-> "before each" hook: global before each for "job creation loads the categorization wizard for the source data"
[00:32:20]                 │ debg === TEST STEP === job creation loads the job management page
[00:32:20]                 │ debg === TEST STEP === 
[00:32:20]                 │ debg navigating to ml url: http://localhost:61131/app/ml
[00:32:20]                 │ debg navigate to: http://localhost:61131/app/ml
[00:32:20]                 │ debg browser[INFO] http://localhost:61131/app/ml?_t=1634644999940 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:32:20]                 │
[00:32:20]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:20]                 │ debg ... sleep(700) start
[00:32:21]                 │ debg ... sleep(700) end
[00:32:21]                 │ debg returned from get, calling refresh
[00:32:22]                 │ warn browser[SEVERE] http://localhost:61131/45382/bundles/core/core.entry.js 7:106452 TypeError: Failed to fetch
[00:32:22]                 │          at fetch_Fetch.fetchResponse (http://localhost:61131/45382/bundles/core/core.entry.js:8:56535)
[00:32:22]                 │          at async http://localhost:61131/45382/bundles/core/core.entry.js:8:55123
[00:32:22]                 │          at async http://localhost:61131/45382/bundles/core/core.entry.js:8:55080
[00:32:22]                 │ debg browser[INFO] http://localhost:61131/app/ml?_t=1634644999940 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:32:22]                 │
[00:32:22]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:22]                 │ debg currentUrl = http://localhost:61131/app/ml
[00:32:22]                 │          appUrl = http://localhost:61131/app/ml
[00:32:22]                 │ debg TestSubjects.find(kibanaChrome)
[00:32:22]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:22]                 │ debg ... sleep(501) start
[00:32:23]                 │ debg ... sleep(501) end
[00:32:23]                 │ debg in navigateTo url = http://localhost:61131/app/ml/overview
[00:32:23]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:32:23]                 │ debg ... sleep(501) start
[00:32:24]                 │ debg ... sleep(501) end
[00:32:24]                 │ debg in navigateTo url = http://localhost:61131/app/ml/overview
[00:32:24]                 │ debg TestSubjects.exists(mlApp)
[00:32:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:32:24]                 │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:32:24]                 │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:32:24]                 │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:32:24]                 │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:32:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:32:24]                 │ debg TestSubjects.exists(mlPageJobManagement)
[00:32:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:32:24]                 │ debg === TEST STEP === job creation loads the new job source selection page
[00:32:24]                 │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:32:24]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:32:24]                 │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:32:25]                 │ debg TestSubjects.exists(mlPageSourceSelection)
[00:32:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:32:25]                 │ debg === TEST STEP === job creation loads the job type selection page
[00:32:25]                 │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_categorization)
[00:32:25]                 │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:32:25]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:32:25]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:32:25]                 │ debg TestSubjects.exists(savedObjectTitleft_categorization)
[00:32:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_categorization"]') with timeout=120000
[00:32:25]                 │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_categorization)
[00:32:25]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_categorization"]') with timeout=10000
[00:32:25]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_categorization"]') with timeout=10000
[00:32:26]                 │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:32:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:32:26]                 │ debg === TEST STEP === job creation loads the categorization job wizard page
[00:32:26]                 │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkCategorizationJob)
[00:32:26]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkCategorizationJob"]') with timeout=10000
[00:32:26]                 │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkCategorizationJob"]') with timeout=10000
[00:32:26]                 │ debg TestSubjects.exists(mlPageJobWizard categorization)
[00:32:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard categorization"]') with timeout=120000
[00:32:29]                 │ warn browser[SEVERE] http://localhost:61131/api/ml/jobs/new_job_caps/ft_categorization - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:32:29]                 │ warn browser[SEVERE] http://localhost:61131/45382/bundles/plugin/ml/8.0.0/ml.chunk.6.js 2:12216 "Unable to load new job capabilities" TypeError: Failed to fetch
[00:32:29]                 │          at fetch_Fetch.fetchResponse (http://localhost:61131/45382/bundles/core/core.entry.js:8:56535)
[00:32:29]                 │          at async http://localhost:61131/45382/bundles/core/core.entry.js:8:55123
[00:32:29]                 │          at async http://localhost:61131/45382/bundles/core/core.entry.js:8:55080
[00:32:29]                 │ warn browser[SEVERE] http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js 446:84011 Error: event_rate field or count or rare aggregations missing
[00:32:29]                 │          at categorization_job_creator_CategorizationJobCreator.setDefaultDetectorProperties (http://localhost:61131/45382/bundles/plugin/ml/8.0.0/ml.chunk.6.js:3:39252)
[00:32:29]                 │          at d (http://localhost:61131/45382/bundles/plugin/ml/8.0.0/ml.chunk.6.js:17:216213)
[00:32:29]                 │          at Os (http://localhost:61131/45382/bundles/plugin/ml/8.0.0/ml.chunk.6.js:17:215996)
[00:32:29]                 │          at ga (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:59761)
[00:32:29]                 │          at Ns (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:107651)
[00:32:29]                 │          at Iu (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:97334)
[00:32:29]                 │          at Pu (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:97146)
[00:32:29]                 │          at Ou (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:94325)
[00:32:29]                 │          at http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:447:46038
[00:32:29]                 │          at t.unstable_runWithPriority (http://localhost:61131/45382/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:455:3462)
[00:32:29]                 │ debg --- retry.tryForTime error: [data-test-subj="mlPageJobWizard categorization"] is not displayed
[00:32:32]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:35]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:32:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:08]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:11]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:17]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:21]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:24]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:27]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:30]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:33]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:36]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:39]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:42]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:48]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:51]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:54]                 │ debg --- retry.tryForTime failed again with the same message...
[00:33:57]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:00]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:03]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:06]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:09]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:12]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:15]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:18]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:21]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:24]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:27]                 │ debg --- retry.tryForTime failed again with the same message...
[00:34:28]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/machine learning  anomaly detection categorization job creation loads the categorization wizard for the source data.png"
[00:34:28]                 │ info Current URL is: http://localhost:61131/app/ml/jobs
[00:34:28]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/machine learning  anomaly detection categorization job creation loads the categorization wizard for the source data.html
[00:34:28]                 └- ✖ fail: machine learning  anomaly detection categorization job creation loads the categorization wizard for the source data
[00:34:28]                 │      Error: expected testSubject(mlPageJobWizard categorization) to exist
[00:34:28]                 │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:34:28]                 │       at Object.assertCategorizationJobWizardOpen (test/functional/services/ml/job_type_selection.ts:56:7)
[00:34:28]                 │       at Object.selectCategorizationJob (test/functional/services/ml/job_type_selection.ts:52:7)
[00:34:28]                 │       at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/categorization_job.ts:105:7)
[00:34:28]                 │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:34:28]                 │ 
[00:34:28]                 │ 

Stack Trace

Error: expected testSubject(mlPageJobWizard categorization) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/13/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at Object.assertCategorizationJobWizardOpen (test/functional/services/ml/job_type_selection.ts:56:7)
    at Object.selectCategorizationJob (test/functional/services/ml/job_type_selection.ts:52:7)
    at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/categorization_job.ts:105:7)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

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

cc @peteharverson

@kibanamachine kibanamachine merged commit bd42367 into elastic:7.x Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants