Skip to content

[Uptime] Fix telemetry undefined handling#61376

Merged
andrewvc merged 1 commit intoelastic:masterfrom
andrewvc:fix-telemetry-unhandled-promise
Mar 26, 2020
Merged

[Uptime] Fix telemetry undefined handling#61376
andrewvc merged 1 commit intoelastic:masterfrom
andrewvc:fix-telemetry-unhandled-promise

Conversation

@andrewvc
Copy link
Copy Markdown
Contributor

@andrewvc andrewvc commented Mar 25, 2020

Summary

Fixes: #61381
Fixes this startup error.

Unhandled Promise rejection detected:

TypeError: Cannot read property 'toFixed' of null
    at Function.countNoOfUniqueMonitorAndLocations (/home/andrewvc/projects/kibana/x-pack/plugins/uptime/server/lib/adapters/telemetry/kibana_telemetry_adapter.ts:178:50)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Checklist

Delete any items that are not applicable to this PR.

@andrewvc andrewvc requested a review from shahzad31 March 25, 2020 22:51
@andrewvc andrewvc added bug Fixes for quality problems that affect the customer experience enhancement New value added to drive a business result Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Mar 25, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (Team:uptime)

@andrewvc andrewvc self-assigned this Mar 25, 2020
@andrewvc andrewvc added the release_note:skip Skip the PR/issue when compiling release notes label Mar 26, 2020
Copy link
Copy Markdown
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

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

LGTM !!

@andrewvc andrewvc merged commit 6222be5 into elastic:master Mar 26, 2020
@andrewvc andrewvc deleted the fix-telemetry-unhandled-promise branch March 26, 2020 12:32
andrewvc added a commit to andrewvc/kibana that referenced this pull request Mar 26, 2020
andrewvc added a commit to andrewvc/kibana that referenced this pull request Mar 26, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/elasticsearch/nodes·js.Monitoring app Elasticsearch nodes listing with offline node should sort by name

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://dryrun

[00:00:00]       │
[00:05:55]         └-: Monitoring app
[00:05:55]           └-> "before all" hook
[00:16:41]           └-: Elasticsearch nodes listing
[00:16:41]             └-> "before all" hook
[00:16:41]             └-: with offline node
[00:16:41]               └-> "before all" hook
[00:16:41]               └-> "before all" hook
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "mappings.json"
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "data.json.gz"
[00:16:41]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-kibana-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-kibana-6-2017.10.05"
[00:16:41]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-kibana-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:41]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-alerts-6"
[00:16:41]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-alerts-6" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:41]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-logstash-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-logstash-6-2017.10.05"
[00:16:41]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-logstash-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:41]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-es-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:41]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-es-6-2017.10.05"
[00:16:41]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-es-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:42]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 21 docs into ".monitoring-kibana-6-2017.10.05"
[00:16:42]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1 docs into ".monitoring-alerts-6"
[00:16:42]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 3 docs into ".monitoring-logstash-6-2017.10.05"
[00:16:42]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1317 docs into ".monitoring-es-6-2017.10.05"
[00:16:42]                 │ debg replacing kibana config doc: {}
[00:16:42]                 │ debg creating user basic_monitoring_user
[00:16:43]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] added user [basic_monitoring_user]
[00:16:43]                 │ debg created user basic_monitoring_user
[00:16:43]                 │ debg SecurityPage.forceLogout
[00:16:43]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:16:43]                 │ debg Already on the login page, not forcing anything
[00:16:43]                 │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:16:43]                 │ debg TestSubjects.click(loginUsername)
[00:16:43]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:43]                 │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:16:43]                 │ debg TestSubjects.click(loginPassword)
[00:16:43]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:43]                 │ debg TestSubjects.click(loginSubmit)
[00:16:43]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:43]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:43]                 │ debg navigating to monitoring url: http://localhost:6111/app/monitoring
[00:16:43]                 │ debg Navigate to: http://localhost:6111/app/monitoring
[00:16:43]                 │ debg ... sleep(700) start
[00:16:43]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585242789769 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:16:43]                 │
[00:16:43]                 │ debg browser[INFO] http://localhost:6111/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:44]                 │ debg ... sleep(700) end
[00:16:44]                 │ debg returned from get, calling refresh
[00:16:48]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T17:13:13Z
[00:16:48]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:48]                 │
[00:16:48]                 │      "
[00:16:48]                 │ERROR browser[SEVERE] http://localhost:6111/bundles/commons.bundle.js 2:4272720 TypeError: Failed to fetch
[00:16:48]                 │          at Fetch._callee3$ (http://localhost:6111/bundles/commons.bundle.js:3:4302441)
[00:16:48]                 │          at l (http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1050216)
[00:16:48]                 │          at Generator._invoke (http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1049969)
[00:16:48]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1050573)
[00:16:48]                 │          at asyncGeneratorStep (http://localhost:6111/bundles/commons.bundle.js:3:4296177)
[00:16:48]                 │          at _throw (http://localhost:6111/bundles/commons.bundle.js:3:4296574)
[00:16:48]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585242789769 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:16:48]                 │
[00:16:48]                 │ debg browser[INFO] http://localhost:6111/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:48]                 │ debg currentUrl = http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585242789769
[00:16:48]                 │          appUrl = http://localhost:6111/app/monitoring
[00:16:48]                 │ debg TestSubjects.find(kibanaChrome)
[00:16:48]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:50]                 │ debg Found login page
[00:16:50]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:16:50]                 │ debg TestSubjects.click(loginUsername)
[00:16:50]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:50]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:50]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T17:13:16Z
[00:16:50]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:50]                 │
[00:16:50]                 │      "
[00:16:51]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:16:51]                 │ debg TestSubjects.click(loginPassword)
[00:16:51]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:51]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:51]                 │ debg TestSubjects.click(loginSubmit)
[00:16:51]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:51]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:51]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:16:57]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585242789769 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:16:57]                 │
[00:16:57]                 │ debg browser[INFO] http://localhost:6111/bundles/app/monitoring/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:57]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T17:13:22Z
[00:16:57]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:57]                 │
[00:16:57]                 │      "
[00:16:58]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:16:58]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585242803512 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:16:58]                 │
[00:16:58]                 │ debg browser[INFO] http://localhost:6111/bundles/app/monitoring/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:58]                 │ debg Finished login process currentUrl = http://localhost:6111/app/monitoring
[00:16:58]                 │ debg ... sleep(501) start
[00:16:58]                 │ debg ... sleep(501) end
[00:16:59]                 │ debg in navigateTo url = http://localhost:6111/app/monitoring
[00:16:59]                 │ debg TestSubjects.exists(statusPageContainer)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:02]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T17:13:28Z
[00:17:02]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:17:02]                 │
[00:17:02]                 │      "
[00:17:02]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:03]                 │ debg TestSubjects.find(noDataContainer)
[00:17:03]                 │ debg Find.findByCssSelector('[data-test-subj="noDataContainer"]') with timeout=10000
[00:17:03]                 │ debg pauseAutoRefresh
[00:17:03]                 │ debg openQuickSelectTimeMenu
[00:17:03]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:03]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:17:06]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:17:06]                 │ debg opening quick select menu
[00:17:06]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:17:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:07]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:17:07]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:17:07]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:17:07]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:17:07]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:17:07]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:07]                 │ debg pause auto refresh
[00:17:07]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:17:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:07]                 │ debg closeQuickSelectTimeMenu
[00:17:07]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:07]                 │ debg closing quick select menu
[00:17:07]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:17:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:07]                 │ debg closeQuickSelectTimeMenu
[00:17:07]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:07]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:17:10]                 │ debg --- retry.tryForTime failed again with the same message...
[00:17:11]                 │ debg Setting absolute range to Oct 5, 2017 @ 20:28:28.475 to Oct 5, 2017 @ 20:34:38.341
[00:17:11]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:17:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:17:11]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:17:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:17:11]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:17:11]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:17:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:17:11]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:17:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:11]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:34:38.341)
[00:17:11]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:12]                 │ debg ... sleep(500) start
[00:17:13]                 │ debg ... sleep(500) end
[00:17:13]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:17:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:13]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:13]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:17:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:17:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:13]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:28:28.475)
[00:17:13]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:13]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:13]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:14]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:17:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:17:16]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:17:17]                 │ debg TestSubjects.click(querySubmitButton)
[00:17:17]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:17]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:17]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:18]                 │ debg TestSubjects.click(clusterItemContainerElasticsearch > esNumberOfNodes)
[00:17:18]                 │ debg Find.clickByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:18]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:18]                 │ debg TestSubjects.find(elasticsearchNodesListingPage)
[00:17:18]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesListingPage"]') with timeout=10000
[00:17:18]               └-> should have an Elasticsearch Cluster Summary Status with correct info
[00:17:18]               └-> should sort by name
[00:17:18]                 └-> "before each" hook: global before each
[00:17:18]                 │ debg Find.clickByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:18]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:18]                 │ proc [kibana]   log   [17:13:44.435] [error][monitoring][monitoring][plugins] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:17:18]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:18]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:18]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:18]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:18]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:18]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:18]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:18]                 │ proc [kibana]   status: 400,
[00:17:18]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:18]                 │ proc [kibana]   message:
[00:17:18]                 │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;',
[00:17:18]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:18]                 │ proc [kibana]   query:
[00:17:18]                 │ proc [kibana]    { size: 10000,
[00:17:18]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:18]                 │ proc [kibana]      filter_path:
[00:17:18]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:18]                 │ proc [kibana]   body:
[00:17:18]                 │ proc [kibana]    { error:
[00:17:18]                 │ proc [kibana]       { root_cause: [Array],
[00:17:18]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:18]                 │ proc [kibana]         reason:
[00:17:18]                 │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:17:18]                 │ proc [kibana]      status: 400 },
[00:17:18]                 │ proc [kibana]   statusCode: 400,
[00:17:18]                 │ proc [kibana]   response:
[00:17:18]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:17:18]                 │ proc [kibana]   toString: [Function],
[00:17:18]                 │ proc [kibana]   toJSON: [Function] }
[00:17:18]                 │ proc [kibana]   log   [17:13:44.445] [error][http] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:17:18]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:18]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:18]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:18]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:18]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:18]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:18]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:18]                 │ proc [kibana]   status: 400,
[00:17:18]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:18]                 │ proc [kibana]   message:
[00:17:18]                 │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.',
[00:17:18]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:18]                 │ proc [kibana]   query:
[00:17:18]                 │ proc [kibana]    { size: 10000,
[00:17:18]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:18]                 │ proc [kibana]      filter_path:
[00:17:18]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:18]                 │ proc [kibana]   body:
[00:17:18]                 │ proc [kibana]    { error:
[00:17:18]                 │ proc [kibana]       { root_cause: [Array],
[00:17:18]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:18]                 │ proc [kibana]         reason:
[00:17:18]                 │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:17:18]                 │ proc [kibana]      status: 400 },
[00:17:18]                 │ proc [kibana]   statusCode: 400,
[00:17:18]                 │ proc [kibana]   response:
[00:17:18]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:17:18]                 │ proc [kibana]   toString: [Function],
[00:17:18]                 │ proc [kibana]   toJSON: [Function],
[00:17:18]                 │ proc [kibana]   isBoom: true,
[00:17:18]                 │ proc [kibana]   isServer: true,
[00:17:18]                 │ proc [kibana]   data: null,
[00:17:18]                 │ proc [kibana]   output:
[00:17:18]                 │ proc [kibana]    { statusCode: 503,
[00:17:18]                 │ proc [kibana]      payload:
[00:17:18]                 │ proc [kibana]       { statusCode: 503,
[00:17:18]                 │ proc [kibana]         error: 'Service Unavailable',
[00:17:18]                 │ proc [kibana]         message:
[00:17:18]                 │ proc [kibana]          '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.' },
[00:17:18]                 │ proc [kibana]      headers: {} },
[00:17:18]                 │ proc [kibana]   reformat: [Function] }
[00:17:18]                 │ proc [kibana]  error  [17:13:44.303]  Error: Internal Server Error
[00:17:18]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/response_adapter.js:69:19)
[00:17:18]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/router.js:165:34)
[00:17:18]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:28]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:28]                 │      Wait timed out after 10041ms
[00:17:28]                 │ERROR browser[SEVERE] http://localhost:6111/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:17:28]                 │ debg browser[INFO] http://localhost:6111/bundles/commons.bundle.js 2:4273722 "Detected an unhandled Promise rejection.
[00:17:28]                 │      [object Object]"
[00:17:28]                 │ERROR browser[SEVERE] http://localhost:6111/app/monitoring?_t=1585242803512#/elasticsearch/nodes?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:'2017-10-05T20:28:28.475Z',to:'2017-10-05T20:34:38.341Z')) 0:0 
[00:17:28]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:38]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:38]                 │      Wait timed out after 10008ms
[00:17:39]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:49]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:49]                 │      Wait timed out after 10054ms
[00:17:49]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:59]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:59]                 │      Wait timed out after 10043ms
[00:18:00]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:10]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:10]                 │      Wait timed out after 10055ms
[00:18:11]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:21]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:21]                 │      Wait timed out after 10043ms
[00:18:21]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:31]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:31]                 │      Wait timed out after 10013ms
[00:18:32]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:42]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:42]                 │      Wait timed out after 10029ms
[00:18:42]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:52]                 │      Wait timed out after 10016ms
[00:18:53]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:19:03]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:19:03]                 │      Wait timed out after 10050ms
[00:19:03]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:19:13]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:19:13]                 │      Wait timed out after 10054ms
[00:19:14]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:19:24]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:19:24]                 │      Wait timed out after 10030ms
[00:19:24]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch nodes listing with offline node should sort by name.png"
[00:19:25]                 │ info Current URL is: http://localhost:6111/app/monitoring#/elasticsearch/nodes?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:%272017-10-05T20:28:28.475Z%27,to:%272017-10-05T20:34:38.341Z%27))
[00:19:25]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Elasticsearch nodes listing with offline node should sort by name.html
[00:19:25]                 └- ✖ fail: "Monitoring app Elasticsearch nodes listing with offline node should sort by name"
[00:19:25]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
Wait timed out after 10030ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/elasticsearch/nodes·js.Monitoring app Elasticsearch nodes listing with offline node should sort by name

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:06:10]         └-: Monitoring app
[00:06:10]           └-> "before all" hook
[00:16:31]           └-: Elasticsearch nodes listing
[00:16:31]             └-> "before all" hook
[00:16:31]             └-: with offline node
[00:16:31]               └-> "before all" hook
[00:16:31]               └-> "before all" hook
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "mappings.json"
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "data.json.gz"
[00:16:31]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-kibana-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-kibana-6-2017.10.05"
[00:16:31]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-kibana-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:31]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-alerts-6"
[00:16:31]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-alerts-6" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:31]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-logstash-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-logstash-6-2017.10.05"
[00:16:31]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-logstash-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:31]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-es-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:31]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-es-6-2017.10.05"
[00:16:31]                 │ debg [monitoring/singlecluster-three-nodes-shard-relocation] ".monitoring-es-6-2017.10.05" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:16:32]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 21 docs into ".monitoring-kibana-6-2017.10.05"
[00:16:32]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1 docs into ".monitoring-alerts-6"
[00:16:32]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 3 docs into ".monitoring-logstash-6-2017.10.05"
[00:16:32]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1317 docs into ".monitoring-es-6-2017.10.05"
[00:16:32]                 │ debg replacing kibana config doc: {}
[00:16:32]                 │ debg creating user basic_monitoring_user
[00:16:33]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] added user [basic_monitoring_user]
[00:16:33]                 │ debg created user basic_monitoring_user
[00:16:33]                 │ debg SecurityPage.forceLogout
[00:16:33]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:16:33]                 │ debg Already on the login page, not forcing anything
[00:16:33]                 │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:16:33]                 │ debg TestSubjects.click(loginUsername)
[00:16:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:33]                 │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:16:33]                 │ debg TestSubjects.click(loginPassword)
[00:16:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:33]                 │ debg TestSubjects.click(loginSubmit)
[00:16:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:33]                 │ debg navigating to monitoring url: http://localhost:6111/app/monitoring
[00:16:33]                 │ debg Navigate to: http://localhost:6111/app/monitoring
[00:16:33]                 │ debg ... sleep(700) start
[00:16:33]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585241465053 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:16:33]                 │
[00:16:33]                 │ debg browser[INFO] http://localhost:6111/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:34]                 │ debg ... sleep(700) end
[00:16:34]                 │ debg returned from get, calling refresh
[00:16:34]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585241465053 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:16:34]                 │
[00:16:34]                 │ debg browser[INFO] http://localhost:6111/bundles/app/core/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:35]                 │ debg currentUrl = http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585241465053
[00:16:35]                 │          appUrl = http://localhost:6111/app/monitoring
[00:16:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:16:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:39]                 │ debg Found login page
[00:16:39]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:16:39]                 │ debg TestSubjects.click(loginUsername)
[00:16:39]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:39]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:39]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T16:51:10Z
[00:16:39]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:39]                 │
[00:16:39]                 │      "
[00:16:40]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:16:40]                 │ debg TestSubjects.click(loginPassword)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:40]                 │ debg TestSubjects.click(loginSubmit)
[00:16:40]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:40]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:16:46]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585241465053 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:16:46]                 │
[00:16:46]                 │ debg browser[INFO] http://localhost:6111/bundles/app/monitoring/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:46]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T16:51:16Z
[00:16:46]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:46]                 │
[00:16:46]                 │      "
[00:16:46]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:16:46]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585241477507 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:16:46]                 │
[00:16:46]                 │ debg browser[INFO] http://localhost:6111/bundles/app/monitoring/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:16:46]                 │ debg Finished login process currentUrl = http://localhost:6111/app/monitoring
[00:16:46]                 │ debg ... sleep(501) start
[00:16:47]                 │ debg ... sleep(501) end
[00:16:47]                 │ debg in navigateTo url = http://localhost:6111/app/monitoring
[00:16:47]                 │ debg TestSubjects.exists(statusPageContainer)
[00:16:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:16:51]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-26T16:51:22Z
[00:16:51]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:51]                 │
[00:16:51]                 │      "
[00:16:51]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:16:51]                 │ debg TestSubjects.find(noDataContainer)
[00:16:51]                 │ debg Find.findByCssSelector('[data-test-subj="noDataContainer"]') with timeout=10000
[00:16:52]                 │ debg pauseAutoRefresh
[00:16:52]                 │ debg openQuickSelectTimeMenu
[00:16:52]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:16:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:16:52]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:16:54]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:16:55]                 │ debg opening quick select menu
[00:16:55]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:16:55]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:16:55]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:16:55]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:16:55]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:16:55]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:16:55]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:16:55]                 │ debg pause auto refresh
[00:16:55]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:16:55]                 │ debg closeQuickSelectTimeMenu
[00:16:55]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:16:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:16:55]                 │ debg closing quick select menu
[00:16:55]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:16:55]                 │ debg closeQuickSelectTimeMenu
[00:16:55]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:16:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:16:55]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:16:58]                 │ debg --- retry.tryForTime failed again with the same message...
[00:16:59]                 │ debg Setting absolute range to Oct 5, 2017 @ 20:28:28.475 to Oct 5, 2017 @ 20:34:38.341
[00:16:59]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:16:59]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:16:59]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:16:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:16:59]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:16:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:16:59]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:16:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:16:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:16:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:16:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:59]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:34:38.341)
[00:16:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:16:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:16:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:00]                 │ debg ... sleep(500) start
[00:17:00]                 │ debg ... sleep(500) end
[00:17:00]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:17:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:00]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:17:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:01]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:28:28.475)
[00:17:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:01]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:17:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:17:04]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:17:04]                 │ debg TestSubjects.click(querySubmitButton)
[00:17:04]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:04]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:05]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:05]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:05]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:05]                 │ debg TestSubjects.click(clusterItemContainerElasticsearch > esNumberOfNodes)
[00:17:05]                 │ debg Find.clickByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:05]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:05]                 │ debg TestSubjects.find(elasticsearchNodesListingPage)
[00:17:05]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesListingPage"]') with timeout=10000
[00:17:05]               └-> should have an Elasticsearch Cluster Summary Status with correct info
[00:17:05]               └-> should sort by name
[00:17:05]                 └-> "before each" hook: global before each
[00:17:05]                 │ debg Find.clickByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:05]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:05]                 │ proc [kibana]   log   [16:51:37.322] [error][monitoring][monitoring][plugins] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:17:05]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:05]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:05]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:05]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:05]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:05]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:05]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:05]                 │ proc [kibana]   status: 400,
[00:17:05]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:05]                 │ proc [kibana]   message:
[00:17:05]                 │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;',
[00:17:05]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:05]                 │ proc [kibana]   query:
[00:17:05]                 │ proc [kibana]    { size: 10000,
[00:17:05]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:05]                 │ proc [kibana]      filter_path:
[00:17:05]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:05]                 │ proc [kibana]   body:
[00:17:05]                 │ proc [kibana]    { error:
[00:17:05]                 │ proc [kibana]       { root_cause: [Array],
[00:17:05]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:05]                 │ proc [kibana]         reason:
[00:17:05]                 │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:17:05]                 │ proc [kibana]      status: 400 },
[00:17:05]                 │ proc [kibana]   statusCode: 400,
[00:17:05]                 │ proc [kibana]   response:
[00:17:05]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:17:05]                 │ proc [kibana]   toString: [Function],
[00:17:05]                 │ proc [kibana]   toJSON: [Function] }
[00:17:05]                 │ proc [kibana]   log   [16:51:37.333] [error][http] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:17:05]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:05]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:05]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:05]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:05]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:05]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:05]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:05]                 │ proc [kibana]   status: 400,
[00:17:05]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:05]                 │ proc [kibana]   message:
[00:17:05]                 │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.',
[00:17:05]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:05]                 │ proc [kibana]   query:
[00:17:05]                 │ proc [kibana]    { size: 10000,
[00:17:05]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:05]                 │ proc [kibana]      filter_path:
[00:17:05]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:05]                 │ proc [kibana]   body:
[00:17:05]                 │ proc [kibana]    { error:
[00:17:05]                 │ proc [kibana]       { root_cause: [Array],
[00:17:05]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:05]                 │ proc [kibana]         reason:
[00:17:05]                 │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:17:05]                 │ proc [kibana]      status: 400 },
[00:17:05]                 │ proc [kibana]   statusCode: 400,
[00:17:05]                 │ proc [kibana]   response:
[00:17:05]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:17:05]                 │ proc [kibana]   toString: [Function],
[00:17:05]                 │ proc [kibana]   toJSON: [Function],
[00:17:05]                 │ proc [kibana]   isBoom: true,
[00:17:05]                 │ proc [kibana]   isServer: true,
[00:17:05]                 │ proc [kibana]   data: null,
[00:17:05]                 │ proc [kibana]   output:
[00:17:05]                 │ proc [kibana]    { statusCode: 503,
[00:17:05]                 │ proc [kibana]      payload:
[00:17:05]                 │ proc [kibana]       { statusCode: 503,
[00:17:05]                 │ proc [kibana]         error: 'Service Unavailable',
[00:17:05]                 │ proc [kibana]         message:
[00:17:05]                 │ proc [kibana]          '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.' },
[00:17:05]                 │ proc [kibana]      headers: {} },
[00:17:05]                 │ proc [kibana]   reformat: [Function] }
[00:17:06]                 │ proc [kibana]  error  [16:51:37.211]  Error: Internal Server Error
[00:17:06]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/response_adapter.js:69:19)
[00:17:06]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/router.js:165:34)
[00:17:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:15]                 │      Wait timed out after 10040ms
[00:17:15]                 │ERROR browser[SEVERE] http://localhost:6111/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:17:15]                 │ debg browser[INFO] http://localhost:6111/bundles/commons.bundle.js 2:4273722 "Detected an unhandled Promise rejection.
[00:17:15]                 │      [object Object]"
[00:17:15]                 │ERROR browser[SEVERE] http://localhost:6111/app/monitoring?_t=1585241477507#/elasticsearch/nodes?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:'2017-10-05T20:28:28.475Z',to:'2017-10-05T20:34:38.341Z')) 0:0 
[00:17:16]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:26]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:26]                 │      Wait timed out after 10052ms
[00:17:27]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:37]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:37]                 │      Wait timed out after 10044ms
[00:17:37]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:47]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:47]                 │      Wait timed out after 10053ms
[00:17:48]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:17:58]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:17:58]                 │      Wait timed out after 10038ms
[00:17:58]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:08]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:08]                 │      Wait timed out after 10057ms
[00:18:09]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:19]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:19]                 │      Wait timed out after 10005ms
[00:18:19]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:29]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:29]                 │      Wait timed out after 10053ms
[00:18:30]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:40]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:40]                 │      Wait timed out after 10035ms
[00:18:40]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:18:50]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:18:50]                 │      Wait timed out after 10017ms
[00:18:51]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:19:01]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:19:01]                 │      Wait timed out after 10047ms
[00:19:01]                 │ debg Find.findByCssSelector('[data-test-subj="tableHeaderCell_name_0"] > button') with timeout=10000
[00:19:11]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
[00:19:11]                 │      Wait timed out after 10042ms
[00:19:12]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch nodes listing with offline node should sort by name.png"
[00:19:12]                 │ info Current URL is: http://localhost:6111/app/monitoring#/elasticsearch/nodes?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:%272017-10-05T20:28:28.475Z%27,to:%272017-10-05T20:34:38.341Z%27))
[00:19:12]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Elasticsearch nodes listing with offline node should sort by name.html
[00:19:12]                 └- ✖ fail: "Monitoring app Elasticsearch nodes listing with offline node should sort by name"
[00:19:12]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tableHeaderCell_name_0"] > button)
Wait timed out after 10042ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Kibana Pipeline / kibana-xpack-agent / X-Pack API Integration Tests.x-pack/test/api_integration/apis/monitoring/elasticsearch/nodes·js.apis Monitoring Elasticsearch nodes with red platinum cluster should return data for offline nodes

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:00:14]           └-: Monitoring
[00:00:14]             └-> "before all" hook
[00:00:29]             └-: Elasticsearch
[00:00:29]               └-> "before all" hook
[00:00:34]               └-: nodes
[00:00:34]                 └-> "before all" hook
[00:00:36]                 └-: with red platinum cluster
[00:00:36]                   └-> "before all" hook
[00:00:36]                   └-> "before all" hook: load clusters archive
[00:00:36]                     │ info [monitoring/singlecluster-red-platinum] Loading "mappings.json"
[00:00:36]                     │ info [monitoring/singlecluster-red-platinum] Loading "data.json.gz"
[00:00:36]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-es-6-2017.10.06] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]                     │ info [monitoring/singlecluster-red-platinum] Created index ".monitoring-es-6-2017.10.06"
[00:00:36]                     │ debg [monitoring/singlecluster-red-platinum] ".monitoring-es-6-2017.10.06" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:36]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-kibana-6-2017.10.06] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]                     │ info [monitoring/singlecluster-red-platinum] Created index ".monitoring-kibana-6-2017.10.06"
[00:00:36]                     │ debg [monitoring/singlecluster-red-platinum] ".monitoring-kibana-6-2017.10.06" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:36]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xl-1585238469411308398] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:36]                     │ info [monitoring/singlecluster-red-platinum] Created index ".monitoring-alerts-6"
[00:00:36]                     │ debg [monitoring/singlecluster-red-platinum] ".monitoring-alerts-6" settings {"index":{"codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:37]                     │ info [monitoring/singlecluster-red-platinum] Indexed 2024 docs into ".monitoring-es-6-2017.10.06"
[00:00:37]                     │ info [monitoring/singlecluster-red-platinum] Indexed 135 docs into ".monitoring-kibana-6-2017.10.06"
[00:00:37]                     │ info [monitoring/singlecluster-red-platinum] Indexed 1 docs into ".monitoring-alerts-6"
[00:00:37]                   └-> should return data for offline nodes
[00:00:37]                     └-> "before each" hook: global before each
[00:00:37]                     │ proc [kibana]   log   [17:06:44.198] [error][monitoring][monitoring][plugins] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:00:37]                     │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:37]                     │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:37]                     │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:37]                     │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:37]                     │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:37]                     │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:37]                     │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:37]                     │ proc [kibana]   status: 400,
[00:00:37]                     │ proc [kibana]   displayName: 'BadRequest',
[00:00:37]                     │ proc [kibana]   message:
[00:00:37]                     │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;',
[00:00:37]                     │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:00:37]                     │ proc [kibana]   query:
[00:00:37]                     │ proc [kibana]    { size: 10000,
[00:00:37]                     │ proc [kibana]      ignore_unavailable: true,
[00:00:37]                     │ proc [kibana]      filter_path:
[00:00:37]                     │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:00:37]                     │ proc [kibana]   body:
[00:00:37]                     │ proc [kibana]    { error:
[00:00:37]                     │ proc [kibana]       { root_cause: [Array],
[00:00:37]                     │ proc [kibana]         type: 'action_request_validation_exception',
[00:00:37]                     │ proc [kibana]         reason:
[00:00:37]                     │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:00:37]                     │ proc [kibana]      status: 400 },
[00:00:37]                     │ proc [kibana]   statusCode: 400,
[00:00:37]                     │ proc [kibana]   response:
[00:00:37]                     │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:00:37]                     │ proc [kibana]   toString: [Function],
[00:00:37]                     │ proc [kibana]   toJSON: [Function] }
[00:00:37]                     │ proc [kibana]   log   [17:06:44.212] [error][http] { Error: [action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;
[00:00:37]                     │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:37]                     │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:37]                     │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:37]                     │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:37]                     │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:37]                     │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:37]                     │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:37]                     │ proc [kibana]   status: 400,
[00:00:37]                     │ proc [kibana]   displayName: 'BadRequest',
[00:00:37]                     │ proc [kibana]   message:
[00:00:37]                     │ proc [kibana]    '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.',
[00:00:37]                     │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:00:37]                     │ proc [kibana]   query:
[00:00:37]                     │ proc [kibana]    { size: 10000,
[00:00:37]                     │ proc [kibana]      ignore_unavailable: true,
[00:00:37]                     │ proc [kibana]      filter_path:
[00:00:37]                     │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:00:37]                     │ proc [kibana]   body:
[00:00:37]                     │ proc [kibana]    { error:
[00:00:37]                     │ proc [kibana]       { root_cause: [Array],
[00:00:37]                     │ proc [kibana]         type: 'action_request_validation_exception',
[00:00:37]                     │ proc [kibana]         reason:
[00:00:37]                     │ proc [kibana]          'Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;' },
[00:00:37]                     │ proc [kibana]      status: 400 },
[00:00:37]                     │ proc [kibana]   statusCode: 400,
[00:00:37]                     │ proc [kibana]   response:
[00:00:37]                     │ proc [kibana]    '{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"}],"type":"action_request_validation_exception","reason":"Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;"},"status":400}',
[00:00:37]                     │ proc [kibana]   toString: [Function],
[00:00:37]                     │ proc [kibana]   toJSON: [Function],
[00:00:37]                     │ proc [kibana]   isBoom: true,
[00:00:37]                     │ proc [kibana]   isServer: true,
[00:00:37]                     │ proc [kibana]   data: null,
[00:00:37]                     │ proc [kibana]   output:
[00:00:37]                     │ proc [kibana]    { statusCode: 503,
[00:00:37]                     │ proc [kibana]      payload:
[00:00:37]                     │ proc [kibana]       { statusCode: 503,
[00:00:37]                     │ proc [kibana]         error: 'Service Unavailable',
[00:00:37]                     │ proc [kibana]         message:
[00:00:37]                     │ proc [kibana]          '[action_request_validation_exception] Validation Failed: 1: parent histogram of derivative aggregation [odh_node_cgroup_quota__usage_deriv] must have min_doc_count of 0;2: parent histogram of derivative aggregation [odh_node_cgroup_quota__periods_deriv] must have min_doc_count of 0;3: parent histogram of derivative aggregation [odh_node_cgroup_throttled__metric_deriv] must have min_doc_count of 0;4: parent histogram of derivative aggregation [odh_node_cpu_utilization__metric_deriv] must have min_doc_count of 0;5: parent histogram of derivative aggregation [odh_node_load_average__metric_deriv] must have min_doc_count of 0;6: parent histogram of derivative aggregation [odh_node_jvm_mem_percent__metric_deriv] must have min_doc_count of 0;7: parent histogram of derivative aggregation [odh_node_free_space__metric_deriv] must have min_doc_count of 0;: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.' },
[00:00:37]                     │ proc [kibana]      headers: {} },
[00:00:37]                     │ proc [kibana]   reformat: [Function] }
[00:00:37]                     └- ✖ fail: "apis Monitoring Elasticsearch nodes with red platinum cluster should return data for offline nodes"
[00:00:37]                     │

Stack Trace

Error: expected 200 "OK", got 500 "Internal Server Error"
    at Test._assertStatus (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:268:12)
    at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
    at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
    at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
    at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
    at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:718:3)
    at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
    at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

History

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

andrewvc added a commit that referenced this pull request Mar 27, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@justinkambic justinkambic added v7.8.0 and removed v7.8 labels Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience enhancement New value added to drive a business result release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.7.0 v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Uptime] Telemetry has unhandled promise on start

5 participants