Update sourcegen #3880
Update sourcegen #3880
Build #20241120.62 had test failures
Details
- Failed: 54 (0.26%, 54 new, 0 recurring)
- Passed: 21,066 (99.74%)
- Other: 0 (0.00%)
- Total: 21,120
- 74449 of 115748 blocks covered (64.32%)
- 51726 of 80110 lines covered (64.57%)
Annotations
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: /mnt/vss/_work/1/s/artifacts/log/Release/MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: /mnt/vss/_work/1/s/artifacts/log/Debug/MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Release\MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Debug\MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRespectIgnoreInClass
Command 'dotnet restore -m:1 -nodeReuse:false /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/IR5dv/NativeAotTests -r linux-x64 /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true' failed.
StandardOutput:
Determining projects to restore...
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/IR5dv/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.AdapterUtilities (>= 17.13.0-dev) but Microsoft.TestPlatform.AdapterUtilities 17.13.0-dev was not found. Microsoft.TestPlatform.AdapterUtilities 17.13.0-preview-24510-01 was resolved instead.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/IR5dv/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.ObjectModel (>= 17.13.0-dev) but Microsoft.TestPlatform.ObjectModel 17.13.0-dev was not found. Microsoft.TestPlatform.ObjectModel 17.13.0-preview-24510-01 was resolved instead.
Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/IR5dv/NativeAotTests/NativeAotTests.csproj (in 1.36 sec).
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Int32 timeoutInSeconds, Boolean failIfReturnValueIsNotZero) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 138
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
--- 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.RunAsync(String args, String nugetGlobalPackagesFolder, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Int32 timeoutInSeconds, Int32 retryCount, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 114
at MSTest.Acceptance.IntegrationTests.NativeAotTests.<>c__DisplayClass23_0.<<GetTestResultForCode>b__0>d.MoveNext() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 475
--- 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.RetryHelper.RetryAsync[T](Func`1 action, UInt32 times, TimeSpan every, Func`2 predicate) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/RetryHelper.cs:line 14
at MSTest.Acceptance.IntegrationTests.NativeAotTests.GetTestResultForCode(String code, String projectDir, Action`1 executeBeforeDisposingTestAsset) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 458
at MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRespectIgnoreInClass() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 376
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_NativeAotTests.<>c.<<BuildAsync>b__3_2>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.NativeAotTests.g.cs:line 135
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero
Command 'dotnet restore -m:1 -nodeReuse:false /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/cVJ4w/NativeAotTests -r linux-x64 /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true' failed.
StandardOutput:
Determining projects to restore...
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/cVJ4w/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.AdapterUtilities (>= 17.13.0-dev) but Microsoft.TestPlatform.AdapterUtilities 17.13.0-dev was not found. Microsoft.TestPlatform.AdapterUtilities 17.13.0-preview-24510-01 was resolved instead.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/cVJ4w/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.ObjectModel (>= 17.13.0-dev) but Microsoft.TestPlatform.ObjectModel 17.13.0-dev was not found. Microsoft.TestPlatform.ObjectModel 17.13.0-preview-24510-01 was resolved instead.
Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/cVJ4w/NativeAotTests/NativeAotTests.csproj (in 1.1 sec).
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Int32 timeoutInSeconds, Boolean failIfReturnValueIsNotZero) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 138
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
--- 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.RunAsync(String args, String nugetGlobalPackagesFolder, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Int32 timeoutInSeconds, Int32 retryCount, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 114
at MSTest.Acceptance.IntegrationTests.NativeAotTests.<>c__DisplayClass23_0.<<GetTestResultForCode>b__0>d.MoveNext() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 475
--- 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.RetryHelper.RetryAsync[T](Func`1 action, UInt32 times, TimeSpan every, Func`2 predicate) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/RetryHelper.cs:line 14
at MSTest.Acceptance.IntegrationTests.NativeAotTests.GetTestResultForCode(String code, String projectDir, Action`1 executeBeforeDisposingTestAsset) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 458
at MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 353
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_NativeAotTests.<>c.<<BuildAsync>b__3_0>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.NativeAotTests.g.cs:line 63
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_DerivedTestClassAttribute_NotCurrentlySupported
Command 'dotnet restore -m:1 -nodeReuse:false /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/X9YiD/NativeAotTests -r linux-x64 /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true' failed.
StandardOutput:
Determining projects to restore...
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/X9YiD/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.AdapterUtilities (>= 17.13.0-dev) but Microsoft.TestPlatform.AdapterUtilities 17.13.0-dev was not found. Microsoft.TestPlatform.AdapterUtilities 17.13.0-preview-24510-01 was resolved instead.
/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/X9YiD/NativeAotTests/NativeAotTests.csproj : error NU1603: NativeAotTests depends on Microsoft.TestPlatform.ObjectModel (>= 17.13.0-dev) but Microsoft.TestPlatform.ObjectModel 17.13.0-dev was not found. Microsoft.TestPlatform.ObjectModel 17.13.0-preview-24510-01 was resolved instead.
Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/X9YiD/NativeAotTests/NativeAotTests.csproj (in 1.35 sec).
StandardError:
Raw output
at Microsoft.Testing.TestInfrastructure.DotnetCli.CallTheMuxerAsync(String args, Dictionary`2 environmentVariables, String workingDirectory, Int32 timeoutInSeconds, Boolean failIfReturnValueIsNotZero) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 138
at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 117
--- 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.RunAsync(String args, String nugetGlobalPackagesFolder, String workingDirectory, Dictionary`2 environmentVariables, Boolean failIfReturnValueIsNotZero, Boolean disableTelemetry, Int32 timeoutInSeconds, Int32 retryCount, Boolean disableCodeCoverage, Boolean warnAsError, Boolean suppressPreviewDotNetMessage) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 114
at MSTest.Acceptance.IntegrationTests.NativeAotTests.<>c__DisplayClass23_0.<<GetTestResultForCode>b__0>d.MoveNext() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 475
--- 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.RetryHelper.RetryAsync[T](Func`1 action, UInt32 times, TimeSpan every, Func`2 predicate) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/RetryHelper.cs:line 14
at MSTest.Acceptance.IntegrationTests.NativeAotTests.GetTestResultForCode(String code, String projectDir, Action`1 executeBeforeDisposingTestAsset) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 458
at MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_DerivedTestClassAttribute_NotCurrentlySupported() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 390
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_NativeAotTests.<>c.<<BuildAsync>b__3_4>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.NativeAotTests.g.cs:line 207
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillFailBecauseTestedLibraryIsNotCompatible
Expression 'exitCode == testHostResult.ExitCode' failed for member 'NativeAotTests_WillFailBecauseTestedLibraryIsNotCompatible' at line 410 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs'.
Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/b8PlR/NativeAotTests/TestProject/bin/Release/net9.0/linux-x64/publish/NativeAotTests --report-trx
====================
ExitCode: 5
====================
StandardOutput:
MSTest v3.7.0-ci (UTC 11/21/2024)
Unknown option '--report-trx'
Usage NativeAotTests [option providers] [extension option providers]
Execute a .NET Test Application.
Options:
--diagnostic
Enable the diagnostic logging. The default log level is 'Trace'.
The file will be written in the output directory with the name log_[yyMMddHHmmssfff].diag
--diagnostic-filelogger-synchronouswrite
Force the built-in file logger to write the log synchronously.
Useful for scenario where you don't want to lose any log (i.e. in case of crash).
Note that this is slowing down the test execution.
--diagnostic-output-directory
Output directory of the diagnostic logging.
If not specified the file will be generated inside the default 'TestResults' directory.
--diagnostic-output-fileprefix
Prefix for the log file name that will replace '[log]_.'
--diagnostic-verbosity
Define the level of the verbosity for the --diagnostic.
The available values are 'Trace', 'Debug', 'Information', 'Warning', 'Error', and 'Critical'.
--exit-on-process-exit
Exit the test process if dependent process exits. PID must be provided.
--help
Show the command line help.
--ignore-exit-code
Do not report non successful exit value for specific exit codes
(e.g. '--ignore-exit-code 8;9' ignore exit code 8 and 9 and will return 0 in these case)
--info
Display .NET test application information.
--list-tests
List available tests.
--minimum-expected-tests
Specifies the minimum number of tests that are expected to run.
--results-directory
The directory where the test results are going to be placed.
If the specified directory doesn't exist, it's created.
The default is TestResults in the directory that contains the test application.
--timeout
A global test execution timeout.
Takes one argument as string in the format <value>[h|m|s] where 'value' is float.
Extension options:
--filter
Filters tests using the given expression. For more information, see the Filter option details section. For more information and examples on how to use selective unit test filtering, see https://learn.microsoft.com/dotnet/core/testing/selective-unit-tests.
--no-ansi
Disable outputting ANSI escape characters to screen.
--no-progress
Disable reporting progress to screen.
--output
Output verbosity when reporting tests.
Valid values are 'Normal', 'Detailed'. Default is 'Normal'.
--settings
The path, relative or absolute, to the .runsettings file. For more information and examples on how to configure test run, see https://learn.microsoft.com/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file#the-runsettings-file
--test-parameter
Specify or override a key-value pair parameter. For more information and examples, see https://learn.microsoft.com/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file#testrunparameters
====================
StandardError:
Raw output
at Microsoft.Testing.Internal.Framework.Assert.That(Boolean condition, String userMessage, String callerArgumentExpression, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/src/Microsoft.Testing.Internal.Framework/Assertions/Assert.cs:line 273
at Microsoft.Testing.Platform.Acceptance.IntegrationTests.Helpers.AcceptanceAssert.AssertExitCodeIs(TestHostResult testHostResult, Int32 exitCode, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs:line 12
at MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillFailBecauseTestedLibraryIsNotCompatible() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 410
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_NativeAotTests.<>c.<<BuildAsync>b__3_6>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.NativeAotTests.g.cs:line 279