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

Changed rollup tests to use test user rather than elastic super user. #79567

Merged

Conversation

cuff-links
Copy link
Contributor

@cuff-links cuff-links commented Oct 5, 2020

Summary

Closes #76563
This PR changes all of our Rollup Job functional tests to use a test user rather than the elastic super user.

@cuff-links cuff-links added Feature:Functional Testing release_note:skip Skip the PR/issue when compiling release notes test_xpack_functional Feature:Rollups Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed Feature:Functional Testing labels Oct 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@cuff-links cuff-links added release_note:skip Skip the PR/issue when compiling release notes v7.10.1 and removed release_note:skip Skip the PR/issue when compiling release notes labels Oct 14, 2020
@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@cuff-links
Copy link
Contributor Author

jenkins retest

@cuff-links
Copy link
Contributor Author

The test is passing now. Can you review again after it passes again?

@cuff-links
Copy link
Contributor Author

@elasticmachine test this

@rashmivkulkarni
Copy link
Contributor

Ran on local works fine and also same on CI, LGTM .
Also have asked @legrego to give it a second eye.

Copy link
Contributor

@rashmivkulkarni rashmivkulkarni left a comment

Choose a reason for hiding this comment

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

LGTM

I removed the kibana user role to remove redundancy.
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@rashmivkulkarni
Copy link
Contributor

I also added a bunch of version labels - needs to be backported to those branches as well. Thanks John

@cuff-links cuff-links merged commit 08bb038 into elastic:master Dec 3, 2020
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Dec 3, 2020
…elastic#79567)

* removed .only for testing

* Added config with minimum permissions.

* Removed kibana user role. 

I removed the kibana user role to remove redundancy.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 4, 2020
* master: (28 commits)
  [Actions] fixes bug where severity is auto selected but not applied to the action in PagerDuty (elastic#84891)
  Only attempt to rollover signals index if version < builtin version (elastic#84982)
  skip flaky suite (elastic#84978)
  skip lens rollup tests
  Add geo containment tracking alert type (elastic#84151)
  Changed rollup tests to use test user rather than elastic super user. (elastic#79567)
  skip 'should allow creation of lens xy chart' elastic#84957
  [APM] Add log_level/sanitize_field_names config options to Python Agent (elastic#84810)
  [Maps] geo line source (elastic#76572)
  [data.search] Move search method inside session service and add tests (elastic#84715)
  skip lens drag and drop test.  elastic#84941
  [Ingest Node Pipelines] Integrate painless autocomplete (elastic#84554)
  [Lens] allow drag and drop reorder on xyChart for y dimension (elastic#84640)
  [Lens] Fix error when selecting the current field again (elastic#84817)
  [Metrics UI] Add metadata tab to node details flyout (elastic#84454)
  [CI] Enables APM collection (elastic#81731)
  [Workplace Search] Migrate Sources Schema tree (elastic#84847)
  Disable checking for conflicts when copying saved objects (elastic#83575)
  [SECURITY_SOLUTION] delete advanced Policy fields when they are empty (elastic#84368)
  y18n 4.0.0 -> 4.0.1 (elastic#84905)
  ...
cuff-links pushed a commit that referenced this pull request Dec 5, 2020
…#79567) (#84968)

* removed .only for testing

* Added config with minimum permissions.

* Removed kibana user role. 

I removed the kibana user role to remove redundancy.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cuff-links pushed a commit to cuff-links/kibana that referenced this pull request Dec 5, 2020
…elastic#79567)

* removed .only for testing

* Added config with minimum permissions.

* Removed kibana user role. 

I removed the kibana user role to remove redundancy.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
cuff-links pushed a commit that referenced this pull request Dec 8, 2020
…r user. (#79567) (#85096)

* Changed rollup tests to use test user rather than elastic super user. (#79567)

* removed .only for testing

* Added config with minimum permissions.

* Removed kibana user role. 

I removed the kibana user role to remove redundancy.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Update rollup_jobs.js

Made fix to the test to stop page from refreshing after role is added.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@cjcenizal
Copy link
Contributor

@cuff-links Please update the version labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Rollups release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more test_xpack_functional v7.10.1 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the test_user with required privileges for rollup functional ui tests
6 participants