Quarantine SetsTlsHandshakeFeatureForHttps
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Start with src/Servers/IIS/IIS/test/IIS.Tests/TlsHandshakeFeatureTests.cs and the SetsTlsHandshakeFeatureForHttps test, especially the failing assertion at line 56. Use the reported build failures to understand the test's current status and verify that the test is quarantined as requested without obscuring the failure details.
Written by the indexing model from the issue text.
Description
Failing Test(s)
- Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests.SetsTlsHandshakeFeatureForHttps
Error Message
System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
Expected: localhost
Actual: (null)) (Unexpected log: Error Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests: Test threw an exception.)
---- Assert.Equal() Failure
Expected: localhost
Actual: (null)
---- Unexpected log: Error Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests: Test threw an exception.
Stacktrace
----- Inner Stack Trace #1 (Xunit.Sdk.EqualException) -----
at Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests.SetsTlsHandshakeFeatureForHttps() in /_/src/Servers/IIS/IIS/test/IIS.Tests/TlsHandshakeFeatureTests.cs:line 56
--- End of stack trace from previous location ---
----- Inner Stack Trace #2 (Xunit.Sdk.XunitException) -----
at Microsoft.AspNetCore.Server.IIS.FunctionalTests.StrictTestServerTests.Dispose() in /_/src/Servers/IIS/IIS/test/IIS.Tests/StrictTestServerTests.cs:line 22
at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource) in /_/src/xunit.execution/Extensions/ReflectionAbstractionExtensions.cs:line 79
Logs
[0.001s] [TestLifetime] [Information] Starting test SetsTlsHandshakeFeatureForHttps at 2023-07-06T20:43:32
[8.125s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug] Method: GET, RequestUri: 'https://localhost:44300/start', Version: 1.1, Content: <null>, Headers:
{
}
[8.199s] [Microsoft.Extensions.Hosting.Internal.Host] [Debug] Hosting starting
[8.200s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Debug] Loaded hosting startup assembly IIS.Tests
[8.200s] [Microsoft.Hosting.Lifetime] [Information] Application started. Press Ctrl+C to shut down.
[8.201s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 GET https://localhost:44300/start - null null
[8.203s] [Microsoft.Hosting.Lifetime] [Information] Hosting environment: Production
[8.203s] [Microsoft.Hosting.Lifetime] [Information] Content root path: C:\h\w\A67C096C\w\AF6A09BB\e\.
[8.203s] [Microsoft.Extensions.Hosting.Internal.Host] [Debug] Hosting started
[8.203s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 GET https://localhost:44300/start - 200 null null 2.3751ms
[8.204s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug] StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Transfer-Encoding: chunked
Server: Microsoft-IIS/10.0
Date: Thu, 06 Jul 2023 20:43:40 GMT
}
[8.204s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug] Done
[8.205s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug] Method: GET, RequestUri: 'https://localhost:44300/', Version: 1.1, Content: <null>, Headers:
{
}
[8.205s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request starting HTTP/1.1 GET https://localhost:44300/ - null null
[8.205s] [Microsoft.AspNetCore.Hosting.Diagnostics] [Information] Request finished HTTP/1.1 GET https://localhost:44300/ - 200 null null 0.2918ms
[8.205s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug] StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Transfer-Encoding: chunked
Server: Microsoft-IIS/10.0
Date: Thu, 06 Jul 2023 20:43:40 GMT
}
[8.205s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TestServer] [Debug]
[8.310s] [Microsoft.Hosting.Lifetime] [Information] Application is shutting down...
[10.550s] [Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests] [Error] Test threw an exception.
Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: localhost
Actual: (null)
at Xunit.Assert.Equal(String expected, String actual, Boolean ignoreCase, Boolean ignoreLineEndingDifferences, Boolean ignoreWhiteSpaceDifferences) in /_/src/xunit.assert/Asserts/StringAsserts.cs:line 326
at Xunit.Assert.Equal(String expected, String actual) in /_/src/xunit.assert/Asserts/StringAsserts.cs:line 234
at Microsoft.AspNetCore.Server.IIS.FunctionalTests.TlsHandshakeFeatureTests.SetsTlsHandshakeFeatureForHttps() in /_/src/Servers/IIS/IIS/test/IIS.Tests/TlsHandshakeFeatureTests.cs:line 56
at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 264
--- End of stack trace from previous location ---
at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
[10.550s] [TestLifetime] [Information] Finished test SetsTlsHandshakeFeatureForHttps in 10.5489972s
Build
- https://dev.azure.com/dnceng-public/public/_build/results?buildId=331152&view=ms.vss-test-web.build-test-results-tab&runId=6838100&resultId=124334
- https://dev.azure.com/dnceng-public/public/_build/results?buildId=333985&view=ms.vss-test-web.build-test-results-tab&runId=6916178&resultId=111570&paneView=debug
- Dominant language
- C#
- Stars
- 38.5k
- Forks
- 11.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 243
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/aspnetcore
-
area-blazor feature-accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dotnet/aspnetcore#69387 · 3 comments · 1 assignee ·
-
area-signalr
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
dotnet/aspnetcore#69283 · 1 comment ·
-
api-proposal api-suggestion area-blazor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/aspnetcore#69266 · 1 comment ·
-
area-grpc
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
dotnet/aspnetcore#69169 · 1 comment ·
-
test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dotnet/aspnetcore#69095 · 1 comment ·
All issues in dotnet/aspnetcore
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·