Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] Collect test assets on failed tests #3726

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Fix IDEXXXX issues

fcc1ff5
Select commit
Loading
Failed to load commit list.
Draft

[do not merge] Collect test assets on failed tests #3726

Fix IDEXXXX issues
fcc1ff5
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Aug 30, 2024 in 1h 2m 37s

Build #20240830.9 had test failures

Details

Tests

  • Failed: 5 (0.02%)
  • Passed: 20,619 (99.98%)
  • Other: 0 (0.00%)
  • Total: 20,624
Code coverage

  • 81532 of 132731 blocks covered (61.43%)
  • 57434 of 93845 lines covered (61.20%)

Annotations

Check failure on line 0 in TestingPlatform

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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 1 in MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

Timeout after 50s on command line: '/mnt/vss/_work/1/s/.dotnet/dotnet publish -r linux-x64 -f net8.0 /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/iw5m1/MSTestSdk /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true'
STD:   Determining projects to restore...
  Restored /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/iw5m1/MSTestSdk/MSTestSdk.csproj (in 900 ms).
  MSTestSdk -> /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/iw5m1/MSTestSdk/bin/Release/net8.0/linux-x64/MSTestSdk.dll
  Generating native code
ERR: 
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsyncAndReturnExitCodeAsync(String commandLine, IDictionary`2 environmentVariables, String workingDirectory, Boolean cleanDefaultEnvironmentVariableIfCustomAreProvided, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 101
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, IDictionary`2 environmentVariables, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 103
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 96
   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 132
   at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 115
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   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 112
   at MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/SdkTests.cs:line 311
   at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_SdkTests.<>c.<<BuildAsync>b__3_16>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.SdkTests.g.cs:line 413

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

Timeout after 50s on command line: '/mnt/vss/_work/1/s/.dotnet/dotnet publish -r linux-x64 -f net8.0 /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/GjAID/MSTestSdk /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true'
STD:   Determining projects to restore...
  Restored /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/GjAID/MSTestSdk/MSTestSdk.csproj (in 1.42 sec).
  MSTestSdk -> /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/GjAID/MSTestSdk/bin/Release/net8.0/linux-x64/MSTestSdk.dll
  Generating native code
ERR: 
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsyncAndReturnExitCodeAsync(String commandLine, IDictionary`2 environmentVariables, String workingDirectory, Boolean cleanDefaultEnvironmentVariableIfCustomAreProvided, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 101
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, IDictionary`2 environmentVariables, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 103
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 96
   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 132
   at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 115
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   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 112
   at MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/SdkTests.cs:line 311
   at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_SdkTests.<>c.<<BuildAsync>b__3_16>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Debug/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.SdkTests.g.cs:line 413

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero

Timeout after 50s on command line: 'D:\a\_work\1\s/.dotnet/dotnet.exe publish -m:1 -nodeReuse:false D:\a\_work\1\s\artifacts\tmp\Release\testsuite\frvpR\NativeAotTests -r win-x64 /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true'
STD:   Determining projects to restore...
  Restored D:\a\_work\1\s\artifacts\tmp\Release\testsuite\frvpR\NativeAotTests\NativeAotTests.csproj (in 612 ms).
  NativeAotTests -> D:\a\_work\1\s\artifacts\tmp\Release\testsuite\frvpR\NativeAotTests\bin\Release\net8.0\win-x64\NativeAotTests.dll
  Generating native code
ERR: 
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsyncAndReturnExitCodeAsync(String commandLine, IDictionary`2 environmentVariables, String workingDirectory, Boolean cleanDefaultEnvironmentVariableIfCustomAreProvided, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 101
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, IDictionary`2 environmentVariables, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 103
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 96
   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 132
   at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 115
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   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 112
   at MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/NativeAotTests.cs:line 106
   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

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test

Timeout after 50s on command line: 'D:\a\_work\1\s/.dotnet/dotnet.exe publish -r win-x64 -f net8.0 D:\a\_work\1\s\artifacts\tmp\Release\testsuite\4jpn9\MSTestSdk /warnaserror -p:SuppressNETCoreSdkPreviewMessage=true'
STD:   Determining projects to restore...
  Restored D:\a\_work\1\s\artifacts\tmp\Release\testsuite\4jpn9\MSTestSdk\MSTestSdk.csproj (in 836 ms).
  MSTestSdk -> D:\a\_work\1\s\artifacts\tmp\Release\testsuite\4jpn9\MSTestSdk\bin\Release\net8.0\win-x64\MSTestSdk.dll
  Generating native code
ERR: 
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsyncAndReturnExitCodeAsync(String commandLine, IDictionary`2 environmentVariables, String workingDirectory, Boolean cleanDefaultEnvironmentVariableIfCustomAreProvided, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 101
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, IDictionary`2 environmentVariables, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 103
   at Microsoft.Testing.TestInfrastructure.DotnetMuxer.ExecuteAsync(String arguments, String workingDirectory, Int32 timeoutInSeconds) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetMuxer.cs:line 96
   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 132
   at Microsoft.Testing.TestInfrastructure.DotnetCli.<>c__DisplayClass10_0.<<RunAsync>b__0>d.MoveNext() in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs:line 115
--- End of stack trace from previous location ---
   at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
   at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
   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 112
   at MSTest.Acceptance.IntegrationTests.SdkTests.NativeAot_Smoke_Test() in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/SdkTests.cs:line 311
   at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_SdkTests.<>c.<<BuildAsync>b__3_16>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.SdkTests.g.cs:line 413