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

[Security Solution][Detections] Skip jest tests that timeout waiting for react #71801

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

rylnd
Copy link
Contributor

@rylnd rylnd commented Jul 15, 2020

These have not yet failed on master so there's no issue to link to, but they inevitably will as I've seen a few PRs go red. This Preemptively unblocking people by skipping them for now.

Checklist

For maintainers

@rylnd rylnd requested review from a team as code owners July 15, 2020 01:33
@rylnd rylnd self-assigned this Jul 15, 2020
@rylnd rylnd added release_note:skip Skip the PR/issue when compiling release notes Team:SIEM v7.9.0 v8.0.0 labels Jul 15, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@tylersmalley tylersmalley merged commit 73f5dec into elastic:master Jul 15, 2020
@rylnd rylnd deleted the skip_failing_modal_tests branch July 15, 2020 02:20
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/cluster/overview·js.Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:02:46]         └-: Monitoring app
[00:02:46]           └-> "before all" hook
[00:06:25]           └-: Cluster overview
[00:06:25]             └-> "before all" hook
[00:06:25]             └-: for Green cluster with Gold license
[00:06:25]               └-> "before all" hook
[00:06:25]               └-> "before all" hook
[00:06:25]                 │ info [monitoring/singlecluster-green-gold] Loading "mappings.json"
[00:06:25]                 │ info [monitoring/singlecluster-green-gold] Loading "data.json.gz"
[00:06:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-kibana-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:25]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-kibana-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-kibana-6-2017.08.23][0]]"
[00:06:25]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-kibana-6-2017.08.23"
[00:06:25]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-kibana-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[0]
[00:06:25]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-alerts-6][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-alerts-6][0]]"
[00:06:25]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-alerts-6"
[00:06:25]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-alerts-6" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:25]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-logstash-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:25]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-logstash-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-logstash-6-2017.08.23][0]]"
[00:06:26]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-logstash-6-2017.08.23"
[00:06:26]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-logstash-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:26]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-es-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:26]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-es-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-es-6-2017.08.23][0]]"
[00:06:26]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-es-6-2017.08.23"
[00:06:26]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-es-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:27]                 │ info [monitoring/singlecluster-green-gold] Indexed 108 docs into ".monitoring-kibana-6-2017.08.23"
[00:06:27]                 │ info [monitoring/singlecluster-green-gold] Indexed 1 docs into ".monitoring-alerts-6"
[00:06:27]                 │ info [monitoring/singlecluster-green-gold] Indexed 83 docs into ".monitoring-logstash-6-2017.08.23"
[00:06:27]                 │ info [monitoring/singlecluster-green-gold] Indexed 3217 docs into ".monitoring-es-6-2017.08.23"
[00:06:27]                 │ debg replacing kibana config doc: {}
[00:06:28]                 │ debg creating user basic_monitoring_user
[00:06:28]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] added user [basic_monitoring_user]
[00:06:28]                 │ debg created user basic_monitoring_user
[00:06:28]                 │ debg SecurityPage.forceLogout
[00:06:28]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:28]                 │ debg Already on the login page, not forcing anything
[00:06:28]                 │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:06:28]                 │ debg TestSubjects.click(loginUsername)
[00:06:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:28]                 │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:06:28]                 │ debg TestSubjects.click(loginPassword)
[00:06:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:28]                 │ debg TestSubjects.click(loginSubmit)
[00:06:28]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:28]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:29]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:06:30]                 │ debg browser[INFO] http://localhost:6121/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:06:30]                 │
[00:06:30]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:30]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:31]                 │ debg navigating to monitoring url: http://localhost:6121/app/monitoring
[00:06:31]                 │ debg navigate to: http://localhost:6121/app/monitoring
[00:06:31]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-15T02:25:01Z
[00:06:31]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:31]                 │
[00:06:31]                 │      "
[00:06:31]                 │ debg browser[INFO] http://localhost:6121/app/monitoring?_t=1594779902583 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:06:31]                 │
[00:06:31]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:31]                 │ debg ... sleep(700) start
[00:06:32]                 │ debg ... sleep(700) end
[00:06:32]                 │ debg returned from get, calling refresh
[00:06:33]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-15T02:25:04Z
[00:06:33]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:33]                 │
[00:06:33]                 │      "
[00:06:33]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:06:33]                 │ debg browser[INFO] http://localhost:6121/app/monitoring?_t=1594779902583 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:06:33]                 │
[00:06:33]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:33]                 │ debg currentUrl = http://localhost:6121/app/monitoring
[00:06:33]                 │          appUrl = http://localhost:6121/app/monitoring
[00:06:33]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:33]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:35]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-15T02:25:05Z
[00:06:35]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:35]                 │
[00:06:35]                 │      "
[00:06:35]                 │ debg ... sleep(501) start
[00:06:35]                 │ debg browser[WARNING] http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js 0:432516 "\"#noDataReact\" element has not been added to the DOM yet"
[00:06:35]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/elasticsearch_settings/check/cluster - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:35]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/elasticsearch_settings/check/nodes - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:36]                 │ debg ... sleep(501) end
[00:06:36]                 │ debg in navigateTo url = http://localhost:6121/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))
[00:06:36]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:06:36]                 │ debg ... sleep(501) start
[00:06:37]                 │ debg ... sleep(501) end
[00:06:37]                 │ debg in navigateTo url = http://localhost:6121/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))
[00:06:37]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:39]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:40]                 │ debg TestSubjects.find(noDataContainer)
[00:06:40]                 │ debg Find.findByCssSelector('[data-test-subj="noDataContainer"]') with timeout=10000
[00:06:40]                 │ debg pauseAutoRefresh
[00:06:40]                 │ debg openQuickSelectTimeMenu
[00:06:40]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:42]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:06:43]                 │ debg opening quick select menu
[00:06:43]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:43]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:06:43]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:06:43]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:06:43]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:06:43]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:06:43]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:43]                 │ debg pause auto refresh
[00:06:43]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:06:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:43]                 │ debg closeQuickSelectTimeMenu
[00:06:43]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:43]                 │ debg closing quick select menu
[00:06:43]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:43]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:43]                 │ debg closeQuickSelectTimeMenu
[00:06:43]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:43]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:43]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:06:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:47]                 │ debg Setting absolute range to Aug 23, 2017 @ 21:29:35.267 to Aug 23, 2017 @ 21:47:25.556
[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:47]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:47]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:47]                 │ 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, Aug 23, 2017 @ 21:47:25.556)
[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 ... sleep(500) start
[00:06:49]                 │ debg ... sleep(500) end
[00:06:49]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:06:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:49]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:06:49]                 │ debg Find.waitForElementStale with timeout=10000
[00:06:49]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:49]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:49]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:49]                 │ 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, Aug 23, 2017 @ 21:29:35.267)
[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:50]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:06:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:06:52]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:06:53]                 │ debg TestSubjects.click(querySubmitButton)
[00:06:53]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:53]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:06:53]                 │ debg Find.waitForElementStale with timeout=10000
[00:06:53]                 │ proc [kibana]   log   [02:25:24.831] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:53]                 │ proc [kibana]   log   [02:25:24.842] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:53]                 │ proc [kibana]   log   [02:25:24.855] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:53]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:53]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:53]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:53]                 │ proc [kibana]   log   [02:25:25.130] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:54]                 │ proc [kibana]   log   [02:25:25.402] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:54]                 │ proc [kibana]   log   [02:25:25.405] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:54]                 │ proc [kibana]   log   [02:25:25.630] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:54]                 │ proc [kibana]   log   [02:25:25.838] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alert/y1qOsQPiRrGtmdEuM3APJw/status": responding with 404
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:54]               └-> elasticsearch panel has no ML line, because license is Gold
[00:06:54]                 └-> "before each" hook: global before each
[00:06:54]                 │ debg TestSubjects.exists(clusterItemContainerElasticsearch > esMlJobs)
[00:06:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esMlJobs"]') with timeout=2500
[00:06:54]                 │ proc [kibana]   log   [02:25:25.865] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alert/y1qOsQPiRrGtmdEuM3APJw/status - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined
[00:06:57]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:06:57]                 │          at Array.find (<anonymous>)
[00:06:57]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:06:57]                 │          at ElasticsearchPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:500103)
[00:06:57]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:06:57]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:06:57]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:06:57]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:06:57]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:06:57]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_kibana_version_mismatch' of undefined
[00:06:57]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:06:57]                 │          at Array.find (<anonymous>)
[00:06:57]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:06:57]                 │          at KibanaPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:515355)
[00:06:57]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:06:57]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:06:57]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:06:57]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:06:57]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:06:57]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_logstash_version_mismatch' of undefined
[00:06:57]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:06:57]                 │          at Array.find (<anonymous>)
[00:06:57]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:06:57]                 │          at LogstashPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:523091)
[00:06:57]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:06:57]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:06:57]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:06:57]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:06:57]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:06:57]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:06:57]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/core/core.entry.js 83:262850 "Detected an unhandled Promise rejection.
[00:06:57]                 │      TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined"
[00:06:57]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js 0:493559 Uncaught TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined
[00:06:57]                 │ debg --- retry.tryForTime error: [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esMlJobs"] is not displayed
[00:06:57]                 └- ✓ pass  (3.0s) "Monitoring app Cluster overview for Green cluster with Gold license elasticsearch panel has no ML line, because license is Gold"
[00:06:57]               └-> shows elasticsearch panel with data
[00:06:57]                 └-> "before each" hook: global before each
[00:06:57]                 │ debg TestSubjects.getVisibleText(clusterItemContainerElasticsearch > statusIcon)
[00:06:57]                 │ debg TestSubjects.find(clusterItemContainerElasticsearch > statusIcon)
[00:06:57]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"]') with timeout=10000
[00:07:07]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data.png"
[00:07:07]                 │ info Current URL is: http://localhost:6121/app/monitoring#/overview?_g=(cluster_uuid:y1qOsQPiRrGtmdEuM3APJw,refreshInterval:(pause:!t,value:10000),time:(from:%272017-08-23T21:29:35.267Z%27,to:%272017-08-23T21:47:25.556Z%27))
[00:07:07]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data.html
[00:07:07]                 └- ✖ fail: Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data
[00:07:07]                 │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"])
[00:07:07]                 │ Wait timed out after 10025ms
[00:07:07]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:07:07]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:07:07]                 │ 
[00:07:07]                 │ 

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"])
Wait timed out after 10025ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/monitoring/cluster/overview·js.Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:02:58]         └-: Monitoring app
[00:02:58]           └-> "before all" hook
[00:06:39]           └-: Cluster overview
[00:06:39]             └-> "before all" hook
[00:06:39]             └-: for Green cluster with Gold license
[00:06:39]               └-> "before all" hook
[00:06:39]               └-> "before all" hook
[00:06:39]                 │ info [monitoring/singlecluster-green-gold] Loading "mappings.json"
[00:06:39]                 │ info [monitoring/singlecluster-green-gold] Loading "data.json.gz"
[00:06:39]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-kibana-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-kibana-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-kibana-6-2017.08.23][0]]"
[00:06:40]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-kibana-6-2017.08.23"
[00:06:40]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-kibana-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-alerts-6] creating index, cause [api], templates [], shards [1]/[0]
[00:06:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-alerts-6][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-alerts-6][0]]"
[00:06:40]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-alerts-6"
[00:06:40]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-alerts-6" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-logstash-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-logstash-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-logstash-6-2017.08.23][0]]"
[00:06:40]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-logstash-6-2017.08.23"
[00:06:40]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-logstash-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:40]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] [.monitoring-es-6-2017.08.23] creating index, cause [api], templates [], shards [1]/[0]
[00:06:40]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.monitoring-es-6-2017.08.23][0]]])." previous.health="YELLOW" reason="shards started [[.monitoring-es-6-2017.08.23][0]]"
[00:06:40]                 │ info [monitoring/singlecluster-green-gold] Created index ".monitoring-es-6-2017.08.23"
[00:06:40]                 │ debg [monitoring/singlecluster-green-gold] ".monitoring-es-6-2017.08.23" settings {"index":{"auto_expand_replicas":"0-1","codec":"best_compression","format":"6","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:41]                 │ info [monitoring/singlecluster-green-gold] Indexed 108 docs into ".monitoring-kibana-6-2017.08.23"
[00:06:41]                 │ info [monitoring/singlecluster-green-gold] Indexed 1 docs into ".monitoring-alerts-6"
[00:06:41]                 │ info [monitoring/singlecluster-green-gold] Indexed 83 docs into ".monitoring-logstash-6-2017.08.23"
[00:06:41]                 │ info [monitoring/singlecluster-green-gold] Indexed 3217 docs into ".monitoring-es-6-2017.08.23"
[00:06:41]                 │ debg replacing kibana config doc: {}
[00:06:42]                 │ debg creating user basic_monitoring_user
[00:06:42]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1594776825870846205] added user [basic_monitoring_user]
[00:06:42]                 │ debg created user basic_monitoring_user
[00:06:42]                 │ debg SecurityPage.forceLogout
[00:06:42]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:42]                 │ debg Already on the login page, not forcing anything
[00:06:42]                 │ debg TestSubjects.setValue(loginUsername, basic_monitoring_user)
[00:06:42]                 │ debg TestSubjects.click(loginUsername)
[00:06:42]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:42]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:43]                 │ debg TestSubjects.setValue(loginPassword, monitoring_user_password)
[00:06:43]                 │ debg TestSubjects.click(loginPassword)
[00:06:43]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:43]                 │ debg TestSubjects.click(loginSubmit)
[00:06:43]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:43]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:43]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:06:44]                 │ debg browser[INFO] http://localhost:6121/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:06:44]                 │
[00:06:44]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:44]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:45]                 │ debg navigating to monitoring url: http://localhost:6121/app/monitoring
[00:06:45]                 │ debg navigate to: http://localhost:6121/app/monitoring
[00:06:45]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-15T02:15:14Z
[00:06:45]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:45]                 │
[00:06:45]                 │      "
[00:06:46]                 │ debg browser[INFO] http://localhost:6121/app/monitoring?_t=1594779315631 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:06:46]                 │
[00:06:46]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:46]                 │ debg ... sleep(700) start
[00:06:46]                 │ debg ... sleep(700) end
[00:06:46]                 │ debg returned from get, calling refresh
[00:06:47]                 │ debg browser[INFO] http://localhost:6121/app/monitoring?_t=1594779315631 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:06:47]                 │
[00:06:47]                 │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:48]                 │ debg currentUrl = http://localhost:6121/app/monitoring
[00:06:48]                 │          appUrl = http://localhost:6121/app/monitoring
[00:06:48]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:48]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:48]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-15T02:15:17Z
[00:06:48]                 │        Adding connection to http://localhost:6121/elasticsearch
[00:06:48]                 │
[00:06:48]                 │      "
[00:06:48]                 │ debg ... sleep(501) start
[00:06:48]                 │ debg browser[WARNING] http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js 0:432516 "\"#noDataReact\" element has not been added to the DOM yet"
[00:06:49]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/elasticsearch_settings/check/cluster - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:49]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/elasticsearch_settings/check/nodes - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:06:49]                 │ debg ... sleep(501) end
[00:06:49]                 │ debg in navigateTo url = http://localhost:6121/app/monitoring#/no-data?_g=(filters:!(),refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))
[00:06:49]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:49]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:51]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:52]                 │ debg TestSubjects.find(noDataContainer)
[00:06:52]                 │ debg Find.findByCssSelector('[data-test-subj="noDataContainer"]') with timeout=10000
[00:06:52]                 │ debg pauseAutoRefresh
[00:06:52]                 │ debg openQuickSelectTimeMenu
[00:06:52]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:55]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:06:55]                 │ debg opening quick select menu
[00:06:55]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:55]                 │ debg TestSubjects.getAttribute(superDatePickerRefreshIntervalInput, value)
[00:06:55]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalInput)
[00:06:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalInput"]') with timeout=10000
[00:06:55]                 │ debg TestSubjects.find(superDatePickerRefreshIntervalUnitsSelect)
[00:06:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerRefreshIntervalUnitsSelect"]') with timeout=10000
[00:06:55]                 │ debg Find.allDescendantDisplayedByCssSelector('option')
[00:06:55]                 │ debg TestSubjects.getVisibleText(superDatePickerToggleRefreshButton)
[00:06:55]                 │ debg TestSubjects.find(superDatePickerToggleRefreshButton)
[00:06:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:55]                 │ debg pause auto refresh
[00:06:55]                 │ debg TestSubjects.click(superDatePickerToggleRefreshButton)
[00:06:55]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:55]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleRefreshButton"]') with timeout=10000
[00:06:56]                 │ debg closeQuickSelectTimeMenu
[00:06:56]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:56]                 │ debg closing quick select menu
[00:06:56]                 │ debg TestSubjects.click(superDatePickerToggleQuickMenuButton)
[00:06:56]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:56]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=10000
[00:06:56]                 │ debg closeQuickSelectTimeMenu
[00:06:56]                 │ debg TestSubjects.exists(superDatePickerQuickMenu)
[00:06:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerQuickMenu"]') with timeout=2500
[00:06:56]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerQuickMenu"] is not displayed
[00:06:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:59]                 │ debg Setting absolute range to Aug 23, 2017 @ 21:29:35.267 to Aug 23, 2017 @ 21:47:25.556
[00:06:59]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:06:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:06:59]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:06:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:06:59]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:06:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:06:59]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:06:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:06:59]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:06:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:06:59]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:06:59]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:06:59]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:06:59]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:07:00]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:07:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:00]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Aug 23, 2017 @ 21:47:25.556)
[00:07:00]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:07:00]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:00]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:00]                 │ debg ... sleep(500) start
[00:07:01]                 │ debg ... sleep(500) end
[00:07:01]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:07:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:07:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:07:01]                 │ debg Find.waitForElementStale with timeout=10000
[00:07:01]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:07:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:07:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:07:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:07:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:07:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:01]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Aug 23, 2017 @ 21:29:35.267)
[00:07:01]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:07:01]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:01]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:07:02]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:07:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:07:04]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:07:05]                 │ debg TestSubjects.click(querySubmitButton)
[00:07:05]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:07:05]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:07:05]                 │ debg Find.waitForElementStale with timeout=10000
[00:07:05]                 │ proc [kibana]   log   [02:15:35.238] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:05]                 │ proc [kibana]   log   [02:15:35.241] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:05]                 │ proc [kibana]   log   [02:15:35.244] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:05]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:05]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:05]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:05]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:07:05]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:07:05]                 │ proc [kibana]   log   [02:15:35.484] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:05]                 │ proc [kibana]   log   [02:15:35.663] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:05]                 │ proc [kibana]   log   [02:15:35.693] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:06]                 │ proc [kibana]   log   [02:15:35.844] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:06]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:06]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:06]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:06]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:06]               └-> elasticsearch panel has no ML line, because license is Gold
[00:07:06]                 └-> "before each" hook: global before each
[00:07:06]                   │ proc [kibana]   log   [02:15:36.029] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alert/y1qOsQPiRrGtmdEuM3APJw/status": responding with 404
[00:07:06]                 │ debg TestSubjects.exists(clusterItemContainerElasticsearch > esMlJobs)
[00:07:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esMlJobs"]') with timeout=2500
[00:07:06]                 │ proc [kibana]   log   [02:15:36.054] [warning][api-authorization][plugins][security] User not authorized for "/api/monitoring/v1/alerts/enable": responding with 404
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alert/y1qOsQPiRrGtmdEuM3APJw/status - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/api/monitoring/v1/alerts/enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined
[00:07:08]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:07:08]                 │          at Array.find (<anonymous>)
[00:07:08]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:07:08]                 │          at ElasticsearchPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:500103)
[00:07:08]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:07:08]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:07:08]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:07:08]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:07:08]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:07:08]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_kibana_version_mismatch' of undefined
[00:07:08]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:07:08]                 │          at Array.find (<anonymous>)
[00:07:08]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:07:08]                 │          at KibanaPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:515355)
[00:07:08]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:07:08]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:07:08]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:07:08]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:07:08]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:07:08]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 421:77071 TypeError: Cannot read property 'monitoring_alert_logstash_version_mismatch' of undefined
[00:07:08]                 │          at http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493560
[00:07:08]                 │          at Array.find (<anonymous>)
[00:07:08]                 │          at shouldShowAlertBadge (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:493526)
[00:07:08]                 │          at LogstashPanel (http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js:1:523091)
[00:07:08]                 │          at ua (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:59332)
[00:07:08]                 │          at xs (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:104414)
[00:07:08]                 │          at ml (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:90018)
[00:07:08]                 │          at hl (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:89943)
[00:07:08]                 │          at ol (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:87291)
[00:07:08]                 │          at el (http://localhost:6121/34731/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:422:84059)
[00:07:08]                 │ debg browser[INFO] http://localhost:6121/34731/bundles/core/core.entry.js 83:262850 "Detected an unhandled Promise rejection.
[00:07:08]                 │      TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined"
[00:07:08]                 │ERROR browser[SEVERE] http://localhost:6121/34731/bundles/plugin/monitoring/monitoring.chunk.1.js 0:493559 Uncaught TypeError: Cannot read property 'monitoring_alert_cpu_usage' of undefined
[00:07:08]                 │ debg --- retry.tryForTime error: [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="esMlJobs"] is not displayed
[00:07:09]                 └- ✓ pass  (3.1s) "Monitoring app Cluster overview for Green cluster with Gold license elasticsearch panel has no ML line, because license is Gold"
[00:07:09]               └-> shows elasticsearch panel with data
[00:07:09]                 └-> "before each" hook: global before each
[00:07:09]                 │ debg TestSubjects.getVisibleText(clusterItemContainerElasticsearch > statusIcon)
[00:07:09]                 │ debg TestSubjects.find(clusterItemContainerElasticsearch > statusIcon)
[00:07:09]                 │ debg Find.findByCssSelector('[data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"]') with timeout=10000
[00:07:19]                 │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data.png"
[00:07:19]                 │ info Current URL is: http://localhost:6121/app/monitoring#/overview?_g=(cluster_uuid:y1qOsQPiRrGtmdEuM3APJw,refreshInterval:(pause:!t,value:10000),time:(from:%272017-08-23T21:29:35.267Z%27,to:%272017-08-23T21:47:25.556Z%27))
[00:07:19]                 │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data.html
[00:07:19]                 └- ✖ fail: Monitoring app Cluster overview for Green cluster with Gold license shows elasticsearch panel with data
[00:07:19]                 │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"])
[00:07:19]                 │ Wait timed out after 10037ms
[00:07:19]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:07:19]                 │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:07:19]                 │ 
[00:07:19]                 │ 

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="clusterItemContainerElasticsearch"] [data-test-subj="statusIcon"])
Wait timed out after 10037ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

Build metrics

miscellaneous assets size

id value diff baseline
upgradeAssistant 22.6KB -4.0B 22.6KB

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

gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 15, 2020
* master: (82 commits)
  Fixed the spacing of child accordion items for policy response dialog. (elastic#71677)
  [SECURITY] Timeline bug 7.9 (elastic#71748)
  use fixed isChromeVisible method (elastic#71813)
  [SIEM][Detection Engine][Lists] Adds specific endpoint_list REST API and API for abilities to auto-create the endpoint_list if it gets deleted (elastic#71792)
  [test] Skips flaky Saved Objects Management test
  [APM] Remove watcher integration (elastic#71655)
  [APM] Increase `xpack.apm.ui.transactionGroupBucketSize` (elastic#71661)
  [test] Skips Ingest Manager test preventing ES promotion
  [test] Skips flaky detection engine tests
  Revert "re-fix navigate path for master add SAML login to login_page (elastic#71337)"
  [tests] Temporarily skipped Fleet tests
  [test] Skipped monitoring test
  [Security Solution][Detections] Associate Endpoint Exceptions List to Rule during rule creation/update (elastic#71794)
  Add endpoint exception creation API validation (elastic#71791)
  Skip jest tests that timeout waiting for react (elastic#71801)
  [Security Solution][Exceptions] - Adds filtering to endpoint index patterns by exceptional fields (elastic#71757)
  [Reporting] Re-delete a file (elastic#71730)
  [Security Solution] [Detections] Fixes bug for determining when we hit max signals after filtering with lists (elastic#71768)
  [Ingest Manager] Better display of Fleet requirements (elastic#71686)
  [tests] Temporarily skipped to promote snapshot
  ...
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 71801 or prevent reminders by adding the backport:skip label.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 17, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 71801 or prevent reminders by adding the backport:skip label.

@rylnd
Copy link
Contributor Author

rylnd commented Jul 20, 2020

e12eadf was applied manually to 7.x and 7.9.

@rylnd rylnd added backport:skip This commit does not require backporting and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Jul 20, 2020
@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Sep 23, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants