[Test Failure] System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11
System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11 [FAIL]
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Exception)
Stack Trace:
/_/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/BidirectionStreamingTest.cs(345,0): at System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11()
--- End of stack trace from previous location ---
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=713266 Build error leg or test failing: System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11 Pull request: https://github.com/dotnet/runtime.git/pull/103720
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": ["System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11", "Assert.Throws() Failure: No exception was thrown"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=713266
Error message validated: [System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11 Assert.Throws() Failure: No exception was thrown]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 6/20/2024 11:09:58 AM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 5 | 58 |
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Failed in: runtime-coreclr crossgen2 20240620.1
Failed tests:
net9.0-windows-Release-x64-TestReadyToRun_Release-Windows.Amd64.Server2022.Open
- System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11
Error message:
Assert.Throws() Failure: No exception was thrown
Expected: typeof(System.Exception)
Stack trace:
at System.Net.Http.WinHttpHandlerFunctional.Tests.BidirectionStreamingTest.BackwardsCompatibility_DowngradeToHttp11() in /_/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/BidirectionStreamingTest.cs:line 346
--- End of stack trace from previous location ---
The test disabled in https://github.com/dotnet/runtime/pull/103797
Triage: heavily failing test, we need to investigate in 9.0.
This issue started to happen because something has changed in Server2022, and WinHTTP started to send HTTP/2 requests instead of fallbacking to HTTP/1.1, added tracking-external-issue until we have conclusion from winhttp folks.
Removing tracking-external-issue this is confirmed by winhttp folks that we're seeing the correct behavior with Server2022. Next step: Decreasing the version in
https://github.com/dotnet/runtime/blob/27e9b9db7a4ea10636cb28983e849c6ed1c1ea94/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/BidirectionStreamingTest.cs#L25
Or adding a new feature check.
This should be backported to 6.0 and 8.0 as well.