Skip to content
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

Multiple test failures when connecting to corefx-net-http11.azurewebsites.net #110578

Open
rzikm opened this issue Dec 10, 2024 · 7 comments
Open
Assignees
Labels
area-System.Net.Http blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@rzikm
Copy link
Member

rzikm commented Dec 10, 2024

Only outerloop tests are affected

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=891122
Build error leg or test failing:
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "remoteServer: (BaseUri: http://corefx-net-http11.azurewebsites.net/, HttpVersion: 1.1)",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=891122
Error message validated: [remoteServer: (BaseUri: http://corefx-net-http11.azurewebsites.net/, HttpVersion: 1.1)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/10/2024 3:59:04 PM UTC

Report

Build Definition Test Pull Request
948114 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_PostScenarioTest.PostNonRewindableContentUsingAuth_PreAuthenticate_Success
948102 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
948115 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
948103 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
946509 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
946515 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
946508 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
945779 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
945783 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
945781 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
945782 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
945311 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
945327 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
945322 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_PostScenarioTest.PostNonRewindableContentUsingAuth_PreAuthenticate_Success
945326 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
944146 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
944145 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_PostScenarioTest.PostRewindableStreamContentMultipleTimes_StreamContentFullySent
944143 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK
944147 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_CredentialIsCredentialCacheUriRedirect_StatusCodeOK

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 11
@rzikm rzikm added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Dec 10, 2024
@rzikm rzikm self-assigned this Dec 10, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 10, 2024
@rzikm rzikm added area-System.Net.Http and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner Known Build Error Use this to report build issues in the .NET Helix tab labels Dec 10, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@rzikm rzikm added blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs Known Build Error Use this to report build issues in the .NET Helix tab and removed area-Infrastructure-libraries labels Dec 10, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@GerardSmit
Copy link

Seems like http://corefx-net-http11.azurewebsites.net/ does a redirect to https://corefx-net-http11.azurewebsites.net/ (non-HTTPS to HTTPS).
This causes the body to be discarded (the POST becomes a GET) and the WebSocket (ws://) to be redirected as well.

@rzikm
Copy link
Member Author

rzikm commented Jan 9, 2025

There seems to be a policy enforcing HTTPS-only traffic to the server and all changes to the configuration are being reverted within minutes. We need to disable the tests until we get an exception from the policy.

@carlossanlop
Copy link
Member

Don't close the issue just yet, as it is still failing in the base servicing branches and this was merged after the February code complete date. We'll have to keep the issue open until the next flow from staging to base.

@rzikm
Copy link
Member Author

rzikm commented Jan 16, 2025

I intend to keep this open until we figure out the exception process and it is safe to reenable the tests. This costs us valuable test coverage which we should not simply let get lost.

@pavelsavara
Copy link
Member

Just FYI

For WASM testing we are using local HTTP server with same/extended functionality.

The code is here
https://github.com/dotnet/runtime/tree/main/src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer

For Firefox we use HTTP not HTTPS because we didn't figure out how to make it trust self-signed cert in helix machine.

Related issue #101115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Net.Http blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs disabled-test The test is disabled in source code against the issue Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

6 participants