microsoft / microsoft/aspire

Failing test: Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestInfoAndWarn

Open
#12,725 2 comments 0 reactions 0 assignees View on GitHub
area-engineering-systems flaky-test triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information
Build: https://github.com/dotnet/aspire/actions/runs/19086481393
Build error leg or test failing: Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestInfoAndWarn
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.Single() Failure: The collection was empty
```

Stack Trace

```
at Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestInfoAndWarn() in /_/tests/Aspire.RabbitMQ.Client.Tests/AspireRabbitMQLoggingTests.cs:line 94
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
```

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

Contributor guide

Open the contributing guide

Research direction

Start with tests/Aspire.RabbitMQ.Client.Tests/AspireRabbitMQLoggingTests.cs at line 94 and run Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestInfoAndWarn to reproduce the empty collection assertion. Trace the logging setup and captured messages used by this test; done means the test reliably observes the expected info and warning entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, rabbitmq
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.