Drop Microsoft.NET.Test.Sdk from the MSTest metapackage#9546
Build #20260701.9 had test failures
Details
- Failed: 3 (0.00%)
- Passed: 60,483 (99.56%)
- Other: 265 (0.44%)
- Total: 60,751
- 109389 of 163139 blocks covered (67.05%)
- 75564 of 117169 lines covered (64.49%)
Annotations
Check failure on line 531 in Build log
azure-pipelines / microsoft.testfx
Build log #L531
Cmd.exe exited with code '2'.
Check failure on line 404 in Build log
azure-pipelines / microsoft.testfx
Build log #L404
Bash exited with code '2'.
Check failure on line 419 in Build log
azure-pipelines / microsoft.testfx
Build log #L419
Bash exited with code '2'.
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage
Test method MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage threw exception:
System.InvalidOperationException: Command 'dotnet build /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/AnalyzersShouldBeEnabledWhenUsingMetapackage-5.binlog"' failed.
StandardOutput:
Telemetry is: Disabled
Determining projects to restore...
Restored /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/AnalyzersMetapackage.csproj (in 3.28 sec).
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
Build FAILED.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/37AUG/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:09.40
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerCoreAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 170
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass9_0.<<CallTheMuxerAsync>b__2>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 120
--- End of stack trace from previous location ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteInternalAsync[TResult](Func`3 action, Context context, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
at Microsoft.Testing.TestInfrastructure.DotnetCli.RunAsync(String args, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage, String callerMemberName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 104
at MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/AnalyzersTests.cs:line 113
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.Execution.cs:line 150
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage
Test method MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage threw exception:
System.InvalidOperationException: Command 'dotnet build /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/AnalyzersShouldBeEnabledWhenUsingMetapackage-5.binlog"' failed.
StandardOutput:
Telemetry is: Disabled
Determining projects to restore...
Restored /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/AnalyzersMetapackage.csproj (in 3.82 sec).
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
Build FAILED.
/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/4akik/AnalyzersMetapackage/AnalyzersMetapackage.csproj::TargetFramework=net10.0]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:10.45
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerCoreAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 170
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass9_0.<<CallTheMuxerAsync>b__2>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 120
--- End of stack trace from previous location ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteInternalAsync[TResult](Func`3 action, Context context, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
at Microsoft.Testing.TestInfrastructure.DotnetCli.RunAsync(String args, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage, String callerMemberName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 104
at MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/AnalyzersTests.cs:line 113
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.Execution.cs:line 150
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage
Test method MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage threw exception:
System.InvalidOperationException: Command 'dotnet build D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\AnalyzersShouldBeEnabledWhenUsingMetapackage-7.binlog"' failed.
StandardOutput:
Telemetry is: Disabled
Determining projects to restore...
Restored D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\AnalyzersMetapackage.csproj (in 813 ms).
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\AnalyzersMetapackage.csproj::TargetFramework=net10.0]
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\AnalyzersMetapackage.csproj::TargetFramework=net10.0]
Build FAILED.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\UnitTest1.cs(7,17): warning MSTEST0014: DataRow should only be set on a test method (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0014) [D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\AnalyzersMetapackage.csproj::TargetFramework=net10.0]
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\yufC8\AnalyzersMetapackage\AnalyzersMetapackage.csproj::TargetFramework=net10.0]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:13.64
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerCoreAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 170
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass9_0.<<CallTheMuxerAsync>b__2>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 120
--- End of stack trace from previous location ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteInternalAsync[TResult](Func`3 action, Context context, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Boolean failIfReturnValueIsNotZero, String binlogBaseFileName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
at Microsoft.Testing.TestInfrastructure.DotnetCli.RunAsync(String args, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage, String callerMemberName, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 104
at MSTest.Acceptance.IntegrationTests.AnalyzersTests.AnalyzersShouldBeEnabledWhenUsingMetapackage() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/AnalyzersTests.cs:line 113
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.Execution.cs:line 150