-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Beam gcp test modules #26605
Beam gcp test modules #26605
Conversation
@@ -47,6 +47,9 @@ task windmillPreCommit(type: Test) { | |||
"--tempRoot=${gcsTempRoot}", | |||
"--runner=TestDataflowRunner", | |||
"--dataflowWorkerJar=${dataflowWorkerJar}", | |||
// Provide job with a customizable worker jar. | |||
// With legacy worker jar, containerImage is set to empty (i.e. to use the internal build). | |||
// More context and discussions can be found in PR#6694. | |||
"--workerHarnessContainerImage=", |
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.
By setting workerHarnessContainerImage
to an empty string, we instruct to pick up the non-versioned image as explained in #6694. It looks like this image ignores the java version, and runs with java 8.
CI steps Java_Examples_Dataflow_Java11
and Java_Examples_Dataflow_Java17
are failing because the test lib target respectively java 11 and java 17.
Someone should ensure that the test image runs with proper java version
@Abacn since you followed the original PR. Will leave this as draft until CI is fixed. |
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions. |
29400c9
to
43a2396
Compare
@Abacn sorry to tag you again. Can someone at dataflow/google check why the image used with |
Hi @RustedBones thanks for being persistent working on this. I did not understand why "testRuntimeMigration" and the java version issue either. It unfortunately becomes a tech debt when we updated gradle major version. Since everything working fine currently I just did not dig into further. |
No worries, I'll try to summarize my findings:
Most test work except those including When removing the IMHO, the problem simply lies in this specific dataflow image used for testing which needs to be updated to respect java version used during job submission. |
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions. |
This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
Moving test implementation in test modules.
Follow-up from #25713
See #25806