Skip to content

Conversation

@dougbu
Copy link
Contributor

@dougbu dougbu commented Oct 4, 2022

No description provided.

@dougbu dougbu added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode labels Oct 4, 2022
@dougbu dougbu requested review from MattGal and jonfortescue October 4, 2022 00:27
@dougbu dougbu requested a review from a team as a code owner October 4, 2022 00:27
@ghost
Copy link

ghost commented Oct 4, 2022

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

@ghost ghost added this to the 2.1.x milestone Oct 4, 2022
@ghost
Copy link

ghost commented Oct 4, 2022

Hi @dougbu. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document.
Otherwise, please add tell-mode label.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What else was being thrown?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From previous build (#20221003.26):

Expected: typeof(System.IO.IOException)
Actual:   typeof(System.ComponentModel.Win32Exception): The client and server cannot communicate, because they do not possess a common algorithm
---- System.ComponentModel.Win32Exception : The client and server cannot communicate, because they do not possess a common algorithm

@dougbu
Copy link
Contributor Author

dougbu commented Oct 4, 2022

/fyi @halter73 @Tratcher the latest Windows images also needed changes in DoesNotSupportTls10() and ClientAttemptingToUseUnsupportedProtocolIsLoggedAsDebug(). #44348 didn't need this because we already compensated for similar changes in release/3.1 as part of #43666

Copy link
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yml parts look good

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other changed test now working fine. But this one only gets further and fails a few lines down:

Assert.Equal() Failure
Expected: 1
Actual:   2

Stack trace
   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.HttpsTests.ClientAttemptingToUseUnsupportedProtocolIsLoggedAsDebug() in /_/src/Servers/Kestrel/test/FunctionalTests/HttpsTests.cs:line 439
--- End of stack trace from previous location where exception was thrown ---

I'm nervous about changing the throwing line to Assert.Equal(2, loggerProvider.FilterLogger.LastEventId); because a similar test in main's src\Servers\Kestrel\test\InMemory.FunctionalTests\HttpsTests.cs uses the current assertions. Thoughts @Tratcher @halter73

Will try that change overnight but will await your answers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, failed with that change -- Actual: 1 in that case. Removed the extra commit…

@dougbu dougbu enabled auto-merge (squash) October 5, 2022 05:38
@dougbu dougbu merged commit 1c3c0dd into dotnet:release/2.1 Oct 5, 2022
@dougbu dougbu deleted the dougbu/windows.images/2.1 branch October 5, 2022 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants