dotnet / dotnet/msbuild

[Flaky Test] Microsoft.Build.UnitTests.TerminalLogger_Tests.ReplayBinaryLogWithFewerNodesThanOriginalBuild

Open
#14,394 2 comments 0 reactions 0 assignees View on GitHub
flaky-test
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

**Flaky-test key** (automated de-duplication — do not edit):
```text
flaky-test-id: Microsoft.Build.UnitTests.TerminalLogger_Tests.ReplayBinaryLogWithFewerNodesThanOriginalBuild
```

## Evidence

- **Distinct sources:** 3 (1 approved PR + 2 rolling `main` builds)
- **Affected PRs:** #14371
- **Rolling build IDs:** [1498777](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1498777), [1507790](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1507790)
- **Total failures:** 3
- **Legs:** CoreOnMac
- **TFMs:** net10.0
- **Assembly:** Microsoft.Build.Engine.UnitTests
- **First seen:** 2026-07-08 | **Last seen:** 2026-07-15
- **Distinct error hashes:** 3 (sporadic, non-deterministic failure signatures)
- **Sample build:** [1510234](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1510234)

## Sample error

```
System.TimeoutException : Test failed due to timeout: process 27150 is active for more than 30 sec.
```

## Fully-qualified test name

`Microsoft.Build.UnitTests.TerminalLogger_Tests.ReplayBinaryLogWithFewerNodesThanOriginalBuild`
Assembly: `Microsoft.Build.Engine.UnitTests`
Project: `src/Build.UnitTests/`

## Action

This test will be **quarantined** via `[ActiveIssue("https://github.com/dotnet/msbuild/issues/")]` (from `Microsoft.DotNet.XUnitV3Extensions`, namespace `Xunit`) until the underlying nondeterminism is fixed. The quarantine pipeline (def 344) will continue collecting signal over time.

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `awmgmcpg`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "awmgmcpg"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

> Generated by [Flaky Test Triage](https://github.com/dotnet/msbuild/actions/runs/29493043688) · 78.5 AIC · ⌖ 6.94 AIC · ⊞ 13.5K · [◷](https://github.com/search?q=repo%3Adotnet%2Fmsbuild+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Fmsbuild%2Fflaky-test-detector.agent%22&type=issues)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/Build.UnitTests/ with Microsoft.Build.UnitTests.TerminalLogger_Tests.ReplayBinaryLogWithFewerNodesThanOriginalBuild and reproduce the timeout on CoreOnMac. Review the quarantined test behavior and the referenced flaky-build evidence to identify the nondeterministic process condition. Done means the test completes reliably without the timeout and no longer needs its ActiveIssue quarantine.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.