Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] chore(NA): assure bazel bin is available on kbn clean and reset commands (#91406) #91491

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/uptime·ts.uptime overview alert popover controls

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:27]         └-: uptime
[00:01:27]           └-> "before all" hook for "overview page"
[00:01:27]           └-> "before all" hook for "overview page"
[00:01:27]             │ info [uptime/blank] Loading "mappings.json"
[00:01:27]             │ info [uptime/blank] Loading "data.json"
[00:01:27]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1613487228555997235] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:01:27]             │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:27]             │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:28]           └-> overview page
[00:01:28]             └-> "before each" hook: global before each for "overview page"
[00:01:28]             └-> "before each" hook for "overview page"
[00:01:28]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:28]               │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:01:29]               │ debg navigating to uptime url: http://localhost:61151/app/uptime
[00:01:29]               │ debg navigate to: http://localhost:61151/app/uptime
[00:01:29]               │ debg browser[INFO] http://localhost:61151/app/uptime?_t=1613489440234 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:29]               │
[00:01:29]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:29]               │ debg ... sleep(700) start
[00:01:30]               │ debg ... sleep(700) end
[00:01:30]               │ debg returned from get, calling refresh
[00:01:30]               │ERROR browser[SEVERE] http://localhost:61151/38796/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:01:30]               │          at fetch_Fetch.fetchResponse (http://localhost:61151/38796/bundles/core/core.entry.js:6:32451)
[00:01:30]               │          at async interceptResponse (http://localhost:61151/38796/bundles/core/core.entry.js:6:28637)
[00:01:30]               │          at async http://localhost:61151/38796/bundles/core/core.entry.js:6:31117
[00:01:30]               │ debg browser[INFO] http://localhost:61151/app/uptime?_t=1613489440234 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:30]               │
[00:01:30]               │ debg browser[INFO] http://localhost:61151/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:31]               │ debg currentUrl = http://localhost:61151/app/uptime
[00:01:31]               │          appUrl = http://localhost:61151/app/uptime
[00:01:31]               │ debg TestSubjects.find(kibanaChrome)
[00:01:31]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:31]               │ debg ... sleep(501) start
[00:01:31]               │ debg ... sleep(501) end
[00:01:31]               │ debg in navigateTo url = http://localhost:61151/app/uptime
[00:01:31]               │ debg TestSubjects.exists(statusPageContainer)
[00:01:31]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:34]               │ERROR browser[SEVERE] http://localhost:61151/38796/bundles/plugin/uptime/uptime.chunk.1.js 2:19527 "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:01:34]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:35]               │ debg isGlobalLoadingIndicatorVisible
[00:01:35]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:36]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:37]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:37]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:37]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:01:37]             └- ✓ pass  (572ms) "uptime overview page"
[00:01:37]           └-> overview page with expanded monitor detail
[00:01:37]             └-> "before each" hook: global before each for "overview page with expanded monitor detail"
[00:01:37]             └-> "before each" hook for "overview page with expanded monitor detail"
[00:01:37]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:37]               │ debg TestSubjects.click(uptimeSettingsToOverviewLink)
[00:01:37]               │ debg Find.clickByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:37]               │ debg Find.findByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:37]               │ debg isGlobalLoadingIndicatorVisible
[00:01:37]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:39]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:39]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:39]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:39]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:39]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:01:39]             │ debg TestSubjects.click(xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail)
[00:01:39]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail"]') with timeout=10000
[00:01:39]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.monitorList.a11yTestMonitor.expandMonitorDetail"]') with timeout=10000
[00:01:40]             │ debg TestSubjects.click(xpack.uptime.monitorList.actionsPopover.a11yTestMonitor)
[00:01:40]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.monitorList.actionsPopover.a11yTestMonitor"]') with timeout=10000
[00:01:40]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.monitorList.actionsPopover.a11yTestMonitor"]') with timeout=10000
[00:01:40]             └- ✓ pass  (719ms) "uptime overview page with expanded monitor detail"
[00:01:40]           └-> overview alert popover controls
[00:01:40]             └-> "before each" hook: global before each for "overview alert popover controls"
[00:01:40]             └-> "before each" hook for "overview alert popover controls"
[00:01:40]               │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:40]               │ debg TestSubjects.click(uptimeSettingsToOverviewLink)
[00:01:40]               │ debg Find.clickByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:40]               │ debg Find.findByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:40]               │ debg isGlobalLoadingIndicatorVisible
[00:01:40]               │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:40]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:42]               │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:42]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:42]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:42]               │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:42]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:01:42]             │ debg TestSubjects.click(xpack.uptime.alertsPopover.toggleButton)
[00:01:42]             │ debg Find.clickByCssSelector('[data-test-subj="xpack.uptime.alertsPopover.toggleButton"]') with timeout=10000
[00:01:42]             │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.alertsPopover.toggleButton"]') with timeout=10000
[00:01:43]             │ info Taking screenshot "/dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/screenshots/failure/uptime overview alert popover controls.png"
[00:01:43]             │ info Current URL is: http://localhost:61151/app/uptime
[00:01:43]             │ info Saving page source to: /dev/shm/workspace/parallel/15/kibana/x-pack/test/functional/failure_debug/html/uptime overview alert popover controls.html
[00:01:43]             └- ✖ fail: uptime overview alert popover controls
[00:01:43]             │      Error: a11y report:
[00:01:43]             │ 
[00:01:43]             │ VIOLATION
[00:01:43]             │   [aria-hidden-focus]: Ensures aria-hidden elements do not contain focusable elements
[00:01:43]             │     Help: https://dequeuniversity.com/rules/axe/4.0/aria-hidden-focus?application=axeAPI
[00:01:43]             │     Elements:
[00:01:43]             │       - #kibana-body
[00:01:43]             │       - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(1)
[00:01:43]             │       - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(2)
[00:01:43]             │       - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(4)
[00:01:43]             │       at Accessibility.testAxeReport (/dev/shm/workspace/parallel/15/kibana/test/accessibility/services/a11y/a11y.ts:76:15)
[00:01:43]             │       at Accessibility.testAppSnapshot (/dev/shm/workspace/parallel/15/kibana/test/accessibility/services/a11y/a11y.ts:49:18)
[00:01:43]             │       at runMicrotasks (<anonymous>)
[00:01:43]             │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:01:43]             │       at Context.<anonymous> (test/accessibility/apps/uptime.ts:62:7)
[00:01:43]             │       at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:01:43]             │ 
[00:01:43]             │ 

Stack Trace

Error: a11y report:

VIOLATION
  [aria-hidden-focus]: Ensures aria-hidden elements do not contain focusable elements
    Help: https://dequeuniversity.com/rules/axe/4.0/aria-hidden-focus?application=axeAPI
    Elements:
      - #kibana-body
      - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(1)
      - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(2)
      - div[data-focus-guard="true"][data-aria-hidden="true"][aria-hidden="true"]:nth-child(4)
    at Accessibility.testAxeReport (/dev/shm/workspace/parallel/15/kibana/test/accessibility/services/a11y/a11y.ts:76:15)
    at Accessibility.testAppSnapshot (/dev/shm/workspace/parallel/15/kibana/test/accessibility/services/a11y/a11y.ts:49:18)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Context.<anonymous> (test/accessibility/apps/uptime.ts:62:7)
    at Object.apply (/dev/shm/workspace/parallel/15/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

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

@mistic mistic merged commit 3a2b2a3 into elastic:7.x Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants