Avoid setting IsTestingPlatformApplication in MTP.targets #7566
Build MacOS Debug failed
Annotations
Check failure on line 161 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs
azure-pipelines / microsoft.testfx (Build MacOS Debug)
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L161
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(161,1): error : [MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests ("net10.0",Debug,True)] [net11.0] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests' at line 55 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSBuildRunnerTests.cs'. Output of the dotnet muxer is:
Args: build --no-restore /t:Test /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4Xrlh/Solution/MSTestSolution.sln -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests-42.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:03.50
StandardError:
Check failure on line 161 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs
azure-pipelines / microsoft.testfx (Build MacOS Debug)
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L161
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(161,1): error : [MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests ("net10.0",Release,True)] [net11.0] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests' at line 55 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSBuildRunnerTests.cs'. Output of the dotnet muxer is:
Args: build --no-restore /t:Test /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/LNtS6/Solution/MSTestSolution.sln -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/MSBuildTestTarget_SingleAndMultiTfm_Should_Run_Solution_Tests-43.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.89
StandardError:
Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs
azure-pipelines / microsoft.testfx (Build MacOS Debug)
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs#L665
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass] [net11.0] Assert.AreEqual failed. Expected:<0>. Actual:<1>. 'expected' expression: 'exitCode', 'actual' expression: 'testHostResult.ExitCode'. Expression 'AssertExitCodeIs' failed for member 'HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass' at line 67 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs'. Output of the dotnet muxer is:
Args: test --project "/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/DYotF/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 7s --results-directory "/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/DYotF/AssetFixture/6d4aeab4a1744fde96874555fd59be1e/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/HangDump_WithDotnetTest_NoHangButOverallTimeGreaterThanTimeout_ShouldPass-14.binlog"
ExitCode: 1
StandardOutput: Telemetry is: Disabled
StandardError: Get projects properties with MSBuild didn't execute properly with exit code: 1.
Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs
azure-pipelines / microsoft.testfx (Build MacOS Debug)
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs#L665
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [HangDump_WithDotnetTest_CreateDump] [net11.0] Assert.AreEqual failed. Expected:<7>. Actual:<1>. 'expected' expression: 'exitCode', 'actual' expression: 'testHostResult.ExitCode'. Expression 'AssertExitCodeIs' failed for member 'HangDump_WithDotnetTest_CreateDump' at line 45 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs'. Output of the dotnet muxer is:
Args: test --project "/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/DYotF/AssetFixture" --no-build -c Release -f net10.0 --hangdump --hangdump-timeout 8s --results-directory "/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/DYotF/AssetFixture/c51e080c92144347b6a94f5a5d8fa988/net10.0" -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/HangDump_WithDotnetTest_CreateDump-15.binlog"
ExitCode: 1
StandardOutput: Telemetry is: Disabled
StandardError: Get projects properties with MSBuild didn't execute properly with exit code: 1.
Check failure on line 176 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs
azure-pipelines / microsoft.testfx (Build MacOS Debug)
test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L176
test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(176,1): error : [HelpShortName_WhenNoExtensionRegistered_OutputDefaultHelpContent ("net10.0")] [net11.0] Class Initialization method Microsoft.Testing.Platform.Acceptance.IntegrationTests.HelpInfoTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/AllExtensionsInfoTest-17.binlog"' failed.
StandardOutput:
Telemetry is: Disabled
Determining projects to restore...
Restored /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj (in 1.73 sec).
/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
Build FAILED.
/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest/Program.cs(1,7): error CS0246: The type or namespace name 'AllExtensionsInfoTest' could not be found (are you missing a using directive or an assembly reference?) [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/PMKIx/AllExtensionsInfoTest/AllExtensionsInfoTest.csproj::TargetFramework=net10.0]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:06.85
StandardError:
.