Skip to content

[7.x] [Page layouts] Some light fixes (#103197)#103885

Merged
snide merged 2 commits intoelastic:7.xfrom
snide:backport/7.x/pr-103197
Jun 30, 2021
Merged

[7.x] [Page layouts] Some light fixes (#103197)#103885
snide merged 2 commits intoelastic:7.xfrom
snide:backport/7.x/pr-103197

Conversation

@snide
Copy link
Copy Markdown
Contributor

@snide snide commented Jun 30, 2021

Backports the following commits to 7.x:

* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
@snide snide added the backport This PR is a backport of another PR label Jun 30, 2021
@snide snide enabled auto-merge (squash) June 30, 2021 13:35
@snide
Copy link
Copy Markdown
Contributor Author

snide commented Jun 30, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
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/single_metric_job·ts.machine learning anomaly detection single metric job creation navigates through the single metric wizard and sets all needed fields

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: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:08:03]             └-: anomaly detection
[00:08:03]               └-> "before all" hook in "anomaly detection"
[00:08:03]               └-: single metric
[00:08:03]                 └-> "before all" hook for "job creation loads the single metric wizard for the source data"
[00:08:03]                 └-> "before all" hook for "job creation loads the single metric wizard for the source data"
[00:08:03]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "mappings.json"
[00:08:03]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Loading "data.json.gz"
[00:08:03]                   │ info [x-pack/test/functional/es_archives/ml/farequote] Skipped restore for existing index "ft_farequote"
[00:08:04]                   │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:08:04]                   │ debg  > Found '1d963e70-d9d1-11eb-9512-cb435a1068f3'
[00:08:04]                   │ debg Index pattern with title 'ft_farequote' already exists. Nothing to create.
[00:08:04]                   │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:08:05]                   │ debg Creating calendar with id 'wizard-test-calendar_1625077711744'...
[00:08:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.ml-meta] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:08:05]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.ml-meta]
[00:08:05]                   │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:08:05]                   │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:08:05]                   │ debg Waiting up to 5000ms for 'wizard-test-calendar_1625077711744' to exist...
[00:08:05]                   │ debg > Calendar created.
[00:08:05]                   │ debg SecurityPage.forceLogout
[00:08:05]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:08:05]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:05]                   │ debg Redirecting to /logout to force the logout
[00:08:06]                   │ debg Waiting on the login form to appear
[00:08:06]                   │ debg Waiting for Login Page to appear.
[00:08:06]                   │ debg Waiting up to 100000ms for login page...
[00:08:06]                   │ debg browser[INFO] http://localhost:61131/logout?_t=1625078198976 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:08:06]                   │
[00:08:06]                   │ 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:08:06]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:09]                   │ERROR browser[SEVERE] http://localhost:61131/api/alerts/list_alert_types - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:08:09]                   │ debg browser[INFO] http://localhost:61131/42276/bundles/core/core.entry.js 12:157416 "Detected an unhandled Promise rejection.
[00:08:09]                   │      Error: Unauthorized"
[00:08:09]                   │ERROR browser[SEVERE] http://localhost:61131/42276/bundles/core/core.entry.js 5:2514 
[00:08:09]                   │ 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:08:09]                   │
[00:08:09]                   │ 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:08:09]                   │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:09]                   │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:08:10]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:10]                   │ debg TestSubjects.exists(loginForm)
[00:08:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:08:10]                   │ debg Waiting for Login Form to appear.
[00:08:10]                   │ debg Waiting up to 100000ms for login form...
[00:08:10]                   │ debg TestSubjects.exists(loginForm)
[00:08:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:08:10]                   │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:08:10]                   │ debg TestSubjects.click(loginUsername)
[00:08:10]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:08:10]                   │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:08:10]                   │ debg TestSubjects.click(loginPassword)
[00:08:10]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:08:10]                   │ debg TestSubjects.click(loginSubmit)
[00:08:10]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:08:10]                   │ debg Waiting for login result, expected: chrome.
[00:08:10]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=20000
[00:08:10]                   │ proc [kibana]   log   [18:36:43.750] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:08:12]                   │ 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:08:12]                   │
[00:08:12]                   │ 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:08:12]                   │ERROR browser[SEVERE] http://localhost:61131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:08:12]                   │ debg Finished login process currentUrl = http://localhost:61131/app/home#/
[00:08:12]                   │ debg Waiting up to 20000ms for logout button visible...
[00:08:12]                   │ debg TestSubjects.exists(userMenuButton)
[00:08:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:08:13]                   │ debg TestSubjects.exists(userMenu)
[00:08:13]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:08:15]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:08:16]                   │ debg TestSubjects.click(userMenuButton)
[00:08:16]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:08:16]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:08:16]                   │ debg TestSubjects.exists(userMenu)
[00:08:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:08:16]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:08:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:08:16]                 └-> job creation loads the single metric wizard for the source data
[00:08:16]                   └-> "before each" hook: global before each for "job creation loads the single metric wizard for the source data"
[00:08:16]                   │ debg === TEST STEP === job creation loads the job management page
[00:08:16]                   │ debg navigating to ml url: http://localhost:61131/app/ml
[00:08:16]                   │ debg navigate to: http://localhost:61131/app/ml
[00:08:16]                   │ debg browser[INFO] http://localhost:61131/app/ml?_t=1625078209303 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:08:16]                   │
[00:08:16]                   │ 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:08:16]                   │ debg ... sleep(700) start
[00:08:17]                   │ debg ... sleep(700) end
[00:08:17]                   │ debg returned from get, calling refresh
[00:08:17]                   │ debg browser[INFO] http://localhost:61131/app/ml?_t=1625078209303 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:08:17]                   │
[00:08: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:08:17]                   │ debg currentUrl = http://localhost:61131/app/ml
[00:08:17]                   │          appUrl = http://localhost:61131/app/ml
[00:08:17]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:17]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:08:19]                   │ debg ... sleep(501) start
[00:08:19]                   │ERROR browser[SEVERE] http://localhost:61131/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:08:19]                   │ debg ... sleep(501) end
[00:08:19]                   │ debg in navigateTo url = http://localhost:61131/app/ml/overview
[00:08:19]                   │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:08:20]                   │ debg ... sleep(501) start
[00:08:20]                   │ debg ... sleep(501) end
[00:08:20]                   │ debg in navigateTo url = http://localhost:61131/app/ml/overview
[00:08:20]                   │ debg TestSubjects.exists(mlApp)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlApp"]') with timeout=2000
[00:08:20]                   │ debg TestSubjects.click(~mlMainTab & ~anomalyDetection)
[00:08:20]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:20]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"]') with timeout=10000
[00:08:20]                   │ debg TestSubjects.exists(~mlMainTab & ~anomalyDetection & ~selected)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="anomalyDetection"][data-test-subj~="selected"]') with timeout=120000
[00:08:20]                   │ debg TestSubjects.exists(mlPageJobManagement)
[00:08:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobManagement"]') with timeout=120000
[00:08:21]                   │ debg === TEST STEP === job creation loads the new job source selection page
[00:08:21]                   │ debg TestSubjects.clickWhenNotDisabled(mlCreateNewJobButton)
[00:08:21]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:08:21]                   │ debg Find.findByCssSelector('[data-test-subj="mlCreateNewJobButton"]') with timeout=10000
[00:08:21]                   │ debg TestSubjects.exists(mlPageSourceSelection)
[00:08:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageSourceSelection"]') with timeout=120000
[00:08:21]                   │ debg === TEST STEP === job creation loads the job type selection page
[00:08:21]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_farequote)
[00:08:21]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:08:21]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:21]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:08:21]                   │ debg TestSubjects.exists(savedObjectTitleft_farequote)
[00:08:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=120000
[00:08:22]                   │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_farequote)
[00:08:22]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=10000
[00:08:22]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_farequote"]') with timeout=10000
[00:08:22]                   │ debg TestSubjects.exists(mlPageJobTypeSelection)
[00:08:22]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobTypeSelection"]') with timeout=10000
[00:08:22]                   │ debg === TEST STEP === job creation loads the single metric job wizard page
[00:08:22]                   │ debg TestSubjects.clickWhenNotDisabled(mlJobTypeLinkSingleMetricJob)
[00:08:22]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:08:22]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobTypeLinkSingleMetricJob"]') with timeout=10000
[00:08:23]                   │ debg TestSubjects.exists(mlPageJobWizard single_metric)
[00:08:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageJobWizard single_metric"]') with timeout=120000
[00:08:23]                   │ERROR browser[SEVERE] http://localhost:61131/api/ml/jobs/new_job_caps/ft_farequote - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:08:23]                   │ERROR browser[SEVERE] http://localhost:61131/42276/bundles/plugin/ml/8.0.0/ml.chunk.5.js 2:25192 "Unable to load new job capabilities" TypeError: Failed to fetch
[00:08:23]                   │          at fetch_Fetch.fetchResponse (http://localhost:61131/42276/bundles/core/core.entry.js:6:26194)
[00:08:23]                   │          at async http://localhost:61131/42276/bundles/core/core.entry.js:6:24091
[00:08:23]                   │          at async http://localhost:61131/42276/bundles/core/core.entry.js:6:23997
[00:08:23]                   └- ✓ pass  (7.4s) "machine learning  anomaly detection single metric job creation loads the single metric wizard for the source data"
[00:08:23]                 └-> job creation navigates through the single metric wizard and sets all needed fields
[00:08:23]                   └-> "before each" hook: global before each for "job creation navigates through the single metric wizard and sets all needed fields"
[00:08:23]                   │ debg === TEST STEP === job creation displays the time range step
[00:08:23]                   │ debg TestSubjects.exists(mlJobWizardStepTitleTimeRange)
[00:08:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitleTimeRange"]') with timeout=5000
[00:08:23]                   │ debg === TEST STEP === job creation sets the time range
[00:08:23]                   │ debg TestSubjects.clickWhenNotDisabled(mlButtonUseFullData)
[00:08:23]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:08:23]                   │ debg Find.findByCssSelector('[data-test-subj="mlButtonUseFullData"]') with timeout=10000
[00:08:24]                   │ debg TestSubjects.find(mlJobWizardDateRange)
[00:08:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardDateRange"]') with timeout=10000
[00:08:24]                   │ debg === TEST STEP === job creation displays the event rate chart
[00:08:24]                   │ debg TestSubjects.exists(~mlEventRateChart)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlEventRateChart"]') with timeout=120000
[00:08:24]                   │ debg TestSubjects.exists(mlEventRateChart withData)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlEventRateChart withData"]') with timeout=120000
[00:08:24]                   │ debg === TEST STEP === job creation displays the pick fields step
[00:08:24]                   │ debg TestSubjects.exists(mlJobWizardNavButtonNext)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=120000
[00:08:24]                   │ debg TestSubjects.clickWhenNotDisabled(mlJobWizardNavButtonNext)
[00:08:24]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:08:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardNavButtonNext"]') with timeout=10000
[00:08:24]                   │ debg TestSubjects.exists(mlJobWizardStepTitlePickFields)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardStepTitlePickFields"]') with timeout=5000
[00:08:24]                   │ debg === TEST STEP === job creation selects field and aggregation
[00:08:24]                   │ debg TestSubjects.exists(mlJobWizardAggSelection > comboBoxInput)
[00:08:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:08:24]                   │ debg comboBox.set, comboBoxSelector: mlJobWizardAggSelection > comboBoxInput
[00:08:24]                   │ debg TestSubjects.find(mlJobWizardAggSelection > comboBoxInput)
[00:08:24]                   │ debg Find.findByCssSelector('[data-test-subj="mlJobWizardAggSelection"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:08:24]                   │ debg comboBox.setElement, value: Mean(responsetime)
[00:08:24]                   │ debg comboBox.isOptionSelected, value: Mean(responsetime)
[00:08:27]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:08:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:08:27]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Mean(responsetime)"]') with timeout=2500
[00:08:29]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:08:39]                   │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/machine learning  anomaly detection single metric job creation navigates through the single metric wizard and sets all needed fields.png"
[00:08:39]                   │ info Current URL is: http://localhost:61131/app/ml/jobs/new_job/single_metric?index=1d963e70-d9d1-11eb-9512-cb435a1068f3
[00:08:39]                   │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/machine learning  anomaly detection single metric job creation navigates through the single metric wizard and sets all needed fields.html
[00:08:39]                   └- ✖ fail: machine learning  anomaly detection single metric job creation navigates through the single metric wizard and sets all needed fields
[00:08:39]                   │      TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:08:39]                   │ Wait timed out after 10023ms
[00:08:39]                   │       at /dev/shm/workspace/parallel/13/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:08:39]                   │       at runMicrotasks (<anonymous>)
[00:08:39]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:08:39]                   │ 
[00:08:39]                   │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
Wait timed out after 10023ms
    at /dev/shm/workspace/parallel/13/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  remoteStacktrace: ''
}

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
ml 1718 1727 +9

Async chunks

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

id before after diff
enterpriseSearch 2.1MB 2.1MB -291.0B
indexPatternManagement 553.2KB 553.2KB +8.0B
infra 1.7MB 1.7MB +50.0B
licenseManagement 127.0KB 126.7KB -328.0B
logstash 47.2KB 46.8KB -432.0B
management 17.0KB 17.1KB +139.0B
ml 5.9MB 5.9MB +939.0B
reporting 64.9KB 64.9KB +16.0B
savedObjectsTagging 76.5KB 76.6KB +110.0B
triggersActionsUi 1.6MB 1.6MB -1.1KB
total -881.0B

Page load bundle

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

id before after diff
kibanaReact 137.2KB 137.2KB +50.0B
presentationUtil 42.5KB 42.7KB +152.0B
total +202.0B

History

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

@snide snide merged commit 5a4a08d into elastic:7.x Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants