Skip to content

[7.9] [Maps] fix tile layer attibution text and attribution link validation errors (#73160)#73174

Merged
nreese merged 1 commit intoelastic:7.9from
nreese:backport/7.9/pr-73160
Jul 24, 2020
Merged

[7.9] [Maps] fix tile layer attibution text and attribution link validation errors (#73160)#73174
nreese merged 1 commit intoelastic:7.9from
nreese:backport/7.9/pr-73160

Conversation

@nreese
Copy link
Copy Markdown
Contributor

@nreese nreese commented Jul 24, 2020

Backports the following commits to 7.9:

… errors (elastic#73160)

* [Maps] fix tile layer attibution text and attribution link validation errors

* clean up jest test

* tslint

* one more tslint
@nreese nreese added the backport This PR is a backport of another PR label Jul 24, 2020
@kibanamachine
Copy link
Copy Markdown
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 7 times on tracked branches: https://github.com/elastic/kibana/issues/72994

[00:00:00]       │
[00:01:51]         └-: uptime
[00:01:51]           └-> "before all" hook
[00:01:51]           └-> "before all" hook
[00:01:51]             │ info [uptime/blank] Loading "mappings.json"
[00:01:51]             │ info [uptime/blank] Loading "data.json"
[00:01:51]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1595550838810532307] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:01:52]             │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:52]             │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:53]           └-> overview page
[00:01:53]             └-> "before each" hook: global before each
[00:01:53]             └-> "before each" hook
[00:01:53]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:53]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:01:53]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:53]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:01:53]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeOverviewPage"] is not displayed
[00:01:54]               │ debg navigating to uptime url: http://localhost:61121/app/uptime
[00:01:54]               │ debg navigate to: http://localhost:61121/app/uptime
[00:01:54]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595553189800 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:54]               │
[00:01:54]               │ 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:54]               │ debg ... sleep(700) start
[00:01:55]               │ debg ... sleep(700) end
[00:01:55]               │ debg returned from get, calling refresh
[00:01:56]               │ debg browser[INFO] http://localhost:61121/33547/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-24T01:13:11Z
[00:01:56]               │        Adding connection to http://localhost:61121/elasticsearch
[00:01:56]               │
[00:01:56]               │      "
[00:01:56]               │ERROR browser[SEVERE] http://localhost:61121/33547/bundles/core/core.entry.js 83:275754 TypeError: Failed to fetch
[00:01:56]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595553189800 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 browser[INFO] http://localhost:61121/33547/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-24T01:13:12Z
[00:01:57]               │        Adding connection to http://localhost:61121/elasticsearch
[00:01:57]               │
[00:01:57]               │      "
[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 ... 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:02:00]               │ERROR browser[SEVERE] http://localhost:61121/33547/bundles/plugin/uptime/uptime.plugin.js 0:18776 "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:00]               │ 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:02]               │ 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:03]             └- ✓ pass  (485ms) "uptime overview page"
[00:02:03]           └-> overview page with expanded monitor detail
[00:02:03]             └-> "before each" hook: global before each
[00:02:03]             └-> "before each" hook
[00:02:03]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:03]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:03]               │ 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:04]             └- ✓ pass  (546ms) "uptime overview page with expanded monitor detail"
[00:02:04]           └-> overview alert popover controls
[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: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:05]             │ debg TestSubjects.exists(xpack.uptime.openAlertContextPanel)
[00:02:05]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=2500
[00:02:05]             │ debg TestSubjects.click(xpack.uptime.openAlertContextPanel)
[00:02:05]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=10000
[00:02:05]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.openAlertContextPanel"]') with timeout=10000
[00:02:05]             │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:02:05]             │        (Session info: headless chrome=84.0.4147.89)
[00:02:06]             └- ✓ pass  (786ms) "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:08]               │ debg --- retry.tryForTime error: [data-test-subj="xpack.uptime.openAlertContextPanel"] is not displayed
[00:02:08]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:08]             │ debg TestSubjects.exists(uptimeMonitorPage)
[00:02:08]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:02:08]             │ 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:09]             │ debg TestSubjects.exists(uptimeMonitorPage)
[00:02:09]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=30000
[00:02:09]             │ debg TestSubjects.exists(uptimeOverallAvailability)
[00:02:09]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverallAvailability"]') with timeout=120000
[00:02:09]             │ debg TestSubjects.getVisibleText(uptimeOverallAvailability)
[00:02:09]             │ debg TestSubjects.find(uptimeOverallAvailability)
[00:02:09]             │ 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/33547/bundles/plugin/uptime/uptime.plugin.js 0:18776 "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:10]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:10]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:10]               │ 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=1595553206933 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:13]               │ debg browser[INFO] http://localhost:61121/33547/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-24T01:13:28Z
[00:02:13]               │        Adding connection to http://localhost:61121/elasticsearch
[00:02:13]               │
[00:02:13]               │      "
[00:02:13]               │ERROR browser[SEVERE] http://localhost:61121/33547/bundles/core/core.entry.js 83:275754 TypeError: Failed to fetch
[00:02:13]               │ debg browser[INFO] http://localhost:61121/app/uptime?_t=1595553206933 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:13]               │
[00:02:13]               │ 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:14]               │ debg browser[INFO] http://localhost:61121/33547/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-24T01:13:29Z
[00:02:14]               │        Adding connection to http://localhost:61121/elasticsearch
[00:02:14]               │
[00:02:14]               │      "
[00:02:14]               │ debg currentUrl = http://localhost:61121/app/uptime
[00:02:14]               │          appUrl = http://localhost:61121/app/uptime
[00:02:14]               │ debg TestSubjects.find(kibanaChrome)
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:14]               │ debg ... sleep(501) start
[00:02:15]               │ERROR browser[SEVERE] http://localhost:61121/33547/bundles/plugin/uptime/uptime.plugin.js 0:18776 "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:15]               │ debg ... sleep(501) end
[00:02:15]               │ debg in navigateTo url = http://localhost:61121/app/uptime
[00:02:15]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:17]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:18]               │ debg isGlobalLoadingIndicatorVisible
[00:02:18]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:18]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:19]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:20]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:20]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:20]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:20]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:02:20]             │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:02:20]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:02:20]             │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:02:20]             │ debg TestSubjects.exists(uptimeOverviewPage)
[00:02:20]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=0
[00:02:20]             │ debg TestSubjects.click(settings-page-link)
[00:02:20]             │ debg Find.clickByCssSelector('[data-test-subj="settings-page-link"]') with timeout=5000
[00:02:20]             │ debg Find.findByCssSelector('[data-test-subj="settings-page-link"]') with timeout=5000
[00:02:21]             │ debg TestSubjects.exists(uptimeSettingsPage)
[00:02:21]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsPage"]') with timeout=2000
[00:02:21]             │ 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:21]             │
[00:02:21]             │ 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:23]             │ debg browser[INFO] http://localhost:61121/33547/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-07-24T01:13:38Z
[00:02:23]             │        Adding connection to http://localhost:61121/elasticsearch
[00:02:23]             │
[00:02:23]             │      "
[00:02:23]             │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsPage"] is not displayed
[00:02:23]             │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/uptime settings page.png"
[00:02:23]             │ info Current URL is: http://localhost:61121/app/uptime#/settings
[00:02:23]             │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/uptime settings page.html
[00:02:23]             └- ✖ fail: uptime settings page
[00:02:23]             │      Error: expected testSubject(uptimeSettingsPage) to exist
[00:02:23]             │       at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/common/test_subjects.ts:62:15)
[00:02:23]             │ 
[00:02:23]             │ 

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

✅ unchanged

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

@nreese nreese merged commit 037d28b into elastic:7.9 Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants