Skip to content

[test-quarantine] Quarantine IIS RequestPathBaseTests flaky tests (HTTP 500 on startup) #168

@DeagleGross

Description

@DeagleGross

Quarantines two IIS path base tests that have been intermittently failing in the IISExpress.FunctionalTests pipeline:

Test Failures (30 days) Issue
IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_Split 6 #161
IISExpress.FunctionalTests.RequestPathBaseTests.RequestPathBase_WithDoubleSlashes_Split 6 #161

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).

Associated issue: #161

Note

🔒 Integrity filter blocked 19 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #66159 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66137 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66135 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66092 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66084 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66070 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66061 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66060 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #66003 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65930 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65928 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65893 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65891 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65887 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65880 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #65871 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • ... and 3 more items

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Daily Test Quarantine Management ·


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 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions