-
Notifications
You must be signed in to change notification settings - Fork 112
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 behavior to run against local and remote cluster #1088
Updates integTest behavior to run against local and remote cluster #1088
Conversation
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1088 +/- ##
============================================
+ Coverage 74.91% 74.93% +0.02%
Complexity 2813 2813
============================================
Files 367 367
Lines 16522 16522
Branches 2363 2363
============================================
+ Hits 12377 12381 +4
+ Misses 2843 2840 -3
+ Partials 1302 1301 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this!
Hi, @DarshitChanpura. QQ: As per #1064, there an effort to reduce usage of "admin" or other custom strings for providing password inputs and it's recommended to use Moreover, I see that logs for jenkins/index-management/with-security is filled with following errors:
Could this be the issue affecting test setup? Thanks. |
This is because the previous PR: #1076 assumed that the password will always be admin for integTest task since a custom configuration is applied for setup. However, that is not the case when integTest is triggered via opensearch-build it uses a remote-cluster.
Its because SSL verification failed. Please note, I'm not a maintainer here so I have limited knowledge about workflows. I'm helping out to ensure that CI is unblocked due to changes in default admin credentials that were introduced in security plugin. If you have any questions about workflow setup, the maintainers would be able to help answer them the best. |
Thanks for detailing my understanding. LGTM 👍 @DarshitChanpura ty |
…1088) (#1090) (cherry picked from commit 08b3152) Signed-off-by: Darshit Chanpura <dchanp@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: bowenlan-amzn <bowenlan23@gmail.com>
Recent CI build failed with:
This is because the previous PR: #1076 assumed that the password will always be
admin
forintegTest
task since a custom configuration is applied for setup. However, that is not the case whenintegTest
is triggered via opensearch-build as it uses a remote-cluster.Hence, this PR defaults
integTest
task user password toadmin
for local cluster and conditionally accepts the password if running against remote cluster.CheckList:
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.