microsoft / microsoft/aspire

Failing test: Aspire.Hosting.Azure.Tests.AzureDeployerTests.DeployAsync_WithSingleRedisCache_CallsDeployingComputeResources

Open
#12,512 4 comments 1 reaction 0 assignees View on GitHub
area-deployment azure failing-test
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 12h
Merged PRs (30d)
201

Description

## Build Information
Build: https://github.com/dotnet/aspire/actions/runs/18927391540
Build error leg or test failing: Aspire.Hosting.Azure.Tests.AzureDeployerTests.DeployAsync_WithSingleRedisCache_CallsDeployingComputeResources
Pull request:

## Error Message

Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssueJsonStepByStep.md).

```json
{
"ErrorMessage": "",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

## Error Details

```
Assert.Contains() Failure: Item not found in collection
Collection: ["pipeline execution", "deploy-prereq", "validate-azure-login", "create-provisioning-context", "provision-env", ···]
Not found: "provision-cache-containerapp"
```

Stack Trace

```
at Aspire.Hosting.Azure.Tests.AzureDeployerTests.DeployAsync_WithSingleRedisCache_CallsDeployingComputeResources() in D:\a\aspire\aspire\tests\Aspire.Hosting.Azure.Tests\AzureDeployerTests.cs:line 638
--- End of stack trace from previous location ---
```

📊 **[View CI Failure Report](https://github.com/microsoft/aspire/issues/12512#issuecomment-4174838945)**

Contributor guide

Open the contributing guide

Research direction

Start with tests/Aspire.Hosting.Azure.Tests/AzureDeployerTests.cs at line 638 and review the failing DeployAsync_WithSingleRedisCache_CallsDeployingComputeResources test. Run the referenced build or the test project to reproduce the missing "provision-cache-containerapp" item, then compare the expected deployment pipeline with the generated collection. Done means the test passes with the intended Redis cache deployment steps present.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.