Skip to content

Running /ListTests on a netstandard library hangs indefinitely #4392

Closed

Description

Description

Running vstest.console.exe /ListTests on a netstandard library hangs indefinitely.
image

Both the first and second invocations had to be killed with Ctrl+C

Steps to reproduce

Build a netstandard2.0 or 2.1 library with at least one class and run vstest.console.exe /ListTests on the output .dll

Expected behavior

vstest.console.exe exits with an error or after not finding any tests

Actual behavior

vstest.console.exe hangs indefinitely

Diagnostic logs

Trace level diagnostics

TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.311, 377309009986, vstest.console.exe, Version: 17.5.0-release-20221220-01 Current process architecture: X64
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.313, 377309034519, vstest.console.exe, Runtime location: C:\Windows\Microsoft.NET\Framework64\v4.0.30319
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.320, 377309103420, vstest.console.exe, FilePatternParser: The given file S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll is a full path.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.347, 377309376111, vstest.console.exe, TestPluginCache.DiscoverTestExtensions: finding test extensions in assemblies ends with: RuntimeProvider.dll TPluginInfo: Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities.TestRuntimePluginInformation TExtension: Microsoft.VisualStudio.TestPlatform.ObjectModel.Host.ITestRuntimeProvider
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.351, 377309414556, vstest.console.exe, TestPluginCache.GetExtensionPaths: Filtered extension paths: 
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.351, 377309415815, vstest.console.exe, TestPluginCache.GetExtensionPaths: Added default extension paths: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.ArchitectureTools.PEReader.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorderCollector.dll
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.351, 377309416582, vstest.console.exe, TestPluginCache.GetExtensionPaths: Added unfilterableExtensionPaths: 
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.353, 377309436446, vstest.console.exe, AssemblyResolver.ctor: Creating AssemblyResolver with searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\PrivateAssemblies,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\PublicAssemblies,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.354, 377309442390, vstest.console.exe, TestPluginCache.DiscoverTestExtensions: Discovering the extensions using extension path.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.354, 377309443567, vstest.console.exe, TestPluginCache.GetExtensionPaths: Filtered extension paths: 
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.354, 377309444247, vstest.console.exe, TestPluginCache.GetExtensionPaths: Added default extension paths: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.ArchitectureTools.PEReader.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorderCollector.dll
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.354, 377309444979, vstest.console.exe, TestPluginCache.GetExtensionPaths: Added unfilterableExtensionPaths: 
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.354, 377309445726, vstest.console.exe, TestPluginCache.DiscoverTestExtensions: Discovering the extensions using allExtensionPaths: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.ArchitectureTools.PEReader.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model.dll
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorderCollector.dll
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.355, 377309456756, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.355, 377309457731, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309458464, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309459118, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309459784, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309460395, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309461031, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309461660, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309462276, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309462873, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309463468, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309464067, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309464703, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.356, 377309465310, vstest.console.exe, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions,C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.377, 377309677836, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.Extensions.BlameDataCollector, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.BlameDataCollector.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.393, 377309836091, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.Extensions.EventLogCollector, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.Extensions.EventLogCollector.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.396, 377309866617, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.TestHostRuntimeProvider, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.400, 377309900522, vstest.console.exe, GetTestExtensionFromType: Register extension with identifier data 'HostProvider://DefaultTestHost' and type 'Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DefaultTestHostManager, Microsoft.TestPlatform.TestHostRuntimeProvider, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' inside file 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.400, 377309902051, vstest.console.exe, GetTestExtensionFromType: Register extension with identifier data 'HostProvider://DotnetTestHost' and type 'Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager, Microsoft.TestPlatform.TestHostRuntimeProvider, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' inside file 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.403, 377309931781, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.ArchitectureTools.PEReader, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.ArchitectureTools.PEReader.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.456, 377310467966, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.CodedWebTestAdapter.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.467, 377310569691, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.468, 377310588237, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.TmiAdapter.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.534, 377311240800, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.537, 377311272371, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.548, 377311388268, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestPlatform.Extensions.WebTestAdapter.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.551, 377311417006, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.ComInterfaces.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.554, 377311445664, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.CppUnitTestExtension.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.558, 377311483557, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.MediaRecorder.Model.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.561, 377311514322, vstest.console.exe, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorderCollector, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\Extensions\Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorderCollector.dll'
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.568, 377311581030, vstest.console.exe, TestPluginCache: Discovered the extensions using extension path ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311604142, vstest.console.exe, TestPluginCache: Discoverers are ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311604792, vstest.console.exe, TestPluginCache: Executors are ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311605240, vstest.console.exe, TestPluginCache: Executors2 are ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311605649, vstest.console.exe, TestPluginCache: Setting providers are ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311606121, vstest.console.exe, TestPluginCache: Loggers are ''.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311606657, vstest.console.exe, TestPluginCache: TestHosts are 'HostProvider://DefaultTestHost,HostProvider://DotnetTestHost'.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.570, 377311607127, vstest.console.exe, TestPluginCache: DataCollectors are ''.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.592, 377311821812, vstest.console.exe, TestRequestManager.DiscoverTests: Discovery tests started.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.602, 377311920885, vstest.console.exe, AssemblyMetadataProvider.GetFrameworkName: Determined framework:'.NETStandard,Version=v2.1' for source: 'S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll'
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.602, 377311922736, vstest.console.exe, Determined framework for all sources: .NETStandard,Version=v2.1
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.604, 377311941928, vstest.console.exe, TestRequestManager.UpdateRunSettingsIfRequired: Default architecture: X64 IsDefaultTargetArchitecture: True, Current process architecture: X64 OperatingSystem: Windows.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.611, 377312015364, vstest.console.exe, AssemblyMetadataProvider.GetArchitecture: Determined architecture:AnyCPU info for assembly: S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.611, 377312016584, vstest.console.exe, Determined platform for source 'S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll' was AnyCPU and it will use the default plaform X64.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.611, 377312017097, vstest.console.exe, None of the sources provided any runnable platform, using the default platform: X64
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.611, 377312018733, vstest.console.exe, Platform was updated to 'X64'.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.620, 377312107772, vstest.console.exe, TestRequestManager.DiscoverTests: Synchronization context taken
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.665, 377312558079, vstest.console.exe, TestEngine: Initializing Parallel Execution as MaxCpuCount is set to: 1
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.672, 377312620211, vstest.console.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DefaultTestHostManager
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.674, 377312648172, vstest.console.exe, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager
TpTrace Warning: 0 : 21132, 1, 2023/04/13, 19:29:16.678, 377312684467, vstest.console.exe, TestEngine.WarnAboutNotFoundRuntimeProvidersOrThrowWhenNoneAreFound: No suitable testHostProvider found for sources S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll and runsettings: <RunSettings>
  <RunConfiguration>
    <ResultsDirectory>C:\Users\Cyberboss\TestResults</ResultsDirectory>
    <TargetPlatform>X64</TargetPlatform>
    <TargetFrameworkVersion>.NETStandard,Version=v2.1</TargetFrameworkVersion>
    <DesignMode>False</DesignMode>
    <CollectSourceInformation>False</CollectSourceInformation>
    <BatchSize>1000</BatchSize>
  </RunConfiguration>
  <LoggerRunSettings>
    <Loggers>
      <Logger friendlyName="Console" uri="logger://microsoft/TestPlatform/ConsoleLogger/v1" assemblyQualifiedName="Microsoft.VisualStudio.TestPlatform.CommandLine.Internal.ConsoleLogger, vstest.console, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" codeBase="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" enabled="True" />
    </Loggers>
  </LoggerRunSettings>
</RunSettings>
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.683, 377312733673, vstest.console.exe, InferRunSettingsHelper.IsTestSettingsEnabled: Unable to navigate to RunSettings/MSTest. Current node: RunSettings
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.704, 377312938596, vstest.console.exe, DiscoveryRequest.DiscoverAsync: Starting.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.705, 377312957901, vstest.console.exe, MulticastDelegateUtilities.SafeInvoke: DiscoveryRequest.DiscoveryStart: Invoking callbacks was skipped because there are no subscribers.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.711, 377313014920, vstest.console.exe, ParallelProxyDiscoveryManager.DiscoverTests: Start discovery. Total sources: 1
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.714, 377313041027, vstest.console.exe, DiscoveryDataAggregator.MarkSourcesWithStatus: Adding S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll with status: 'NotDiscovered'.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.717, 377313071084, vstest.console.exe, DiscoveryDataAggregator.MarkSourcesWithStatus: Upgrading S:\workspace\VSTestTest\bin\Debug\netstandard2.1\VSTestTest.dll status from 'NotDiscovered' to 'SkippedDiscovery'.
TpTrace Information: 0 : 21132, 1, 2023/04/13, 19:29:16.726, 377313163342, vstest.console.exe, DiscoveryRequest.DiscoverAsync: Started.
TpTrace Verbose: 0 : 21132, 1, 2023/04/13, 19:29:16.726, 377313168098, vstest.console.exe, DiscoveryRequest.WaitForCompletion: Waiting with timeout -1.

Environment

VSTest.Console.Exe version: 17.5.0
Visual Studio Community Version: 17.5.3

I couldn't tell if this was a dupe of #4326.

The same invocation works on the Visual Studio 2019 bundled version:

VSTest.Console.Exe version: 16.11.0
Visual Studio Professional Version: 16.11.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis item should be discussed in the next triage meeting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions