Implement java precommit dataflow examples tests to run on java 11#10882
Implement java precommit dataflow examples tests to run on java 11#10882pawelpasterz wants to merge 1 commit intoapache:masterfrom
Conversation
|
run seed job |
|
Run Java_Examples_Dataflow_Java11 PreCommit |
|
run seed job |
|
Run java precommit |
|
Run Java_Examples_Dataflow PreCommit |
|
Run Java_Examples_Dataflow_Java11 PreCommit |
|
LGTM, when the tests finish, I'll merge it. Thanks for your contribution! |
|
Run Java PreCommit |
3 similar comments
|
Run Java PreCommit |
|
Run Java PreCommit |
|
Run Java PreCommit |
|
run java precommit |
e137696 to
b8aad00
Compare
|
retest this please |
1 similar comment
|
retest this please |
b8aad00 to
67b3b73
Compare
|
run seed job |
|
retest this please |
67b3b73 to
52e97c8
Compare
|
Run Java PreCommit |
|
/cc: @kennknowles |
|
@kennknowles do you have anything to add to the review, or can we merge this? |
|
@kennknowles or @Ardagan - could either one of you review this PR please? |
|
Sorry - got this mixed up with a similar PR and lost track. |
kennknowles
left a comment
There was a problem hiding this comment.
Naively, the idea is:
- Build and publish Beam main jars with Java 8
- Build and test with Java 11
I think this PR is on the right path but maybe some more research into how to make this robust?
There was a problem hiding this comment.
Could this step be a publish?
There was a problem hiding this comment.
And then this step point to the deps from the prior step?
There was a problem hiding this comment.
Doing these exclusions seems a fragile. Is there a way to indicate that some dependencies are provided from published cache and not built?
There was a problem hiding this comment.
@kennknowles thanks for all comments, first I thought I will answer to all your comments but then I decided to gather it all in just one. I can see there is lot of knowledge that is missing to me right now, can we contact outside this pr scope? (ex email?) I would very appreciate if you will share some knowledge with me. What do you think?
Ardagan
left a comment
There was a problem hiding this comment.
The PR looks valid for me overall. However there's a concern regarding the approach.
Current approach requires someone to maintain the list of exclusions that adds technical debt. Also once we migrate to Java11 we'll have similar issue since we'd want to verify we can still run Java8 pipelines. That would worsen the situation.
Do we have any plan on how to deal with further support of these tests?
Another concern is inline: do we only run tests with Java11 or actually compile test pipelines with Java11?
It would be great if we can add tests that show which version of JVM is used for execution as well as which version of Java was used for compiling tests.
For the first, we can look into ManagementFactory.getRuntimeMXBean().getVmVersion().
Not positive on the best approach for second though.
52e97c8 to
b562775
Compare
|
retest this please |
|
run seed job |
|
Run Java_Examples_Dataflow_Java11 PreCommit |
2 similar comments
|
Run Java_Examples_Dataflow_Java11 PreCommit |
|
Run Java_Examples_Dataflow_Java11 PreCommit |
|
Run Java PreCommit |
Implement PreCommit Dataflow Examples to run on java 11
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.