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

[7.x] [Security Solution] [Detections] Remove file validation on import route (#77770) #77821

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

dhurley14
Copy link
Contributor

Backports the following commits to 7.x:

…te (elastic#77770)

* utlize schema.any() for validation on file in body of import rules request, adds new functional tests and unit tests to make sure we can reach and don't go past bounds. These tests would have helped uncover performance issues io-ts gave us with validating the import rules file object

* fix type check failure

* updates getSimpleRule and getSimpleRuleAsNdjson to accept an enabled param defaulted to false

* updates comments in e2e tests for import rules route

* fix tests after adding enabled boolean in test utils
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/elasticsearch/node_detail·js.Monitoring app Elasticsearch node detail Advanced Active Nodes should show node summary of data node with 4 indices and 4 shards

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:04:56]         └-: Monitoring app
[00:04:56]           └-> "before all" hook
[00:12:23]           └-: Elasticsearch node detail
[00:12:23]             └-> "before all" hook
[00:13:27]             └-: Advanced
[00:13:27]               └-> "before all" hook
[00:13:27]               └-: Active Nodes
[00:13:27]                 └-> "before all" hook
[00:13:27]                 └-> "before all" hook
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "mappings.json"
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Loading "data.json.gz"
[00:13:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600374616393003202] [.monitoring-kibana-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-kibana-6-2017.10.05"
[00:13:27]                   │ 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:13:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600374616393003202] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[1]
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-alerts-6"
[00:13:27]                   │ 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:13:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600374616393003202] [.monitoring-logstash-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-logstash-6-2017.10.05"
[00:13:27]                   │ 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:13:27]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600374616393003202] [.monitoring-es-6-2017.10.05] creating index, cause [api], templates [], shards [1]/[1]
[00:13:27]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Created index ".monitoring-es-6-2017.10.05"
[00:13:27]                   │ 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:13:28]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 21 docs into ".monitoring-kibana-6-2017.10.05"
[00:13:28]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1 docs into ".monitoring-alerts-6"
[00:13:28]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 3 docs into ".monitoring-logstash-6-2017.10.05"
[00:13:28]                   │ info [monitoring/singlecluster-three-nodes-shard-relocation] Indexed 1317 docs into ".monitoring-es-6-2017.10.05"
[00:13:28]                   │ debg replacing kibana config doc: {}
[00:13:28]                   │ debg creating user basic_monitoring_user
[00:13:28]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1600374616393003202] added user [basic_monitoring_user]
[00:13:28]                   │ debg created user basic_monitoring_user
[00:13:28]                   │ debg SecurityPage.forceLogout
[00:13:28]                   │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:13:28]                   │ debg Already on the login page, not forcing anything
[00:13:28]                   │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:13:28]                   │ debg TestSubjects.click(loginUsername)
[00:13:28]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:13:28]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:13:28]                   │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:13:28]                   │ debg TestSubjects.click(loginPassword)
[00:13:28]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:13:28]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:13:29]                   │ debg TestSubjects.click(loginSubmit)
[00:13:29]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:13:29]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:13:29]                   │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:13:29]                   │ proc [kibana]   log   [21:13:09.832] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:13:29]                   │ debg browser[INFO] http://localhost:6181/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:13:29]                   │
[00:13:29]                   │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:29]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:31]                   │ debg navigating to monitoring url: http://localhost:6181/app/monitoring
[00:13:31]                   │ debg navigate to: http://localhost:6181/app/monitoring
[00:13:31]                   │ debg browser[INFO] http://localhost:6181/app/monitoring?_t=1600377192133 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:13:31]                   │
[00:13:31]                   │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:31]                   │ debg ... sleep(700) start
[00:13:32]                   │ debg ... sleep(700) end
[00:13:32]                   │ debg returned from get, calling refresh
[00:13:32]                   │ debg browser[INFO] http://localhost:6181/app/monitoring?_t=1600377192133 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:13:32]                   │
[00:13:32]                   │ debg browser[INFO] http://localhost:6181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:33]                   │ debg currentUrl = http://localhost:6181/app/monitoring
[00:13:33]                   │          appUrl = http://localhost:6181/app/monitoring
[00:13:33]                   │ debg TestSubjects.find(kibanaChrome)
[00:13:33]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:34]                   │ debg ... sleep(501) start
[00:13:34]                   │ERROR browser[SEVERE] http://localhost:6181/api/monitoring/v1/elasticsearch_settings/check/cluster - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:13:34]                   │ERROR browser[SEVERE] http://localhost:6181/api/monitoring/v1/elasticsearch_settings/check/nodes - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:13:34]                   │ debg ... sleep(501) end
[00:13:34]                   │ debg in navigateTo url = http://localhost:6181/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))
[00:13:34]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:35]                   │ debg ... sleep(501) start
[00:13:35]                   │ debg ... sleep(501) end
[00:13:35]                   │ debg in navigateTo url = http://localhost:6181/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))
[00:13:35]                   │ debg TestSubjects.exists(statusPageContainer)
[00:13:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:38]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:38]                   │ debg pauseAutoRefresh
[00:13:38]                   │ debg openQuickSelectTimeMenu
[00:13:38]                   │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:13:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:13:41]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:13:41]                   │ debg opening quick select menu
[00:13:41]                   │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:13:41]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:13:41]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:13:42]                   │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:13:42]                   │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:13:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:13:42]                   │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:13:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:13:42]                   │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:13:42]                   │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:13:42]                   │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:13:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:13:42]                   │ debg pause auto refresh
[00:13:42]                   │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:13:42]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:13:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:13:42]                   │ debg closeQuickSelectTimeMenu
[00:13:42]                   │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:13:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:13:42]                   │ debg closing quick select menu
[00:13:42]                   │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:13:42]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:13:42]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:13:42]                   │ debg closeQuickSelectTimeMenu
[00:13:42]                   │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:13:42]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:13:42]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:13:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:13:46]                   │ debg Setting absolute range to Oct 5, 2017 @ 20:31:48.354 to Oct 5, 2017 @ 20:35:12.176
[00:13:46]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:46]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:46]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:46]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:13:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:13:46]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:46]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:46]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:46]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:35:12.176)
[00:13:46]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:46]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:46]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:46]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:47]                   │ debg Find.waitForElementStale with timeout=10000
[00:13:47]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:47]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:47]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:47]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:47]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:47]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:47]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:47]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Oct 5, 2017 @ 20:31:48.354)
[00:13:47]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:47]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:47]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:47]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:13:47]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:13:50]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:13:50]                   │ debg TestSubjects.click(querySubmitButton)
[00:13:50]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:50]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:50]                   │ debg Find.waitForElementStale with timeout=10000
[00:13:51]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:51]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:51]                   │ debg TestSubjects.click(clusterItemContainerElasticsearch > esNumberOfNodes)
[00:13:51]                   │ debg Find.clickByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:13:51]                   │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esNumberOfNodes"]') with timeout=10000
[00:13:51]                   │ debg TestSubjects.find(elasticsearchNodesListingPage)
[00:13:51]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesListingPage"]') with timeout=10000
[00:13:51]                 └-> should show node summary of master node with 20 indices and 38 shards
[00:13:51]                   └-> "before each" hook: global before each
[00:13:51]                   │ debg TestSubjects.click(elasticsearchNodesTableContainer > nodeLink-jUT5KdxfRbORSCWkb5zjmA)
[00:13:51]                   │ debg Find.clickByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-jUT5KdxfRbORSCWkb5zjmA"]') with timeout=10000
[00:13:51]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-jUT5KdxfRbORSCWkb5zjmA"]') with timeout=10000
[00:13:52]                   │ debg TestSubjects.click(esNodeDetailAdvancedLink)
[00:13:52]                   │ debg Find.clickByCssSelector('[data-test-subj="esNodeDetailAdvancedLink"]') with timeout=10000
[00:13:52]                   │ debg Find.findByCssSelector('[data-test-subj="esNodeDetailAdvancedLink"]') with timeout=10000
[00:13:52]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > transportAddress)
[00:13:52]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > transportAddress)
[00:13:52]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="transportAddress"]') with timeout=10000
[00:13:52]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > jvmHeap)
[00:13:52]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > jvmHeap)
[00:13:52]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="jvmHeap"]') with timeout=10000
[00:13:52]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > freeDiskSpace)
[00:13:52]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > freeDiskSpace)
[00:13:52]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="freeDiskSpace"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > documentCount)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > documentCount)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="documentCount"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > dataSize)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > dataSize)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="dataSize"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > indicesCount)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > indicesCount)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="indicesCount"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > shardsCount)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > shardsCount)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="shardsCount"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getVisibleText(elasticsearchNodeDetailStatus > nodeType)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > nodeType)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="nodeType"]') with timeout=10000
[00:13:53]                   │ debg TestSubjects.getAttribute(elasticsearchNodeDetailStatus > statusIcon, alt)
[00:13:53]                   │ debg TestSubjects.find(elasticsearchNodeDetailStatus > statusIcon)
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodeDetailStatus"] [data-test-subj="statusIcon"]') with timeout=10000
[00:13:53]                   └- ✓ pass  (1.2s) "Monitoring app Elasticsearch node detail Advanced Active Nodes should show node summary of master node with 20 indices and 38 shards"
[00:13:53]                 └-> "after each" hook
[00:13:53]                   │ debg TestSubjects.click(~breadcrumbEsNodes)
[00:13:53]                   │ debg Find.clickByCssSelector('[data-test-subj~="breadcrumbEsNodes"]') with timeout=10000
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj~="breadcrumbEsNodes"]') with timeout=10000
[00:13:53]                 └-> should show node summary of data node with 4 indices and 4 shards
[00:13:53]                   └-> "before each" hook: global before each
[00:13:53]                   │ debg TestSubjects.click(elasticsearchNodesTableContainer > nodeLink-bwQWH-7IQY-mFPpfoaoFXQ)
[00:13:53]                   │ debg Find.clickByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:13:53]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:03]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:03]                   │      Wait timed out after 10017ms
[00:14:03]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:13]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:13]                   │      Wait timed out after 10036ms
[00:14:14]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:24]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:24]                   │      Wait timed out after 10022ms
[00:14:24]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:35]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:35]                   │      Wait timed out after 10055ms
[00:14:35]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:45]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:45]                   │      Wait timed out after 10029ms
[00:14:46]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:14:56]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:14:56]                   │      Wait timed out after 10014ms
[00:14:56]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:06]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:06]                   │      Wait timed out after 10041ms
[00:15:07]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:17]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:17]                   │      Wait timed out after 10042ms
[00:15:17]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:27]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:27]                   │      Wait timed out after 10049ms
[00:15:28]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:38]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:38]                   │      Wait timed out after 10059ms
[00:15:38]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:48]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:48]                   │      Wait timed out after 10048ms
[00:15:49]                   │ debg Find.findByCssSelector('[data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"]') with timeout=10000
[00:15:59]                   │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:15:59]                   │      Wait timed out after 10054ms
[00:15:59]                   │ info Taking screenshot "/dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Elasticsearch node detail Advanced Active Nodes should show node summary of data node with 4 indices and 4 shards.png"
[00:16:00]                   │ info Current URL is: http://localhost:6181/app/monitoring#/elasticsearch/nodes/jUT5KdxfRbORSCWkb5zjmA/advanced?_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:16:00]                   │ info Saving page source to: /dev/shm/workspace/parallel/8/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Elasticsearch node detail Advanced Active Nodes should show node summary of data node with 4 indices and 4 shards.html
[00:16:00]                   └- ✖ fail: Monitoring app Elasticsearch node detail Advanced Active Nodes should show node summary of data node with 4 indices and 4 shards
[00:16:00]                   │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="elasticsearchNodesTableContainer"] [data-test-subj="nodeLink-bwQWH-7IQY-mFPpfoaoFXQ"])
[00:16:00]                   │ Wait timed out after 10054ms
[00:16:00]                   │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:16:00]                   │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:16:00]                   │       at onFailure (/dev/shm/workspace/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:16:00]                   │       at retryForSuccess (/dev/shm/workspace/parallel/8/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:16:00]                   │ 
[00:16:00]                   │ 

Stack Trace

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

Build metrics

‼️ ERROR: unable to find build with id [c8c801f4-c80d-4f61-8a95-172c97dee726]

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

@dhurley14 dhurley14 merged commit d7c65f9 into elastic:7.x Sep 17, 2020
@dhurley14 dhurley14 deleted the backport/7.x/pr-77770 branch September 17, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants