-
Notifications
You must be signed in to change notification settings - Fork 557
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
Upgrades Netty to 4.1.70.Final #3423
Conversation
@barchetta @tomas-langer Joe asked for a volunteer to do this. Specifically the |
The native-image.properties seems to be updated fine. |
The test failure can be reproduced locally, so it is most likely caused by the upgrade.
|
OK; looks like |
This now results in a different error:
|
I'll commit the tcnative version update because it needs to be there, and then perhaps @aseovic can take a look at the grpc innards portion of this. |
FYI, in 4.1.65.Final they disabled tlsv1 by default. Maybe that impacts the test: https://netty.io/news/2021/05/19/4-1-65-Final.html We should consider the compatibility impact of that on Helidon. |
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
…ersion upgrade; uncovers reference count failure in grpc/server tests Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
d8eca35
to
c502d7c
Compare
Rebased this PR and bumped Netty to 4.1.70.Final to see if that helps. |
…s so a requires statement had to change Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
…tty upgrade Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Also had to bump up the tcnative version to conform to https://github.com/netty/netty/blob/f49c94c83a5b2a2625913f57515c8dc6ab8c2639/pom.xml#L511 |
Keeping an eye on grpc/grpc-java#8605 which seems to be responsible. |
Notes to myself. Root stack trace:
|
I'd recommend updating io_uring to 0.0.10 along with this PR :) as io_uring bump it's netty dependency to 4.1.70 in 0.0.10. No code changes for that but probably best practice to update it as well. |
I can make the failing test pass by effectively undoing netty/netty#11242. More investigation to come. |
Filed: netty/netty-tcnative#680 |
@ljnelson how can I reproduce this ? I did checkout your branch and run |
@normanmaurer this should reproduce (using Laird's branch):
|
@barchetta no luck :(
git branch:
|
I don't know anything about the Zulu OpenJDK distribution. Is it possible it causes some different SSL engine to be used in Netty? If this issue is too hard to use for a reproducer (none of us has had this problem), you may find that reproducing the same issue over in grpc-java land is easier; see grpc/grpc-java#8605. Of course over there you'll need to run on Java 8. |
@normanmaurer Sorry, read everything too fast. |
@ljnelson thanks a lot! This allows me to reproduce locally now. Will come back to you |
Finally, I debugged all this by running this Maven command:
I mention this because the |
I can confirm this fixes it:
So definitely a netty bug. |
Thanks, @normanmaurer; looks like your netty/netty#11854 will fix this. |
Superseded by #3720 |
Upgrades Netty to 4.1.68.Final and adds apparently necessary initialize-at-runtime statements to the native image properties in the webserver project.
Signed-off-by: Laird Nelson laird.nelson@oracle.com