-
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
[Meta] Automate Run backward compatibility tests for the distribution (OpenSearch + plugins) #2870
Comments
Idea here is to download the bundle from CI bucket with
The URLs used before for test cluster setup are following this pattern. The approach is to add a new URL pattern to the distributionDownloadPlugin framework. |
Currently I already have the onboard PR ready for the bwc tests on the component repo. It would need previously linked PR against OpenSearch on test cluster to be merged to run. I would raise the PR against plugin repo once the above PR is clear and merged. |
@zelinh Can you please provide the current status? Lets fast track the on-boarding process so that we can use 2.5.0 release as dry run to close the gaps. |
Since the test cluster setup PRs were merged, I am drafting onboarding PR to component repos for the options to run BWC tests on distribution level soon. Plan to start with AD plugin first. |
For the BWC version (old version) of bundle, I decided to use |
I have onboarded the BWC tests running on distribution level to AD, notification, sql, observability, alerting, index-management plugins. |
@zelinh Whats pending for BWC tests? Can we add automated GitHub issue creation in this workflow as well @rishabh6788 |
@bbarani So far I don't see any things pending with the scope of this issue on our side. Once those components repo add stable BWC plugin level tests, we would onboard distribution level tests to them. |
Closing this issue. |
Hey @zelinh quick question, does this updated gradle BWC tests part of every plugin repo or just the few? Also when you get a chance can you please update the README of backwards-compatibility-tests section part of the test workflow. It would be very helpful for this OpenSearch Release Process documentation and I dont need to add all the details again to the release process doc whereas I can just refer to section part of the test workflow. |
@prudhvigodithi Right now, the BWC tests on distribution bundle is only run on few plugins that were onboarded with BWC tests. Yes, I add update the README in our repo regarding of this. I have updated in the |
Thanks @zelinh |
Background
Currently, each plugin has their own backward compatibility tests running in their GitHub actions. It sets up their own test cluster and test each individual subsequent tasks.
Here is our proposal for BWC/Upgrade testing for OpenSearch project.
All BWC tests include:
In plugin level, the current bwc tests tasks are running against the test cluster framework from the core team, which set up the test cluster with designated OpenSearch min artifacts. Within the test cluster on plugin teams end, it only installs their own plugin and other required dependencies plugins.
Proposal
We would like to see CI/CD that shows each of the plugin would be tested with the latest bundle build of OpenSearch. We like to run backward compatibility tests once the distribution is ready. In another word, running the plugin BWC against the test clusters with all plugins present along with the OpenSearch min once we generate a new bundle distribution.
Currently plugin teams are using the test cluster set up from
TestClustersPlugin
, within this framework, plugin teams can set up the number of nodes, the version of OpenSearch min artifacts...I think we could enhance with another test cluster set up option that we could instead install just the core but with the distribution that we generated from the CI distribution build. When we started the new test cluster
In the example above, each of those 4 nodes are set up to be started OS version 1.3.6 with all plugins running and the second is the one set up to be the current project version. In this framework, each node will initially be downloaded with DistributionDownloadPlugin and installed with the respective bundle verison. From plugin perspectives, if they want to run BWC tests against the bundle test cluster, they could add a new argument to start the tests.
Works breakdown
The text was updated successfully, but these errors were encountered: