-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Use 3rd party task to run integration tests on external service #56587
Conversation
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
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.
LGTM 👍
Thanks for working on fixing this @tlrx. I have a couple questions/suggestions:
|
Correct.
I think we can remove it. We don't have any CI jobs which run all third party tests and I'm not sure if folks ever do locally. |
Thanks @rjernst and @mark-vieira. I updated this pull request to follow your suggestions: I had to move things around and fold some QA projects back into the repository plugins to make the 3rd party tests run on fixtures and external services correctly. Other projects like searchable snapshots (and snapshot tool in 7.x branches) can declare their own I'll wait for this pull request to be validated before updating the CI jobs and other backport PRs. |
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.
👍
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.
LGTM from the snapshot side :)
@rjernst Are you OK with the latest changes? |
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.
LGTM
Thanks everybody! |
Today the Gradle
check
task is executed on CI by third party tests jobs in order to test the repository plugins using real external storage services.When the snapshot clean up tool was released in 7.0, the new
s3ThirdPartyTests
andgcsThidPartyTests
tasks were created so that CI can run both the repository plugins integration tests and the snapshot tool integration tests on external services. It seems that these tasks never really made it to CI though.Today we'd like to also run the searchable snapshot integration tests on external storage services. A previous change on CI jobs that runs the
check
tasks of repository plugins and searchable snapshot module was introduced but it broke CI builds on branches older than 7.8 (see #56165) and @mark-vieira suggested to use a specific tasks for these tests.This pull request:
azureThirdPartyTests
task to the:plugins:repository-azure
so that it runs the plugin's integration tests on Azure external services3ThirdPartyTests
,gcsThirdPartyTests
andazureThirdPartyTests
tasks.The third party tests CI jobs will be modified to execute the appropriate
*ThirdPartyTests
.This pull request will also be backported on the following branches:
Closes #56165