Skip to content

Update affected-test packages for faster collection - #12193

Merged
Amaury Levé (Evangelink) merged 2 commits into
mainfrom
dev/amauryleve/test-package-update
Nov 4, 2026
Merged

Amaury Levé (Evangelink) merged 2 commits into
mainfrom
dev/amauryleve/test-package-update

Clarify affected-test host CodeCoverage versions

30dd7f9
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Release) failed Nov 4, 2026 in 1h 16m 20s

Build Windows Release failed

Annotations

Check failure on line 366 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L366

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(366,1): error : AssemblyFixtureProvider_WhenDynamicCodeUnsupported_IsSkipped [net12.0]
Class Initialization method MSTest.Acceptance.IntegrationTests.AssemblyFixtureProviderNativeAotTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build D:\a\_work\1\s\artifacts\tmp\Release\testsuite\y14lm\AssemblyFixtureProviderNativeAotAcceptance -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -mt -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\AssemblyFixtureProviderNativeAotAcceptance-61804f6ac32b4ed48c03a5b5ba988d31.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  Restored D:\a\_work\1\s\artifacts\tmp\Release\testsuite\y14lm\AssemblyFixtureProviderNativeAotAcceptance\ProviderLibrary\ProviderLibrary.csproj (in 687 ms).
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\y14lm\AssemblyFixtureProvider...

Check failure on line 366 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L366

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(366,1): error : NativeAotTests_WillRunWithExitCodeZero ("net11.0") [net12.0]
Test method MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_WillRunWithExitCodeZero threw exception:
System.InvalidOperationException: Command 'dotnet publish D:\a\_work\1\s\artifacts\tmp\Release\testsuite\ZhbBl\MSTestNativeAotTests_net11.0 -r win-x64 -f net11.0 -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\NativeAotTests_WillRunWithExitCodeZero-52a4ad95b96a4fb980e1f67e274dacc7.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\ZhbBl\MSTestNativeAotTests_net11.0\MSTestNativeAotTests.csproj : error NU1903: Warning As Error: Package 'Microsoft.DotNet.ILCompiler' 11.0.0-rc.2.26504.105 has a known high severity vulnerability, https://github.com/adviso...

Check failure on line 366 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L366

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(366,1): error : NativeAotTests_RejectsAsyncVoidTestMethods ("net10.0") [net12.0]
Test method MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_RejectsAsyncVoidTestMethods threw exception:
System.InvalidOperationException: Command 'dotnet publish D:\a\_work\1\s\artifacts\tmp\Release\testsuite\az9T7\MSTestNativeAotAsyncVoidTests_net10.0 -r win-x64 -f net10.0 -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\NativeAotTests_RejectsAsyncVoidTestMethods-f76f456d079e4f4aae873c378293ba45.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\az9T7\MSTestNativeAotAsyncVoidTests_net10.0\MSTestNativeAotTests.csproj : error NU1903: Warning As Error: Package 'Microsoft.DotNet.ILCompiler' 10.0.12 has a known high severity vulnerability, https://g...

Check failure on line 366 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L366

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(366,1): error : NativeAotTests_HonorsGeneratedInheritedTypeAndMethodMetadata ("net10.0") [net12.0]
Test method MSTest.Acceptance.IntegrationTests.NativeAotTests.NativeAotTests_HonorsGeneratedInheritedTypeAndMethodMetadata threw exception:
System.InvalidOperationException: Command 'dotnet publish D:\a\_work\1\s\artifacts\tmp\Release\testsuite\znEks\MSTestNativeAotMetadata_net10.0 -r win-x64 -f net10.0 -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\NativeAotTests_HonorsGeneratedInheritedTypeAndMethodMetadata-ab19c8399092487ca53990c5cd74dd52.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\znEks\MSTestNativeAotMetadata_net10.0\MSTestNativeAotMetadata.csproj : error NU1903: Warning As Error: Package 'Microsoft.DotNet.ILCompiler' 10.0.12 has a...

Check failure on line 125 in test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs#L125

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs(125,1): error : RunTests_ThatEnablePublishAOT_ButDontBuildToNative [net12.0]
Assertion failed. Expected string to contain the specified substring.
Expression 'AssertOutputContains' failed for member 'RunTests_ThatEnablePublishAOT_ButDontBuildToNative' at line 35 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/PublishAotNonNativeTests.cs'. Output of the dotnet muxer is:
Args: build -t:Test -c Debug D:\a\_work\1\s\artifacts\tmp\Release\testsuite\H8dl9\PublishAotNonNative -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"D:\a\_work\1\s\artifacts\tmp\Release\testsuite\RunTests_ThatEnablePublishAOT_ButDontBuildToNative-400b80126a3a435393829c149fe03faf.binlog"
ExitCode: 1
StandardOutput: Telemetry is: Disabled
  Determining projects to restore...
D:\a\_work\1\s\artifacts\tmp\Release\testsuite\H8dl9\PublishAotNonNative\Pu...