You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both tests fail in the same builds with HTTP 500 instead of expected 200, suggesting an IISExpress startup race condition. The using Microsoft.AspNetCore.InternalTesting; statement was already present in the file.
Note: This source file (Common.FunctionalTests/RequestPathBaseTests.cs) compiles into multiple test assemblies. The failures are observed only in the IISExpress variant ([RequiresNewHandler] tests).
The patch file is available in the agent artifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 24028854426 -n agent -D /tmp/agent-24028854426
# Create a new branch
git checkout -b quarantine/2026-04-06-iis-request-pathbase-e93f76f0a7e74b99
# Apply the patch (--3way handles cross-repo patches where files may already exist)
git am --3way /tmp/agent-24028854426/aw-quarantine-2026-04-06-iis-request-pathbase.patch
# Push the branch to origin
git push origin quarantine/2026-04-06-iis-request-pathbase-e93f76f0a7e74b99
# Create the pull request
gh pr create --title '[test-quarantine] Quarantine IIS RequestPathBaseTests flaky tests (HTTP 500 on startup)' --base main --head quarantine/2026-04-06-iis-request-pathbase-e93f76f0a7e74b99 --repo DeagleGross/aspnetcore
Show patch preview (42 of 42 lines)
From 830afb556f3fcfc7305062f3cac7afbd7ec2cb63 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Mon, 6 Apr 2026 11:21:16 +0000
Subject: [PATCH] Quarantine RequestPathBaseTests.RequestPathBase_Split and
RequestPathBase_WithDoubleSlashes_Split
Both tests have been flaky in the IISExpress.FunctionalTests pipeline,
failing with HTTP 500 instead of expected 200 (6 failures across 4 builds
in the past 30 days). The failures are consistent with an IISExpress
startup race condition.
Associated issue: https://github.com/DeagleGross/aspnetcore/issues/161
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.../IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs
index fd4cd1d429..da50219623 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/RequestPathBaseTests.cs@@ -32,6 +32,7 @@ public class RequestPathBaseTests : FixtureLoggedTest
[ConditionalTheory]
[RequiresNewHandler]
+ [QuarantinedTest("https://github.com/DeagleGross/aspnetcore/issues/161")]
[InlineData("/Sub/App/PathAndPathBase", "/Sub/App/PathAndPathBase", "")]
[InlineData("/SUb/APp/PathAndPAthBase", "/SUb/APp/PathAndPAthBase", "")]
[InlineData(@"/Sub\App/PathAndPathBase/", @"/Sub\App/PathAndPathBase", "/")]
@@ -52,6 +53,7 @@ public class RequestPathBaseTests : FixtureLoggedTest
[ConditionalTheory]
[RequiresNewHandler]
+ [QuarantinedTest("https://github.com/DeagleGross/aspnetcore/issues/161")]
[InlineData("//Sub/App/PathAndPathBase", "//Sub/App/PathAndPathBase", "")]
[InlineData(@"/\Sub/App/PathAndPathBase/", @"/\Sub/App/PathAndPathBase", "/")]
[InlineData(@"/Sub/\App/PathAndPathBase//pat
... (truncated)
Quarantines two IIS path base tests that have been intermittently failing in the
IISExpress.FunctionalTestspipeline:IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_SplitIISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_SplitBoth tests fail in the same builds with HTTP 500 instead of expected 200, suggesting an IISExpress startup race condition. The
using Microsoft.AspNetCore.InternalTesting;statement was already present in the file.Note: This source file (
Common.FunctionalTests/RequestPathBaseTests.cs) compiles into multiple test assemblies. The failures are observed only in the IISExpress variant ([RequiresNewHandler]tests).Associated issue: #161
Note
🔒 Integrity filter blocked 19 items
The following items were blocked because they don't meet the GitHub integrity level.
list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download patch artifact
The patch file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes:
Show patch preview (42 of 42 lines)