-
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
Run packaging tests on CI infrastructure #1572
Comments
@bbarani Can you please add comments here? |
@bbarani absolutely, so right now there are 4 types of packaging (at least) produced by build scripts:
The distribution tests [1] use Vagrant tol spin off a large set of *nx / Windows distributions, deploy all these package types on each of those (one by one), and verify that: Is it helpful? Or you have been asking for something else? [1] https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-packaging |
@jcgraybill fyi |
[Triage] Hi @owaiskazi19, AFAIK you were looking into running gradle check via different means, does this overlaps with your efforts? We can add the testing for distribution to our backlog. For OpenSearch specific tests, that should be run in OpenSearch repository. |
As mentioned by @gaiksaya, we would focus more on executing tests at distribution level and not at repo level. Having said that, we dont have plans to add additional distribution types to -min artifact but it would be ideal to run these tests as part of your gradle check to surface any gaps that we might encounter when we create the OpenSearch distributions. |
@reta @owaiskazi19 Can you track this issue as part of your gradle check improvements plan? |
@peterzhuamazon and @rishabh6788 are working on moving the gradle check to public Jenkins. |
@reta @saratvemulapalli Before we include this as part of Gradle check, we need to fix the existing flaky tests. Do you have any plans to improve the current gradle check process? We might need to modularize and start splitting the different sections of gradle checks to make it run at granular level based on the need. The current gradle check are not scalable and its going to become a bottleneck very soon. |
@bbarani I think we should not be blocked here by flakyness of existing tests, the packaging tests are well isolated and could be run as separate step. But flaky tests and monolithic checks are serious issues, we [1], [2], [3] to tackle that. [1] opensearch-project/OpenSearch#2496 |
Hey @reta is this issue still required? today we run |
Hey @prudhvigodithi , this issue still needs resolution - we do have large chunk of scaffolding to run these distribution tests, if build scripts take care of that, we should remove this dead code from OpenSearch. However, if there are gaps, we could brings them to build scripts . |
Got it, AFAIK the build code after build, the assemble logic will take of bundling into RPM and DEB using |
Is your feature request related to a problem? Please describe
It seems like the CI does not run any packaging tests,
/gradlew packagingTest
or./gradlew distroTest
, right now (see please [1]). As of today, this is the state of packaging tests:main
branch ends up with tons of failing tasks@peterzhuamazon @dblock it seems like it would help with #27, at least for Opensearch part
[1] https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-packaging
Describe the solution you'd like
Running packaging tests on CI infrastructure regularly (not sure about the need to run on each pull request or merge) to keep the supported distributions verifyable and installable.
Describe alternatives you've considered
Support only archives
Additional context
N/A
The text was updated successfully, but these errors were encountered: