[Bug]: CustomAnalyzerTest tests fail on macOS 13 and 14 #10131
Labels
Area: BuildCheck
Area: Our Own Build
Problems affecting the build or build infrastructure of the MSBuild repo itself.
bug
triaged
Issue Description
Recently PR #10076 added a new CustomAnalyzerTest [Theory] with two sets of data. The PR build checks passed running on a
macos-12
image.However, when I build locally and run tests on macOS 14 on ARM and macOS 13 on Intel, the tests fail.
Steps to Reproduce
./build.sh
../build.sh --test
Expected Behavior
All tests should pass.
Actual Behavior
CustomAnalyzerTest
tests fail.The Microsoft.Build.BuildCheck.UnitTests_net8.0_x64.html and .Microsoft.Build.BuildCheck.UnitTests_net8.0_x64xml log files are attached in a .zip.
Microsoft.Build.BuildCheck.UnitTests_net8.0_x64.zip
Analysis
The tests fail in
BuildAnalyzerRules()
after callingRunnerUtilities.ExecBootstrapedMSBuild()
:msbuild/src/BuildCheck.UnitTests/EndToEndTests.cs
Lines 164 to 174 in 393c2fe
Versions & Configurations
MSBuild version 17.11.0-dev-24263-01+a8e224f80 for .NET
17.11.0.26301
macOS Sonoma 14.4.1
Apple M1 Pro (ARM)
macOS Ventura 13.6.6
Intel Core i7
The text was updated successfully, but these errors were encountered: