Fix Flaky Test Report for Netty4Http3IT - #21360
Conversation
Signed-off-by: Andriy Redko <drreta@gmail.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
@andrross would appreciate a look, this time the fix is for real (I was able to find the cause, reproduce and fix), thanks! |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21360 +/- ##
============================================
+ Coverage 73.34% 73.36% +0.01%
- Complexity 74223 74287 +64
============================================
Files 5958 5958
Lines 337309 337350 +41
Branches 48664 48687 +23
============================================
+ Hits 247408 247492 +84
+ Misses 70188 70172 -16
+ Partials 19713 19686 -27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks @cwperks , sadly seed is not reproducible: in previous attempts we added some more logs in key places, it helped to understand the issues. This is really coming from very rare port conflicts, either because of other builds on the same agent or other processes. |
(cherry picked from commit c74ea29) Signed-off-by: Andriy Redko <drreta@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Description
The nature of flakyness is understood: under normal conditions, the HTTP/1.1, HTTP/2 and HTTP/3 transports are bound to the same port (but different protocol). At very rare occasion, the HTTP/1.1, HTTP/2 port selection could run into conflict and under
AbstractHttpServerTransport::bindAddressalgorithm, the next free port is going to be taken from the range. HTTP/3 however may not conflict and could pick the first port from the range.Related Issues
Closes #20654
Check List
By 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.