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

preserve 401 errors from legacy es client #71234

Merged

Conversation

pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Jul 9, 2020

Summary

Forward 401 errors returned from the legacy es client directly instead of replacing them with 500 as it is done with every other errors during routing.

'Fix an issue causing unauthorized response (401) from elasticsearch to not being properly forwarded by Kibana, causing the www-authenticate header and 401 status code not being present in the http response.'

Checklist

@pgayvallet pgayvallet added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 labels Jul 9, 2020
@pgayvallet pgayvallet requested a review from a team as a code owner July 9, 2020 12:49
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

Copy link
Contributor Author

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

Questions:

  • Should this be considered a fix? Should I label it release_note:fix instead of skip?
  • Do we want to backport this lower than 7.9?
  • Do we want to add a FTR test for that (unsure how to trigger a 401 error from ES from an FTR test?)

Comment on lines +422 to +427
const authenticationError = LegacyElasticsearchErrorHelpers.decorateNotAuthorizedError(
new (esErrors.AuthenticationException as any)('Authentication Exception', {
body: { error: { header: { 'WWW-Authenticate': 'authenticate header' } } },
statusCode: 401,
})
);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

🙈 but as the ClusterClient is already mocked in the test suite, I couldn't 'demock' it to throw the error directly from the Client itself. Also the behavior from the client is tested in cluster_client.test.ts so I guess this is fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

you could throw this exception from a route handler

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, I could throw the same error directly from the handler instead of mocking the return of callAsCurrentUser, but forging the error would still be as ugly.

@mshustov
Copy link
Contributor

mshustov commented Jul 9, 2020

Should this be considered a fix? Should I label it release_note:fix instead of skip?

I'd say yes. If someone encounters an error, they could find this bug fix in docs.

Do we want to backport this lower than 7.9?

we backport bug fixes 2 versions back. we can backport at least to 7.8. I don't see any 7.7 releases scheduled. @joshdover

Do we want to add a FTR test for that (unsure how to trigger a 401 error from ES from an FTR test?)

That would require a separate setup. The integration test that you added is sufficient.

@joshdover
Copy link
Contributor

we backport bug fixes 2 versions back. we can backport at least to 7.8. I don't see any 7.7 releases scheduled. @joshdover

Yeah let's backport to 7.8 to catch the next patch release. Most likely will not make it for 7.8.1 though and I don't see any reason to block/delay that release for this fix due to the lack of complaints for this bug.

@pgayvallet pgayvallet added v7.8.2 release_note:fix and removed release_note:skip Skip the PR/issue when compiling release notes labels Jul 10, 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/regression_creation·ts.machine learning data frame analytics regression creation electrical grid stability displays the include fields selection

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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] 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-debian-tests-xl-1594637970436406308] added user [ml_unauthorized]
[00:00:00]             │ debg created user ml_unauthorized
[00:31:18]           └-: data frame analytics
[00:31:18]             └-> "before all" hook
[00:32:13]             └-: regression creation
[00:32:13]               └-> "before all" hook
[00:32:13]               └-> "before all" hook
[00:32:13]                 │ info [ml/egs_regression] Loading "mappings.json"
[00:32:13]                 │ info [ml/egs_regression] Loading "data.json.gz"
[00:32:13]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [ft_egs_regression] creating index, cause [api], templates [], shards [1]/[1]
[00:32:13]                 │ info [ml/egs_regression] Created index "ft_egs_regression"
[00:32:13]                 │ debg [ml/egs_regression] "ft_egs_regression" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:32:14]                 │ info [ml/egs_regression] Indexed 2000 docs into "ft_egs_regression"
[00:32:14]                 │ debg Searching for 'index-pattern' with title 'ft_egs_regression'...
[00:32:14]                 │ debg  > Not found
[00:32:14]                 │ debg Creating index pattern with title 'ft_egs_regression' and time field '@timestamp'
[00:32:14]                 │ debg Waiting up to 5000ms for index-pattern with title 'ft_egs_regression' to exist...
[00:32:14]                 │ debg Searching for 'index-pattern' with title 'ft_egs_regression'...
[00:32:14]                 │ debg  > Found '0fcaa780-c501-11ea-9f87-1d05153b936b'
[00:32:14]                 │ debg  > Created with id '0fcaa780-c501-11ea-9f87-1d05153b936b'
[00:32:14]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:32:15]                 │ debg SecurityPage.forceLogout
[00:32:15]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:32:15]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:32:16]                 │ debg Redirecting to /logout to force the logout
[00:32:16]                 │ debg Waiting on the login form to appear
[00:32:16]                 │ debg Waiting for Login Page to appear.
[00:32:16]                 │ debg Waiting up to 100000ms for login page...
[00:32:16]                 │ debg browser[INFO] http://localhost:6141/logout?_t=1594641895668 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:32:16]                 │
[00:32:16]                 │ 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:32:16]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:32:18]                 │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:04:57Z
[00:32:18]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:32:18]                 │
[00:32:18]                 │      "
[00:32:18]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594641895668 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:32:18]                 │
[00:32:18]                 │ 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:32:18]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:32:20]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:32:20]                 │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:04:59Z
[00:32:20]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:32:20]                 │
[00:32:20]                 │      "
[00:32:20]                 │ debg navigating to login url: http://localhost:6141/login
[00:32:20]                 │ debg navigate to: http://localhost:6141/login
[00:32:20]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594641900385 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:32:20]                 │
[00:32:20]                 │ 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:32:20]                 │ debg ... sleep(700) start
[00:32:21]                 │ debg ... sleep(700) end
[00:32:21]                 │ debg returned from get, calling refresh
[00:32:23]                 │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:01Z
[00:32:23]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:32:23]                 │
[00:32:23]                 │      "
[00:32:23]                 │ debg browser[INFO] http://localhost:6141/login?_t=1594641900385 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:32:23]                 │
[00:32:23]                 │ 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:32:24]                 │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:03Z
[00:32:24]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:32:24]                 │
[00:32:24]                 │      "
[00:32:24]                 │ debg currentUrl = http://localhost:6141/login
[00:32:24]                 │          appUrl = http://localhost:6141/login
[00:32:24]                 │ debg TestSubjects.find(kibanaChrome)
[00:32:24]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:24]                 │ debg ... sleep(501) start
[00:32:24]                 │ debg ... sleep(501) end
[00:32:24]                 │ debg in navigateTo url = http://localhost:6141/login
[00:32:24]                 │ debg TestSubjects.exists(statusPageContainer)
[00:32:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:32:27]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:32:27]                 │ debg Waiting for Login Form to appear.
[00:32:27]                 │ debg Waiting up to 100000ms for login form...
[00:32:27]                 │ debg TestSubjects.exists(loginForm)
[00:32:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:32:28]                 │ debg TestSubjects.setValue(loginUsername, ml_poweruser)
[00:32:28]                 │ debg TestSubjects.click(loginUsername)
[00:32:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:32:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:32:28]                 │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:32:28]                 │ debg TestSubjects.click(loginPassword)
[00:32:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:32:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:32:28]                 │ debg TestSubjects.click(loginSubmit)
[00:32:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:32:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:32:28]                 │ debg Waiting for login result, expected: chrome.
[00:32:28]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:32:30]                 │ 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:32:30]                 │
[00:32: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:32:30]                 │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:08Z
[00:32:30]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:32:30]                 │
[00:32:30]                 │      "
[00:32:30]                 │ debg Finished login process currentUrl = http://localhost:6141/app/home#/
[00:32:30]                 │ debg Waiting up to 20000ms for logout button visible...
[00:32:30]                 │ debg TestSubjects.exists(userMenuButton)
[00:32:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:32:30]                 │ debg TestSubjects.exists(userMenu)
[00:32:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:32:33]                 │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:32:33]                 │ debg TestSubjects.click(userMenuButton)
[00:32:33]                 │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:32:33]                 │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:32:33]                 │ debg Waiting up to 20000ms for user menu opened...
[00:32:33]                 │ debg TestSubjects.exists(userMenu)
[00:32:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:32:33]                 │ debg TestSubjects.exists(userMenu > logoutLink)
[00:32:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:32:33]               └-: electrical grid stability
[00:32:33]                 └-> "before all" hook
[00:32:33]                 └-> loads the data frame analytics page
[00:32:33]                   └-> "before each" hook: global before each
[00:32:33]                   │ debg navigating to ml url: http://localhost:6141/app/ml
[00:32:33]                   │ debg navigate to: http://localhost:6141/app/ml
[00:32:34]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1594641913487 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:32:34]                   │
[00:32:34]                   │ 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:32:34]                   │ debg ... sleep(700) start
[00:32:34]                   │ debg ... sleep(700) end
[00:32:34]                   │ debg returned from get, calling refresh
[00:32:36]                   │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:14Z
[00:32:36]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:32:36]                   │
[00:32:36]                   │      "
[00:32:36]                   │ERROR browser[SEVERE] http://localhost:6141/34551/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:32:36]                   │ debg browser[INFO] http://localhost:6141/app/ml?_t=1594641913487 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:32:36]                   │
[00:32:36]                   │ 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:32:36]                   │ debg currentUrl = http://localhost:6141/app/ml
[00:32:36]                   │          appUrl = http://localhost:6141/app/ml
[00:32:36]                   │ debg TestSubjects.find(kibanaChrome)
[00:32:36]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:38]                   │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:17Z
[00:32:38]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:32:38]                   │
[00:32:38]                   │      "
[00:32:38]                   │ debg ... sleep(501) start
[00:32:39]                   │ debg ... sleep(501) end
[00:32:39]                   │ debg in navigateTo url = http://localhost:6141/app/ml#/overview
[00:32:39]                   │ debg TestSubjects.exists(statusPageContainer)
[00:32:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:32:41]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:32:42]                   │ debg TestSubjects.exists(mlPageOverview)
[00:32:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageOverview"]') with timeout=2000
[00:32:42]                   │ debg TestSubjects.click(~mlMainTab & ~dataFrameAnalytics)
[00:32:42]                   │ debg Find.clickByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:32:42]                   │ debg Find.findByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"]') with timeout=10000
[00:32:42]                   │ debg TestSubjects.exists(~mlMainTab & ~dataFrameAnalytics & ~selected)
[00:32:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="mlMainTab"][data-test-subj~="dataFrameAnalytics"][data-test-subj~="selected"]') with timeout=120000
[00:32:42]                   │ debg TestSubjects.exists(mlPageDataFrameAnalytics)
[00:32:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlPageDataFrameAnalytics"]') with timeout=120000
[00:32:42]                   └- ✓ pass  (8.8s) "machine learning data frame analytics regression creation electrical grid stability loads the data frame analytics page"
[00:32:42]                 └-> loads the source selection modal
[00:32:42]                   └-> "before each" hook: global before each
[00:32:42]                   │ debg TestSubjects.exists(mlNoDataFrameAnalyticsFound)
[00:32:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlNoDataFrameAnalyticsFound"]') with timeout=2500
[00:32:42]                   │ debg TestSubjects.click(mlAnalyticsCreateFirstButton)
[00:32:42]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:32:42]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateFirstButton"]') with timeout=10000
[00:32:42]                   │ debg TestSubjects.exists(analyticsCreateSourceIndexModal)
[00:32:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="analyticsCreateSourceIndexModal"]') with timeout=120000
[00:32:42]                   └- ✓ pass  (223ms) "machine learning data frame analytics regression creation electrical grid stability loads the source selection modal"
[00:32:42]                 └-> selects the source data and loads the job wizard page
[00:32:42]                   └-> "before each" hook: global before each
[00:32:42]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, ft_egs_regression)
[00:32:42]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:32:42]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:32:42]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:32:43]                   │ debg TestSubjects.exists(savedObjectTitleft_egs_regression)
[00:32:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectTitleft_egs_regression"]') with timeout=120000
[00:32:43]                   │ debg TestSubjects.clickWhenNotDisabled(savedObjectTitleft_egs_regression)
[00:32:43]                   │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="savedObjectTitleft_egs_regression"]') with timeout=10000
[00:32:43]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitleft_egs_regression"]') with timeout=10000
[00:32:44]                   │ debg TestSubjects.exists(mlAnalyticsCreationContainer)
[00:32:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationContainer"]') with timeout=10000
[00:32:44]                   │ debg browser[INFO] http://localhost:6141/app/ml#/data_frame_analytics/new_job?index=0fcaa780-c501-11ea-9f87-1d05153b936b 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:32:44]                   │
[00:32:44]                   │ 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:32:46]                   │ debg browser[INFO] http://localhost:6141/34551/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-13T12:05:25Z
[00:32:46]                   │        Adding connection to http://localhost:6141/elasticsearch
[00:32:46]                   │
[00:32:46]                   │      "
[00:32:46]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreationContainer"] is not displayed
[00:32:47]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardConfigurationStep active)
[00:32:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardConfigurationStep active"]') with timeout=120000
[00:32:48]                   └- ✓ pass  (5.5s) "machine learning data frame analytics regression creation electrical grid stability selects the source data and loads the job wizard page"
[00:32:48]                 └-> selects the job type
[00:32:48]                   └-> "before each" hook: global before each
[00:32:48]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:32:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=120000
[00:32:48]                   │ debg TestSubjects.click(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:32:48]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:32:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:32:48]                   │ debg TestSubjects.click(mlAnalyticsCreation-regression-option)
[00:32:48]                   │ debg Find.clickByCssSelector('[data-test-subj="mlAnalyticsCreation-regression-option"]') with timeout=10000
[00:32:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreation-regression-option"]') with timeout=10000
[00:32:48]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardJobTypeSelect, value)
[00:32:48]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardJobTypeSelect)
[00:32:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardJobTypeSelect"]') with timeout=10000
[00:32:48]                   └- ✓ pass  (408ms) "machine learning data frame analytics regression creation electrical grid stability selects the job type"
[00:32:48]                 └-> inputs the dependent variable
[00:32:48]                   └-> "before each" hook: global before each
[00:32:48]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:32:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=120000
[00:32:48]                   │ debg comboBox.set, comboBoxSelector: mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput
[00:32:48]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:32:48]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:32:48]                   │ debg comboBox.setElement, value: stab
[00:32:48]                   │ debg comboBox.isOptionSelected, value: stab
[00:32:51]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:32:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:32:51]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="stab"]') with timeout=2500
[00:32:51]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:32:51]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:32:51]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/70662] [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/analysis7111355505235909987.conf'.
[00:32:51]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/70662] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis7111355505235909987.conf'
[00:32:51]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:51]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445584] 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/analysis7111355505235909987.conf'.
[00:32:51]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis7111355505235909987.conf'
[00:32:51]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis7111355505235909987.conf'.
[00:32:51]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis7111355505235909987.conf'
[00:32:51]                   │      ]
[00:32:51]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:51]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:51]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32:51]                   │      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/analysis7111355505235909987.conf'.
[00:32:51]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis7111355505235909987.conf'
[00:32:51]                   │      
[00:32:51]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:51]                   │      	... 5 more
[00:32:51]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [controller/13113] [CDetachedProcessSpawner.cc@192] Child process with PID 70662 has exited with exit code 1
[00:32:51]                   │ proc [kibana]  error  [12:05:31.422]  Error: Internal Server Error
[00:32:51]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:51]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:51]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:51]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:51]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:54]                   │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:32:54]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:32:54]                   │ debg comboBox.getComboBoxSelectedOptions, comboBoxSelector: mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput
[00:32:54]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardDependentVariableSelect > comboBoxInput)
[00:32:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardDependentVariableSelect"] [data-test-subj="comboBoxInput"]') with timeout=10000
[00:32:54]                   └- ✓ pass  (5.8s) "machine learning data frame analytics regression creation electrical grid stability inputs the dependent variable"
[00:32:54]                 └-> inputs the training percent
[00:32:54]                   └-> "before each" hook: global before each
[00:32:54]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:32:54]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=120000
[00:32:54]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:32:54]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:32:54]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 80
[00:32:55]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73240] [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/analysis10803186323189521933.conf'.
[00:32:55]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73240] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10803186323189521933.conf'
[00:32:55]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:55]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445699] 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/analysis10803186323189521933.conf'.
[00:32:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10803186323189521933.conf'
[00:32: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/analysis10803186323189521933.conf'.
[00:32:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10803186323189521933.conf'
[00:32:55]                   │      ]
[00:32:55]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:55]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:55]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32: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/analysis10803186323189521933.conf'.
[00:32:55]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis10803186323189521933.conf'
[00:32:55]                   │      
[00:32:55]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:55]                   │      	... 5 more
[00:32:55]                   │ proc [kibana]  error  [12:05:34.724]  Error: Internal Server Error
[00:32:55]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:55]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:55]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:55]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:55]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:55]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '70')
[00:32: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:32:55]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 70
[00:32:56]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73273] [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/analysis12282121825169147332.conf'.
[00:32:56]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73273] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis12282121825169147332.conf'
[00:32:56]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:56]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445758] 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/analysis12282121825169147332.conf'.
[00:32:56]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis12282121825169147332.conf'
[00:32:56]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis12282121825169147332.conf'.
[00:32:56]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis12282121825169147332.conf'
[00:32:56]                   │      ]
[00:32:56]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:56]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:56]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32:56]                   │      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/analysis12282121825169147332.conf'.
[00:32:56]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis12282121825169147332.conf'
[00:32:56]                   │      
[00:32:56]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:56]                   │      	... 5 more
[00:32:56]                   │ proc [kibana]  error  [12:05:35.818]  Error: Internal Server Error
[00:32:56]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:56]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:56]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:56]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:56]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:56]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '60')
[00:32:56]                   │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:32:56]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 60
[00:32:57]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73287] [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/analysis9086177256694725922.conf'.
[00:32:57]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73287] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis9086177256694725922.conf'
[00:32:57]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:57]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445809] 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/analysis9086177256694725922.conf'.
[00:32:57]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis9086177256694725922.conf'
[00:32:57]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis9086177256694725922.conf'.
[00:32:57]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis9086177256694725922.conf'
[00:32:57]                   │      ]
[00:32:57]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:57]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:57]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32:57]                   │      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/analysis9086177256694725922.conf'.
[00:32:57]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis9086177256694725922.conf'
[00:32:57]                   │      
[00:32:57]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:57]                   │      	... 5 more
[00:32:57]                   │ proc [kibana]  error  [12:05:36.895]  Error: Internal Server Error
[00:32:57]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:57]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:57]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:57]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:57]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:57]                   │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:32:57]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '50')
[00:32:57]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 50
[00:32:58]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73324] [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/analysis6878989907645360813.conf'.
[00:32:58]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73324] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6878989907645360813.conf'
[00:32:58]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:58]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445868] 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/analysis6878989907645360813.conf'.
[00:32:58]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6878989907645360813.conf'
[00:32:58]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6878989907645360813.conf'.
[00:32:58]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6878989907645360813.conf'
[00:32:58]                   │      ]
[00:32:58]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:58]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:58]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32:58]                   │      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/analysis6878989907645360813.conf'.
[00:32:58]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6878989907645360813.conf'
[00:32:58]                   │      
[00:32:58]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:58]                   │      	... 5 more
[00:32:58]                   │ proc [kibana]  error  [12:05:37.971]  Error: Internal Server Error
[00:32:58]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:58]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:58]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:58]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:58]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:58]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '40')
[00:32:58]                   │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:32:59]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 40
[00:32:59]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73336] [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/analysis2999310747027145093.conf'.
[00:32:59]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73336] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis2999310747027145093.conf'
[00:32:59]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:32:59]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445919] 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/analysis2999310747027145093.conf'.
[00:32:59]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis2999310747027145093.conf'
[00:32:59]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis2999310747027145093.conf'.
[00:32:59]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis2999310747027145093.conf'
[00:32:59]                   │      ]
[00:32:59]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:32:59]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:32:59]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:32:59]                   │      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/analysis2999310747027145093.conf'.
[00:32:59]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis2999310747027145093.conf'
[00:32:59]                   │      
[00:32:59]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:32:59]                   │      	... 5 more
[00:32:59]                   │ proc [kibana]  error  [12:05:39.032]  Error: Internal Server Error
[00:32:59]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:32:59]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:32:59]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:32:59]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:32:59]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:32:59]                   │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:32:59]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '30')
[00:33:00]                   │ debg --- retry.tryForTime error: slider value should have changed, but is still 30
[00:33:00]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73344] [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/analysis6478906023274821212.conf'.
[00:33:00]                   │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] [dummy] [data_frame_analyzer/73344] [Main.cc@158] Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6478906023274821212.conf'
[00:33:00]                   │ info [r.suppressed] [kibana-ci-immutable-debian-tests-xl-1594637970436406308] path: /_ml/data_frame/analytics/_explain, params: {}
[00:33:00]                   │      org.elasticsearch.ElasticsearchException: [memory_usage_estimation_445972] 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/analysis6478906023274821212.conf'.
[00:33:00]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6478906023274821212.conf'
[00:33:00]                   │      ], process errors: [Environment error: failed to open file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6478906023274821212.conf'.
[00:33:00]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6478906023274821212.conf'
[00:33:00]                   │      ]
[00:33:00]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:55) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:112) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.lambda$runJobAsync$0(MemoryUsageEstimationProcessManager.java:48) [x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:647) [elasticsearch-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
[00:33:00]                   │      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
[00:33:00]                   │      	at java.lang.Thread.run(Thread.java:832) [?:?]
[00:33:00]                   │      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/analysis6478906023274821212.conf'.
[00:33:00]                   │      Failed to read config file '/dev/shm/workspace/kibana/.es/job-xpack-kibana-ciGroup3-worker-4-es-test-cluster/ES_TMPDIR/analysis6478906023274821212.conf'
[00:33:00]                   │      
[00:33:00]                   │      	at org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper.serverError(ExceptionsHelper.java:51) ~[x-pack-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at org.elasticsearch.xpack.ml.process.AbstractNativeProcess.close(AbstractNativeProcess.java:196) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	at org.elasticsearch.xpack.ml.dataframe.process.MemoryUsageEstimationProcessManager.runJob(MemoryUsageEstimationProcessManager.java:105) ~[x-pack-ml-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
[00:33:00]                   │      	... 5 more
[00:33:00]                   │ proc [kibana]  error  [12:05:40.108]  Error: Internal Server Error
[00:33:00]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:132:19)
[00:33:00]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:86:19)
[00:33:00]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/response_adapter.js:81:17)
[00:33:00]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-4/src/core/server/http/router/router.js:162:34)
[00:33:00]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:33:00]                   │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:33:00]                   │ debg --- retry.tryForTime error: slider value should be '20' (got '20')
[00:33:01]                   │ debg TestSubjects.getAttribute(mlAnalyticsCreateJobWizardTrainingPercentSlider, value)
[00:33:01]                   │ debg TestSubjects.find(mlAnalyticsCreateJobWizardTrainingPercentSlider)
[00:33:01]                   │ debg Find.findByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardTrainingPercentSlider"]') with timeout=10000
[00:33:01]                   └- ✓ pass  (6.6s) "machine learning data frame analytics regression creation electrical grid stability inputs the training percent"
[00:33:01]                 └-> displays the source data preview
[00:33:01]                   └-> "before each" hook: global before each
[00:33:01]                   │ debg TestSubjects.exists(mlAnalyticsCreationDataGrid loaded)
[00:33:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreationDataGrid loaded"]') with timeout=5000
[00:33:01]                   └- ✓ pass  (31ms) "machine learning data frame analytics regression creation electrical grid stability displays the source data preview"
[00:33:01]                 └-> displays the include fields selection
[00:33:01]                   └-> "before each" hook: global before each
[00:33:01]                   │ debg TestSubjects.exists(mlAnalyticsCreateJobWizardIncludesSelect)
[00:33:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mlAnalyticsCreateJobWizardIncludesSelect"]') with timeout=5000
[00:33:03]                   │ debg --- retry.tryForTime error: [data-test-subj="mlAnalyticsCreateJobWizardIncludesSelect"] is not displayed
[00:33:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:33:07]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/machine learning data frame analytics regression creation electrical grid stability displays the include fields selection.png"
[00:33:07]                   │ info Current URL is: http://localhost:6141/app/ml#/data_frame_analytics/new_job?index=0fcaa780-c501-11ea-9f87-1d05153b936b
[00:33:07]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/machine learning data frame analytics regression creation electrical grid stability displays the include fields selection.html
[00:33:07]                   └- ✖ fail: machine learning data frame analytics regression creation electrical grid stability displays the include fields selection
[00:33:07]                   │      Error: expected testSubject(mlAnalyticsCreateJobWizardIncludesSelect) to exist
[00:33:07]                   │       at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:33:07]                   │ 
[00:33:07]                   │ 

Stack Trace

Error: expected testSubject(mlAnalyticsCreateJobWizardIncludesSelect) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)

Build metrics

✅ unchanged

History

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

Copy link
Contributor

@mshustov mshustov left a comment

Choose a reason for hiding this comment

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

In general, I'm fine to keep it in master to avoid divergence, even considering we are going to deprecate this logic in 8.0

@pgayvallet pgayvallet merged commit eac0f8d into elastic:master Jul 13, 2020
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Jul 13, 2020
* preserve 401 errors from legacy es client

* use exact import to resolve mocked import issue
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Jul 13, 2020
* preserve 401 errors from legacy es client

* use exact import to resolve mocked import issue
# Conflicts:
#	src/core/server/elasticsearch/legacy/cluster_client.test.ts
#	src/core/server/http/integration_tests/core_service.test.mocks.ts
pgayvallet added a commit that referenced this pull request Jul 13, 2020
* preserve 401 errors from legacy es client

* use exact import to resolve mocked import issue
pgayvallet added a commit that referenced this pull request Jul 13, 2020
* preserve 401 errors from legacy es client (#71234)

* preserve 401 errors from legacy es client

* use exact import to resolve mocked import issue
# Conflicts:
#	src/core/server/elasticsearch/legacy/cluster_client.test.ts
#	src/core/server/http/integration_tests/core_service.test.mocks.ts

* adapt for 7.8

* use specific import to avoid cyclic deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:fix Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.8.2 v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants