Skip to content

More test progress

bb0f857
Select commit
Loading
Failed to load commit list.
Merged

First step removing ReflectionUtility #7361

More test progress
bb0f857
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx succeeded Feb 9, 2026 in 38m 2s

Build #20260208.7 had test failures

Details

Tests

  • Failed: 4 (0.01%)
  • Passed: 70,320 (99.48%)
  • Other: 367 (0.52%)
  • Total: 70,691
Code coverage

  • 173696 of 242529 blocks covered (71.62%)
  • 118494 of 166145 lines covered (71.32%)

Annotations

Check failure on line 1 in Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_KnownExtensionRegistration.Microsoft_Testing_Platform_Extensions_ShouldBe_Correctly_Registered ("net10.0",Debug,publish)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_KnownExtensionRegistration.Microsoft_Testing_Platform_Extensions_ShouldBe_Correctly_Registered ("net10.0",Debug,publish)

Test method Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_KnownExtensionRegistration.Microsoft_Testing_Platform_Extensions_ShouldBe_Correctly_Registered threw exception:
System.InvalidOperationException: Sequence contains no matching element
Raw output
   at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.Testing.Platform.Acceptance.IntegrationTests.MSBuildTests_KnownExtensionRegistration.Microsoft_Testing_Platform_Extensions_ShouldBe_Correctly_Registered(String tfm, BuildConfiguration compilationMode, Verb verb) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/MSBuild.KnownExtensionRegistration.cs:line 34
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 398

Check failure on line 1 in Microsoft.Testing.Platform.UnitTests.TaskExtensionsTests.CancellationAsyncWithReturnValue_ObserveException_Succeeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.UnitTests.TaskExtensionsTests.CancellationAsyncWithReturnValue_ObserveException_Succeeds

Assert.ThrowsAsync failed. Expected exception type:<System.OperationCanceledException>. Actual exception type:<System.InvalidOperationException>. 'action' expression: 'async ()
            => await Task.Run(async () =>
            {
                await Task.Delay(TimeSpan.FromSeconds(5), TestContext.CancellationToken);
                try
                {
                    return 2;
                }
                finally
                {
                    waitException.Set();
#pragma warning disable CA2219 // Do not raise exceptions in finally clauses
                    throw new InvalidOperationException();
#pragma warning restore CA2219 // Do not raise exceptions in finally clauses
                }
            }).WithCancellationAsync(token)'.
Raw output
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<>c__DisplayClass244_1`1.<IsThrowsAsyncFailingAsync>b__1(String userMessage)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<ThrowsExceptionAsync>d__242`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.Testing.Platform.UnitTests.TaskExtensionsTests.<CancellationAsyncWithReturnValue_ObserveException_Succeeds>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.<ExecuteInternalAsync>d__50.MoveNext()

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.DeploymentItemTests.AssemblyIsLoadedOnceFromDeploymentDirectory ("AppDomainDisabled.runsettings")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.DeploymentItemTests.AssemblyIsLoadedOnceFromDeploymentDirectory ("AppDomainDisabled.runsettings")

Test method MSTest.Acceptance.IntegrationTests.DeploymentItemTests.AssemblyIsLoadedOnceFromDeploymentDirectory threw exception:
System.InvalidOperationException: Sequence contains more than one matching element
Raw output
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.Testing.TestInfrastructure.TestHost.LocateFrom(String rootFolder, String testHostModuleNameWithoutExtension, String tfm, String rid, Verb verb, BuildConfiguration buildConfiguration) in /_/test/Utilities/Microsoft.Testing.TestInfrastructure/TestHost.cs:line 131
   at MSTest.Acceptance.IntegrationTests.DeploymentItemTests.AssemblyIsLoadedOnceFromDeploymentDirectory(String runsettings) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/DeploymentItemTests.cs:line 21
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 398

Check failure on line 1 in Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp

Test method Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp threw exception:
System.InvalidOperationException: The operation is not allowed on non-connected sockets.
Raw output
   at System.Net.Sockets.TcpClient.GetStream()
   at Microsoft.Testing.Platform.ServerMode.ServerModeManager.MessageHandlerFactory.CreateMessageHandlerAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/MessageHandlerFactory.cs:line 54
   at Microsoft.Testing.Platform.Hosts.ServerTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.cs:line 140
   at Microsoft.Testing.Platform.Hosts.ServerTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.cs:line 158
   at Microsoft.Testing.Platform.Hosts.CommonHost.RunTestAppAsync(IPlatformOpenTelemetryService platformOTelService, CancellationToken testApplicationCancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 130
   at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 44
   at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 83
   at Microsoft.Testing.Platform.Builder.TestApplication.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Builder/TestApplication.cs:line 223
   at Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp() in /_/test/UnitTests/Microsoft.Testing.Platform.UnitTests/ServerMode/ServerTests.cs:line 51
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 398