aws / aws/aws-codebuild-docker-images

The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.

Open
#583 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1.2k
Forks
971
Avg merge
2h 47m
Merged PRs (30d)
1

Description

**Describe the bug**
I'm trying to build and test a dotnet 3.1 app with dotnet 6. The build portion completes fine but I get an error with `dotnet test`:

```
Testhost process exited with error: It was not possible to find any compatible framework version
--
162 | The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
163 | - The following frameworks were found:
164 | 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
165 | 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
166 | You can resolve the problem by installing the specified framework and/or SDK.
167 | The specified framework can be found at:
168 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
169 | . Please check the diagnostic logs for more information.
```

**To Reproduce**
1) Create dotnet 3.1 project and unit test project
2) Run dotnet test in `aws/codebuild/amazonlinux2-x86_64-standard:4.0`

**Expected behavior**
I would expect to be able to run `dotnet test` especially after manually installing 3.1 via the install scripts.

**Logs**
If applicable, add log output to help explain your problem.

**Platform (please complete the following information):**
- OS: aws/codebuild/amazonlinux2-x86_64-standard:4.0

**Additional context**
Here is a detailed diag
```
TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.739, 245261130672, vstest.console.dll, Version: 17.2.0-release-20220408-11 Current process architecture: X64
--
175 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.746, 245268145912, vstest.console.dll, Using .Net Framework version:.NETCoreApp,Version=v3.1
176 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.747, 245268816603, vstest.console.dll, FilePatternParser: The given file /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll is a full path.
177 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.760, 245281381430, vstest.console.dll, 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
178 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.760, 245281762218, vstest.console.dll, TestPluginCache.GetExtensionPaths: Filtered extension paths:
179 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.760, 245281969918, vstest.console.dll, TestPluginCache.GetExtensionPaths: Added default extension paths: /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe
180 | /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe
181 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll
182 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
183 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll
184 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll
185 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
186 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
187 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.760, 245282035279, vstest.console.dll, TestPluginCache.GetExtensionPaths: Added unfilterableExtensionPaths:
188 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.761, 245283093746, vstest.console.dll, AssemblyResolver.ctor: Creating AssemblyResolver with searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
189 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.763, 245284772468, vstest.console.dll, TestPluginCache.DiscoverTestExtensions: Discovering the extensions using extension path.
190 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.763, 245285103098, vstest.console.dll, TestPluginCache.GetExtensionPaths: Filtered extension paths:
191 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.763, 245285167977, vstest.console.dll, TestPluginCache.GetExtensionPaths: Added default extension paths: /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe
192 | /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe
193 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll
194 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
195 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll
196 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll
197 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
198 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
199 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.763, 245285213527, vstest.console.dll, TestPluginCache.GetExtensionPaths: Added unfilterableExtensionPaths:
200 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285296656, vstest.console.dll, TestPluginCache.DiscoverTestExtensions: Discovering the extensions using allExtensionPaths: /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe
201 | /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe
202 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll
203 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
204 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll
205 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll
206 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
207 | /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
208 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285561024, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
209 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285642878, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
210 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285685502, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
211 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285718601, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
212 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285758961, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
213 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285787887, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
214 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285830925, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
215 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.764, 245285863039, vstest.console.dll, AssemblyResolver.AddSearchDirectories: Adding more searchDirectories /root/.dotnet/sdk/6.0.301/Extensions,/root/.dotnet/sdk/6.0.301
216 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.765, 245286697193, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool: Resolving assembly.
217 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.765, 245286785576, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
218 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.765, 245286857116, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.dll', returning.
219 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.799, 245320663653, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe'.
220 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.799, 245321042139, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: DumpMinitool, from path: /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe
221 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.802, 245324128235, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'DumpMinitool, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.exe'
222 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.815, 245336483437, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool.x86: Resolving assembly.
223 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.815, 245336627998, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool.x86: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
224 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.815, 245336810637, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool.x86: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.dll', returning.
225 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.815, 245337188872, vstest.console.dll, AssemblyResolver.OnResolve: DumpMinitool.x86: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe'.
226 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.816, 245337453108, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: DumpMinitool.x86, from path: /root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe
227 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.816, 245337536847, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'DumpMinitool.x86, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/DumpMinitool.x86.exe'
228 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.817, 245338392520, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Diagnostics.NETCore.Client: Resolving assembly.
229 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.817, 245338510541, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Diagnostics.NETCore.Client: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
230 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.818, 245340225545, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Diagnostics.NETCore.Client: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll'.
231 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.820, 245341482185, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.Diagnostics.NETCore.Client, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll
232 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.820, 245341610398, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.Diagnostics.NETCore.Client, Version=0.2.5.801, Culture=neutral, PublicKeyToken=31bf3856ad364e35' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Diagnostics.NETCore.Client.dll'
233 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349479894, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Resolving assembly.
234 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349569095, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
235 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349744704, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Bcl.AsyncInterfaces.dll', returning.
236 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349825868, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Bcl.AsyncInterfaces.exe', returning.
237 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349877355, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Searching in: '/root/.dotnet/sdk/6.0.301'.
238 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349917457, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Microsoft.Bcl.AsyncInterfaces.dll', returning.
239 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245349988134, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Microsoft.Bcl.AsyncInterfaces.exe', returning.
240 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350026930, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Failed to load assembly.
241 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350076816, vstest.console.dll, CurrentDomainAssemblyResolve: Resolving assembly 'Microsoft.Bcl.AsyncInterfaces'.
242 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350141201, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Resolving assembly.
243 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350189650, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Bcl.AsyncInterfaces: Resolved from cache.
244 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350230100, vstest.console.dll, CurrentDomainAssemblyResolve: Resolving assembly 'Microsoft.Bcl.AsyncInterfaces'.
245 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.828, 245350269124, vstest.console.dll, CurrentDomainAssemblyResolve: Failed to resolve assembly 'Microsoft.Bcl.AsyncInterfaces'.
246 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.829, 245350875171, vstest.console.dll, CurrentDomainAssemblyResolve: Failed to resolve assembly 'Microsoft.Bcl.AsyncInterfaces'.
247 | TpTrace Warning: 0 : 546, 1, 2022/11/18, 20:37:30.866, 245388150787, vstest.console.dll, TestPluginDiscoverer: Failed to get types from assembly 'Microsoft.Diagnostics.NETCore.Client, Version=0.2.5.801, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
248 | Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
249 |  
250 | at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
251 | at System.Reflection.Assembly.GetTypes()
252 | at Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestPluginDiscoverer.GetTestExtensionsFromAssembly[TPluginInfo,TExtension](Assembly assembly, Dictionary`2 pluginInfos, String filePath)
253 | System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
254 |  
255 | File name: 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
256 | ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
257 |  
258 | File name: 'Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=null'
259 | at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
260 | at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
261 | at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
262 | at Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestPluginCache.CurrentDomainAssemblyResolve(Object sender, AssemblyResolveEventArgs args)
263 | at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
264 | at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
265 | at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
266 | at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
267 | TpTrace Warning: 0 : 546, 1, 2022/11/18, 20:37:30.867, 245388651015, vstest.console.dll, LoaderExceptions: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
268 |  
269 | File name: 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
270 | ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
271 |  
272 | File name: 'Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=null'
273 | at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
274 | at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
275 | at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
276 | at Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestPluginCache.CurrentDomainAssemblyResolve(Object sender, AssemblyResolveEventArgs args)
277 | at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformAssemblyResolver.AssemblyResolverEvent(Object sender, Object eventArgs)
278 | at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
279 | at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
280 | at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
281 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.867, 245388958536, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.BlameDataCollector: Resolving assembly.
282 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.867, 245389033019, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.BlameDataCollector: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
283 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.895, 245416717950, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.BlameDataCollector: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll'.
284 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.896, 245417412179, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.TestPlatform.Extensions.BlameDataCollector, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll
285 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.896, 245417522163, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.Extensions.BlameDataCollector, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.BlameDataCollector.dll'
286 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.898, 245419410946, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.EventLogCollector: Resolving assembly.
287 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.898, 245419631491, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.EventLogCollector: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
288 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.898, 245420248255, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.Extensions.EventLogCollector: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll'.
289 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.899, 245420553591, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.TestPlatform.Extensions.EventLogCollector, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll
290 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.899, 245420792769, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.Extensions.EventLogCollector, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.Extensions.EventLogCollector.dll'
291 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.901, 245422933827, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.TestHostRuntimeProvider: Resolving assembly.
292 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.901, 245423012974, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.TestHostRuntimeProvider: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
293 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.902, 245423844650, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.TestPlatform.TestHostRuntimeProvider: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll'.
294 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.902, 245424083553, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.TestPlatform.TestHostRuntimeProvider, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll
295 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.902, 245424166732, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.TestPlatform.TestHostRuntimeProvider, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
296 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.905, 245427240738, vstest.console.dll, 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 '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
297 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.906, 245427411820, vstest.console.dll, 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 '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.TestPlatform.TestHostRuntimeProvider.dll'
298 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.906, 245427517705, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger: Resolving assembly.
299 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.906, 245427562629, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
300 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.907, 245428396101, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll'.
301 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.907, 245428744861, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll
302 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.907, 245429088116, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger.dll'
303 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.908, 245429888996, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger: Resolving assembly.
304 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.908, 245429954412, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
305 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.910, 245431321225, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger: Loading assembly '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll'.
306 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.910, 245431710624, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger, from path: /root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll
307 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.910, 245432103958, vstest.console.dll, MetadataReaderExtensionsHelper: Discovering extensions inside assembly 'Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' file path '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger.dll'
308 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.911, 245433203076, vstest.console.dll, TestPluginCache: Discovered the extensions using extension path ''.
309 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433460556, vstest.console.dll, TestPluginCache: Discoverers are ''.
310 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433508059, vstest.console.dll, TestPluginCache: Executors are ''.
311 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433534990, vstest.console.dll, TestPluginCache: Executors2 are ''.
312 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433559987, vstest.console.dll, TestPluginCache: Setting providers are ''.
313 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433583932, vstest.console.dll, TestPluginCache: Loggers are ''.
314 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433907278, vstest.console.dll, TestPluginCache: TestHosts are 'HostProvider://DefaultTestHost,HostProvider://DotnetTestHost'.
315 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.912, 245433966260, vstest.console.dll, TestPluginCache: DataCollectors are ''.
316 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.927, 245448777599, vstest.console.dll, RunTestsArgumentProcessor:Execute: Test run is starting.
317 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.927, 245448865292, vstest.console.dll, RunTestsArgumentProcessor:Execute: Queuing Test run.
318 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.927, 245449116040, vstest.console.dll, TestRequestManager.RunTests: run tests started.
319 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.930, 245451446243, vstest.console.dll, AssemblyMetadataProvider.GetFrameWork: Determined framework:'.NETCoreApp,Version=v3.1' for source: '/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll'
320 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.930, 245451601734, vstest.console.dll, Determined framework for all sources: .NETCoreApp,Version=v3.1
321 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.930, 245451986981, vstest.console.dll, TestRequestManager.UpdateRunSettingsIfRequired: Default architecture: X64 IsDefaultTargetArchitecture: True, Current process architecture: X64 OperatingSystem: Unix.
322 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.931, 245452292994, vstest.console.dll, AssemblyMetadataProvider.GetArchitecture: Determined architecture:AnyCPU info for assembly: /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll
323 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.931, 245452350243, vstest.console.dll, Determined platform for source '/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll' is 'AnyCPU'
324 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.933, 245454551875, vstest.console.dll, Determined platform for all sources: X64
325 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.933, 245454674604, vstest.console.dll, Infered platform 'X64'.
326 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.933, 245454728098, vstest.console.dll, Platform update to 'X64' required.
327 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.936, 245457985245, vstest.console.dll, Compatible sources list:
328 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.936, 245458074999, vstest.console.dll, /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll
329 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.940, 245462052132, vstest.console.dll, InferRunSettingsHelper.IsTestSettingsEnabled: Unable to navigate to RunSettings/MSTest. Current node: RunSettings
330 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245462898522, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Resolving assembly.
331 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245462975298, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
332 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463036656, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Fakes.dll', returning.
333 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463079837, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.VisualStudio.TestPlatform.Fakes.exe', returning.
334 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463163157, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Searching in: '/root/.dotnet/sdk/6.0.301'.
335 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463212985, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Microsoft.VisualStudio.TestPlatform.Fakes.dll', returning.
336 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463248729, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Microsoft.VisualStudio.TestPlatform.Fakes.exe', returning.
337 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.941, 245463275600, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.VisualStudio.TestPlatform.Fakes: Failed to load assembly.
338 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.942, 245463569054, vstest.console.dll, Failed to load assembly Microsoft.VisualStudio.TestPlatform.Fakes, Version=17.0.0.0, Culture=neutral. Reason:System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.Fakes, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
339 |  
340 | File name: 'Microsoft.VisualStudio.TestPlatform.Fakes, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null'
341 | at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
342 | at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
343 | at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
344 | at Microsoft.VisualStudio.TestPlatform.Common.Utilities.FakesUtilities.LoadTestPlatformAssembly()
345 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.956, 245477360344, vstest.console.dll, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DefaultTestHostManager
346 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.956, 245477762445, vstest.console.dll, TestPluginManager.CreateTestExtension: Attempting to load test extension: Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager
347 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.957, 245478461370, vstest.console.dll, TestEngine: Initializing Parallel Execution as MaxCpuCount is set to: 1
348 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.957, 245478754295, vstest.console.dll, InferRunSettingsHelper.IsTestSettingsEnabled: Unable to navigate to RunSettings/MSTest. Current node: RunSettings
349 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.960, 245481656513, vstest.console.dll, TestRequestSender is acting as server.
350 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.960, 245481926972, vstest.console.dll, TestEngine.GetExecutionManager: Chosen execution manager 'Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.Parallel.ParallelProxyExecutionManager, Microsoft.TestPlatform.CrossPlatEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ParallelLevel '1' Shared host 'False'
351 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.976, 245497944277, vstest.console.dll, TestRunRequest.ExecuteAsync: Creating test run request.
352 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.977, 245498514778, vstest.console.dll, TestRunRequest.ExecuteAsync: Starting.
353 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.977, 245498921190, vstest.console.dll, TestRunRequest.ExecuteAsync: Starting run with settings:TestRunCriteria:
354 | KeepAlive=False,FrequencyOfRunStatsChangeEvent=10,RunStatsChangeEventTimeout=00:00:01.5000000,TestCaseFilter=,TestExecutorLauncher=
355 | Settingsxml=
356 |
357 | /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/TestResults
358 | X64
359 | .NETCoreApp,Version=v3.1
360 | False
361 | False
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |  
370 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.977, 245498983968, vstest.console.dll, TestRunRequest.ExecuteAsync: Wait for the first run request is over.
371 | TpTrace Verbose: 0 : 546, 4, 2022/11/18, 20:37:30.978, 245499625594, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: InternalTestLoggerEvents.SendTestRunStart: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CommandLine.Internal.ConsoleLogger.TestRunStartHandler, took 0 ms.
372 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.978, 245499723390, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: TestRun.TestRunStart: Invoking callbacks was skipped because there are no subscribers.
373 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.978, 245499972190, vstest.console.dll, ParallelProxyExecutionManager: Start execution. Total sources: 1
374 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.979, 245500828542, vstest.console.dll, ProxyParallelExecutionManager: Triggering test run for next source: /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.dll
375 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.979, 245501031910, vstest.console.dll, ProxyParallelExecutionManager: No sources available for execution.
376 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:30.979, 245501092941, vstest.console.dll, TestRunRequest.ExecuteAsync: Started.
377 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:30.979, 245501164152, vstest.console.dll, TestRunRequest.WaitForCompletion: Waiting with timeout -1.
378 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.980, 245501573385, vstest.console.dll, ParallelProxyExecutionManager: Execution started. Started clients: 1
379 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.980, 245501867940, vstest.console.dll, ProxyExecutionManager: Test host is always Lazy initialize.
380 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.980, 245502180019, vstest.console.dll, TestRequestSender.InitializeCommunication: initialize communication.
381 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.988, 245509999073, vstest.console.dll, SocketServer.Start: Listening on endpoint : 127.0.0.1:45979
382 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.995, 245517082105, vstest.console.dll, DotnetTestHostmanager.GetTestHostProcessStartInfo: Platform environment 'X64' target architecture 'X64' framework '.NETCoreApp,Version=v3.1' OS 'Unix'
383 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.995, 245517245598, vstest.console.dll, DotnetTestHostmanager: Adding --runtimeconfig "/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.runtimeconfig.json" in args
384 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517312603, vstest.console.dll, DotnetTestHostmanager: Adding --depsfile "/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.deps.json" in args
385 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517412702, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Resolving assembly.
386 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517467607, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Searching in: '/root/.dotnet/sdk/6.0.301/Extensions'.
387 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517523940, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Extensions.DependencyModel.dll', returning.
388 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517562536, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Assembly path does not exist: '/root/.dotnet/sdk/6.0.301/Extensions/Microsoft.Extensions.DependencyModel.exe', returning.
389 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517591722, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Searching in: '/root/.dotnet/sdk/6.0.301'.
390 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517753673, vstest.console.dll, AssemblyResolver.OnResolve: Microsoft.Extensions.DependencyModel: Loading assembly '/root/.dotnet/sdk/6.0.301/Microsoft.Extensions.DependencyModel.dll'.
391 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:30.996, 245517991573, vstest.console.dll, AssemblyResolver.OnResolve: Resolved assembly: Microsoft.Extensions.DependencyModel, from path: /root/.dotnet/sdk/6.0.301/Microsoft.Extensions.DependencyModel.dll
392 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:30.997, 245518673649, vstest.console.dll, DotnetTestHostmanager: Reading file /codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.deps.json to get path of testhost.dll
393 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.026, 245547680318, vstest.console.dll, DotnetTestHostmanager: Relative path of testhost.dll with respect to package folder is microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll
394 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.032, 245554049386, vstest.console.dll, DotnetTestHostmanager: Looking for path microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll in folder /root/.dotnet/store/\|arch\|/\|tfm\|
395 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.032, 245554136441, vstest.console.dll, DotnetTestHostmanager: Looking for path microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll in folder /root/.nuget/packages
396 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.032, 245554179479, vstest.console.dll, DotnetTestHostmanager: Found testhost.dll in /root/.nuget/packages/microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll
397 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.033, 245554287055, vstest.console.dll, DotnetTestHostmanager: Current process architetcure 'X64'
398 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.035, 245556440833, vstest.console.dll, DotnetTestHostmanager.LaunchTestHostAsync: Compatible muxer architecture of running process 'X64' and target architecture 'X64'
399 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.035, 245556511755, vstest.console.dll, DotnetTestHostmanager: Full path of testhost.dll is /root/.nuget/packages/microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll
400 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.035, 245556559032, vstest.console.dll, DotnetTestHostmanager: Full path of host exe is /root/.dotnet/dotnet
401 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.036, 245557683754, vstest.console.dll, DotnetTestHostManager: Starting process '/root/.dotnet/dotnet' with command line 'exec --runtimeconfig "/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.runtimeconfig.json" --depsfile "/codebuild/output/src007/src/s3/00/WellRight.Sms.NUnit/bin/Debug/netcoreapp3.1/WellRight.Sms.NUnit.deps.json" "/root/.nuget/packages/microsoft.testplatform.testhost/16.4.0/lib/netcoreapp2.1/testhost.dll" --port 45979 --endpoint 127.0.0.1:045979 --role client --parentprocessid 546 --diag "/codebuild/output/src007/src/s3/00/diag.host.22-11-18_20-37-30_99534_5.txt" --tracelevel 4 --telemetryoptedin false'
402 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.054, 245575414494, vstest.console.dll, Test Runtime launched
403 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.054, 245575531646, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: HostProviderEvents.OnHostLaunched: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.TestHostManagerHostLaunched, took 0 ms.
404 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.054, 245576216632, vstest.console.dll, TestRequestSender.WaitForRequestHandlerConnection: waiting for connection with timeout: 90000.
405 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580633780, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: It was not possible to find any compatible framework version
406 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580757855, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
407 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580813334, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: - The following frameworks were found:
408 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580844293, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
409 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580871038, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
410 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580905245, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line:
411 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580932786, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: You can resolve the problem by installing the specified framework and/or SDK.
412 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580960093, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line:
413 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245580993022, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: The specified framework can be found at:
414 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245581020657, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line: - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
415 | TpTrace Warning: 0 : 546, 9, 2022/11/18, 20:37:31.059, 245581168044, vstest.console.dll, TestHostManagerCallbacks.ErrorReceivedCallback Test host standard error line:
416 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.060, 245581777797, vstest.console.dll, TestHostProvider.ExitCallBack: Host exited starting callback.
417 | TpTrace Error: 0 : 546, 7, 2022/11/18, 20:37:31.060, 245581912686, vstest.console.dll, TestHostManagerCallbacks.ExitCallBack: Testhost processId: 559 exited with exitcode: 150 error: 'It was not possible to find any compatible framework version
418 | The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
419 | - The following frameworks were found:
420 | 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
421 | 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
422 | You can resolve the problem by installing the specified framework and/or SDK.
423 | The specified framework can be found at:
424 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
425 | '
426 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.060, 245581976552, vstest.console.dll, DotnetTestHostManager.OnHostExited: invoking OnHostExited callback
427 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.060, 245582024632, vstest.console.dll, CrossPlatEngine.TestHostManagerHostExited: calling on client process exit callback.
428 | TpTrace Information: 0 : 546, 7, 2022/11/18, 20:37:31.060, 245582079128, vstest.console.dll, TestRequestSender.OnClientProcessExit: Test host process exited. Standard error: It was not possible to find any compatible framework version
429 | The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
430 | - The following frameworks were found:
431 | 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
432 | 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
433 | You can resolve the problem by installing the specified framework and/or SDK.
434 | The specified framework can be found at:
435 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
436 |  
437 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.060, 245582152368, vstest.console.dll, TestRequestSender.WaitForRequestHandlerConnection: waiting took 5 ms, with timeout 90000 ms, and result 2, which is failure.
438 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.060, 245582202946, vstest.console.dll, Test host failed to start Test host launched:True test host exited: True
439 | TpTrace Error: 0 : 546, 5, 2022/11/18, 20:37:31.061, 245582871504, vstest.console.dll, ProxyExecutionManager.StartTestRun: Failed to start test run: Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Testhost process exited with error: It was not possible to find any compatible framework version
440 | The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
441 | - The following frameworks were found:
442 | 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
443 | 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
444 | You can resolve the problem by installing the specified framework and/or SDK.
445 | The specified framework can be found at:
446 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
447 | . Please check the diagnostic logs for more information.
448 | at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.ThrowOnTestHostExited(Boolean testHostExited)
449 | at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, String runSettings)
450 | at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
451 | TpTrace Information: 0 : 546, 7, 2022/11/18, 20:37:31.065, 245586761931, vstest.console.dll, SocketServer.Stop: Stop server endPoint: 127.0.0.1:45979
452 | TpTrace Information: 0 : 546, 7, 2022/11/18, 20:37:31.065, 245586831869, vstest.console.dll, SocketServer.Stop: Cancellation requested. Stopping message loop.
453 | TpTrace Verbose: 0 : 546, 7, 2022/11/18, 20:37:31.065, 245586963101, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: HostProviderEvents.OnHostExited: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.TestHostManagerHostExited, took 4 ms.
454 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.125, 245646391324, vstest.console.dll, TestRunRequest:SendTestRunMessage: Starting.
455 | TpTrace Verbose: 0 : 546, 4, 2022/11/18, 20:37:31.125, 245646807515, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: InternalTestLoggerEvents.SendTestRunMessage: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CommandLine.Internal.ConsoleLogger.TestMessageHandler, took 0 ms.
456 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.125, 245646902944, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: TestRun.LogMessages: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CommandLine.TestRunResultAggregator.TestRunMessageHandler, took 0 ms.
457 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:31.125, 245646938734, vstest.console.dll, TestRunRequest:SendTestRunMessage: Completed.
458 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.145, 245666339938, vstest.console.dll, TestRequestSender.EndSession: Sending end session.
459 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.145, 245666467139, vstest.console.dll, ProxyOperationManager.Close: waiting for test host to exit for 100 ms
460 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:31.145, 245666542311, vstest.console.dll, SocketServer.Stop: Stop server endPoint: 127.0.0.1:45979
461 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:31.145, 245666575437, vstest.console.dll, SocketServer.Stop: Cancellation requested. Stopping message loop.
462 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:31.145, 245666616001, vstest.console.dll, Closing the connection
463 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.151, 245673092575, vstest.console.dll, ParallelProxyExecutionManager: HandlePartialRunComplete: Total completed clients = 1, Run complete = True, Run canceled: False.
464 | TpTrace Verbose: 0 : 546, 4, 2022/11/18, 20:37:31.168, 245689463899, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: InternalTestLoggerEvents.SendTestRunComplete: Invoking callback 1/1 for Microsoft.VisualStudio.TestPlatform.CommandLine.Internal.ConsoleLogger.TestRunCompleteHandler, took 3 ms.
465 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.168, 245689850033, vstest.console.dll, TestRunRequest:TestRunComplete: Starting. IsAborted:True IsCanceled:False.
466 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.169, 245690392435, vstest.console.dll, TestLoggerManager.HandleTestRunComplete: Ignoring as the object is disposed.
467 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.169, 245690492514, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: TestRun.TestRunComplete: Invoking callback 1/2 for Microsoft.VisualStudio.TestPlatform.CommandLine.TestRunResultAggregator.TestRunCompletionHandler, took 0 ms.
468 | TpTrace Verbose: 0 : 546, 5, 2022/11/18, 20:37:31.169, 245690554412, vstest.console.dll, MulticastDelegateUtilities.SafeInvoke: TestRun.TestRunComplete: Invoking callback 2/2 for Microsoft.VisualStudio.TestPlatform.CommandLine.Processors.RunTestsArgumentExecutor+TestRunRequestEventsRegistrar.TestRunRequest_OnRunCompletion, took 0 ms.
469 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:31.169, 245690678172, vstest.console.dll, TestRunRequest.Dispose: Starting.
470 | TpTrace Information: 0 : 546, 5, 2022/11/18, 20:37:31.169, 245690799712, vstest.console.dll, TestRunRequest:TestRunComplete: Completed.
471 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:31.169, 245690875901, vstest.console.dll, TestRunRequest.Dispose: Completed.
472 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:31.169, 245690924371, vstest.console.dll, TestRequestManager.RunTests: run tests completed.
473 | TpTrace Information: 0 : 546, 1, 2022/11/18, 20:37:31.169, 245691031553, vstest.console.dll, RunTestsArgumentProcessor:Execute: Test run is completed.
474 | TpTrace Verbose: 0 : 546, 1, 2022/11/18, 20:37:31.169, 245691211482, vstest.console.dll, Executor.Execute: Exiting with exit code of 1
```

```
version: 0.2
phases:
install:
runtime-versions:
dotnet: 6.0
commands:
- wget https://dot.net/v1/dotnet-install.sh
- chmod +x dotnet-install.sh
- ./dotnet-install.sh --runtime aspnetcore -c 3.1
- export DOTNET_ROOT=$HOME/.dotnet
- export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools
pre_build:
commands:
- dotnet restore
- dotnet build
- dotnet test
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.