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

improve SslStream tests on server 2022 #64968

Merged
merged 2 commits into from
Feb 9, 2022
Merged

improve SslStream tests on server 2022 #64968

merged 2 commits into from
Feb 9, 2022

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Feb 8, 2022

It seems like server 2022 also has TLS 1.3 enabled by default and it has similar issue like Windows 11.

This updates some PlatformDetection references to work as intended.

cc: @safern

@wfurt wfurt requested a review from a team February 8, 2022 07:11
@wfurt wfurt self-assigned this Feb 8, 2022
@ghost
Copy link

ghost commented Feb 8, 2022

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

Issue Details

It seems like server 2022 also has TLS 1.3 enabled by default and it has similar issue like Windows 11.

This updates some PlatformDetection references to work as intended.

cc: @safern

Author: wfurt
Assignees: wfurt
Labels:

area-System.Net.Security

Milestone: -

@wfurt
Copy link
Member Author

wfurt commented Feb 8, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wfurt
Copy link
Member Author

wfurt commented Feb 9, 2022

Quic failures is #64944. rest looks like infrastructure problem.

@wfurt wfurt merged commit 0e1cada into dotnet:main Feb 9, 2022
@wfurt
Copy link
Member Author

wfurt commented Feb 9, 2022

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1816453126

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

@wfurt backporting to release/6.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: improve SslStream tests on server 2022
Using index info to reconstruct a base tree...
M	src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Windows.cs
M	src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
M	src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs
Falling back to patching base and 3-way merge...
Auto-merging src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs
Auto-merging src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
CONFLICT (content): Merge conflict in src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
Auto-merging src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Windows.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 improve SslStream tests on server 2022
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants