lundi 17 février 2020

errors in TFS, problems with Vstest

May be someone know, I have errors in TFS, when I start my selenium test, written in VS 2019. As I understood, I have problems with configurations, may be in VS, may be in TFS, but i do not know exactly.

If it will be necessary other information about test, I will add that.

2020-02-17T08:47:33.8698471Z ==============================================================================
2020-02-17T08:47:33.8698471Z Task         : Visual Studio Test
2020-02-17T08:47:33.8698471Z Description  : Run tests with Visual Studio test runner
2020-02-17T08:47:33.8698471Z Version      : 2.1.9
2020-02-17T08:47:33.8698471Z Author       : Microsoft Corporation
2020-02-17T08:47:33.8698471Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=835764)
2020-02-17T08:47:33.8698471Z ==============================================================================
2020-02-17T08:47:36.0885962Z Run the tests locally using vstest.console.exe
2020-02-17T08:47:36.0885962Z ========================================================
2020-02-17T08:47:36.0885962Z Test selector : Test assemblies
2020-02-17T08:47:36.0885962Z Test assemblies : **\*test*.dll,!**\obj\**
2020-02-17T08:47:36.0885962Z Test filter criteria : null
2020-02-17T08:47:36.0885962Z Search folder : null
2020-02-17T08:47:36.0885962Z Run settings file : E:\agent-program\_work\31\s\Main\Source\LSA_Test_FillUserForm\packages.config
2020-02-17T08:47:36.0885962Z Run in parallel : false
2020-02-17T08:47:36.0885962Z Run in isolation : false
2020-02-17T08:47:36.0885962Z Path to custom adapters : null
2020-02-17T08:47:36.0885962Z Other console options : null
2020-02-17T08:47:36.0885962Z Code coverage enabled : true
2020-02-17T08:47:36.0885962Z VisualStudio version selected for test execution : latest
2020-02-17T08:47:36.0885962Z [command]E:\agent-program\_work\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.1.9\vswhere.exe -version [15.0,16.0) -latest -products * -requires Microsoft.VisualStudio.PackageGroup.TestTools.Core -property installationPath
2020-02-17T08:47:36.0885962Z C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
2020-02-17T08:47:36.0885962Z [command]C:\Windows\System32\Wbem\WMIC.exe datafile where "name='C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow\\vstest.console.exe'" get Version /Value
2020-02-17T08:47:36.1511088Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z Version=15.0.28218.60
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.1667330Z 
2020-02-17T08:47:36.2135938Z ========================================================
2020-02-17T08:47:40.0104645Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" 
E:\agent-program\_work\31\s\Main\Source\APS-PreVertesanaSplit\packages\NUnit3TestAdapter.3.0.8-ctp-8\lib\NUnit3.TestAdapter.dll 
E:\agent-program\_work\31\s\Main\Source\APS\packages\NUnit3TestAdapter.3.0.8-ctp-8\lib\NUnit3.TestAdapter.dll
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\Microsoft.VisualStudio.TestPlatform.TestFramework.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\cs\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestAdapter.1.4.0\build\_common\cs\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll 

There are a lot of program addresses, I add only some of them

E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.0.0\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.0.0\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.0.0\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.0.0\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\netstandard1.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll 
E:\agent-program\_work\31\s\Main\Source\LSA_Tests\packages\MSTest.TestFramework.2.1.0\lib\uap10.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll /Settings:
E:\agent-program\_work\31\s\Main\Source\LSA_Test_FillUserForm\packages.config /EnableCodeCoverage /logger:trx "/TestAdapterPath:\"E:\agent-program\_work\31\s\""
2020-02-17T08:47:40.1979694Z Microsoft (R) Test Execution Command Line Tool Version 15.9.0
2020-02-17T08:47:40.1979694Z Copyright (c) Microsoft Corporation.  All rights reserved.
2020-02-17T08:47:40.1979694Z 
2020-02-17T08:47:40.2604639Z Settings file provided does not conform to required format. An error occurred while loading the settings.  Error: Could not find 'RunSettings' node..
2020-02-17T08:47:40.2760891Z Settings file provided does not conform to required format. Expression must evaluate to a node-set.
2020-02-17T08:47:40.2760891Z The root node of the run settings must be named 'RunSettings'.
2020-02-17T08:47:40.4479647Z ##[warning]Vstest failed with error. Check logs for failures. There might be failed tests.
2020-02-17T08:47:40.4479647Z ##[error]Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe failed with return code: 1
2020-02-17T08:47:40.4479647Z ##[warning]No results found to publish.
2020-02-17T08:47:40.4479647Z ##[error]Vstest exited with return code: 2.
2020-02-17T08:47:40.4635935Z ##[section]Async Command Start: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command End: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command Start: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command End: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command Start: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command End: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command Start: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Async Command End: Telemetry
2020-02-17T08:47:40.4635935Z ##[section]Finishing: VsTest - testAssemblies

Thanks!

Aucun commentaire:

Enregistrer un commentaire