-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
nghttp2: Update to 1.47 #20381
nghttp2: Update to 1.47 #20381
Conversation
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
f3a8e0b
to
3d9048d
Compare
@alessandrogario this is failing general linting on the patch files (see https://dev.azure.com/cncf/envoy/_build/results?buildId=103969&view=logs&j=c5dd2866-6ab3-5f3c-3a44-4cef0ec909b5&t=a9eb66d6-8944-5769-b3f7-476949dadcb8&l=1223) im thinking in this case we more want to exclude the patch files as they can correctly have the formatting that this checks for (trailing whitespace, mixed tabs/spaces, no newline) ill fix the issue upstream to address |
the other thing im wondering about is whether we could/should update nghttp2 at the same time (#20101) |
ee70b47
to
f8a6866
Compare
i reckon - it just means we wont have to redo the patches as quickly i think |
seems like you fixed the patch matching anyhow - i raised a PR to improve the matcher here envoyproxy/toolshed#450 - but i wont land it if its not necessary i think |
It seems like a good idea to fix it, so that we can use patch files with the correct file names (as generated by git format-patch). Thanks for looking into it! |
Hello @phlax! I have updated the nghttp2 library and its patches, but I am now encountering an error with the
EDIT: I was able to run the test locally, and it seems to be passing. Is this caused by some kind of timeout on the CI?
|
/retest |
Retrying Azure Pipelines: |
f8a6866
to
dfa0ab3
Compare
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.
/wait
dfa0ab3
to
41fe4cb
Compare
41fe4cb
to
0d205be
Compare
Yeah, AFIK we're doing this for testing of UVH, but don't plan on using UHV in production until we switch to oghttp2 which will allow runtime disable of only header validation (not frame validation). So I think this is fine for an interim test-only solution especially if we comment what the long term plan is. |
Thanks for the explanation! I'll keep removing all the failing/crashing tests with an |
I am starting to hit additional problems outside the tests due to the additional things that NGHTTP2_OPTMASK_NO_HTTP_MESSAGING disables. The ConnectionManagerImpl class for example is now failing many asserts such as:
|
well if we're doing validation in Envoy we're going to want to not validate the codec is doing said validation. I think these are things that will just have to change as part of UHV :-) |
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.
Oh sorry, just realized compile_time_options build failed a bunch of tests. I think for now we can just put in the #ifdef
to skip them. You can do in the SetUp() method for the test fixture class and add GTEST_SKIP();
if it fails all (or most) of the tests in the suite. The uring tests use similar method. As we add UHV we can re-enable these tests. For tests suites that fail just a few tests we can use the method suggested below with a function that causes tests to be skipped, so we do not loose too much coverage in the compilet_time_options build
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.
/wait
/wait |
e1286ff
to
2195167
Compare
@alessandrogario looks like this needs a main merge - and a minor (trailing whitespace) formatting nit copying out the ci advice
|
Hello @phlax! I think this PR can be closed, but waiting on @yanavlasov to make sure. |
Signed-off-by: Alessandro Gario <alessandro.gario@gmail.com>
2b89428
to
7bbdf76
Compare
I think adding UHV here is no longer required (cc @yanavlasov), so the only commit left in the branch just updates the nghttp2 library to the latest version. Feel free to merge it if it is useful or close it otherwise |
/retest |
Retrying Azure Pipelines: |
cc @moderation i think we can land this as it now only updates the nghttp2 lib and CI is green |
/lgtm deps |
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 @alessandrogario
/retest |
Signed-off-by: Alessandro Gario <alessandro.gario@gmail.com> Signed-off-by: Amila Senadheera <amila.15@cse.mrt.ac.lk>
Commit Message: nghttp2: Update to 1.47
Fixes #20101