-
Notifications
You must be signed in to change notification settings - Fork 277
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
Pass in strong password to OSD integ test if version >= 2.12.0 #4334
Merged
Merged
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e1ad15a
Change password based on version in integtest health check
derek-ho 46cd35b
Remove hard coded 3
derek-ho a7ba5e4
Add version check same as benchmark
derek-ho 3097bbc
Fix to minimize changes
derek-ho f493f24
Revert logging line
derek-ho 5d7f060
Remove non-existent args param
derek-ho 9ae642e
try adding a test to increase codecov
derek-ho 574e40a
Add test
derek-ho 034f0cb
Fix test
derek-ho 4aac0c2
fix capital
derek-ho d6fa3d5
remove extra line
derek-ho 3185ebe
Fix test
derek-ho 2d77952
Fix test
derek-ho 42fccb2
Fix test
derek-ho d76d9b2
Fix test
derek-ho c2b1374
Fix version to hit more lines
derek-ho 48fbe24
Update password based on version for OSD
derek-ho 8c86ce6
Merge branch 'main' of github.com:opensearch-project/opensearch-build…
derek-ho e450957
change to semver impl
derek-ho 0dcfd3d
Reorg into utils and test and change export to env
derek-ho 207be45
hello
derek-ho ec6a0a0
Fix import
derek-ho 20be6ff
fix test assertion
derek-ho 5d8d699
Fix assertion
derek-ho 6bd68e9
revert changes to export after checking logs to see that admin passwo…
derek-ho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This PR should address this failure: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test-opensearch-dashboards/detail/integ-test-opensearch-dashboards/5025/pipeline, however I am not sure how the OS binary is pulled - is it given
myStrongPassword123!
as the password somehow?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.
Hi @derek-ho , can you try semver package instead of float check? See #4304
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.
@gaiksaya done. Question still stands though, I am confused about the overall setup of: https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test-opensearch-dashboards/detail/integ-test-opensearch-dashboards/5025/pipeline/, would this change be sufficient to pass the integ test? Would the backend be spun up with the strong password as expected if version >= 2.12.0?
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.
The integration test set up can be found here: https://github.com/opensearch-project/opensearch-build/blob/main/src/test_workflow/integ_test/ for both OS and OSD.
Maybe try to parse this directory to check for anything admin:admin?
If it feels there is a lot of if/else going on each module, maybe extract the logic into a common library (utils?) (something like get_password(version)) that can be used universally. Example being this system module.
WDYT @prudhvigodithi ?