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/security/management·js - security app Management Security navigation Clicking save in create role section brings user back to listing #61173

Closed
kibanamachine opened this issue Mar 24, 2020 · 13 comments · Fixed by #96178
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Mar 24, 2020

A test failed on a tracked branch

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="roleFormNameInput"])
Wait timed out after 10025ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:841:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Mar 24, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@spalger spalger added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Mar 24, 2020
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@legrego
Copy link
Member

legrego commented Apr 15, 2020

@spalger the most recent build mentions that a screenshot was captured, but I'm not seeing it in the Google Cloud Storage upload. I remember these used to be included, should that still be the case?

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@spalger
Copy link
Contributor

spalger commented Apr 21, 2020

@legrego Sorry, missed this previously but it looks like that other failure timed out so it probably never got to the step which uploaded screenshots to GCS. This new failure has a screenshot though
image

@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 Apr 24, 2020
spalger added a commit that referenced this issue Apr 24, 2020
(cherry picked from commit dd21b0b)
@spalger
Copy link
Contributor

spalger commented Apr 24, 2020

Lots of failures in the last week

image

Skipped

master: dd21b0b
7.x/7.8: c2a27d8

gmmorris added a commit to gmmorris/kibana that referenced this issue Apr 24, 2020
* master: (70 commits)
  KQL removes leading zero and breaks query (elastic#62748)
  [FieldFormats] Cleanup: rename IFieldFormatType -> FieldFormatInstanceType (elastic#64193)
  [ML] Changes transforms wizard UI text (elastic#64150)
  [Alerting] change server log action type .log to .server-log in README (elastic#64124)
  [Metrics UI] Design Refresh: Inventory View, Episode 1 (elastic#64026)
  chore(NA): reduce siem bundle size using babel-plugin-transfor… (elastic#63269)
  chore(NA): use core-js instead of babel-polyfill on canvas sha… (elastic#63486)
  skip flaky suite (elastic#61173)
  skip flaky suite (elastic#62497)
  Renamed ilm policy for event log so it is not prefixed with dot (elastic#64262)
  [eslint] no_restricted_paths config cleanup (elastic#63741)
  Add Oil Rig Icon from @elastic/maki (elastic#64364)
  [Maps] Migrate Maps embeddables to NP (elastic#63976)
  [Ingest] Data streams list page (elastic#64134)
  chore(NA): add file-loader into jest moduleNameMapper (elastic#64330)
  [DOCS] Added images to automating report generation (elastic#64333)
  [SIEM][CASE] Api Integration Tests: Configuration (elastic#63948)
  Expose ability to check if API Keys are enabled (elastic#63454)
  [DOCS] Fixes formatting in alerting doc (elastic#64338)
  [data.search.aggs]: Create agg types function for terms agg. (elastic#63541)
  ...
@bhavyarm bhavyarm self-assigned this Oct 1, 2020
@rashmivkulkarni
Copy link
Contributor

closed via #90213

@rashmivkulkarni
Copy link
Contributor

reopening ...as there was a fix needed in master as well.

@rashmivkulkarni
Copy link
Contributor

rashmivkulkarni commented Apr 1, 2021

Failing on 7.12:

Part of #95349

Stacktrace
Error: expected 'http://localhost:6181/app/management/security/users/create' to contain 'security/users/edit'
    at Assertion.assert (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.contain (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/expect/expect.js:442:10)
    at Context.<anonymous> (test/functional/apps/security/management.js:52:33)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/8/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

failure can be found at 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_security_management%C2%B7js/Kibana_Pipeline___general___security_app_Management_Security_navigation_Can_navigate_to_create_user_section/
Screen Shot 2021-04-01 at 1 36 07 PM

@elastic/kibana-security cc @LeeDr

@legrego
Copy link
Member

legrego commented Apr 2, 2021

@rashmivkulkarni thanks for the ping - When the user management page was rewritten in 7.12, we changed the "Create user" endpoint to /security/users/create instead of /security/users/edit. It's safe to update the test to expect /security/users/create for this scenario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants