-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix Java 11 Example PreCommit GItHub Action #28291
Conversation
Codecov Report
@@ Coverage Diff @@
## master #28291 +/- ##
==========================================
- Coverage 72.36% 72.32% -0.04%
==========================================
Files 680 680
Lines 100263 100281 +18
==========================================
- Hits 72557 72532 -25
- Misses 26130 26178 +48
+ Partials 1576 1571 -5
Flags with carried forward coverage won't be shown. Click here to find out more. see 12 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Assigning reviewers. If you would like to opt out of this review, comment R: @damccorm for label build. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Run Java PreCommit |
@celeste-zeng could you please take a look? |
Run Java_Examples_Dataflow_ARM PostCommit 17 |
Run Java_Examples_Dataflow_ARM PostCommit 11 |
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, this will cause PostCommit Java11 Dataflow ARM to fail because error: option -source cannot be used together with --release
and error: option -target cannot be used together with --release
.
I see, https://github.com/apache/beam/actions/runs/6081096373/job/16496105989 it appears at some place both |
46045ff
to
ca12436
Compare
Run Java_Examples_Dataflow_ARM PostCommit 11 |
Run Java_Examples_Dataflow_ARM PostCommit 11 |
Run Java_Examples_Dataflow_ARM PostCommit 17 |
Run Java_Examples_Dataflow_ARM PostCommit |
Run Java_Examples_Dataflow_ARM PostCommit 11 |
Run Java_Examples_Dataflow_ARM PostCommit 17 |
Run SQL_Java17 PreCommit |
Run Java_Examples_Dataflow_ARM PostCommit 17 |
Run Java_Examples_Dataflow_ARM PostCommit 11 |
Run Java_Examples_Dataflow_ARM PostCommit 8 |
Run Java_Examples_Dataflow_Java11 PreCommit https://github.com/apache/beam/actions/runs/6090134291/job/16524397838 |
looks like github comment event will kill ongoing phrase jobs. In addition, if the job hasn't been triggered by commit, the job status is not updated to the PR page. |
Run Java_Examples_Dataflow_ARM PostCommit 11 passed on java11: https://github.com/apache/beam/actions/runs/6090627647/job/16525833339 |
Run Java_Examples_Dataflow_ARM PostCommit 17 passed on Java17: https://github.com/apache/beam/actions/runs/6090943543/job/16526707579 |
Run Java_Examples_Dataflow_Java11 PreCommit Well, it returns to the behavior at master: https://github.com/apache/beam/actions/runs/6091222107/job/16527475658 Error happens on Dataflow side:
it appears Dataflow still uses Java8 to run the pipeline? Even though "userAgent |
Run Java_Examples_Dataflow_Java11 PreCommit Fixed: https://github.com/apache/beam/actions/runs/6092731200 |
PTAL @celeste-zeng |
Issues revealed in detail
Otherwise, using Java9+ compile beam main code then run on Dataflow runner will see the error in #28291 (comment) (current master java11 example precommit error) |
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 digging into this!
Please add a meaningful description for your change here
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.md
with 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 or the workflows README to see a list of phrases to trigger workflows.