-
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
Upgrade to Gradle 7.4 #16931
Upgrade to Gradle 7.4 #16931
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16931 +/- ##
==========================================
- Coverage 74.11% 73.36% -0.76%
==========================================
Files 679 660 -19
Lines 89112 86796 -2316
==========================================
- Hits 66049 63681 -2368
- Misses 21910 22077 +167
+ Partials 1153 1038 -115
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Failure is cyclic dependency (at the module level) at evaluation time:
at
It seems strange for |
It's probably to allow legacy JRH + custom Dataflow worker jar for Python FnAPI pipelines. Do we still need that or UW is now a strict superset? |
That may have been the overall reason why it came into the picture, but I am not sure what's the impact of that particular line in |
Looks like the fix was straightforward - move the dependency to the gradle file that actually has the dependency. |
LGTM if tests pass, also, we should consider Gradle 7.5 once available. It may help with flakes: gradle/gradle#14693 (comment) |
Failure in ElasticSearchIOTest:
|
run java precommit |
Failure in
|
run java precommit |
This time
|
Run Java PreCommit |
A couple of interesting failures that look real but probably not related, unless it is dependency resolution that causes different tasks to run (which previous issue suggests might be possible): https://scans.gradle.com/s/3bkkuratojayi |
|
3b9f775
to
e7ae895
Compare
|
Run Java_Examples_Dataflow_Java17 PreCommit |
Run CommunityMetrics PreCommit |
Failures:
Both look like actual test failures. Not likely gradle related, nor infra flakes. |
The SQL failures are both the Gradle bug:
|
At this point, I propose we merge and continue with further upgrades. |
As you note, Gradle 7.5 may help with the failure that occurred on the SQL builds. |
Run SQL_Java11 PreCommit |
Run SQL_Java17 PreCommit |
Run CommunityMetrics PreCommit |
Run Java PreCommit |
0441caa
to
f95056d
Compare
What is the next step for this PR? Merge/Close? |
I believe the PR is fine, and just never got past flakes. it is old enough now that syncing to see where we are at might make sense |
Run GoPortable PreCommit |
Run Java PreCommit |
Tests are still failing. Still flakes? Real issues? |
It was a blend. Rebased and pushed to see where we are at now. |
Run CommunityMetrics PreCommit |
Community metrics is known unhealthy: https://issues.apache.org/jira/browse/BEAM-14017 |
PulsarIOTest.testReadFromSimpleTopic is very flaky: https://issues.apache.org/jira/browse/BEAM-14269 |
Portable python precommit failure is ":sdks:python:test-suites:portable:py36:portableWordCountFlinkRunnerBatch" failing because Python 3.6 is not installed in the image. I am unsure of the status here. Does not seem Gradle related, unless the container build was not trigger properly due to the version upgrade. I don't see a Jira for it. |
Run Portable_Python PreCommit |
OK we have narrowed it down to known flakes and red tests. I am going to merge so we can move on since there are follow-up upgrades too. |
Oh, no I am not :-) I am going to wait for someone to LGTM and then we can merge. Unless you disagree and think we can deflake these 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.
The test failure in org.apache.beam.sdk.io.pulsar.PulsarIOTest.testReadFromSimpleTopic looks bad but irrelevant.
Hi, Github Action of Java Wordcount Dataflow failure since this update:
Does anyone have an idea about resolving this? |
Interesting. We need to find a way to break the cycle :-) At a high level, it is clear to me that |
deferred configuration would still run into circular referencing issue when the task is being executed. |
By setting manual print statements, found the error happens when evaluating :runnders:google-cloud-dataflow-java at runners/google-cloud-dataflow-java/build.gradle L47: circular happens here. |
Found an existing issue of gradle (gradle/gradle#847) seems related. Here the full name of legacy-worker project contains the name :runnders:google-cloud-dataflow-java . |
Routine upgrade. Most prior minor versions have not required other changes. Will run various tests.
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-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.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.