Skip to content

[Draft] Integration tests perf#6853

Closed
Youssef1313 wants to merge 4 commits into
mainfrom
dev/ygerges/tp
Closed

[Draft] Integration tests perf#6853
Youssef1313 wants to merge 4 commits into
mainfrom
dev/ygerges/tp

Revert "Double processor count"

f9f7d78
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Nov 2, 2025 in 45m 0s

Build #20251102.17 had test failures

Details

Tests

  • Failed: 3 (0.01%)
  • Passed: 32,387 (98.01%)
  • Other: 654 (1.98%)
  • Total: 33,044
Code coverage

  • 176072 of 245306 blocks covered (71.78%)
  • 120613 of 169013 lines covered (71.36%)

Annotations

Check failure on line 202 in src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs#L202

src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs(202,1): error : Assert.IsNotNull failed. 'value' expression: 'dumpFile'. Dump file not found 'net9.0'
Command: /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/bin/Release/net9.0/HangDump --hangdump --hangdump-timeout 8s --hangdump-filename myhungdumpfile_%p.dmp --results-directory /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/9a3c4b3ca7b645d3a25d52bcdcc91429/net9.0
====================
ExitCode: 7
====================
StandardOutput:
Microsoft.Testing.Platform v2.1.0-ci (UTC 11/02/2025) [linux-x64 - net9.0]
Hang dump timeout of '00:00:08' expired
Dumping process 15366 - HangDump
Creating dump file '/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/9a3c4b3ca7b645d3a25d52bcdcc91429/net9.0/myhungdumpfile_15366.dmp'
[createdump] Target process is alive
Error while taking dump of process 15366 - HangDump: Microsoft.Diagnostics.NETCore.Client.ServerErrorException: [createdump] The process or container does not have permissions or access: open(/proc/15366/mem) FAILED Permission denied (13)
[createdump] Failure took 0ms
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.ValidateResponseMessage(IpcMessage responseMessage, String operationName, ValidateResponseOptions options)
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.WriteDump(DumpType dumpType, String dumpPath, WriteDumpFlags flags)
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.WriteDump(DumpType dumpType, String dumpPath, Boolean logDumpGeneration)
   at Microsoft.Testing.Extensions.Diagnostics.HangDumpProcessLifetimeHandler.TakeDumpAsync(IProcess process, CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs:line 466
Test application process didn't exit gracefully, exit code is '7'
====================
StandardError:
[createdump] The process or container does not have permissions or access: open(/proc/15366/mem) FAILED Permission denied (13)
[createdump] Failure took 0ms'

Check failure on line 422 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L422

Bash exited with code '2'.

Check failure on line 30 in test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs#L30

test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs(30,1): error : Test method Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild threw exception:
System.InvalidOperationException: Non-zero exit code 1 from command line: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests /t:Restore'
STD: MSBuild version 17.14.19+164abd434 for .NET Framework
Build started 11/2/2025 9:24:44 PM.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
Project "D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" on node 1 (Restore target(s)).
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
Done Building Project "D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" (Restore target(s)) -- FAILED.
Build FAILED.
  D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
"D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" (Restore target) (1) ->
  D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
    0 Warning(s)
    2 Error(s)
Time Elapsed 00:00:00.96
ERR: No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found

Check failure on line 852 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L852

Cmd.exe exited with code '2'.

Check failure on line 1 in Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_CustomFileName_CreateDump

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_CustomFileName_CreateDump

Assert.IsNotNull failed. 'value' expression: 'dumpFile'. Dump file not found 'net9.0'
Command: /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/bin/Release/net9.0/HangDump --hangdump --hangdump-timeout 8s --hangdump-filename myhungdumpfile_%p.dmp --results-directory /mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/9a3c4b3ca7b645d3a25d52bcdcc91429/net9.0
====================
ExitCode: 7
====================
StandardOutput:
Microsoft.Testing.Platform v2.1.0-ci (UTC 11/02/2025) [linux-x64 - net9.0]
Hang dump timeout of '00:00:08' expired
Dumping process 15366 - HangDump
Creating dump file '/mnt/vss/_work/1/s/artifacts/tmp/Release/testsuite/RnsfC/AssetFixture/9a3c4b3ca7b645d3a25d52bcdcc91429/net9.0/myhungdumpfile_15366.dmp'
[createdump] Target process is alive
Error while taking dump of process 15366 - HangDump: Microsoft.Diagnostics.NETCore.Client.ServerErrorException: [createdump] The process or container does not have permissions or access: open(/proc/15366/mem) FAILED Permission denied (13)
[createdump] Failure took 0ms
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.ValidateResponseMessage(IpcMessage responseMessage, String operationName, ValidateResponseOptions options)
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.WriteDump(DumpType dumpType, String dumpPath, WriteDumpFlags flags)
   at Microsoft.Diagnostics.NETCore.Client.DiagnosticsClient.WriteDump(DumpType dumpType, String dumpPath, Boolean logDumpGeneration)
   at Microsoft.Testing.Extensions.Diagnostics.HangDumpProcessLifetimeHandler.TakeDumpAsync(IProcess process, CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Extensions.HangDump/HangDumpProcessLifetimeHandler.cs:line 466
Test application process didn't exit gracefully, exit code is '7'
====================
StandardError:
[createdump] The process or container does not have permissions or access: open(/proc/15366/mem) FAILED Permission denied (13)
[createdump] Failure took 0ms'
Raw output
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertIsNotNullFailed(String message) in /_/src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs:line 202
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler.ComputeAssertion(String valueExpression) in /_/src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs:line 94
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsNotNull(Object value, AssertIsNotNullInterpolatedStringHandler& message, String valueExpression) in /_/src/TestFramework/TestFramework/Assertions/Assert.IsNull.cs:line 169
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.HangDumpTests.HangDump_CustomFileName_CreateDump() in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/HangDumpTests.cs:line 54
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 407

Check failure on line 1 in Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild

Test method Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild threw exception:
System.InvalidOperationException: Non-zero exit code 1 from command line: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests /t:Restore'
STD: MSBuild version 17.14.19+164abd434 for .NET Framework
Build started 11/2/2025 9:24:44 PM.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
Project "D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" on node 1 (Restore target(s)).
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
Done Building Project "D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" (Restore target(s)) -- FAILED.
Build FAILED.
  D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
"D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj" (Restore target) (1) ->
  D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\JA9a7\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
    0 Warning(s)
    2 Error(s)
Time Elapsed 00:00:00.96
ERR: No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsync(String commandLine, IDictionary`2 environmentVariables, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 30
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild() in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/MSBuildTests.Test.cs:line 116
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 407

Check failure on line 1 in Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild

Test method Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild threw exception:
System.InvalidOperationException: Non-zero exit code 1 from command line: '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests /t:Restore'
STD: MSBuild version 17.14.19+164abd434 for .NET Framework
Build started 11/2/2025 9:26:29 PM.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
Project "D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj" on node 1 (Restore target(s)).
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
Done Building Project "D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj" (Restore target(s)) -- FAILED.
Build FAILED.
  D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error : Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   Unable to locate the .NET SDK. Check that it is installed, your PATH is configured for the correct architecture, and that the version specified in global.json (if any) matches the installed version.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   The NuGetSdkResolver did not resolve this SDK because there was no version specified in the project or global.json.
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error :   MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.NET.Sdk" because directory "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk" did not exist.
"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj" (Restore target) (1) ->
  D:\a\_work\1\s\artifacts\tmp\Release\testsuite\eU8zO\MSBuildTests\MSBuild Tests.csproj : error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
    0 Warning(s)
    2 Error(s)
Time Elapsed 00:00:00.64
ERR: No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
Raw output
   at Microsoft.Testing.TestInfrastructure.CommandLine.RunAsync(String commandLine, IDictionary`2 environmentVariables, CancellationToken cancellationToken) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/CommandLine.cs:line 30
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_Test.RunUsingTestTargetWithNetfxMSBuild() in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/MSBuildTests.Test.cs:line 116
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 407