Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Canvas] Update Canvas nav links for new platform #61353

Closed

Conversation

poffdeluxe
Copy link
Contributor

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

export type AppUpdater = (app: AppBase) => Partial<AppUpdatableFields> | undefined;
export type AppUpdater = (
app: AppBase
) => Partial<AppUpdatableFields & { activeUrl: string }> | undefined;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had to add this to make sure the type was correct when using it with the KibanaUrlTracker

import { HomePublicPluginSetup } from '../../../../../src/plugins/home/public';
import { initLoadingIndicator } from './lib/loading_indicator';
// @ts-ignore untyped local
import { historyProvider } from './lib/history_provider';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to remove this

@@ -187,6 +187,18 @@ export const legacyAppRegister = (app: App<any>) => {
),
onAppLeave: () => undefined,
};

if (app.updater$) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I noticed that nothing was being done with the app.updater$ here in the legacyAppRegister function so I added this block. It's the same thing that's happening here: https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/public/local_application_service/local_application_service.ts/#L89

@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/discover/_errors·js.discover app errors invalid scripted field error is rendered

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:45]         └-: discover app
[00:01:45]           └-> "before all" hook
[00:01:45]           └-> "before all" hook
[00:09:46]           └-: errors
[00:09:46]             └-> "before all" hook
[00:09:46]             └-> "before all" hook
[00:09:46]               │ info [logstash_functional] Loading "mappings.json"
[00:09:46]               │ info [logstash_functional] Loading "data.json.gz"
[00:09:46]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:09:46]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:09:46]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:09:47]               │ info [invalid_scripted_field] Loading "mappings.json"
[00:09:47]               │ info [invalid_scripted_field] Loading "data.json.gz"
[00:09:47]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_2/Au5fsfKkQ46ppN2NZ4GUJg] deleting index
[00:09:47]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_1/ygE97yh2SN2RL4G_BRkdhw] deleting index
[00:09:47]               │ info [invalid_scripted_field] Deleted existing index [".kibana_2",".kibana_1"]
[00:09:47]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:09:47]               │ info [invalid_scripted_field] Created index ".kibana"
[00:09:47]               │ debg [invalid_scripted_field] ".kibana" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:09:47]               │ info [invalid_scripted_field] Indexed 2 docs into ".kibana"
[00:09:47]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana/9qoQBVfkQG6ycYC01IaEhQ] update_mapping [_doc]
[00:09:47]               │ debg Migrating saved objects
[00:09:47]               │ proc [kibana]   log   [14:26:28.459] [info][savedobjects-service] Creating index .kibana_2.
[00:09:47]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:47]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] updating number_of_replicas to [0] for indices [.kibana_2]
[00:09:47]               │ proc [kibana]   log   [14:26:28.504] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:09:47]               │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:09:47]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] updating number_of_replicas to [0] for indices [.kibana_1]
[00:09:47]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] 8432 finished with response BulkByScrollResponse[took=20.6ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:09:47]               │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana/9qoQBVfkQG6ycYC01IaEhQ] deleting index
[00:09:47]               │ proc [kibana]   log   [14:26:28.824] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:09:47]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_2/gdJnQfsVR1Ssf-1D81FCRg] update_mapping [_doc]
[00:09:47]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_2/gdJnQfsVR1Ssf-1D81FCRg] update_mapping [_doc]
[00:09:47]               │ proc [kibana]   log   [14:26:28.873] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:09:47]               │ proc [kibana]   log   [14:26:28.904] [info][savedobjects-service] Finished in 446ms.
[00:09:47]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:09:48]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1585316687412710202] [.kibana_2/gdJnQfsVR1Ssf-1D81FCRg] update_mapping [_doc]
[00:09:49]               │ debg navigating to discover url: http://localhost:6161/app/kibana#/discover
[00:09:49]               │ debg Navigate to: http://localhost:6161/app/kibana#/discover
[00:09:49]               │ debg ... sleep(700) start
[00:09:49]               │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1585319190511#/discover 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:09:49]               │
[00:09:49]               │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:50]               │ debg ... sleep(700) end
[00:09:50]               │ debg returned from get, calling refresh
[00:09:50]               │ debg browser[INFO] http://localhost:6161/app/kibana?_t=1585319190511#/discover 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:09:50]               │
[00:09:50]               │ debg browser[INFO] http://localhost:6161/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:50]               │ debg currentUrl = http://localhost:6161/app/kibana#/discover
[00:09:50]               │          appUrl = http://localhost:6161/app/kibana#/discover
[00:09:50]               │ debg TestSubjects.find(kibanaChrome)
[00:09:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:54]               │ debg TestSubjects.find(kibanaChrome)
[00:09:54]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:09:54]               │ debg browser[INFO] http://localhost:6161/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-27T14:26:34Z
[00:09:54]               │        Adding connection to http://localhost:6161/elasticsearch
[00:09:54]               │
[00:09:54]               │      "
[00:09:54]               │ debg ... sleep(501) start
[00:09:54]               │ debg ... sleep(501) end
[00:09:54]               │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%2718ea0c30-2d77-11e8-93f2-6f8a391f33ef%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:54]               │ debg --- retry.try error: URL changed, waiting for it to settle
[00:09:55]               │ debg ... sleep(501) start
[00:09:55]               │ debg ... sleep(501) end
[00:09:55]               │ debg in navigateTo url = http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%2718ea0c30-2d77-11e8-93f2-6f8a391f33ef%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:09:55]               │ debg TestSubjects.exists(statusPageContainer)
[00:09:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:09:58]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:09:58]             └-: invalid scripted field error
[00:09:58]               └-> "before all" hook
[00:09:58]               └-> is rendered
[00:09:58]                 └-> "before each" hook: global before each
[00:09:58]                 │ debg TestSubjects.exists(discoverFetchError)
[00:09:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="discoverFetchError"]') with timeout=2500
[00:10:01]                 │ debg --- retry.tryForTime error: [data-test-subj="discoverFetchError"] is not displayed
[00:10:01]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app errors invalid scripted field error is rendered.png"
[00:10:01]                 │ info Current URL is: http://localhost:6161/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(),index:%2718ea0c30-2d77-11e8-93f2-6f8a391f33ef%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:10:01]                 │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/discover app errors invalid scripted field error is rendered.html
[00:10:01]                 └- ✖ fail: "discover app errors invalid scripted field error is rendered"
[00:10:01]                 │

Stack Trace

Error: expected false to equal true
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (packages/kbn-expect/expect.js:227:8)
    at Assertion.be (packages/kbn-expect/expect.js:69:22)
    at Context.it (test/functional/apps/discover/_errors.js:41:40)

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 have an Elasticsearch Cluster Summary Status with correct info

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:06:18]         └-: Monitoring app
[00:06:18]           └-> "before all" hook
[00:16:47]           └-: Elasticsearch nodes listing
[00:16:47]             └-> "before all" hook
[00:16:47]             └-: with offline node
[00:16:47]               └-> "before all" hook
[00:16:47]               └-> "before all" hook
[00:16:47]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "mappings.json"
[00:16:47]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "data.json.gz"
[00:16:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-kibana-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-kibana-6-2017.10.05"
[00:16:48]                 │ 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:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-alerts-6"
[00:16:48]                 │ 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:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-logstash-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-logstash-6-2017.10.05"
[00:16:48]                 │ 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:48]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-es-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-es-6-2017.10.05"
[00:16:48]                 │ 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:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 21 docs into ".monitoring-kibana-6-2017.10.05"
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1 docs into ".monitoring-alerts-6"
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 3 docs into ".monitoring-logstash-6-2017.10.05"
[00:16:48]                 │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1317 docs into ".monitoring-es-6-2017.10.05"
[00:16:48]                 │ debg replacing kibana config doc: {}
[00:16:49]                 │ debg creating user basic_monitoring_user
[00:16:49]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] added user [basic_monitoring_user]
[00:16:49]                 │ debg created user basic_monitoring_user
[00:16:49]                 │ debg SecurityPage.forceLogout
[00:16:49]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:16:49]                 │ debg Already on the login page, not forcing anything
[00:16:49]                 │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:16:49]                 │ debg TestSubjects.click(loginUsername)
[00:16:49]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:49]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:50]                 │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:16:50]                 │ debg TestSubjects.click(loginPassword)
[00:16:50]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:50]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:50]                 │ debg TestSubjects.click(loginSubmit)
[00:16:50]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:50]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:50]                 │ debg navigating to monitoring url: http://localhost:6111/app/monitoring
[00:16:50]                 │ debg Navigate to: http://localhost:6111/app/monitoring
[00:16:50]                 │ debg ... sleep(700) start
[00:16:50]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585319788641 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:50]                 │
[00:16:50]                 │ 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:51]                 │ debg ... sleep(700) end
[00:16:51]                 │ debg returned from get, calling refresh
[00:16:51]                 │ debg browser[INFO] http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585319788641 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:51]                 │
[00:16:51]                 │ 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:51]                 │ debg currentUrl = http://localhost:6111/login?next=%2Fapp%2Fmonitoring%3F_t%3D1585319788641
[00:16:51]                 │          appUrl = http://localhost:6111/app/monitoring
[00:16:51]                 │ debg TestSubjects.find(kibanaChrome)
[00:16:51]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:55]                 │ debg Found login page
[00:16:55]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:16:55]                 │ debg TestSubjects.click(loginUsername)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:55]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-27T14:36:33Z
[00:16:55]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:16:55]                 │
[00:16:55]                 │      "
[00:16:55]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:16:55]                 │ debg TestSubjects.click(loginPassword)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:55]                 │ debg TestSubjects.click(loginSubmit)
[00:16:55]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:55]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:17:00]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585319788641 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:17:00]                 │
[00:17:00]                 │ 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:17:00]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-27T14:36:38Z
[00:17:00]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:17:00]                 │
[00:17:00]                 │      "
[00:17:02]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:17:02]                 │ debg browser[INFO] http://localhost:6111/app/monitoring?_t=1585319799023 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:17:02]                 │
[00:17:02]                 │ 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:17:02]                 │ debg Finished login process currentUrl = http://localhost:6111/app/monitoring
[00:17:02]                 │ debg ... sleep(501) start
[00:17:02]                 │ debg ... sleep(501) end
[00:17:03]                 │ debg in navigateTo url = http://localhost:6111/app/monitoring
[00:17:03]                 │ debg TestSubjects.exists(statusPageContainer)
[00:17:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:17:06]                 │ debg browser[INFO] http://localhost:6111/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-27T14:36:44Z
[00:17:06]                 │        Adding connection to http://localhost:6111/elasticsearch
[00:17:06]                 │
[00:17:06]                 │      "
[00:17:06]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:17:06]                 │ debg TestSubjects.find(noDataContainer)
[00:17:06]                 │ debg Find.findByCssSelector('[data-test-subj="noDataContainer"]') with timeout=10000
[00:17:07]                 │ debg pauseAutoRefresh
[00:17:07]                 │ debg openQuickSelectTimeMenu
[00:17:07]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:07]                 │ debg browser[WARNING] http://localhost:6111/bundles/monitoring.bundle.js 1:13808 "\"#noDataReact\" element has not been added to the DOM yet"
[00:17:10]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:17:10]                 │ debg opening quick select menu
[00:17:10]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:17:10]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:10]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:11]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:17:11]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:17:11]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:17:11]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:17:11]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:17:11]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:11]                 │ debg pause auto refresh
[00:17:11]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:17:11]                 │ debg closeQuickSelectTimeMenu
[00:17:11]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:11]                 │ debg closing quick select menu
[00:17:11]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:17:11]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:11]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:17:11]                 │ debg closeQuickSelectTimeMenu
[00:17:11]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:17:11]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:17:11]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:17:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:17:14]                 │ debg Setting absolute range to Oct 5, 2017 @ 20:28:28.475 to Oct 5, 2017 @ 20:34:38.341
[00:17:14]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:17:14]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:17:15]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:17:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:17:15]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:17:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:17:15]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:17:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:17:15]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:17:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:17:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:17:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:15]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:34:38.341)
[00:17:15]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:15]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:15]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:16]                 │ debg ... sleep(500) start
[00:17:16]                 │ debg ... sleep(500) end
[00:17:16]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:17:16]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:16]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:17:16]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:17]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:17:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:17:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:17:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:17]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:28:28.475)
[00:17:17]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:17:17]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:17]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:17:17]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:17:17]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:17:20]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:17:20]                 │ debg TestSubjects.click(querySubmitButton)
[00:17:20]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:20]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:17:21]                 │ debg Find.waitForElementStale with timeout=10000
[00:17:21]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:17:21]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:17:21]                 │ debg TestSubjects.click(clusterItemContainerElasticsearch > esNumberOfNodes)
[00:17:21]                 │ debg Find.clickByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:21]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:17:21]                 │ debg TestSubjects.find(elasticsearchNodesListingPage)
[00:17:21]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesListingPage"]') with timeout=10000
[00:17:21]               └-> should have an Elasticsearch Cluster Summary Status with correct info
[00:17:21]                 └-> "before each" hook: global before each
[00:17:21]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:17:21]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:17:21]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:17:21]                 │ proc [kibana]   log   [14:37:00.103] [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:21]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:21]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:21]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:21]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:21]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:21]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:21]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:21]                 │ proc [kibana]   status: 400,
[00:17:21]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:21]                 │ proc [kibana]   message:
[00:17:21]                 │ 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:21]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:21]                 │ proc [kibana]   query:
[00:17:21]                 │ proc [kibana]    { size: 10000,
[00:17:21]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:21]                 │ proc [kibana]      filter_path:
[00:17:21]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:21]                 │ proc [kibana]   body:
[00:17:21]                 │ proc [kibana]    { error:
[00:17:21]                 │ proc [kibana]       { root_cause: [Array],
[00:17:21]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:21]                 │ proc [kibana]         reason:
[00:17:21]                 │ 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:21]                 │ proc [kibana]      status: 400 },
[00:17:21]                 │ proc [kibana]   statusCode: 400,
[00:17:21]                 │ proc [kibana]   response:
[00:17:21]                 │ 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:21]                 │ proc [kibana]   toString: [Function],
[00:17:21]                 │ proc [kibana]   toJSON: [Function] }
[00:17:21]                 │ proc [kibana]   log   [14:37:00.115] [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:21]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:17:21]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:17:21]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:17:21]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-1/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:17:21]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:17:21]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:17:21]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:17:21]                 │ proc [kibana]   status: 400,
[00:17:21]                 │ proc [kibana]   displayName: 'BadRequest',
[00:17:21]                 │ proc [kibana]   message:
[00:17:21]                 │ 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:21]                 │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:17:21]                 │ proc [kibana]   query:
[00:17:21]                 │ proc [kibana]    { size: 10000,
[00:17:21]                 │ proc [kibana]      ignore_unavailable: true,
[00:17:21]                 │ proc [kibana]      filter_path:
[00:17:21]                 │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:17:21]                 │ proc [kibana]   body:
[00:17:21]                 │ proc [kibana]    { error:
[00:17:21]                 │ proc [kibana]       { root_cause: [Array],
[00:17:21]                 │ proc [kibana]         type: 'action_request_validation_exception',
[00:17:21]                 │ proc [kibana]         reason:
[00:17:21]                 │ 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:21]                 │ proc [kibana]      status: 400 },
[00:17:21]                 │ proc [kibana]   statusCode: 400,
[00:17:21]                 │ proc [kibana]   response:
[00:17:21]                 │ 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:21]                 │ proc [kibana]   toString: [Function],
[00:17:21]                 │ proc [kibana]   toJSON: [Function],
[00:17:21]                 │ proc [kibana]   isBoom: true,
[00:17:21]                 │ proc [kibana]   isServer: true,
[00:17:21]                 │ proc [kibana]   data: null,
[00:17:21]                 │ proc [kibana]   output:
[00:17:21]                 │ proc [kibana]    { statusCode: 503,
[00:17:21]                 │ proc [kibana]      payload:
[00:17:21]                 │ proc [kibana]       { statusCode: 503,
[00:17:21]                 │ proc [kibana]         error: 'Service Unavailable',
[00:17:21]                 │ proc [kibana]         message:
[00:17:21]                 │ 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:21]                 │ proc [kibana]      headers: {} },
[00:17:21]                 │ proc [kibana]   reformat: [Function] }
[00:17:21]                 │ proc [kibana]  error  [14:36:59.978]  Error: Internal Server Error
[00:17:21]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/response_adapter.js:69:19)
[00:17:21]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-1/src/core/server/http/router/router.js:165:34)
[00:17:21]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:17:31]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:17:31]                 │      Wait timed out after 10033ms
[00:17:31]                 │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:31]                 │ debg browser[INFO] http://localhost:6111/bundles/commons.bundle.js 2:4273825 "Detected an unhandled Promise rejection.
[00:17:31]                 │      [object Object]"
[00:17:31]                 │ERROR browser[SEVERE] http://localhost:6111/app/monitoring?_t=1585319799023#/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:32]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:17:32]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:17:32]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:17:42]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:17:42]                 │      Wait timed out after 10045ms
[00:17:42]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:17:42]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:17:42]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:17:52]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:17:52]                 │      Wait timed out after 10030ms
[00:17:53]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:17:53]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:17:53]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:03]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:03]                 │      Wait timed out after 10052ms
[00:18:04]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:04]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:04]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:14]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:14]                 │      Wait timed out after 10005ms
[00:18:14]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:14]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:14]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:24]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:24]                 │      Wait timed out after 10004ms
[00:18:25]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:25]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:25]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:35]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:35]                 │      Wait timed out after 10005ms
[00:18:35]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:35]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:35]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:45]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:45]                 │      Wait timed out after 10037ms
[00:18:46]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:46]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:46]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:18:56]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:18:56]                 │      Wait timed out after 10030ms
[00:18:56]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:18:56]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:18:56]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:19:06]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:19:06]                 │      Wait timed out after 10010ms
[00:19:07]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:19:07]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:19:07]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:19:17]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:19:17]                 │      Wait timed out after 10050ms
[00:19:17]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:19:17]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:19:17]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:19:27]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
[00:19:27]                 │      Wait timed out after 10029ms
[00:19:28]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch nodes listing with offline node should have an Elasticsearch Cluster Summary Status with correct info.png"
[00:19:28]                 │ 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:28]                 │ 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 have an Elasticsearch Cluster Summary Status with correct info.html
[00:19:28]                 └- ✖ fail: "Monitoring app Elasticsearch nodes listing with offline node should have an Elasticsearch Cluster Summary Status with correct info"
[00:19:28]                 │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"])
Wait timed out after 10029ms
    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 green platinum cluster should return data for 2 active nodes

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://github.com/elastic/kibana/issues/32375

[00:00:00]       │
[00:00:00]         └-: apis
[00:00:00]           └-> "before all" hook
[00:00:13]           └-: Monitoring
[00:00:13]             └-> "before all" hook
[00:00:27]             └-: Elasticsearch
[00:00:27]               └-> "before all" hook
[00:00:31]               └-: nodes
[00:00:31]                 └-> "before all" hook
[00:00:31]                 └-: with green platinum cluster
[00:00:31]                   └-> "before all" hook
[00:00:31]                   └-> "before all" hook: load clusters archive
[00:00:31]                     │ info [monitoring/singlecluster-green-platinum] Loading "mappings.json"
[00:00:31]                     │ info [monitoring/singlecluster-green-platinum] Loading "data.json.gz"
[00:00:31]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-kibana-6-2018.02.13] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] updating number_of_replicas to [0] for indices [.monitoring-kibana-6-2018.02.13]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-kibana-6-2018.02.13][0]]]).
[00:00:31]                     │ info [monitoring/singlecluster-green-platinum] Created index ".monitoring-kibana-6-2018.02.13"
[00:00:31]                     │ debg [monitoring/singlecluster-green-platinum] ".monitoring-kibana-6-2018.02.13" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:31]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-beats-6-2018.02.13] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] updating number_of_replicas to [0] for indices [.monitoring-beats-6-2018.02.13]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-beats-6-2018.02.13][0]]]).
[00:00:31]                     │ info [monitoring/singlecluster-green-platinum] Created index ".monitoring-beats-6-2018.02.13"
[00:00:31]                     │ debg [monitoring/singlecluster-green-platinum] ".monitoring-beats-6-2018.02.13" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:31]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-es-6-2018.02.13] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] updating number_of_replicas to [0] for indices [.monitoring-es-6-2018.02.13]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-es-6-2018.02.13][0]]]).
[00:00:31]                     │ info [monitoring/singlecluster-green-platinum] Created index ".monitoring-es-6-2018.02.13"
[00:00:31]                     │ debg [monitoring/singlecluster-green-platinum] ".monitoring-es-6-2018.02.13" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:31]                     │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:31]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] updating number_of_replicas to [0] for indices [.monitoring-alerts-6]
[00:00:32]                     │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1585316687412671418] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-alerts-6][0]]]).
[00:00:32]                     │ info [monitoring/singlecluster-green-platinum] Created index ".monitoring-alerts-6"
[00:00:32]                     │ debg [monitoring/singlecluster-green-platinum] ".monitoring-alerts-6" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"1","number_of_shards":"1"}}
[00:00:32]                     │ info [monitoring/singlecluster-green-platinum] Indexed 33 docs into ".monitoring-kibana-6-2018.02.13"
[00:00:32]                     │ info [monitoring/singlecluster-green-platinum] Indexed 11 docs into ".monitoring-beats-6-2018.02.13"
[00:00:32]                     │ info [monitoring/singlecluster-green-platinum] Indexed 1455 docs into ".monitoring-es-6-2018.02.13"
[00:00:32]                     │ info [monitoring/singlecluster-green-platinum] Indexed 2 docs into ".monitoring-alerts-6"
[00:00:32]                   └-> should return data for 2 active nodes
[00:00:32]                     └-> "before each" hook: global before each
[00:00:32]                     │ proc [kibana]   log   [14:51:32.109] [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:32]                     │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:32]                     │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:32]                     │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:32]                     │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:32]                     │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:32]                     │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:32]                     │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:32]                     │ proc [kibana]   status: 400,
[00:00:32]                     │ proc [kibana]   displayName: 'BadRequest',
[00:00:32]                     │ proc [kibana]   message:
[00:00:32]                     │ 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:32]                     │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:00:32]                     │ proc [kibana]   query:
[00:00:32]                     │ proc [kibana]    { size: 10000,
[00:00:32]                     │ proc [kibana]      ignore_unavailable: true,
[00:00:32]                     │ proc [kibana]      filter_path:
[00:00:32]                     │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:00:32]                     │ proc [kibana]   body:
[00:00:32]                     │ proc [kibana]    { error:
[00:00:32]                     │ proc [kibana]       { root_cause: [Array],
[00:00:32]                     │ proc [kibana]         type: 'action_request_validation_exception',
[00:00:32]                     │ proc [kibana]         reason:
[00:00:32]                     │ 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:32]                     │ proc [kibana]      status: 400 },
[00:00:32]                     │ proc [kibana]   statusCode: 400,
[00:00:32]                     │ proc [kibana]   response:
[00:00:32]                     │ 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:32]                     │ proc [kibana]   toString: [Function],
[00:00:32]                     │ proc [kibana]   toJSON: [Function] }
[00:00:32]                     │ proc [kibana]   log   [14:51:32.123] [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:32]                     │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:00:32]                     │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:00:32]                     │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:00:32]                     │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-6/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:00:32]                     │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:00:32]                     │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:00:32]                     │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:00:32]                     │ proc [kibana]   status: 400,
[00:00:32]                     │ proc [kibana]   displayName: 'BadRequest',
[00:00:32]                     │ proc [kibana]   message:
[00:00:32]                     │ 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:32]                     │ proc [kibana]   path: '/.monitoring-es-6-*%2C.monitoring-es-7-*/_search',
[00:00:32]                     │ proc [kibana]   query:
[00:00:32]                     │ proc [kibana]    { size: 10000,
[00:00:32]                     │ proc [kibana]      ignore_unavailable: true,
[00:00:32]                     │ proc [kibana]      filter_path:
[00:00:32]                     │ proc [kibana]       'hits.hits._source.source_node,aggregations.nodes.buckets.key,aggregations.nodes.buckets.by_date.buckets' },
[00:00:32]                     │ proc [kibana]   body:
[00:00:32]                     │ proc [kibana]    { error:
[00:00:32]                     │ proc [kibana]       { root_cause: [Array],
[00:00:32]                     │ proc [kibana]         type: 'action_request_validation_exception',
[00:00:32]                     │ proc [kibana]         reason:
[00:00:32]                     │ 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:32]                     │ proc [kibana]      status: 400 },
[00:00:32]                     │ proc [kibana]   statusCode: 400,
[00:00:32]                     │ proc [kibana]   response:
[00:00:32]                     │ 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:32]                     │ proc [kibana]   toString: [Function],
[00:00:32]                     │ proc [kibana]   toJSON: [Function],
[00:00:32]                     │ proc [kibana]   isBoom: true,
[00:00:32]                     │ proc [kibana]   isServer: true,
[00:00:32]                     │ proc [kibana]   data: null,
[00:00:32]                     │ proc [kibana]   output:
[00:00:32]                     │ proc [kibana]    { statusCode: 503,
[00:00:32]                     │ proc [kibana]      payload:
[00:00:32]                     │ proc [kibana]       { statusCode: 503,
[00:00:32]                     │ proc [kibana]         error: 'Service Unavailable',
[00:00:32]                     │ proc [kibana]         message:
[00:00:32]                     │ 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:32]                     │ proc [kibana]      headers: {} },
[00:00:32]                     │ proc [kibana]   reformat: [Function] }
[00:00:32]                     └- ✖ fail: "apis Monitoring Elasticsearch nodes with green platinum cluster should return data for 2 active nodes"
[00:00:32]                     │

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)

and 1 more failures, only showing the first 3.

History

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

@poffdeluxe
Copy link
Contributor Author

Resolved in #65590

@poffdeluxe poffdeluxe closed this May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants