-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Transform service test suite #27578
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
Transform service test suite #27578
Conversation
|
Assigning reviewers. If you would like to opt out of this review, comment R: @jrmccluskey for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
(not ready for review yet) |
15a6d6a to
8402eb7
Compare
|
Run Seed Job |
Codecov Report
@@ Coverage Diff @@
## master #27578 +/- ##
==========================================
+ Coverage 70.59% 70.92% +0.33%
==========================================
Files 857 861 +4
Lines 103944 105083 +1139
==========================================
+ Hits 73375 74529 +1154
+ Misses 29004 28989 -15
Partials 1565 1565
Flags with carried forward coverage won't be shown. Click here to find out more. see 34 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Run TransformService_Direct PostCommit |
|
Reminder, please take a look at this pr: @jrmccluskey @Abacn |
|
waiting on author |
8402eb7 to
a0e6c48
Compare
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
3 similar comments
|
Run TransformService_Direct PostCommit |
|
Run TransformService_Direct PostCommit |
|
Run TransformService_Direct PostCommit |
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
1 similar comment
|
Run TransformService_Direct PostCommit |
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
|
R: @ahmedabu98 |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
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.
Did you mean to embed the value into this string?
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.
Updated.
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.
Great. Added the switch for that.
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.
Can we add a comment here that these tests are run with Py38?
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.
Actually, these test can run with all Python versions. Updated.
(JavaUsingPython will be restricted to Python 3.8 I'll mention that later when we add such tests).
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.
I may be missing something but how does this test suite make sure to build the necessary jars before running? For example in this test we need :sdks:java:io:google-cloud-platform:expansion-service
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.
These jars are included in the expansion service container and are built as a part of container building in the ":sdks:java:expansion-service:container:docker" dependency.
|
Run Seed Job |
2 similar comments
|
Run Seed Job |
|
Run Seed Job |
|
Run TransformService_Direct PostCommit |
chamikaramj
left a comment
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.
Thanks. PTAL.
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.
Updated.
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.
Great. Added the switch for that.
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.
These jars are included in the expansion service container and are built as a part of container building in the ":sdks:java:expansion-service:container:docker" dependency.
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.
Actually, these test can run with all Python versions. Updated.
(JavaUsingPython will be restricted to Python 3.8 I'll mention that later when we add such tests).
ahmedabu98
left a comment
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.
Just one comment. After that, this LGTM!
Most recent test pass (before spotless fix commit): https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct_PR/44/
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.
I think we need to also depend on task initializeForDataflowJob to set up wheels when we eventually add dataflow tests:
| task initializeForDataflowJob{ |
if (usesDataflowRunner) {
dependsOn ":sdks:python:test-suites:dataflow:py${project.ext.pythonVersion.replace('.', '')}:initializeForDataflowJob"
}
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.
Done.
9e2f809 to
a2f8bf9
Compare
|
Thanks! |
|
https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct/ is also repeatedly failing |
|
#28039 should fix the "PostCommit_TransformService_Direct/ failure |
Adds a test suite for the Docker Composed based Transform Service.
Passing run: https://ci-beam.apache.org/job/beam_PostCommit_TransformService_Direct_PR/44/
Currently only includes Python BigTableIO integration tests, but we can add more tests to the suite in the future.
This addresses #27941.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.