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

Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/dashboard_security·ts - dashboard feature controls dashboard feature controls security global dashboard read-only privileges "before all" hook for "shows dashboard navlink" #86950

Closed
kibanamachine opened this issue Dec 26, 2020 · 7 comments · Fixed by #100616
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 26, 2020

A test failed on a tracked branch

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: timeout: Timed out receiving message from renderer: 0.000
  (Session info: headless chrome=87.0.4280.88)
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Task.exec (/dev/shm/workspace/parallel/17/kibana/test/functional/services/remote/prevent_parallel_calls.ts:40:22)
    at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.try (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:43:14)
    at /dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:238:23
    at runAttempt (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:38:15)
    at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:77:21)
    at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:34:14)
    at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:237:7)
    at Object.login (test/functional/page_objects/security_page.ts:117:9)
    at SecurityPage.login (test/functional/page_objects/security_page.ts:208:7)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:274:9)
    at Object.apply (/dev/shm/workspace/parallel/17/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)
    at onFailure (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at Retry.tryForTime (/dev/shm/workspace/parallel/17/kibana/test/common/services/retry/retry.ts:34:14)
    at CommonPage.navigateToApp (/dev/shm/workspace/parallel/17/kibana/test/functional/page_objects/common_page.ts:237:7)
    at Object.login (test/functional/page_objects/security_page.ts:117:9)
    at SecurityPage.login (test/functional/page_objects/security_page.ts:208:7)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:274:9)
    at Object.apply (/dev/shm/workspace/parallel/17/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 26, 2020
@myasonik myasonik added Team:Visualizations Visualization editors, elastic-charts and infrastructure Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! triage_needed labels Jan 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@legrego legrego removed the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Jan 7, 2021
@myasonik myasonik added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

spalger added a commit that referenced this issue Jan 28, 2021
@spalger
Copy link
Contributor

spalger commented Jan 28, 2021

Two PR failures and two master failures in the last week, all in master

image

Skipping

master: 4fc49ec

jloleysens added a commit to jloleysens/kibana that referenced this issue Jan 28, 2021
…y-tests

* 'master' of github.com:elastic/kibana: (31 commits)
  [Discover] Add grid flyout jest test (elastic#89088)
  [Search Sessions] Improve session restoration back button (elastic#87635)
  [TSVB] Remove vis_type_timeseries_enhanced plugin (elastic#89274)
  [Security Solution] Init Osquery plugin (elastic#87109)
  [Fleet] Do not defined aliases inside datastream template (elastic#89512)
  skip flaky suite (elastic#86950)
  chore(NA): bazel machinery installation on kbn bootstrap (elastic#89469)
  [build/docker] Add support for centos ARM builds (elastic#84831)
  Convert default_watch.json to a JS object in order to avoid TS complaints (elastic#89488)
  [CI] Decrease number of Jest workers (elastic#89504)
  [Maps] remove maps_oss TS project (elastic#89502)
  Adds migration settings to Docker (elastic#89501)
  [Lens] Fix crash in transition from unique count to last value (elastic#88916)
  [kbn-es] Always use bundled JDK when starting Elasticsearch (elastic#89437)
  unskip getting_started/shakespeare test elasticsearch 64016 (elastic#89346)
  [Maps] migrate maps, maps_file_upload, and maps_legacy_licensing to TS projects (elastic#89439)
  skip flaky suite (elastic#89478)
  skip flaky suite (elastic#89476)
  skip flaky suite (elastic#89477)
  skip flaky suite (elastic#89475)
  ...

# Conflicts:
#	x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/cold_phase.tsx
jloleysens added a commit to jloleysens/kibana that referenced this issue Jan 28, 2021
…updates-and-timeline-cleanup

* 'master' of github.com:elastic/kibana: (44 commits)
  [Discover] Add grid flyout jest test (elastic#89088)
  [Search Sessions] Improve session restoration back button (elastic#87635)
  [TSVB] Remove vis_type_timeseries_enhanced plugin (elastic#89274)
  [Security Solution] Init Osquery plugin (elastic#87109)
  [Fleet] Do not defined aliases inside datastream template (elastic#89512)
  skip flaky suite (elastic#86950)
  chore(NA): bazel machinery installation on kbn bootstrap (elastic#89469)
  [build/docker] Add support for centos ARM builds (elastic#84831)
  Convert default_watch.json to a JS object in order to avoid TS complaints (elastic#89488)
  [CI] Decrease number of Jest workers (elastic#89504)
  [Maps] remove maps_oss TS project (elastic#89502)
  Adds migration settings to Docker (elastic#89501)
  [Lens] Fix crash in transition from unique count to last value (elastic#88916)
  [kbn-es] Always use bundled JDK when starting Elasticsearch (elastic#89437)
  unskip getting_started/shakespeare test elasticsearch 64016 (elastic#89346)
  [Maps] migrate maps, maps_file_upload, and maps_legacy_licensing to TS projects (elastic#89439)
  skip flaky suite (elastic#89478)
  skip flaky suite (elastic#89476)
  skip flaky suite (elastic#89477)
  skip flaky suite (elastic#89475)
  ...

# Conflicts:
#	x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx
#	x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.ts
@rashmivkulkarni
Copy link
Contributor

rashmivkulkarni commented Mar 31, 2021

Failed on 7.12 when unskipped.
Part of: #95349

Stacktrace
Error: expected [ 'Overview', 'Dashboard', 'Stack Management' ] to sort of equal [ 'Overview', 'Dashboard' ]
    at Assertion.assert (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/dashboard/feature_controls/dashboard_security.ts:89:54)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '[\n  "Overview"\n  "Dashboard"\n  "Stack Management"\n]',
  expected: '[\n  "Overview"\n  "Dashboard"\n]',
  showDiff: true
}

Link to the failure:
https://kibana-ci.elastic.co/job/elastic+kibana+pipeline-pull-request/116371/testReport/junit/Chrome%20X-Pack%20UI%20Functional%20Tests/x-pack_test_functional_apps_dashboard_feature_controls_dashboard_security%C2%B7ts/Kibana_Pipeline___general___dashboard_feature_controls_dashboard_feature_controls_security_global_dashboard_all_privileges__no_embeddable_application_privileges_only_shows_the_dashboard_navlink/

cc @LeeDr @elastic/kibana-presentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants