Closed dblock closed 2 years ago
Modified this issue to be a meta issue to track all backward compatibility test support.
Ideally, the integration tests which are written like Rest APIs or any feature test, the framework should allow to run them in BWC mode (e.g. mixed mode). This will help in catching any issues when there are mixed nodes in the cluster.
@saratvemulapalli is it time to close this issue given the work you've done here?
@saratvemulapalli is it time to close this issue given the work you've done here?
I dont think so, there are bunch of items which have to be done for P0 and P1.
If you care, you can turn the lists above into - [ ] issue and GitHub will help you see and track what was resolved and what wasn't
@abhinavGupta16 is looking into rewriting this issue with requirements, what we have and implementation with current codebase.
Closing this META issue to replace with the updated issue - https://github.com/opensearch-project/opensearch-build/issues/1873
Is your feature request related to a problem? Please describe.
We do a lot of manual testing. Need visible and repeatable automation for end-to-end upgrade paths described in https://opensearch.org/faq/#c3, including rolling and restart upgrades. Plugins should be able to contribute setup steps in an older version (data) and integration tests that run in mixed and upgraded cluster states.
Proposal
We would like to see CI/CD that shows that a specific bundle build of OpenSearch has been tested on a list of upgrade paths. Here is our proposal for BWC/Upgrade testing for OpenSearch project.
All BWC tests include:
All components within opensearch project will define bwctests:
Tasks
P0
Release CI BWC test workflow: [Meta] https://github.com/opensearch-project/opensearch-build/issues/232
P1
Here is the design proposal for #121 :
./integtest.sh bwcTest
./bwctest.sh RollingUpgradeIngestTest
b. Upgrade a node to new version c. Kick off mixed cluster test via./bwctest.sh MixedClusterSearchTest
d. Upgrade all nodes to the latest version. e. Kick off upgraded cluster test via./bwctest.sh UpgradedClusterTest
f. Report test status and repeat for every repository.