Skip to content

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Jul 6, 2020

Backports the following commits to 7.x:

@spalger spalger added the backport This PR is a backport of another PR label Jul 6, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation·ts.machine learning data frame analytics outlier detection creation iowa house prices continues to the details step

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: machine learning
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg creating role ml_source
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added role [ml_source]
[00:00:00]             │ debg creating role ml_dest
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added role [ml_dest]
[00:00:00]             │ debg creating role ml_dest_readonly
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added role [ml_dest_readonly]
[00:00:00]             │ debg creating role ml_ui_extras
[00:00:00]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added role [ml_ui_extras]
[00:00:00]             │ debg creating user ml_poweruser
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added user [ml_poweruser]
[00:00:00]             │ debg created user ml_poweruser
[00:00:00]             │ debg creating user ml_viewer
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added user [ml_viewer]
[00:00:00]             │ debg created user ml_viewer
[00:00:00]             │ debg creating user ml_unauthorized
[00:00:00]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] added user [ml_unauthorized]
[00:00:00]             │ debg created user ml_unauthorized
[00:29:23]           └-: data frame analytics
[00:29:23]             └-> "before all" hook
[00:29:23]             └-: outlier detection creation
[00:29:23]               └-> "before all" hook
[00:29:23]               └-> "before all" hook
[00:29:23]                 │ info [ml/ihp_outlier] Loading "mappings.json"
[00:29:23]                 │ info [ml/ihp_outlier] Loading "data.json.gz"
[00:29:23]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] [ft_ihp_outlier] creating index, cause [api], templates [], shards [1]/[1]
[00:29:23]                 │ info [ml/ihp_outlier] Created index "ft_ihp_outlier"
[00:29:23]                 │ debg [ml/ihp_outlier] "ft_ihp_outlier" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:29:23]                 │ info [ml/ihp_outlier] Indexed 1460 docs into "ft_ihp_outlier"
[00:29:23]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:29:24]                 │ debg  > Not found
[00:29:24]                 │ debg Creating index pattern with title 'ft_ihp_outlier' and time field '@timestamp'
[00:29:24]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_ihp_outlier' to exist...
[00:29:24]                 │ debg Searching for 'index-pattern' with title 'ft_ihp_outlier'...
[00:29:24]                 │ debg  > Found '1a3e8540-bfcc-11ea-b5d9-c754d7aab9c6'
[00:29:24]                 │ debg  > Created with id '1a3e8540-bfcc-11ea-b5d9-c754d7aab9c6'
[00:29:24]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:29:24]                 │ERROR browser[SEVERE] http://localhost:6141/api/ml/fields_service/time_field_range - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:29:24]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/core/core.entry.js 83:262843 "Detected an unhandled Promise rejection.
[00:29:24]                 │      Error: Not Found"
[00:29:24]                 │ERROR browser[SEVERE] http://localhost:6141/32923/bundles/core/core.entry.js 27:9969 
[00:29:25]                 │ debg SecurityPage.forceLogout
[00:29:25]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:29:25]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:29:26]                 │ debg Redirecting to /logout to force the logout
[00:29:26]                 │ debg Waiting on the login form to appear
[00:29:26]                 │ debg Waiting for Login Page to appear.
[00:29:26]                 │ debg Waiting up to 100000ms for login page...
[00:29:26]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1594069394366 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:26]                 │
[00:29:26]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:26]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:29:28]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:15Z
[00:29:28]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:29:28]                 │
[00:29:28]                 │      "
[00:29:28]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594069394366 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:28]                 │
[00:29:28]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:28]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:29:29]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:17Z
[00:29:29]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:29:29]                 │
[00:29:29]                 │      "
[00:29:29]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:29:30]                 │ debg navigating to login url: http://localhost:6141/login
[00:29:30]                 │ debg navigate to: http://localhost:6141/login
[00:29:30]                 │ debg ... sleep(700) start
[00:29:30]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594069398283 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:30]                 │
[00:29:30]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:30]                 │ debg ... sleep(700) end
[00:29:30]                 │ debg returned from get, calling refresh
[00:29:32]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:19Z
[00:29:32]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:29:32]                 │
[00:29:32]                 │      "
[00:29:32]                 │ERROR browser[SEVERE] http://localhost:6141/32923/bundles/core/core.entry.js 83:261764 TypeError: Failed to fetch
[00:29:32]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594069398283 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:32]                 │
[00:29:32]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:32]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:20Z
[00:29:32]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:29:32]                 │
[00:29:32]                 │      "
[00:29:32]                 │ debg currentUrl = http://localhost:6141/login
[00:29:32]                 │          appUrl = http://localhost:6141/login
[00:29:32]                 │ debg TestSubjects.find(kibanaChrome)
[00:29:32]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:29:32]                 │ debg ... sleep(501) start
[00:29:33]                 │ debg ... sleep(501) end
[00:29:33]                 │ debg in navigateTo url = http://localhost:6141/login
[00:29:33]                 │ debg TestSubjects.exists(statusPageContainer)
[00:29:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:29:35]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:29:36]                 │ debg Waiting for Login Form to appear.
[00:29:36]                 │ debg Waiting up to 100000ms for login form...
[00:29:36]                 │ debg TestSubjects.exists(loginForm)
[00:29:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:29:36]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:29:36]                 │ debg TestSubjects.click(loginUsername)
[00:29:36]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:29:36]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:29:36]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:29:36]                 │ debg TestSubjects.click(loginPassword)
[00:29:36]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:29:36]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:29:36]                 │ debg TestSubjects.click(loginSubmit)
[00:29:36]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:29:36]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:29:36]                 │ debg Waiting for login result, expected: chrome.
[00:29:36]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:29:38]                 │ debg browser[INFO] http://localhost:6141/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:38]                 │
[00:29:38]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:38]                 │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:25Z
[00:29:38]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:29:38]                 │
[00:29:38]                 │      "
[00:29:38]                 │ debg Finished login process currentUrl = http://localhost:6141/app/home#/
[00:29:38]                 │ debg Waiting up to 20000ms for logout button visible...
[00:29:38]                 │ debg TestSubjects.exists(userMenuButton)
[00:29:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:29:38]                 │ debg TestSubjects.exists(userMenu)
[00:29:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:29:40]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:29:41]                 │ debg TestSubjects.click(userMenuButton)
[00:29:41]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:29:41]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:29:41]                 │ debg Waiting up to 20000ms for user menu opened...
[00:29:41]                 │ debg TestSubjects.exists(userMenu)
[00:29:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:29:41]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:29:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:29:41]               └-: iowa house prices
[00:29:41]                 └-> "before all" hook
[00:29:41]                 └-> loads the data frame analytics page
[00:29:41]                   └-> "before each" hook: global before each
[00:29:41]                   │ debg navigating to ml url: http://localhost:6141/app/ml
[00:29:41]                   │ debg navigate to: http://localhost:6141/app/ml
[00:29:41]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1594069409820 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:41]                   │
[00:29:41]                   │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:41]                   │ debg ... sleep(700) start
[00:29:42]                   │ debg ... sleep(700) end
[00:29:42]                   │ debg returned from get, calling refresh
[00:29:43]                   │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:31Z
[00:29:43]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:29:43]                   │
[00:29:43]                   │      "
[00:29:43]                   │ERROR browser[SEVERE] http://localhost:6141/32923/bundles/core/core.entry.js 83:261764 TypeError: Failed to fetch
[00:29:43]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1594069409820 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:43]                   │
[00:29:43]                   │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:44]                   │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:31Z
[00:29:44]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:29:44]                   │
[00:29:44]                   │      "
[00:29:44]                   │ debg currentUrl = http://localhost:6141/app/ml
[00:29:44]                   │          appUrl = http://localhost:6141/app/ml
[00:29:44]                   │ debg TestSubjects.find(kibanaChrome)
[00:29:44]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:29:44]                   │ debg ... sleep(501) start
[00:29:45]                   │ debg ... sleep(501) end
[00:29:45]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview
[00:29:45]                   │ debg TestSubjects.exists(statusPageContainer)
[00:29:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:29:47]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:29:48]                   │ debg TestSubjects.exists(mlPageOverview)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:29:48]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:29:48]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:29:48]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:29:48]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:29:48]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:29:48]                   └- ✓ pass  (6.8s) "machine learning data frame analytics outlier detection creation iowa house prices loads the data frame analytics page"
[00:29:48]                 └-> loads the source selection modal
[00:29:48]                   └-> "before each" hook: global before each
[00:29:48]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:29:48]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:29:48]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:29:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:29:48]                   │ debg TestSubjects.exists(analyticsCreateSourceIndexModal)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsCreateSourceIndexModal"]') with timeout=120000
[00:29:48]                   └- ✓ pass  (171ms) "machine learning data frame analytics outlier detection creation iowa house prices loads the source selection modal"
[00:29:48]                 └-> selects the source data and loads the job wizard page
[00:29:48]                   └-> "before each" hook: global before each
[00:29:48]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_ihp_outlier)
[00:29:48]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:29:48]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:29:48]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:29:48]                   │ debg TestSubjects.exists(savedObjectTitleft_ihp_outlier)
[00:29:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_ihp_outlier"]') with timeout=120000
[00:29:49]                   │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_ihp_outlier)
[00:29:49]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_ihp_outlier"]') with timeout=10000
[00:29:49]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_ihp_outlier"]') with timeout=10000
[00:29:49]                   │ debg TestSubjects.exists(mlAnalyticsCreationContainer)
[00:29:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationContainer"]') with timeout=10000
[00:29:49]                   │ debg browser[INFO] http://localhost:6141/app/ml#/data_frame_analytics/new_job?index=1a3e8540-bfcc-11ea-b5d9-c754d7aab9c6 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:29:49]                   │
[00:29:49]                   │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:29:52]                   │ debg browser[INFO] http://localhost:6141/32923/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-06T21:03:39Z
[00:29:52]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:29:52]                   │
[00:29:52]                   │      "
[00:29:52]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreationContainer"] is not displayed
[00:29:52]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardConfigurationStep active)
[00:29:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"]') with timeout=120000
[00:29:53]                   └- ✓ pass  (4.4s) "machine learning data frame analytics outlier detection creation iowa house prices selects the source data and loads the job wizard page"
[00:29:53]                 └-> selects the job type
[00:29:53]                   └-> "before each" hook: global before each
[00:29:53]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:29:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=120000
[00:29:53]                   │ debg TestSubjects.click(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:29:53]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:29:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:29:53]                   │ debg TestSubjects.click(mlAnalyticsCreation-outlier_detection-option)
[00:29:53]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreation-outlier_detection-option"]') with timeout=10000
[00:29:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreation-outlier_detection-option"]') with timeout=10000
[00:29:53]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardJobTypeSelect, value)
[00:29:53]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:29:53]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:29:53]                   └- ✓ pass  (233ms) "machine learning data frame analytics outlier detection creation iowa house prices selects the job type"
[00:29:53]                 └-> does not display the dependent variable input
[00:29:53]                   └-> "before each" hook: global before each
[00:29:53]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:29:53]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=2500
[00:29:53]                   └- ✓ pass  (506ms) "machine learning data frame analytics outlier detection creation iowa house prices does not display the dependent variable input"
[00:29:53]                 └-> does not display the training percent input
[00:29:53]                   └-> "before each" hook: global before each
[00:29:53]                   │ debg TestSubjects.missingOrFail(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:29:53]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=2500
[00:29:54]                   └- ✓ pass  (553ms) "machine learning data frame analytics outlier detection creation iowa house prices does not display the training percent input"
[00:29:54]                 └-> displays the source data preview
[00:29:54]                   └-> "before each" hook: global before each
[00:29:54]                   │ debg TestSubjects.exists(mlAnalyticsCreationDataGrid loaded)
[00:29:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationDataGrid loaded"]') with timeout=5000
[00:29:54]                   └- ✓ pass  (29ms) "machine learning data frame analytics outlier detection creation iowa house prices displays the source data preview"
[00:29:54]                 └-> displays the include fields selection
[00:29:54]                   └-> "before each" hook: global before each
[00:29:54]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardIncludesSelect)
[00:29:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardIncludesSelect"]') with timeout=5000
[00:29:54]                   └- ✓ pass  (36ms) "machine learning data frame analytics outlier detection creation iowa house prices displays the include fields selection"
[00:29:54]                 └-> continues to the additional options step
[00:29:54]                   └-> "before each" hook: global before each
[00:29:54]                   │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:29:54]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:29:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:29:54]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardAdvancedStep active)
[00:29:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardAdvancedStep active"]') with timeout=120000
[00:29:54]                   └- ✓ pass  (472ms) "machine learning data frame analytics outlier detection creation iowa house prices continues to the additional options step"
[00:29:54]                 └-> inputs the model memory limit
[00:29:54]                   └-> "before each" hook: global before each
[00:29:54]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:29:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=120000
[00:29:54]                   │ debg TestSubjects.setValueWithChecks(mlAnalyticsCreateJobWizardModelMemoryInput, 5mb)
[00:29:54]                   │ debg TestSubjects.click(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:29:54]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:55]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] [dummy] [data_frame_analyzer/67143] [Main.cc@51] Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'.
[00:29:55]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] [dummy] [data_frame_analyzer/67143] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'
[00:29:55]                   │ info [r.suppressed] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] path: /_ml/data_frame/analytics/_explain, params: {}
[00:29:55]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_440140] Error while closing process [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'.
[00:29:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'
[00:29:55]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'.
[00:29:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'
[00:29:55]                   │      ]
[00:29:55]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:651) [elasticsearch-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:29:55]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:29:55]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:29:55]                   │      Caused by: org.elasticsearch.ElasticsearchException: Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'.
[00:29:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10973356958330164545.conf'
[00:29:55]                   │      
[00:29:55]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:201) ~[x-pack-ml-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-7.9.0-SNAPSHOT.jar:7.9.0-SNAPSHOT]
[00:29:55]                   │      	... 5 more
[00:29:55]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-centos-tests-xl-1594065738089134229] [controller/13566] [CDetachedProcessSpawner.cc@193] Child process with PID 67143 has exited with exit code 1
[00:29:55]                   │ proc [kibana]  error  [21:03:42.763]  Error: Internal Server Error
[00:29:55]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:29:55]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:29:55]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:29:55]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:160:34)
[00:29:55]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:29:55]                   │ERROR browser[SEVERE] http://localhost:6141/api/ml/data_frame/analytics/_explain - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:29:55]                   │ debg --- retry.tryForTime error: After typing character 'b', the new value in the input should be '5mb' (got 50mbb)
[00:29:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:29:56]                   │ debg --- retry.tryForTime error: retry.tryForTime timeout: Error: After typing character 'b', the new value in the input should be '5mb' (got 50mbb)
[00:29:56]                   │          at retry.tryForTime (/dev/shm/workspace/kibana/x-pack/test/functional/services/ml/common.ts:70:23)
[00:29:56]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:29:56]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardModelMemoryInput, value)
[00:29:56]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:29:56]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:56]                   │ debg --- retry.tryForTime error: Model memory limit should be '5mb' (got '50mbbb')
[00:29:57]                   │ debg TestSubjects.setValueWithChecks(mlAnalyticsCreateJobWizardModelMemoryInput, 5mb)
[00:29:57]                   │ debg TestSubjects.click(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:29:57]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:57]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:57]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardModelMemoryInput, value)
[00:29:57]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardModelMemoryInput)
[00:29:57]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardModelMemoryInput"]') with timeout=10000
[00:29:57]                   └- ✓ pass  (3.0s) "machine learning data frame analytics outlier detection creation iowa house prices inputs the model memory limit"
[00:29:57]                 └-> continues to the details step
[00:29:57]                   └-> "before each" hook: global before each
[00:29:57]                   │ debg TestSubjects.clickWhenNotDisabled(mlAnalyticsCreateJobWizardContinueButton)
[00:29:57]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:29:57]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardContinueButton"]') with timeout=10000
[00:30:08]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics outlier detection creation iowa house prices continues to the details step.png"
[00:30:08]                   │ info Current URL is: http://localhost:6141/app/ml#/data_frame_analytics/new_job?index=1a3e8540-bfcc-11ea-b5d9-c754d7aab9c6
[00:30:08]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics outlier detection creation iowa house prices continues to the details step.html
[00:30:08]                   └- ✖ fail: "machine learning data frame analytics outlier detection creation iowa house prices continues to the details step"
[00:30:08]                   │

Stack Trace

{ TimeoutError: Waiting until element is enabled
Wait timed out after 10079ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Build metrics

✅ unchanged

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

@spalger spalger merged commit 03809aa into elastic:7.x Jul 6, 2020
@spalger spalger deleted the backport/7.x/pr-70833 branch July 6, 2020 22:06
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.

2 participants