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

Updates integTest gradle scripts to run via remote cluster independently #291

Merged
merged 2 commits into from
Mar 9, 2022

Conversation

downsrob
Copy link
Contributor

@downsrob downsrob commented Mar 8, 2022

Signed-off-by: Clay Downs 89109232+downsrob@users.noreply.github.com

Issue #, if available:
#192

Description of changes:
Creates gradle script for remote endpoints to run https://github.com/opensearch-project/opensearch-build#integration-tests for the release cycle.

CheckList:

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@downsrob downsrob force-pushed the remote-cluster-tests branch from 435a42b to 6d9fb24 Compare March 8, 2022 20:53
@downsrob downsrob marked this pull request as ready for review March 8, 2022 21:34
@downsrob downsrob requested a review from a team March 8, 2022 21:34
bowenlan-amzn
bowenlan-amzn previously approved these changes Mar 8, 2022
dbbaughe
dbbaughe previously approved these changes Mar 8, 2022
downsrob added 2 commits March 8, 2022 22:59
Signed-off-by: Robert Downs <downsrob@amazon.com>
…n installed

Signed-off-by: Robert Downs <downsrob@amazon.com>
@downsrob
Copy link
Contributor Author

downsrob commented Mar 8, 2022

Ran against the 1.3 bundle with security and noticed that the notification action was failing. Adding an ignore for that. We already ignore it for the normal integTest with security.

@downsrob downsrob dismissed stale reviews from dbbaughe and bowenlan-amzn via 323acc7 March 8, 2022 23:29
@downsrob downsrob force-pushed the remote-cluster-tests branch from 6d9fb24 to 323acc7 Compare March 8, 2022 23:29
@dbbaughe
Copy link
Contributor

dbbaughe commented Mar 9, 2022

Ran against the 1.3 bundle with security and noticed that the notification action was failing. Adding an ignore for that. We already ignore it for the normal integTest with security.

Do we know why it fails with security? I'm assuming the tests are run with an admin user that should have the permissions to create/index a document?

@downsrob
Copy link
Contributor Author

downsrob commented Mar 9, 2022

Do we know why it fails with security? I'm assuming the tests are run with an admin user that should have the permissions to create/index a document?

Failing with the following error:

javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target   

I believe that we attach our certificates for security testing through a node setting, and I don't know if there is a way to set that for remote tests.

@downsrob downsrob merged commit ba2ee93 into opensearch-project:main Mar 9, 2022
@downsrob downsrob deleted the remote-cluster-tests branch March 9, 2022 17:33
downsrob added a commit to downsrob/index-management that referenced this pull request Mar 9, 2022
…tly (opensearch-project#291)

* Adds remote cluster command

Signed-off-by: Robert Downs <downsrob@amazon.com>

* Disables notification test against remote cluster with security plugin installed

Signed-off-by: Robert Downs <downsrob@amazon.com>
downsrob added a commit to downsrob/index-management that referenced this pull request Mar 9, 2022
…tly (opensearch-project#291)

* Adds remote cluster command

Signed-off-by: Robert Downs <downsrob@amazon.com>

* Disables notification test against remote cluster with security plugin installed

Signed-off-by: Robert Downs <downsrob@amazon.com>
downsrob added a commit that referenced this pull request Mar 9, 2022
…tly (#291)

* Adds remote cluster command

Signed-off-by: Robert Downs <downsrob@amazon.com>

* Disables notification test against remote cluster with security plugin installed

Signed-off-by: Robert Downs <downsrob@amazon.com>
wuychn pushed a commit to ochprince/index-management that referenced this pull request Mar 16, 2023
…tly (opensearch-project#291)

* Adds remote cluster command

Signed-off-by: Robert Downs <downsrob@amazon.com>

* Disables notification test against remote cluster with security plugin installed

Signed-off-by: Robert Downs <downsrob@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants