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

Fix telemetry advanced setting style #103838

Merged

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Jun 30, 2021

Summary

Fixes the style of the telemetry section that was not addressed in #101335 to match the rest of the advanced setting panels.

Before:

screenshot-20210630-093507

After:

screenshot-20210630-093430

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages release_note:skip Skip the PR/issue when compiling release notes v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jun 30, 2021
@timroes timroes requested a review from cchaos June 30, 2021 07:36
@timroes timroes requested a review from a team as a code owner June 30, 2021 07:36
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/elasticsearch/nodes_mb·js.Monitoring app Elasticsearch nodes listing mb with only online nodes should filter for non-existent index

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Monitoring app
[00:00:00]           └-> "before all" hook in "Monitoring app"
[00:05:37]           └-: Elasticsearch nodes listing mb
[00:05:37]             └-> "before all" hook in "Elasticsearch nodes listing mb"
[00:06:39]             └-: with only online nodes
[00:06:39]               └-> "before all" hook for "should have an Elasticsearch Cluster Summary Status with correct info"
[00:06:39]               └-> "before all" hook for "should have an Elasticsearch Cluster Summary Status with correct info"
[00:06:39]                 │ debg set roles = monitoring_user,kibana_admin
[00:06:39]                 │ debg creating user test_user
[00:06:39]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [test_user]
[00:06:39]                 │ debg created user test_user
[00:06:39]                 │ debg TestSubjects.exists(kibanaChrome)
[00:06:39]                 │ debg Find.existsByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=2500
[00:06:40]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:40]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=100000
[00:06:40]                 │ debg browser[INFO] http://localhost:61191/app/monitoring?_t=1625040271042#/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')) 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:40]                 │
[00:06:40]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:41]                 │ proc [kibana]   log   [08:05:30.331] [error][monitoring][monitoring][plugins] Error: Unable to find the cluster in the selected time range. UUID: YCxj-RAgSZCP6GuOQ8M1EQ
[00:06:41]                 │ proc [kibana]     at getClustersFromRequest (/dev/shm/workspace/kibana-build-19/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js:94:32)
[00:06:41]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:06:41]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:06:41]                 │ proc [kibana]     at Object.handler (/dev/shm/workspace/kibana-build-19/x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.js:59:20)
[00:06:41]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-19/x-pack/plugins/monitoring/server/plugin.js:401:28)
[00:06:41]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-19/src/core/server/http/router/router.js:163:30)
[00:06:41]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-19/src/core/server/http/router/router.js:124:50)
[00:06:41]                 │ proc [kibana]     at exports.Manager.execute (/dev/shm/workspace/kibana-build-19/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
[00:06:41]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-19/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:06:41]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-19/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:06:41]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-19/node_modules/@hapi/hapi/lib/request.js:370:32)
[00:06:41]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-19/node_modules/@hapi/hapi/lib/request.js:279:9) {
[00:06:41]                 │ proc [kibana]   data: null,
[00:06:41]                 │ proc [kibana]   isBoom: true,
[00:06:41]                 │ proc [kibana]   isServer: false,
[00:06:41]                 │ proc [kibana]   output: {
[00:06:41]                 │ proc [kibana]     statusCode: 404,
[00:06:41]                 │ proc [kibana]     payload: {
[00:06:41]                 │ proc [kibana]       statusCode: 404,
[00:06:41]                 │ proc [kibana]       error: 'Not Found',
[00:06:41]                 │ proc [kibana]       message: 'Unable to find the cluster in the selected time range. UUID: YCxj-RAgSZCP6GuOQ8M1EQ'
[00:06:41]                 │ proc [kibana]     },
[00:06:41]                 │ proc [kibana]     headers: {}
[00:06:41]                 │ proc [kibana]   }
[00:06:41]                 │ proc [kibana] }
[00:06:41]                 │ERROR browser[SEVERE] http://localhost:61191/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:41]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Loading "mappings.json"
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Loading "data.json.gz"
[00:06:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.monitoring-kibana-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Created index ".monitoring-kibana-6-2017.10.05"
[00:06:41]                 │ debg [x-pack/test/functional/es_archives/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:06:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1]
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Created index ".monitoring-alerts-6"
[00:06:41]                 │ debg [x-pack/test/functional/es_archives/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:06:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.monitoring-logstash-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Created index ".monitoring-logstash-6-2017.10.05"
[00:06:41]                 │ debg [x-pack/test/functional/es_archives/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:06:41]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.monitoring-es-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Created index ".monitoring-es-6-2017.10.05"
[00:06:41]                 │ debg [x-pack/test/functional/es_archives/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:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Indexed 21 docs into ".monitoring-kibana-6-2017.10.05"
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Indexed 1 docs into ".monitoring-alerts-6"
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Indexed 3 docs into ".monitoring-logstash-6-2017.10.05"
[00:06:41]                 │ info [x-pack/test/functional/es_archives/monitoring/singlecluster_three_nodes_shard_relocation] Indexed 1317 docs into ".monitoring-es-6-2017.10.05"
[00:06:41]                 │ debg replacing kibana config doc: {}
[00:06:41]                 │ debg navigating to monitoring url: http://localhost:61191/app/monitoring
[00:06:41]                 │ debg navigate to: http://localhost:61191/app/monitoring
[00:06:42]                 │ debg browser[INFO] http://localhost:61191/app/monitoring?_t=1625040331112 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:42]                 │
[00:06:42]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:42]                 │ debg ... sleep(700) start
[00:06:42]                 │ debg ... sleep(700) end
[00:06:42]                 │ debg returned from get, calling refresh
[00:06:43]                 │ debg browser[INFO] http://localhost:61191/app/monitoring?_t=1625040331112 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:06:43]                 │
[00:06:43]                 │ debg browser[INFO] http://localhost:61191/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:43]                 │ debg currentUrl = http://localhost:61191/app/monitoring
[00:06:43]                 │          appUrl = http://localhost:61191/app/monitoring
[00:06:43]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:44]                 │ERROR browser[SEVERE] http://localhost:61191/api/fleet/epm/packages?experimental=true - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:44]                 │ debg ... sleep(501) start
[00:06:44]                 │ proc [kibana] ResponseError: security_exception: [security_exception] Reason: action [cluster:monitor/state] is unauthorized for user [test_user] with roles [monitoring_user,kibana_admin], this action is granted by the cluster privileges [read_ccr,transport_client,manage_ccr,monitor,manage,all]
[00:06:44]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-19/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)
[00:06:44]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-19/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)
[00:06:44]                 │ proc [kibana]     at IncomingMessage.emit (events.js:388:22)
[00:06:44]                 │ proc [kibana]     at endReadableNT (internal/streams/readable.js:1336:12)
[00:06:44]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
[00:06:44]                 │ proc [kibana]   meta: {
[00:06:44]                 │ proc [kibana]     body: { error: [Object], status: 403 },
[00:06:44]                 │ proc [kibana]     statusCode: 403,
[00:06:44]                 │ proc [kibana]     headers: {
[00:06:44]                 │ proc [kibana]       'x-opaque-id': '4f6b6a74-bdea-4545-b565-9a9fc59a4fa8',
[00:06:44]                 │ proc [kibana]       'x-elastic-product': 'Elasticsearch',
[00:06:44]                 │ proc [kibana]       'content-type': 'application/json;charset=utf-8',
[00:06:44]                 │ proc [kibana]       'content-length': '555'
[00:06:44]                 │ proc [kibana]     },
[00:06:44]                 │ proc [kibana]     meta: {
[00:06:44]                 │ proc [kibana]       context: null,
[00:06:44]                 │ proc [kibana]       request: [Object],
[00:06:44]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:06:44]                 │ proc [kibana]       connection: [Object],
[00:06:44]                 │ proc [kibana]       attempts: 0,
[00:06:44]                 │ proc [kibana]       aborted: false
[00:06:44]                 │ proc [kibana]     }
[00:06:44]                 │ proc [kibana]   }
[00:06:44]                 │ proc [kibana] }
[00:06:44]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/elasticsearch_settings/check/cluster - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:44]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/elasticsearch_settings/check/nodes - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:44]                 │ debg ... sleep(501) end
[00:06:44]                 │ debg in navigateTo url = http://localhost:61191/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-15m,to:now))
[00:06:44]                 │ debg pauseAutoRefresh
[00:06:44]                 │ debg setting menu open state [name=QuickSelectTime Menu] [state=open]
[00:06:44]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=1000
[00:06:45]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:06:46]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:46]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=10000
[00:06:46]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value, tryTimeout=120000, findTimeout=10000)
[00:06:46]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:06:46]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:06:46]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:06:46]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:06:46]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:46]                 │ debg pause auto refresh
[00:06:46]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:06:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:46]                 │ debg setting menu open state [name=QuickSelectTime Menu] [state=closed]
[00:06:46]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=1000
[00:06:46]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:46]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=10000
[00:06:47]                 │ debg Setting absolute range to Oct 5, 2017 @ 20:31:48.354 to Oct 5, 2017 @ 20:35:12.176
[00:06:47]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:06:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:06:47]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:06:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:06:47]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:06:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:47]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:06:47]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:06:47]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:06:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:47]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:47]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:48]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:35:12.176)
[00:06:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:48]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:06:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:48]                 │ debg Find.waitForElementStale with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:48]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:48]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:49]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:31:48.354)
[00:06:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:06:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:06:49]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:06:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:06:51]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:06:52]                 │ debg TestSubjects.click(querySubmitButton)
[00:06:52]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:52]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:52]                 │ debg Find.waitForElementStale with timeout=10000
[00:06:52]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:52]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:52]                 │ debg TestSubjects.click(alerts-modal-button)
[00:06:52]                 │ debg Find.clickByCssSelector('[data-test-subj="alerts-modal-button"]') with timeout=10000
[00:06:52]                 │ debg Find.findByCssSelector('[data-test-subj="alerts-modal-button"]') with timeout=10000
[00:06:52]                 │ debg TestSubjects.click(clusterItemContainerElasticsearch > esNumberOfNodes)
[00:06:52]                 │ debg Find.clickByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:06:52]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:06:53]                 │ debg TestSubjects.find(elasticsearchNodesListingPage)
[00:06:53]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesListingPage"]') with timeout=10000
[00:06:53]                 │ proc [kibana]   log   [08:05:42.836] [info][monitoring][monitoring][plugins] Skipping alert creation for "default" space; Stack monitoring alerts require Transport Layer Security between Kibana and Elasticsearch, and an encryption key in your kibana.yml file.
[00:06:53]               └-> should have an Elasticsearch Cluster Summary Status with correct info
[00:06:53]                 └-> "before each" hook: global before each for "should have an Elasticsearch Cluster Summary Status with correct info"
[00:06:53]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > nodesCount)
[00:06:53]                 │ debg TestSubjects.find(elasticsearchClusterStatus > nodesCount)
[00:06:53]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="nodesCount"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > indicesCount)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > indicesCount)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="indicesCount"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > memory)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > memory)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="memory"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > totalShards)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > totalShards)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="totalShards"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > unassignedShards)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > unassignedShards)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="unassignedShards"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > documentCount)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > documentCount)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="documentCount"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getVisibleText(elasticsearchClusterStatus > dataSize)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > dataSize)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="dataSize"]') with timeout=10000
[00:06:54]                 │ debg TestSubjects.getAttribute(elasticsearchClusterStatus > statusIcon, alt, tryTimeout=120000, findTimeout=10000)
[00:06:54]                 │ debg TestSubjects.find(elasticsearchClusterStatus > statusIcon)
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchClusterStatus"] [data-test-subj="statusIcon"]') with timeout=10000
[00:06:54]                 └- ✓ pass  (386ms) "Monitoring app Elasticsearch nodes listing mb with only online nodes should have an Elasticsearch Cluster Summary Status with correct info"
[00:06:54]               └-> should filter for specific indices
[00:06:54]                 └-> "before each" hook: global before each for "should filter for specific indices"
[00:06:54]                 │ debg TestSubjects.setValue(elasticsearchNodesTableContainer > monitoringTableToolBar, 01)
[00:06:54]                 │ debg TestSubjects.click(elasticsearchNodesTableContainer > monitoringTableToolBar)
[00:06:54]                 │ debg Find.clickByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:54]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:55]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:56]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:56]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:56]                 │ debg Find.waitForDeletedByCssSelector('.euiBasicTable-loading') with timeout=5000
[00:06:56]                 │ debg TestSubjects.find(elasticsearchNodesTableContainer)
[00:06:56]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"]') with timeout=10000
[00:06:56]                 │ debg TestSubjects.setValue(elasticsearchNodesTableContainer > monitoringTableToolBar,  )
[00:06:56]                 │ debg TestSubjects.click(elasticsearchNodesTableContainer > monitoringTableToolBar)
[00:06:56]                 │ debg Find.clickByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:56]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:57]                 │ debg Find.waitForDeletedByCssSelector('.euiBasicTable-loading') with timeout=5000
[00:06:58]                 └- ✓ pass  (3.8s) "Monitoring app Elasticsearch nodes listing mb with only online nodes should filter for specific indices"
[00:06:58]               └-> should filter for non-existent index
[00:06:58]                 └-> "before each" hook: global before each for "should filter for non-existent index"
[00:06:58]                 │ debg TestSubjects.setValue(elasticsearchNodesTableContainer > monitoringTableToolBar, foobar)
[00:06:58]                 │ debg TestSubjects.click(elasticsearchNodesTableContainer > monitoringTableToolBar)
[00:06:58]                 │ debg Find.clickByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:58]                 │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableToolBar"]') with timeout=10000
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ERROR browser[SEVERE] http://localhost:61191/api/monitoring/v1/clusters/YCxj-RAgSZCP6GuOQ8M1EQ/elasticsearch/nodes - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:06:58]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:58]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:59]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:07:00]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:00]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:00]                 │ debg Find.waitForDeletedByCssSelector('.euiBasicTable-loading') with timeout=5000
[00:07:00]                 │ debg TestSubjects.exists(elasticsearchNodesTableContainer > monitoringTableNoData)
[00:07:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableNoData"]') with timeout=2500
[00:07:03]                 │ debg --- retry.tryForTime error: [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="monitoringTableNoData"] is not displayed
[00:07:03]                 │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch nodes listing mb with only online nodes should filter for non-existent index.png"
[00:07:04]                 │ info Current URL is: http://localhost:61191/app/monitoring#/elasticsearch/nodes?_g=(cluster_uuid:YCxj-RAgSZCP6GuOQ8M1EQ,refreshInterval:(pause:!t,value:10000),time:(from:%272017-10-05T20:31:48.354Z%27,to:%272017-10-05T20:35:12.176Z%27))
[00:07:04]                 │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Elasticsearch nodes listing mb with only online nodes should filter for non-existent index.html
[00:07:04]                 └- ✖ fail: Monitoring app Elasticsearch nodes listing mb with only online nodes should filter for non-existent index
[00:07:04]                 │      Error: Expected to find the no data message
[00:07:04]                 │       at MonitoringPageObject.assertTableNoData (test/functional/page_objects/monitoring_page.ts:29:13)
[00:07:04]                 │       at Context.<anonymous> (test/functional/apps/monitoring/elasticsearch/nodes_mb.js:299:9)
[00:07:04]                 │       at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:07:04]                 │ 
[00:07:04]                 │ 

Stack Trace

Error: Expected to find the no data message
    at MonitoringPageObject.assertTableNoData (test/functional/page_objects/monitoring_page.ts:29:13)
    at Context.<anonymous> (test/functional/apps/monitoring/elasticsearch/nodes_mb.js:299:9)
    at Object.apply (/dev/shm/workspace/parallel/19/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Page load bundle

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

id before after diff
telemetryManagementSection 23.0KB 23.0KB +13.0B

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

@timroes timroes removed the v7.15.0 label Jun 30, 2021
@timroes timroes merged commit 1d02a0d into elastic:master Jun 30, 2021
@timroes timroes deleted the advanced-settings/fix-telemetry-style branch June 30, 2021 11:37
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 30, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

jloleysens added a commit to jloleysens/kibana that referenced this pull request Jun 30, 2021
…-policy-2

* 'master' of github.com:elastic/kibana:
  [Reporting] Reintroduce "ILM policy for managing reporting indices" (elastic#103850)
  [Security Solution][Endpoint] Allow activity log scrolling on small screens (elastic#103852)
  Allow zero (0) to unset unenroll_timeout field (elastic#103790)
  [TSVB] Metric count is depicted as `-` instead of 0 (elastic#103717)
  [Query] Es query/field base (elastic#103177)
  Remove add data button from nav (elastic#103810)
  Fix telemetry advanced setting style (elastic#103838)
  [Transform] Fix default naming and sorting fields suggestion for `top_metrics` agg (elastic#103690)
  [APM] use conventional error rate color for correlations (elastic#103500)

# Conflicts:
#	x-pack/plugins/reporting/server/lib/store/store.ts
kibanamachine added a commit that referenced this pull request Jun 30, 2021
Co-authored-by: Tim Roes <tim.roes@elastic.co>
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jun 30, 2021
…-png-pdf-report-type

* 'master' of github.com:elastic/kibana: (178 commits)
  [test] Migrating to kbn_archiver from es_archiver - for the Maps app (elastic#103028)
  [Reporting] Reintroduce "ILM policy for managing reporting indices" (elastic#103850)
  [Security Solution][Endpoint] Allow activity log scrolling on small screens (elastic#103852)
  Allow zero (0) to unset unenroll_timeout field (elastic#103790)
  [TSVB] Metric count is depicted as `-` instead of 0 (elastic#103717)
  [Query] Es query/field base (elastic#103177)
  Remove add data button from nav (elastic#103810)
  Fix telemetry advanced setting style (elastic#103838)
  [Transform] Fix default naming and sorting fields suggestion for `top_metrics` agg (elastic#103690)
  [APM] use conventional error rate color for correlations (elastic#103500)
  Endpoint Telemetry: Agents Metrics + Policy Config / Response (elastic#102171)
  [Alerting] Fixed search results are not updated when search term is removed on Rules and Connectors page (elastic#103663)
  fix too many rernders (elastic#103672)
  [APM] Add “Analyze Data” button (elastic#103485)
  [Lens] Fix value popover spacing (elastic#103081)
  [TSVB] Fix TSVB is not reporting all categories of Elasticsearch error (elastic#102926)
  [SECURITY] Adds security links to doc link service (elastic#102676)
  Update dependency @elastic/charts to v31 (elastic#102078)
  [Security Solution][CTI] Investigation time enrichment UI (elastic#103383)
  Adds ECS guide to doc links service (elastic#102246)
  ...

# Conflicts:
#	x-pack/plugins/reporting/public/share_context_menu/register_pdf_png_reporting.tsx
@spalger spalger added the v7.15.0 label Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.14.0 v7.15.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants