-
Notifications
You must be signed in to change notification settings - Fork 291
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
Update Dependency Versions: Woodstox 6.4.0, Scala-lang 2.13.9, Jackson-Databind 2.14.0 #2270
Conversation
Signed-off-by: Stephen Crawford <[email protected]>
Signed-off-by: Stephen Crawford <[email protected]>
@cwperks @DarshitChanpura this build failure does not seem related to the changes made in this commit. What do you guys think? |
I was just going through the test failures and I agree |
I've triggered a re-run to see if it was one-off failure, cause most of the tests are failing due to |
@DarshitChanpura 1.3 build is known to be flaky - #2023 It may take a couple of retries. |
okay.. do we want to proceed with merge @cwperks ? |
@DarshitChanpura Let's make sure this PR and the one against 1.x match. I don't think we need |
Actually this can be done locally as well. If you checkout version 1.3 of core locally and run the following:
once those are complete switch to the patch for 1.3 of security and run
That should produce a .zip in From there you check what jars are included for snakeyaml and netty. |
Signed-off-by: Stephen Crawford <[email protected]>
@scrawfor99 Were you able to test the behavior with the steps @cwperks mentioned? |
@DarshitChanpura, no because I cannot use my Mac (1.3 does not work on M1) to test it and I am getting errors trying to create a new remote desktop currently. I tried two different accounts and various settings with no avail so am going to table it for now. It should not be too big a change either way once it is testable. |
Update: I am away for the remainder of the day for travel but I will be confirming this works tomorrow and updating accordingly. I did set up a linux remote desktop to test this. |
Confirmed via creating a local snapshot of the latest from 1.3 of core and publishing to maven local. It is not necessary to force the netty resolution as it will resolve to the version of netty from core. This will make maintenance easier because it will not require an update every time core updates the netty dependency. |
Codecov Report
@@ Coverage Diff @@
## 1.3 #2270 +/- ##
============================================
+ Coverage 64.66% 64.71% +0.04%
- Complexity 3218 3221 +3
============================================
Files 247 247
Lines 17350 17353 +3
Branches 3087 3087
============================================
+ Hits 11220 11230 +10
+ Misses 4582 4579 -3
+ Partials 1548 1544 -4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
For the BindExceptions resulting in failing tests, it looks like they may have been fixed by the incorporation of a This seems like a change to the tests that were failing that could have fixed things. These changes were introduced in #1758. So I think it may be worthwhile backporting them into 1.3 and then seeing if that fixes the issue. Note that the PR is flagged for backport to 1.3 but that backport never actually happened #1796. |
@scrawfor99 Thank you for looking into CI stability on the 1.3 branch. Can you do the manual backport and test to see if it improves CI stability for 1.3? |
36ff6a9
Signed-off-by: Stephen Crawford <[email protected]>
Signed-off-by: Stephen Crawford <[email protected]>
@cwperks thank you for rerunning the failures as needed until things passed. I looked into the issue and the backport is complicated. I suspect that is why it did not happen in the first place. I am going to create an issue for the changes to be backported. After resolving the basic issues with the backport I encountered a problem where the new logic expects to be able to find various files in |
Signed-off-by: Stephen Crawford [email protected]
Description
Fixes a remaining dependency to Woodstox 6.2.6 library as a follow-up to #2197. I incorrectly looked at only the direct dependencies previously not accounting for the transient dependencies introduced by other libraries. This force should make the Woodstox version match the desired 6.4.0.
I also corrected the versions for jackson_databind, kafka, and snakeyaml.
Issues Resolved
Further resolves the Woodstox dependency problem.
Testing
After the change, runnning
./gradlew dependencies
shows all references to Woodstox-core being bumped to 6.4.0 and all the other WhiteSource issues being fixed.Check List
New functionality has been documentedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.