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

[Ingest Manager] Support DEGRADED state in fleet agent event #73104

Merged
merged 2 commits into from
Jul 24, 2020

Conversation

nchaulet
Copy link
Member

Summary

Related to #72960

Currently the agent is sending a RUNNING subtype when we have a partial error, we should support the DEGRADED subtype

UI example

Screen Shot 2020-07-23 at 1 44 41 PM

cc @blakerouse

@nchaulet nchaulet added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v7.9.0 Team:Fleet Team label for Observability Data Collection Fleet team labels Jul 23, 2020
@nchaulet nchaulet requested a review from a team July 23, 2020 17:45
@nchaulet nchaulet self-assigned this Jul 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

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

I think for the next release it would be nice to revisit the color of the subtype badges, but for now this code LGTM.

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/uptime·ts.uptime settings page

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:53]         └-: uptime
[00:01:53]           └-> "before all" hook
[00:01:53]           └-> "before all" hook
[00:01:53]             │ info [uptime/blank] Loading "mappings.json"
[00:01:53]             │ info [uptime/blank] Loading "data.json"
[00:01:53]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1595531164812945185] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:01:53]             │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:01:53]             │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:01:54]           └-> overview page
[00:01:54]             └-> "before each" hook: global before each
[00:01:54]             └-> "before each" hook
[00:01:54]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:54]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:01:54]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:54]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:01:54]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeOverviewPage"] is not displayed
[00:01:55]               │ debg navigating to uptime url: http://localhost:61121/app/uptime
[00:01:55]               │ debg navigate to: http://localhost:61121/app/uptime
[00:01:55]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595533092891 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:01:55]               │
[00:01:55]               │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:55]               │ debg ... sleep(700) start
[00:01:56]               │ debg ... sleep(700) end
[00:01:56]               │ debg returned from get, calling refresh
[00:01:56]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595533092891 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:01:56]               │
[00:01:56]               │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:57]               │ debg currentUrl = http://localhost:61121/app/uptime
[00:01:57]               │          appUrl = http://localhost:61121/app/uptime
[00:01:57]               │ debg TestSubjects.find(kibanaChrome)
[00:01:57]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:57]               │ debg browser[INFO] http://localhost:61121/35050/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-23T19:38:14Z
[00:01:57]               │        Adding connection to http://localhost:61121/elasticsearch
[00:01:57]               │
[00:01:57]               │      "
[00:01:57]               │ debg ... sleep(501) start
[00:01:58]               │ debg ... sleep(501) end
[00:01:58]               │ debg in navigateTo url = http://localhost:61121/app/uptime
[00:01:58]               │ debg TestSubjects.exists(statusPageContainer)
[00:01:58]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:58]               │ERROR browser[SEVERE] http://localhost:61121/35050/bundles/plugin/uptime/uptime.plugin.js 0:18092 "API /api/uptime/monitor/list is not returning expected response, Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.not_before\" for response" Object
[00:02:01]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:01]               │ debg isGlobalLoadingIndicatorVisible
[00:02:01]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:01]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:03]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:03]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:03]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:03]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:02:04]             └- ✓ pass  (596ms) "uptime overview page"
[00:02:04]           └-> overview page with expanded monitor detail
[00:02:04]             └-> "before each" hook: global before each
[00:02:04]             └-> "before each" hook
[00:02:04]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:04]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:04]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:04]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:04]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:04]             │ debg TestSubjects.click(xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail)
[00:02:04]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail"]') with timeout=10000
[00:02:04]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail"]') with timeout=10000
[00:02:04]             │ debg TestSubjects.click(xpack.uptime.monitorList.actionsPopover.a11yTestMonitor)
[00:02:04]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.monitorList.actionsPopover.a11yTestMonitor"]') with timeout=10000
[00:02:04]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.monitorList.actionsPopover.a11yTestMonitor"]') with timeout=10000
[00:02:05]             └- ✓ pass  (538ms) "uptime overview page with expanded monitor detail"
[00:02:05]           └-> overview alert popover controls
[00:02:05]             └-> "before each" hook: global before each
[00:02:05]             └-> "before each" hook
[00:02:05]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:05]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:05]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:05]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:05]             │ debg TestSubjects.click(xpack.uptime.alertsPopover.toggleButton)
[00:02:05]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.alertsPopover.toggleButton"]') with timeout=10000
[00:02:05]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.alertsPopover.toggleButton"]') with timeout=10000
[00:02:06]             │ debg TestSubjects.exists(xpack.uptime.openAlertContextPanel)
[00:02:06]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=2500
[00:02:06]             │ debg TestSubjects.click(xpack.uptime.openAlertContextPanel)
[00:02:06]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=10000
[00:02:06]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=10000
[00:02:06]             │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:02:06]             │        (Session info: headless chrome=84.0.4147.89)
[00:02:06]             └- ✓ pass  (842ms) "uptime overview alert popover controls"
[00:02:06]           └-> detail page
[00:02:06]             └-> "before each" hook: global before each
[00:02:06]             └-> "before each" hook
[00:02:06]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:06]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:06]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:09]               │ debg --- retry.tryForTime error: [data-test-subj="xpack.uptime.openAlertContextPanel"] is not displayed
[00:02:09]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:09]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:09]             │ debg TestSubjects.exists(uptimeMonitorPage)
[00:02:09]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:02:09]             │ debg --- retry.tryForTime error: [data-test-subj="uptimeMonitorPage"] is not displayed
[00:02:09]             │ debg TestSubjects.click(monitor-page-link-a11yTestMonitor)
[00:02:09]             │ debg Find.clickByCssSelector('[data-test-subj="monitor-page-link-a11yTestMonitor"]') with timeout=10000
[00:02:09]             │ debg Find.findByCssSelector('[data-test-subj="monitor-page-link-a11yTestMonitor"]') with timeout=10000
[00:02:10]             │ debg TestSubjects.exists(uptimeMonitorPage)
[00:02:10]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=30000
[00:02:10]             │ debg TestSubjects.exists(uptimeOverallAvailability)
[00:02:10]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverallAvailability"]') with timeout=120000
[00:02:10]             │ debg TestSubjects.getVisibleText(uptimeOverallAvailability)
[00:02:10]             │ debg TestSubjects.find(uptimeOverallAvailability)
[00:02:10]             │ debg Find.findByCssSelector('[data-test-subj="uptimeOverallAvailability"]') with timeout=10000
[00:02:10]             └- ✓ pass  (1.3s) "uptime detail page"
[00:02:10]           │ERROR browser[SEVERE] http://localhost:61121/35050/bundles/plugin/uptime/uptime.plugin.js 0:18092 "API /api/uptime/pings is not returning expected response, Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"pings.tls.server.x509.not_before\" for response" Object
[00:02:10]           └-> settings page
[00:02:10]             └-> "before each" hook: global before each
[00:02:10]             └-> "before each" hook
[00:02:10]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:10]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:11]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:11]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeOverviewPage"] is not displayed
[00:02:11]               │ debg navigating to uptime url: http://localhost:61121/app/uptime
[00:02:11]               │ debg navigate to: http://localhost:61121/app/uptime
[00:02:11]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595533109439 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:02:11]               │
[00:02:11]               │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:11]               │ debg ... sleep(700) start
[00:02:12]               │ debg ... sleep(700) end
[00:02:12]               │ debg returned from get, calling refresh
[00:02:12]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595533109439 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:02:12]               │
[00:02:12]               │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:12]               │ debg currentUrl = http://localhost:61121/app/uptime
[00:02:12]               │          appUrl = http://localhost:61121/app/uptime
[00:02:12]               │ debg TestSubjects.find(kibanaChrome)
[00:02:12]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:16]               │ debg browser[INFO] http://localhost:61121/35050/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-23T19:38:32Z
[00:02:16]               │        Adding connection to http://localhost:61121/elasticsearch
[00:02:16]               │
[00:02:16]               │      "
[00:02:16]               │ debg ... sleep(501) start
[00:02:16]               │ERROR browser[SEVERE] http://localhost:61121/35050/bundles/plugin/uptime/uptime.plugin.js 0:18092 "API /api/uptime/monitor/list is not returning expected response, Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.issuer.distinguished_name\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.subject.distinguished_name\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.serial_number\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.public_key_algorithm\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.signature_algorithm\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.not_after\",Invalid value \"undefined\" supplied to \"summaries.state.summaryPings.tls.server.x509.not_before\" for response" Object
[00:02:16]               │ debg ... sleep(501) end
[00:02:16]               │ debg in navigateTo url = http://localhost:61121/app/uptime
[00:02:16]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:16]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:19]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:19]               │ debg isGlobalLoadingIndicatorVisible
[00:02:19]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:19]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:21]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:21]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:21]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:21]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:21]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:02:21]             │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:21]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:21]             │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:22]             │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:22]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:22]             │ debg TestSubjects.click(settings-page-link)
[00:02:22]             │ debg Find.clickByCssSelector('[data-test-subj="settings-page-link"]') with timeout=5000
[00:02:22]             │ debg Find.findByCssSelector('[data-test-subj="settings-page-link"]') with timeout=5000
[00:02:22]             │ debg TestSubjects.exists(uptimeSettingsPage)
[00:02:22]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsPage"]') with timeout=2000
[00:02:22]             │ debg browser[INFO] http://localhost:61121/app/uptime#/settings 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:02:22]             │
[00:02:22]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:24]             │ debg browser[INFO] http://localhost:61121/35050/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-23T19:38:41Z
[00:02:24]             │        Adding connection to http://localhost:61121/elasticsearch
[00:02:24]             │
[00:02:24]             │      "
[00:02:24]             │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsPage"] is not displayed
[00:02:25]             │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/uptime settings page.png"
[00:02:25]             │ info Current URL is: http://localhost:61121/app/uptime#/settings
[00:02:25]             │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/uptime settings page.html
[00:02:25]             └- ✖ fail: uptime settings page
[00:02:25]             │      Error: expected testSubject(uptimeSettingsPage) to exist
[00:02:25]             │       at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:02:25]             │ 
[00:02:25]             │ 

Stack Trace

Error: expected testSubject(uptimeSettingsPage) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)

Build metrics

async chunks size

id value diff baseline
ingestManager 1.1MB +323.0B 1.1MB

History

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

@nchaulet nchaulet merged commit 680d94c into elastic:master Jul 24, 2020
@nchaulet nchaulet deleted the fix-support-degraded-state branch July 24, 2020 12:40
nchaulet added a commit to nchaulet/kibana that referenced this pull request Jul 24, 2020
nchaulet added a commit to nchaulet/kibana that referenced this pull request Jul 24, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 27, 2020
* master: (111 commits)
  Remove flaky note from gauge tests (elastic#73240)
  Convert functional vega tests to ts and unskip tests (elastic#72238)
  [Graph] Unskip graph tests (elastic#72291)
  Add default Elasticsearch credentials to docs (elastic#72617)
  [APM] Read body from indicesStats in upload-telemetry-data (elastic#72732)
  The directory in the command was missing the /generated directory and would cause all definitions to be regenerated in the wrong place. (elastic#72766)
  [KP] use new ES client in SO service (elastic#72289)
  [Security Solution][Exceptions] Prevents value list entries from co-existing with non value list entries (elastic#72995)
  Return EUI CSS to Shareable Runtime (elastic#72990)
  Removed useless karma test (elastic#73190)
  [INGEST_MANAGER] Make package config name blank for endpoint on Package Config create (elastic#73082)
  [Ingest Manager] Support DEGRADED state in fleet agent event (elastic#73104)
  [Security Solution][Detections] Change detections breadcrumb title (elastic#73059)
  [ML] Fixing unnecessary deleting job polling (elastic#73087)
  [ML] Fixing recognizer wizard create job button (elastic#73025)
  [Composable template] Preview composite template (elastic#72598)
  [Uptime] Use manual intervals for ping histogram (elastic#72928)
  [Security Solution][Endpoint] Task/policy save modal text change, remove duplicate policy details text (elastic#73130)
  [Maps] fix tile layer attibution text and attribution link validation errors (elastic#73160)
  skip ingest pipeline api tests
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.9.0 v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants