Report target framework rather than runtime framework - #7081
Build #20251208.1 had test failures
Details
- Failed: 4 (0.01%)
- Passed: 33,288 (99.15%)
- Other: 280 (0.83%)
- Total: 33,572
- 137809 of 189306 blocks covered (72.80%)
- 95111 of 132004 lines covered (72.05%)
Annotations
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\a\artifacts\log\Debug
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\a\artifacts\log\Release
Check failure on line 153 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs
azure-pipelines / microsoft.testfx
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L153
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(153,1): error : [RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Debug)] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'RunTests_With_MSTestRunner_DotnetTest' at line 110 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/SdkTests.cs'. Output of the dotnet muxer is:
Args: test -c Debug --project D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk --no-progress --no-ansi -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\RunTests_With_MSTestRunner_DotnetTest-159.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Running tests from D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net10.0\MSTestSdk.dll (net10.0|x64)
Running tests from D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net462\MSTestSdk.exe (net462|x64)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net10.0\MSTestSdk.dll (net10.0|x64) passed (426ms)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net462\MSTestSdk.exe (net462|x64) passed (804ms)
Test run summary: Passed!
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net462\MSTestSdk.exe (net462|x64) passed (804ms)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\4sUGp\MSTestSdk\bin\Debug\net10.0\MSTestSdk.dll (net10.0|x64) passed (426ms)
total: 2
failed: 0
succeeded: 2
skipped: 0
duration: 1s 396ms
StandardError:
Check failure on line 153 in src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs
azure-pipelines / microsoft.testfx
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs#L153
src/TestFramework/TestFramework/Assertions/Assert.IsTrue.cs(153,1): error : [RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Release)] Assert.IsTrue failed. 'condition' expression: 'Regex.IsMatch(dotnetMuxerResult.StandardOutput, pattern)'. Expression 'AssertOutputMatchesRegex' failed for member 'RunTests_With_MSTestRunner_DotnetTest' at line 110 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/SdkTests.cs'. Output of the dotnet muxer is:
Args: test -c Release --project D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk --no-progress --no-ansi -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\RunTests_With_MSTestRunner_DotnetTest-160.binlog"
ExitCode: 0
StandardOutput: Telemetry is: Disabled
Running tests from D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net462\MSTestSdk.exe (net462|x64)
Running tests from D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net10.0\MSTestSdk.dll (net10.0|x64)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net10.0\MSTestSdk.dll (net10.0|x64) passed (485ms)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net462\MSTestSdk.exe (net462|x64) passed (729ms)
Test run summary: Passed!
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net462\MSTestSdk.exe (net462|x64) passed (729ms)
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\LQwue\MSTestSdk\bin\Release\net10.0\MSTestSdk.dll (net10.0|x64) passed (485ms)
total: 2
failed: 0
succeeded: 2
skipped: 0
duration: 1s 275ms
StandardError:
Check failure on line 1 in RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Debug)
azure-pipelines / microsoft.testfx
RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Debug)
Test failed
Check failure on line 1 in RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Release)
azure-pipelines / microsoft.testfx
RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Release)
Test failed
Check failure on line 1 in RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Release)
azure-pipelines / microsoft.testfx
RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Release)
Test failed
Check failure on line 1 in RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Debug)
azure-pipelines / microsoft.testfx
RunTests_With_MSTestRunner_DotnetTest ("net10.0;net462",Debug)
Test failed