Skip to content

[Known Build Error] RequestPathBase_WithDoubleSlashes_Split fails - IIS is not installed in the expected path #62924

@ilonatommy

Description

@ilonatommy

Previously reported in regular issue that is not allowing for escaping Build Analysis: #51679. First hit was observed on #62885: log. Since then, it failed on all the runs, see the history log screenshot in the original issue.

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1105662
Build error leg or test failing: Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_Split
Pull request: #62905

Error Message

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

{
  "ErrorPattern": "Microsoft\\.AspNetCore\\.Server\\.IIS\\.IISExpress\\.FunctionalTests\\.RequestPathBaseTests\\.RequestPathBase_WithDoubleSlashes_Split\\(url: \"\\/Sub\\/App\\/PathANDPathBase\\/PATH\", expectedPathBase: \"\\/Sub\\/App\\/PathANDPathBase\", expectedPath: \"\\/PATH\"\\) \\[FAIL\\]",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

The pattern is broader than the error because we cannot use multi-line patterns.
example:

Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split(url: "/Sub/App/PathANDPathBase/PATH", expectedPathBase: "/Sub/App/PathANDPathBase", expectedPath: "/PATH") [FAIL]
2025-07-25T10:04:47.5390862Z [xUnit.net 00:11:17.75]       Assert.Equal() Failure: Values differ
2025-07-25T10:04:47.5422015Z [xUnit.net 00:11:17.75]       Expected: 200
2025-07-25T10:04:47.5456092Z [xUnit.net 00:11:17.75]       Actual:   500
2025-07-25T10:04:47.5491134Z [xUnit.net 00:11:17.75]       Stack Trace:
2025-07-25T10:04:47.5526471Z [xUnit.net 00:11:17.75]         /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs(78,0): at Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split(String url, String expectedPathBase, String expectedPath)
2025-07-25T10:04:47.5559365Z [xUnit.net 00:11:17.75]         --- End of stack trace from previous ___location ---
2025-07-25T10:04:47.5589295Z [xUnit.net 00:11:17.75]       Output:
2025-07-25T10:04:47.5623272Z [xUnit.net 00:11:17.75]         | [0.001s] TestLifetime Information: Starting test RequestPathBase_WithDoubleSlashes_Split-_Sub_App_PathANDPathBase_PATH-_Sub_App_PathANDPathBase-_PATH at 2025-07-25T10:04:47
2025-07-25T10:04:47.5658380Z [xUnit.net 00:11:17.75]         | [0.002s] FIXTURE:Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: IncrementMessages called
2025-07-25T10:04:47.5696582Z [xUnit.net 00:11:17.75]         | [0.002s] FIXTURE:Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISExpressDeployer Information: iisexpress stdout: Response sent: http://localhost:51884/Sub/App/PathANDPathBase/PATH with HTTP status 500.19
2025-07-25T10:04:47.5727603Z [xUnit.net 00:11:17.75]         | [0.005s] Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests Error: Test threw an exception.
2025-07-25T10:04:47.5762940Z [xUnit.net 00:11:17.75]         | Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
2025-07-25T10:04:47.5823479Z [xUnit.net 00:11:17.75]         | Expected: 200
2025-07-25T10:04:47.5837227Z [xUnit.net 00:11:17.75]         | Actual:   500
2025-07-25T10:04:47.5865303Z [xUnit.net 00:11:17.75]         |    at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 154
2025-07-25T10:04:47.5899986Z [xUnit.net 00:11:17.75]         |    at Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split(String url, String expectedPathBase, String expectedPath) in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs:line 78
2025-07-25T10:04:47.5933712Z [xUnit.net 00:11:17.75]         |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2025-07-25T10:04:47.5965590Z [xUnit.net 00:11:17.75]         | --- End of stack trace from previous ___location ---
2025-07-25T10:04:47.6004641Z [xUnit.net 00:11:17.75]         |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2025-07-25T10:04:47.6033273Z [xUnit.net 00:11:17.75]         |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2025-07-25T10:04:47.6069142Z [xUnit.net 00:11:17.75]         | [0.005s] TestLifetime Information: Finished test RequestPathBase_WithDoubleSlashes_Split-_Sub_App_PathANDPathBase_PATH-_Sub_App_PathANDPathBase-_PATH in 0.0047899s
2025-07-25T10:04:47.6093182Z [xUnit.net 00:11:17.75]     Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split(url: "/%2F\\/Sub/App/PathAndPathBase/Path", expectedPathBase: "/%2F\\/Sub/App/PathAndPathBase", expectedPath: "/Path") 

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1105240
Error message validated: [Microsoft\.AspNetCore\.Server\.IIS\.IISExpress\.FunctionalTests\.RequestPathBaseTests\.RequestPathBase_WithDoubleSlashes_Split\(url: "\/Sub\/App\/PathANDPathBase\/PATH", expectedPathBase: "\/Sub\/App\/PathANDPathBase", expectedPath: "\/PATH"\) \[FAIL\]]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/25/2025 11:58:58 AM UTC

Report

Build Definition Test Pull Request
1108184 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62912
1107805 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62912
1107071 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62912
1106886 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62912
1106157 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62885
1106142 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split
1106064 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62929
1106032 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split
1106048 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62885
1105433 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62913
1105911 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62929
1105930 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split
1105860 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62928
1105848 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split
1105827 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62926
1105240 dotnet/aspnetcore Microsoft.AspNetCore.Server.IIS.IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split #62885

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorIssue that should show up in Build Analysisarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCMtest-failure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions