Skip to content

[outerloop-tests] Fix Radius MongoDB outerloop test selectors - #20411

Merged
Ankit Jain (radical) merged 1 commit into
mainfrom
copilot/outer-loop-test-failure-fix
Sep 28, 2026
Merged

Ankit Jain (radical) merged 1 commit into
mainfrom
copilot/outer-loop-test-failure-fix

Conversation

Copilot AI commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes the recurring Linux outerloop failure in RadiusDeployTests.DeployRadiusRedisRabbitMqAndMongoBackingResourcesToKind.

This is a deterministic test defect, not a flaky failure: the MongoDB resource follows Radius's legacy recipe path and labels its Deployment and pods with resource=docs. The test used the Radius v2 selector, radapp.io/resource=docs, which can never match the legacy MongoDB workload.

The mismatch was introduced in PR #19555 (commit 51c8f93), which added this outerloop scenario and both incompatible selectors. The first affected scheduled run failed on September 15; the same failure was subsequently reported in nine outerloop runs.

Two verified examples from the scheduled main Outerloop workflow: September 15, run 34920255358 (attempt 4) and September 23, run 35809367842 (attempt 4). In each, the Linux Cli.EndToEnd job failed at RadiusDeployTests.cs:709 with Command failed with non-zero exit code (detected ERR prompt at sequence 44).

This change uses resource=docs for both MongoDB Deployment readiness and pod discovery.

Validation:

dotnet build tests/Aspire.Cli.EndToEnd.Tests/Aspire.Cli.EndToEnd.Tests.csproj --no-restore -v:q /p:RunOuterloopTests=true

The targeted build passed. The full outerloop workflow is running: run 35935019961.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

@radical Ankit Jain (radical) changed the title Fix Radius MongoDB outerloop test selectors [outerloop-tests] Fix Radius MongoDB outerloop test selectors Sep 23, 2026
@radical
Ankit Jain (radical) marked this pull request as ready for review September 23, 2026 23:59
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20411

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20411"

@github-actions github-actions Bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

1 / 99 PR test projects · 0 PR jobs, from 1 changed file.

Selected PR test projects (1 / 99)

Aspire.Cli.EndToEnd.Tests

Selected PR jobs (0)

none


How these were chosen — grouped by what changed

🧪 tests/Aspire.Cli.EndToEnd.Tests/RadiusDeployTests.cs (changed test)
→ 1 directly: Aspire.Cli.EndToEnd.Tests

Job reasons

none


Selection computed for commit f9bc54f.

@eerhardt

Copy link
Copy Markdown
Member

FYI Nell Shamrell-Harrington (@nellshamrell)

@radical
Ankit Jain (radical) merged commit 7338bd9 into main Sep 28, 2026
230 of 286 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 14.0 milestone Sep 28, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants