Flaky-test key (automated de-duplication — do not edit):
flaky-test-id: Microsoft.Build.UnitTests.XMakeAppTests.GetCommandLineQuotedExeOnPath
Evidence
This test has been flagged as flaky by the automated flaky-test detector.
- Distinct sources: 3 (rolling
main builds only)
- Rolling build IDs: 1464065, 1475010, 1481906
- Total failures: 4
- Distinct error signatures: 4 (indicating non-deterministic failure modes)
- Legs: FullOnWindows, FullOnWindows Release
- TFMs: net472
- Assembly:
Microsoft.Build.CommandLine.UnitTests
- First seen: 2026-06-15
- Last seen: 2026-06-25
- Sample build: 1464065
Representative error
Shouldly.ShouldAssertException : output
should contain (case insensitive comparison)
"D:\a\_work\1\s\artifacts\bin\Microsoft.Build.CommandLine.UnitTests\Debug\net472\MSBuild.exe /v:diag C:\Windows\system32\notepad.exe"
but was actually
"MSBuild version 18.9.0-ci-26315-01+4f9fffae9 for .NET Framework ..."
Location
- Fully-qualified name:
Microsoft.Build.UnitTests.XMakeAppTests.GetCommandLineQuotedExeOnPath
- Assembly:
Microsoft.Build.CommandLine.UnitTests
- Source:
src/MSBuild.UnitTests/XMake_Tests.cs (line ~1317)
- Project:
src/MSBuild.UnitTests/Microsoft.Build.CommandLine.UnitTests.csproj
Next steps
This test will be quarantined via [ActiveIssue("https://github.com/dotnet/msbuild/issues/<this_issue>")] (from Microsoft.DotNet.XUnitV3Extensions, namespace Xunit) — not [Fact(Skip=...)] — until the underlying nondeterminism is fixed. The quarantine pipeline (definition 344, azure-pipelines/quarantine.yml) will continue running this test on Windows/Linux/macOS across main's rolling builds to gather failure signal over time.
Generated by Flaky Test Triage · 405.3 AIC · ⊞ 34.9K · ◷
Flaky-test key (automated de-duplication — do not edit):
Evidence
This test has been flagged as flaky by the automated flaky-test detector.
mainbuilds only)Microsoft.Build.CommandLine.UnitTestsRepresentative error
Location
Microsoft.Build.UnitTests.XMakeAppTests.GetCommandLineQuotedExeOnPathMicrosoft.Build.CommandLine.UnitTestssrc/MSBuild.UnitTests/XMake_Tests.cs(line ~1317)src/MSBuild.UnitTests/Microsoft.Build.CommandLine.UnitTests.csprojNext steps
This test will be quarantined via
[ActiveIssue("https://github.com/dotnet/msbuild/issues/<this_issue>")](fromMicrosoft.DotNet.XUnitV3Extensions, namespaceXunit) — not[Fact(Skip=...)]— until the underlying nondeterminism is fixed. The quarantine pipeline (definition 344,azure-pipelines/quarantine.yml) will continue running this test on Windows/Linux/macOS across main's rolling builds to gather failure signal over time.