[QUIC & HTTP/3] Handshake Timeout on tests
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=719528 Build error leg or test failing:
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Connection handshake was canceled due to the configured timeout of",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=719528
Error message validated: [Connection handshake was canceled due to the configured timeout of]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 7/4/2024 11:05:15 AM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 829704 | dotnet/runtime | System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates | dotnet/runtime#108616 |
| 827358 | dotnet/runtime | System.Net.Quic.Tests.MsQuicTests.CertificateCallbackThrowPropagates | dotnet/runtime#104503 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 2 |
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
This issue is not directly related to #99074 (that is specific test, this is more general issue), so it's not a duplicate.
Looks like this is a instance of https://github.com/microsoft/msquic/issues/4132. On OSX, We're using MsQuic at this commit: https://github.com/microsoft/msquic/commit/e0385b047d7bd622319e9f6c4c00184a1294eea8 build from main (therefore having version of the next release - 2.4). Historically, the above mentioned issue had a fix by that time: https://github.com/microsoft/msquic/pull/4145 Unfortunately, the were at least 2 follow ups it seems:
- https://github.com/microsoft/msquic/pull/4169
- https://github.com/microsoft/msquic/pull/4245
Which are not part of the binaries with which we're testing. Also this is likely the reason for all the other timeouts and hangs on OSX.
TL;DR This should get fixed by new MsQuic, i.e. with #114912
Alternatively, we can change the async cert validation condition to > in here: https://github.com/dotnet/runtime/blob/02596ba8d937bfbda5d2d7d634d7b3688e28bb69/src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs#L66