microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: VsTest task fails with no output on latest agent

dom380 opened this issue · comments

What happened?

With no changes to the code, the VsTask has started to fail after the latest agent release with nothing logged to the console.
I've tried enabling debug logging on both agent and task but no errors are logged, it just fails the task before running any tests.

At first I assumed something had changed in the VS test platform, but both installing the previous 17.8 release or using the latest pre-release made no difference.

Relevant steps in the pipeline yaml:

- task: VisualStudioTestPlatformInstaller@1
    inputs:
      packageFeedSelector: 'nugetOrg'
      versionSelector: 'latestPreRelease'

  - task: VSBuild@1
    displayName: 'Build Solution'
    inputs:
      solution: '$(solution)'
      msbuildArgs: '/p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployOnBuild=true  /p:Version=$(version) /p:AssemblyVersion=$(version) "/p:InformationalVersion=$(version) @branch:$(Build.SourceBranch) @commit:$(Build.SourceVersion)"  '
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
      msbuildArchitecture: x64

  - task: VSTest@3
    inputs:
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
      codeCoverageEnabled: true
      resultsFolder: '$(Build.SourcesDirectory)/coverage/'
      otherConsoleOptions: '/collect:"Code Coverage;Format=xml"'
      diagnosticsEnabled: true
      collectDumpOn: always
      vsTestVersion: toolsInstaller

Versions

Agent version: 3.236.1
Image version: 20240317.1.0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows-2022

Version controll system

No response

Relevant log output

2024-03-20T14:49:44.8759755Z ##[debug]Evaluating condition for step: 'VSTest'
2024-03-20T14:49:44.8761068Z ##[debug]Evaluating: SucceededNode()
2024-03-20T14:49:44.8761464Z ##[debug]Evaluating SucceededNode:
2024-03-20T14:49:44.8762064Z ##[debug]=> True
2024-03-20T14:49:44.8762502Z ##[debug]Result: True
2024-03-20T14:49:44.8763054Z ##[section]Starting: VSTest
2024-03-20T14:49:44.8922814Z ==============================================================================
2024-03-20T14:49:44.8923033Z Task         : Visual Studio Test
2024-03-20T14:49:44.8923177Z Description  : Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be distributed on multiple agents using this task (version 2).
2024-03-20T14:49:44.8923594Z Version      : 3.231.0
2024-03-20T14:49:44.8923712Z Author       : Microsoft Corporation
2024-03-20T14:49:44.8924059Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/test/vstest
2024-03-20T14:49:44.8924234Z ==============================================================================
2024-03-20T14:49:44.9426634Z ##[debug]Using node path: C:\agents\3.236.1\externals\node20_1\bin\node.exe
2024-03-20T14:49:45.1163667Z ##[debug]agent.TempDirectory=D:\a\_temp
2024-03-20T14:49:45.1175975Z ##[debug]loading inputs and endpoints
2024-03-20T14:49:45.1186160Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-03-20T14:49:45.1215696Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-03-20T14:49:45.1220475Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-03-20T14:49:45.1226591Z ##[debug]loading INPUT_BATCHINGBASEDONAGENTSOPTION
2024-03-20T14:49:45.1230489Z ##[debug]loading INPUT_BATCHINGBASEDONEXECUTIONTIMEOPTION
2024-03-20T14:49:45.1238959Z ##[debug]loading INPUT_CODECOVERAGEENABLED
2024-03-20T14:49:45.1245195Z ##[debug]loading INPUT_COLLECTDUMPON
2024-03-20T14:49:45.1252366Z ##[debug]loading INPUT_CONFIGURATION
2024-03-20T14:49:45.1256462Z ##[debug]loading INPUT_CUSTOMBATCHSIZEVALUE
2024-03-20T14:49:45.1264001Z ##[debug]loading INPUT_CUSTOMRUNTIMEPERBATCHVALUE
2024-03-20T14:49:45.1267656Z ##[debug]loading INPUT_DIAGNOSTICSENABLED
2024-03-20T14:49:45.1273854Z ##[debug]loading INPUT_DISTRIBUTIONBATCHTYPE
2024-03-20T14:49:45.1277536Z ##[debug]loading INPUT_DONTDISTRIBUTE
2024-03-20T14:49:45.1283096Z ##[debug]loading INPUT_FAILONMINTESTSNOTRUN
2024-03-20T14:49:45.1287352Z ##[debug]loading INPUT_MINIMUMEXPECTEDTESTS
2024-03-20T14:49:45.1290621Z ##[debug]loading INPUT_OTHERCONSOLEOPTIONS
2024-03-20T14:49:45.1298121Z ##[debug]loading INPUT_PLATFORM
2024-03-20T14:49:45.1301307Z ##[debug]loading INPUT_PUBLISHRUNATTACHMENTS
2024-03-20T14:49:45.1304653Z ##[debug]loading INPUT_RERUNFAILEDTESTCASESMAXLIMIT
2024-03-20T14:49:45.1308044Z ##[debug]loading INPUT_RERUNFAILEDTESTS
2024-03-20T14:49:45.1313424Z ##[debug]loading INPUT_RERUNFAILEDTHRESHOLD
2024-03-20T14:49:45.1317723Z ##[debug]loading INPUT_RERUNMAXATTEMPTS
2024-03-20T14:49:45.1320840Z ##[debug]loading INPUT_RERUNTYPE
2024-03-20T14:49:45.1323985Z ##[debug]loading INPUT_RESULTSFOLDER
2024-03-20T14:49:45.1328557Z ##[debug]loading INPUT_RUNALLTESTSAFTERXBUILDS
2024-03-20T14:49:45.1331554Z ##[debug]loading INPUT_RUNINPARALLEL
2024-03-20T14:49:45.1335752Z ##[debug]loading INPUT_RUNONLYIMPACTEDTESTS
2024-03-20T14:49:45.1339109Z ##[debug]loading INPUT_RUNSETTINGSFILE
2024-03-20T14:49:45.1343178Z ##[debug]loading INPUT_RUNTESTSINISOLATION
2024-03-20T14:49:45.1346209Z ##[debug]loading INPUT_SEARCHFOLDER
2024-03-20T14:49:45.1349333Z ##[debug]loading INPUT_TCMTESTRUN
2024-03-20T14:49:45.1353805Z ##[debug]loading INPUT_TESTASSEMBLYVER2
2024-03-20T14:49:45.1357020Z ##[debug]loading INPUT_TESTSELECTOR
2024-03-20T14:49:45.1359990Z ##[debug]loading INPUT_UITESTS
2024-03-20T14:49:45.1363173Z ##[debug]loading INPUT_VSTESTLOCATIONMETHOD
2024-03-20T14:49:45.1365733Z ##[debug]loading INPUT_VSTESTVERSION
2024-03-20T14:49:45.1376498Z ##[debug]loading SECRET_JIRAAPIKEY
2024-03-20T14:49:45.1379777Z ##[debug]loading SECRET_SONARQUBE_ENDPOINT
2024-03-20T14:49:45.1383263Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-03-20T14:49:45.1401179Z ##[debug]loaded 39
2024-03-20T14:49:45.1410138Z ##[debug]Agent.ProxyUrl=undefined
2024-03-20T14:49:45.1411175Z ##[debug]Agent.CAInfo=undefined
2024-03-20T14:49:45.1411876Z ##[debug]Agent.ClientCert=undefined
2024-03-20T14:49:45.1412811Z ##[debug]Agent.SkipCertValidation=undefined
2024-03-20T14:49:45.3279293Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2024-03-20T14:49:45.5992150Z ##[debug]check path : D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\task.json
2024-03-20T14:49:45.5998785Z ##[debug]adding resource file: D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\task.json
2024-03-20T14:49:45.5999700Z ##[debug]system.culture=en-US
2024-03-20T14:49:45.6038187Z ##[debug]Agent.Version=3.236.1
2024-03-20T14:49:45.6039534Z ##[debug]Release.ReleaseUri=undefined
2024-03-20T14:49:45.6040722Z ##[debug]Release.ReleaseId=undefined
2024-03-20T14:49:45.6041755Z ##[debug]Build.BuildUri=vstfs:///Build/Build/363466
2024-03-20T14:49:45.6042754Z ##[debug]Build.Buildid=363466
2024-03-20T14:49:45.6043582Z ##[debug]telemetry area: TestExecution feature: TestExecutionTask data: {"builduri":"vstfs:///Build/Build/363466","buildid":"363466","state":"started"}
2024-03-20T14:49:45.6280730Z ##[debug]Processed: ##vso[telemetry.publish area=TestExecution;feature=TestExecutionTask;]{"builduri":"vstfs:///Build/Build/363466","buildid":"363466","state":"started"}
2024-03-20T14:49:45.6284264Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/EsoDevOps/
2024-03-20T14:49:45.6298704Z ##[debug]SystemVssConnection exists true
2024-03-20T14:49:45.7575636Z ##[debug] Final feature flag state: false
2024-03-20T14:49:45.7588781Z ##[debug]Changing active code page to UTF-8
2024-03-20T14:49:45.7592294Z ##[debug]which 'C:\Windows\system32\chcp.com'
2024-03-20T14:49:45.7599675Z ##[debug]found: 'C:\Windows\system32\chcp.com'
2024-03-20T14:49:45.7601543Z ##[debug]C:\Windows\system32\chcp.com arg: ["65001"]
2024-03-20T14:49:45.7602742Z ##[debug]exec tool: C:\Windows\system32\chcp.com
2024-03-20T14:49:45.7603433Z ##[debug]arguments:
2024-03-20T14:49:45.7604099Z ##[debug]   65001
2024-03-20T14:49:45.7746180Z ##[debug]testSelector=testAssemblies
2024-03-20T14:49:45.7747352Z ##[debug]System.ParallelExecutionType=undefined
2024-03-20T14:49:45.7749647Z ##[debug]distributionBatchType=basedOnTestCases
2024-03-20T14:49:45.7751924Z ##[debug]batchingBasedOnAgentsOption=autoBatchSize
2024-03-20T14:49:45.7753913Z ##[debug]testSelector=testAssemblies
2024-03-20T14:49:45.7755038Z ##[debug]Value of Test Selector :testAssemblies
2024-03-20T14:49:45.7756100Z ##[debug]System.ParallelExecutionType=undefined
2024-03-20T14:49:45.7756814Z ##[debug]Value of ParallelExecutionType :undefined
2024-03-20T14:49:45.7757555Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/EsoDevOps/
2024-03-20T14:49:45.7758847Z ##[debug]SystemVssConnection exists true
2024-03-20T14:49:45.7994827Z ##[debug] Final feature flag state: true
2024-03-20T14:49:45.7996238Z ##[debug]Diagnostics feature flag is set to: true
2024-03-20T14:49:45.7997441Z ##[debug]Agent.Version=3.236.1
2024-03-20T14:49:45.7998155Z ##[debug]Release.ReleaseUri=undefined
2024-03-20T14:49:45.7998984Z ##[debug]Release.ReleaseId=undefined
2024-03-20T14:49:45.7999676Z ##[debug]Build.BuildUri=vstfs:///Build/Build/363466
2024-03-20T14:49:45.8000340Z ##[debug]Build.Buildid=363466
2024-03-20T14:49:45.8001324Z ##[debug]telemetry area: TestExecution feature: TestExecutionTask data: {"builduri":"vstfs:///Build/Build/363466","buildid":"363466","runmode":"nondistributed"}
2024-03-20T14:49:45.8429369Z ##[debug]Processed: ##vso[telemetry.publish area=TestExecution;feature=TestExecutionTask;]{"builduri":"vstfs:///Build/Build/363466","buildid":"363466","runmode":"nondistributed"}
2024-03-20T14:49:45.8431350Z Running tests using vstest.console.exe runner.
2024-03-20T14:49:45.8431643Z ======================================================
2024-03-20T14:49:45.8432452Z ##[debug]testSelector=testAssemblies
2024-03-20T14:49:45.8432786Z Test selector : Test assemblies
2024-03-20T14:49:45.8433206Z ##[debug]testFiltercriteria=undefined
2024-03-20T14:49:45.8433526Z Test filter criteria : undefined
2024-03-20T14:49:45.8433923Z ##[debug]searchFolder=D:\a\1\s
2024-03-20T14:49:45.8434219Z Search folder : D:\a\1\s
2024-03-20T14:49:45.8434994Z ##[debug]Release.DefinitionId=undefined
2024-03-20T14:49:45.8435543Z ##[debug]System.DefinitionId=219
2024-03-20T14:49:45.8436033Z ##[debug]Release.DefinitionId=undefined
2024-03-20T14:49:45.8436517Z ##[debug]Build.Buildid=363466
2024-03-20T14:49:45.8436992Z ##[debug]Build.Buildid=363466
2024-03-20T14:49:45.8437471Z ##[debug]Build.BuildUri=vstfs:///Build/Build/363466
2024-03-20T14:49:45.8437975Z ##[debug]Release.ReleaseId=undefined
2024-03-20T14:49:45.8438481Z ##[debug]Release.ReleaseUri=undefined
2024-03-20T14:49:45.8440384Z ##[debug]Release.EnvironmentUri=undefined
2024-03-20T14:49:45.8441090Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2024-03-20T14:49:45.8441578Z ##[debug]System.PhaseName=Job
2024-03-20T14:49:45.8442148Z ##[debug]System.PhaseAttempt=1
2024-03-20T14:49:45.8442646Z ##[debug]System.PhaseAttempt=1
2024-03-20T14:49:45.8443133Z ##[debug]System.StageName=__default
2024-03-20T14:49:45.8443629Z ##[debug]System.StageAttempt=1
2024-03-20T14:49:45.8444098Z ##[debug]System.StageAttempt=1
2024-03-20T14:49:45.8444590Z ##[debug]System.JobName=__default
2024-03-20T14:49:45.8445079Z ##[debug]System.JobAttempt=1
2024-03-20T14:49:45.8445571Z ##[debug]System.JobAttempt=1
2024-03-20T14:49:45.8446059Z ##[debug]configuration=Release
2024-03-20T14:49:45.8446522Z ##[debug]platform=Any CPU
2024-03-20T14:49:45.8447006Z ##[debug]testRunTitle=undefined
2024-03-20T14:49:45.8447505Z ##[debug]Agent.TempDirectory=D:\a\_temp
2024-03-20T14:49:45.8448020Z ##[debug]resultsFolder=D:\a\1\s/coverage/
2024-03-20T14:49:45.8448538Z ##[debug]TestResultsFolder: D:\a\1\s\coverage
2024-03-20T14:49:45.8449048Z ##[debug]Agent.TempDirectory=D:\a\_temp
2024-03-20T14:49:45.8449535Z ##[debug]Agent.TempDirectory=D:\a\_temp
2024-03-20T14:49:45.8450049Z ##[debug]Common.TestResultsDirectory=D:\a\1\TestResults
2024-03-20T14:49:45.8450572Z ##[debug]System.DefaultWorkingDirectory=D:\a\1\s
2024-03-20T14:49:45.8451177Z ##[debug]telemetry area: TestExecution feature: ResultsDirectory data: {"TestResultsFolderUi":"$(System.DefaultWorkingDirectory)"}
2024-03-20T14:49:45.8729566Z ##[debug]Processed: ##vso[telemetry.publish area=TestExecution;feature=ResultsDirectory;]{"TestResultsFolderUi":"$(System.DefaultWorkingDirectory)"}
2024-03-20T14:49:45.8730577Z ##[debug]System.PullRequest.TargetBranch=undefined
2024-03-20T14:49:45.8731296Z ##[debug]vstest.ignoretestfailures=undefined
2024-03-20T14:49:45.8731818Z ##[debug]BUILD_DEFINITIONNAME=ITv1 Build
2024-03-20T14:49:45.8732321Z ##[debug]BUILD_BUILDNUMBER=5.20.0.52
2024-03-20T14:49:45.8732866Z ##[debug]failOnMinTestsNotRun=False
2024-03-20T14:49:45.8733236Z Action when minimum tests threshold not met : donothing
2024-03-20T14:49:45.8733515Z Minimum tests expected to be run: 0
2024-03-20T14:49:45.8733969Z ##[debug]vstestLocationMethod=version
2024-03-20T14:49:45.8734476Z ##[debug]vsTestVersion=latest
2024-03-20T14:49:45.8734993Z VisualStudio version selected for test execution : latest
2024-03-20T14:49:45.8735570Z ##[debug]vsTestVersion=latest
2024-03-20T14:49:45.8736085Z ##[debug]Searching for latest Visual Studio.
2024-03-20T14:49:45.8736657Z ##[debug]which 'D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\vswhere.exe'
2024-03-20T14:49:45.8737302Z ##[debug]found: 'D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\vswhere.exe'
2024-03-20T14:49:45.8737760Z Attempting to find vstest.console from a visual studio installation with version [17.0,18.0).
2024-03-20T14:49:45.8738442Z ##[debug]D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\vswhere.exe arg: -version [17.0,18.0) -latest -products * -requires Microsoft.VisualStudio.PackageGroup.TestTools.Core -property installationPath
2024-03-20T14:49:45.8739582Z ##[debug]exec tool: D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.231.0\vswhere.exe
2024-03-20T14:49:45.8740149Z ##[debug]arguments:
2024-03-20T14:49:45.8740605Z ##[debug]   -version
2024-03-20T14:49:45.8741075Z ##[debug]   [17.0,18.0)
2024-03-20T14:49:45.8741544Z ##[debug]   -latest
2024-03-20T14:49:45.8742010Z ##[debug]   -products
2024-03-20T14:49:45.8742451Z ##[debug]   *
2024-03-20T14:49:45.8742918Z ##[debug]   -requires
2024-03-20T14:49:45.8743437Z ##[debug]   Microsoft.VisualStudio.PackageGroup.TestTools.Core
2024-03-20T14:49:45.8743954Z ##[debug]   -property
2024-03-20T14:49:45.8744426Z ##[debug]   installationPath
2024-03-20T14:49:46.0440125Z ##[debug]Visual Studio 15.0 or higher installed path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise
2024-03-20T14:49:46.0442850Z ##[debug]System.Debug=true
2024-03-20T14:49:46.0443772Z ##[debug]agent.proxyurl=undefined
2024-03-20T14:49:46.0445036Z ##[debug]agent.proxyusername=undefined
2024-03-20T14:49:46.0445965Z ##[debug]agent.proxypassword=undefined
2024-03-20T14:49:46.0446672Z ##[debug]agent.proxybypasslist=undefined
2024-03-20T14:49:46.0457453Z ##[debug]runSettingsFile=D:\a\1\s
2024-03-20T14:49:46.0458303Z ##[debug]Absolute path for pathSegments: D:\a\1\s = D:\a\1\s
2024-03-20T14:49:46.0459148Z ##[debug]build.sourcesDirectory=D:\a\1\s
2024-03-20T14:49:46.0459872Z ##[debug]Absolute path for pathSegments: D:\a\1\s = D:\a\1\s
2024-03-20T14:49:46.0461108Z ##[debug]runSettingsFilepath supplied :false
2024-03-20T14:49:46.0461953Z ##[debug]Agent.Version=3.236.1
2024-03-20T14:49:46.0463236Z ##[debug]Agent.TempDirectory=D:\a\_temp
2024-03-20T14:49:46.0464050Z ##[debug]overrideTestrunParameters=undefined
2024-03-20T14:49:46.0464898Z ##[debug]OverrideTestrunParameters set to undefined
2024-03-20T14:49:46.0466802Z ##[debug]runInParallel=False
2024-03-20T14:49:46.0468274Z Run in parallel : false
2024-03-20T14:49:46.0470981Z ##[debug]runTestsInIsolation=False
2024-03-20T14:49:46.0472069Z Run in isolation : false
2024-03-20T14:49:46.0472701Z ##[debug]pathtoCustomTestAdapters=undefined
2024-03-20T14:49:46.0473647Z Path to custom adapters : undefined
2024-03-20T14:49:46.0474402Z ##[debug]ProceedAfterAbortedTestCase=undefined
2024-03-20T14:49:46.0475140Z ##[debug]ProceedAfterAbortedTestCase is set to : false
2024-03-20T14:49:46.0476208Z ##[debug]uiTests=false
2024-03-20T14:49:46.0477855Z ##[debug]otherConsoleOptions=/collect:"Code Coverage;Format=xml"
2024-03-20T14:49:46.0478408Z Other console options : /collect:"Code Coverage;Format=xml"
2024-03-20T14:49:46.0482791Z ##[debug]codeCoverageEnabled=true
2024-03-20T14:49:46.0483303Z Code coverage enabled : true
2024-03-20T14:49:46.0486280Z ##[debug]diagnosticsEnabled=true
2024-03-20T14:49:46.0488618Z ##[debug]collectDumpOn=always
2024-03-20T14:49:46.0489143Z Diagnostics enabled : true
2024-03-20T14:49:46.0489970Z ##[debug]vstest.customConsoleWrapperAssemblyLocation=undefined
2024-03-20T14:49:46.0493906Z ##[debug]runOnlyImpactedTests=False
2024-03-20T14:49:46.0497592Z ##[debug]rerunFailedTests=False
2024-03-20T14:49:46.0498318Z ##[debug]System.TeamProject=Internal Tools
2024-03-20T14:49:46.0499209Z ##[debug]System.TeamFoundationCollectionUri=https://dev.azure.com/EsoDevOps/
2024-03-20T14:49:46.0500387Z ##[debug]SystemVssConnection exists true
2024-03-20T14:49:46.0501140Z ##[debug]Agent.MachineName=fv-az687-899
2024-03-20T14:49:46.0501825Z ##[debug]Agent.Name=Azure Pipelines 4
2024-03-20T14:49:46.0502526Z ##[debug]Agent.Id=32
2024-03-20T14:49:46.0503207Z ##[debug]DTA_INSTANCE_ID=undefined
2024-03-20T14:49:46.0504560Z ##[debug]set DTA_INSTANCE_ID=1
2024-03-20T14:49:46.0507618Z ##[debug]Processed: ##vso[task.setvariable variable=DTA_INSTANCE_ID;isOutput=false;issecret=false;]1
2024-03-20T14:49:46.0509941Z ##[debug]dontDistribute=False
2024-03-20T14:49:46.0511245Z ##[debug]Release.ReleaseId=undefined
2024-03-20T14:49:46.0511957Z ##[debug]System.JobPositionInPhase=1
2024-03-20T14:49:46.0512686Z ##[debug]System.ParallelExecutionType=undefined
2024-03-20T14:49:46.0513595Z ##[debug]System.PhaseId=3a3a2a60-14c7-570b-14a4-fa42ad92f52a
2024-03-20T14:49:46.0514711Z ##[debug]Hydra.EnableApiFlow=undefined
2024-03-20T14:49:46.0515555Z ##[debug]Build.SourcesDirectory=D:\a\1\s
2024-03-20T14:49:46.0516232Z ##[debug]System.ServerType=Hosted
2024-03-20T14:49:46.0516923Z ##[debug]uiTests=false
2024-03-20T14:49:46.0520212Z ##[debug]Enabling Hydra flow since serverType is hosted.
2024-03-20T14:49:46.0523633Z ##[debug]testAssemblyVer2=**\bin\**\InternalTools.Tests.dll
2024-03-20T14:49:46.0528855Z Run the tests locally using vstest.console.exe
2024-03-20T14:49:46.0529374Z ========================================================
2024-03-20T14:49:46.0532287Z ##[debug]which 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe'
2024-03-20T14:49:46.1235710Z ##[debug]found: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe'
2024-03-20T14:49:46.1239629Z Source filter: **\bin\**\InternalTools.Tests.dll
2024-03-20T14:49:46.1246835Z ##[debug]defaultRoot: 'D:\a\1\s'
2024-03-20T14:49:46.1247930Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-03-20T14:49:46.1248788Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-03-20T14:49:46.1249488Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-03-20T14:49:46.1250881Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-03-20T14:49:46.1252141Z ##[debug]matchOptions.debug: 'false'
2024-03-20T14:49:46.1252916Z ##[debug]matchOptions.nobrace: 'true'
2024-03-20T14:49:46.1254514Z ##[debug]matchOptions.noglobstar: 'false'
2024-03-20T14:49:46.1255321Z ##[debug]matchOptions.dot: 'true'
2024-03-20T14:49:46.1256012Z ##[debug]matchOptions.noext: 'false'
2024-03-20T14:49:46.1256721Z ##[debug]matchOptions.nocase: 'true'
2024-03-20T14:49:46.1257406Z ##[debug]matchOptions.nonull: 'false'
2024-03-20T14:49:46.1258086Z ##[debug]matchOptions.matchBase: 'false'
2024-03-20T14:49:46.1258776Z ##[debug]matchOptions.nocomment: 'false'
2024-03-20T14:49:46.1259797Z ##[debug]matchOptions.nonegate: 'false'
2024-03-20T14:49:46.1260483Z ##[debug]matchOptions.flipNegate: 'false'
2024-03-20T14:49:46.1261180Z ##[debug]pattern: '**\bin\**\InternalTools.Tests.dll'
2024-03-20T14:49:46.1278670Z ##[debug]findPath: 'D:\a\1\s'
2024-03-20T14:49:46.1279470Z ##[debug]statOnly: 'false'
2024-03-20T14:49:46.1280239Z ##[debug]findPath: 'D:\a\1\s'
2024-03-20T14:49:46.1280933Z ##[debug]findOptions.allowBrokenSymbolicLinks: 'false'
2024-03-20T14:49:46.1281623Z ##[debug]findOptions.followSpecifiedSymbolicLink: 'true'
2024-03-20T14:49:46.1282320Z ##[debug]findOptions.followSymbolicLinks: 'true'
2024-03-20T14:49:46.1282983Z ##[debug]findOptions.skipMissingFiles: 'false'
2024-03-20T14:49:46.1380258Z ##[debug]  D:\a\1\s (directory)
2024-03-20T14:49:46.1381659Z ##[debug]  D:\a\1\s\.git (directory)
2024-03-20T14:49:46.1382384Z ##[debug]  D:\a\1\s\.git\config (file)
2024-03-20T14:49:46.1383067Z ##[debug]  D:\a\1\s\.git\description (file)
2024-03-20T14:49:46.1383717Z ##[debug]  D:\a\1\s\.git\FETCH_HEAD (file)
2024-03-20T14:49:46.1384340Z ##[debug]  D:\a\1\s\.git\HEAD (file)
2024-03-20T14:49:46.1384974Z ##[debug]  D:\a\1\s\.git\hooks (directory)
2024-03-20T14:49:46.1385625Z ##[debug]  D:\a\1\s\.git\hooks\applypatch-msg.sample (file)
2024-03-20T14:49:46.1386296Z ##[debug]  D:\a\1\s\.git\hooks\commit-msg.sample (file)
2024-03-20T14:49:46.1386962Z ##[debug]  D:\a\1\s\.git\hooks\fsmonitor-watchman.sample (file)
2024-03-20T14:49:46.1387627Z ##[debug]  D:\a\1\s\.git\hooks\post-update.sample (file)
2024-03-20T14:49:46.1388275Z ##[debug]  D:\a\1\s\.git\hooks\pre-applypatch.sample (file)
2024-03-20T14:49:46.1388947Z ##[debug]  D:\a\1\s\.git\hooks\pre-commit.sample (file)
2024-03-20T14:49:46.1389611Z ##[debug]  D:\a\1\s\.git\hooks\pre-merge-commit.sample (file)
2024-03-20T14:49:46.1393104Z ##[debug]  D:\a\1\s\.git\hooks\pre-push.sample (file)
2024-03-20T14:49:46.1394000Z ##[debug]  D:\a\1\s\.git\hooks\pre-rebase.sample (file)
2024-03-20T14:49:46.1394676Z ##[debug]  D:\a\1\s\.git\hooks\pre-receive.sample (file)
2024-03-20T14:49:46.1395352Z ##[debug]  D:\a\1\s\.git\hooks\prepare-commit-msg.sample (file)
2024-03-20T14:49:46.1396039Z ##[debug]  D:\a\1\s\.git\hooks\push-to-checkout.sample (file)
2024-03-20T14:49:46.1396701Z ##[debug]  D:\a\1\s\.git\hooks\update.sample (file)
2024-03-20T14:49:46.1397325Z ##[debug]  D:\a\1\s\.git\index (file)
2024-03-20T14:49:46.1397955Z ##[debug]  D:\a\1\s\.git\info (directory)
2024-03-20T14:49:46.1398584Z ##[debug]  D:\a\1\s\.git\info\exclude (file)
2024-03-20T14:49:46.1399209Z ##[debug]  D:\a\1\s\.git\logs (directory)
2024-03-20T14:49:46.1399836Z ##[debug]  D:\a\1\s\.git\logs\HEAD (file)
2024-03-20T14:49:46.1400468Z ##[debug]  D:\a\1\s\.git\logs\refs (directory)
2024-03-20T14:49:46.1401128Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes (directory)
2024-03-20T14:49:46.1402002Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin (directory)
2024-03-20T14:49:46.1402722Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\AC-22-add-assets-app-to-the-eso-suite (file)
2024-03-20T14:49:46.1403451Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\Bump-to-5.21 (file)
2024-03-20T14:49:46.1404182Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\CAD-386-change-CadService-endpoint-URL-to-https (file)
2024-03-20T14:49:46.1404916Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\DefaultDoc (file)
2024-03-20T14:49:46.1405604Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\dev (directory)
2024-03-20T14:49:46.1406357Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\dev\EHR-4178_B (file)
2024-03-20T14:49:46.1407983Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\dev\merge-release-5.13 (file)
2024-03-20T14:49:46.1409197Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\dev\TOOLS-209-refactor (file)
2024-03-20T14:49:46.1409989Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\develop (file)
2024-03-20T14:49:46.1410718Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\ERMigration_Internal_Tools (file)
2024-03-20T14:49:46.1411450Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-1599-missing-import-branch (file)
2024-03-20T14:49:46.1412158Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-1733 (file)
2024-03-20T14:49:46.1412850Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-1909-NullChecks (file)
2024-03-20T14:49:46.1413541Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-3052 (file)
2024-03-20T14:49:46.1414256Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-3277-SSO-personnel-password-reset-banner (file)
2024-03-20T14:49:46.1414993Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-3603-reset-password-email (file)
2024-03-20T14:49:46.1415707Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-3603-reset-password-email-QA (file)
2024-03-20T14:49:46.1416400Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-4258 (file)
2024-03-20T14:49:46.1417084Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-43-Azure-CI (file)
2024-03-20T14:49:46.1417764Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-837 (file)
2024-03-20T14:49:46.1418599Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-860 (file)
2024-03-20T14:49:46.1419253Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-860-Lexipol (file)
2024-03-20T14:49:46.1419940Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-860-Lexipol-cherry-pick (file)
2024-03-20T14:49:46.1420614Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\EST-951 (file)
2024-03-20T14:49:46.1421261Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\ESTF42 (file)
2024-03-20T14:49:46.1421899Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\FDO-591 (file)
2024-03-20T14:49:46.1422537Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\FDO-910 (file)
2024-03-20T14:49:46.1423355Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature (directory)
2024-03-20T14:49:46.1424566Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature\EI-1318 (file)
2024-03-20T14:49:46.1425700Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature\EL-129_insights_module (file)
2024-03-20T14:49:46.1426568Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature\EST-1841 (file)
2024-03-20T14:49:46.1427134Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature\insights (file)
2024-03-20T14:49:46.1427700Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\feature\update-v1-import-page-UI-titles-PR-573 (file)
2024-03-20T14:49:46.1428298Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\FIRE-7267-Need-Vehicle-Zone-Dispatch (file)
2024-03-20T14:49:46.1428899Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\hotfix (directory)
2024-03-20T14:49:46.1429434Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\hotfix\4.10.12 (file)
2024-03-20T14:49:46.1430166Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\hotfix\ehr_access_shard (file)
2024-03-20T14:49:46.1430903Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\inventory-product-id-fix (file)
2024-03-20T14:49:46.1431465Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\master (file)
2024-03-20T14:49:46.1432005Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\merge_4.10.13 (file)
2024-03-20T14:49:46.1432550Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\PR-315 (file)
2024-03-20T14:49:46.1433127Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\PR-575-update-internaltools-with-registry-modules (file)
2024-03-20T14:49:46.1433714Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\pr-shared-config (file)
2024-03-20T14:49:46.1434256Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\PS-32 (file)
2024-03-20T14:49:46.1435264Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release (directory)
2024-03-20T14:49:46.1436186Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\4.10 (file)
2024-03-20T14:49:46.1436900Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.0 (file)
2024-03-20T14:49:46.1437458Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.1 (file)
2024-03-20T14:49:46.1438000Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.10 (file)
2024-03-20T14:49:46.1438545Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.11 (file)
2024-03-20T14:49:46.1439085Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.12 (file)
2024-03-20T14:49:46.1439609Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.13 (file)
2024-03-20T14:49:46.1440149Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.14 (file)
2024-03-20T14:49:46.1440686Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.15 (file)
2024-03-20T14:49:46.1441224Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.16 (file)
2024-03-20T14:49:46.1441760Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.17 (file)
2024-03-20T14:49:46.1442288Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.18 (file)
2024-03-20T14:49:46.1442988Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.19 (file)
2024-03-20T14:49:46.1443536Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.2 (file)
2024-03-20T14:49:46.1444077Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.20 (file)
2024-03-20T14:49:46.1444609Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.3 (file)
2024-03-20T14:49:46.1445146Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.4 (file)
2024-03-20T14:49:46.1445674Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.5 (file)
2024-03-20T14:49:46.1446214Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.6 (file)
2024-03-20T14:49:46.1446736Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.7 (file)
2024-03-20T14:49:46.1447277Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.8 (file)
2024-03-20T14:49:46.1447809Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\release\5.9 (file)
2024-03-20T14:49:46.1448504Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\Release_4.10.10 (file)
2024-03-20T14:49:46.1449061Z ##[debug]  D:\a\1\s\.git\logs\refs\remotes\origin\Release_4.10.9 (file)
2024-03-20T14:49:46.1478674Z ======================================================
2024-03-20T14:49:46.1479500Z ##[debug]Agent.Version=3.236.1
2024-03-20T14:49:46.1480287Z ##[debug]Release.ReleaseUri=undefined
2024-03-20T14:49:46.1480972Z ##[debug]Release.ReleaseId=undefined
2024-03-20T14:49:46.1481630Z ##[debug]Build.BuildUri=vstfs:///Build/Build/363466
2024-03-20T14:49:46.1482324Z ##[debug]Build.Buildid=363466
2024-03-20T14:49:46.1483073Z ##[debug]telemetry area: TestExecution feature: TestExecutionTask data: {"builduri":"vstfs:///Build/Build/363466","buildid":"363466","state":"completed"}
2024-03-20T14:49:46.1706455Z ##[debug]Processed: ##vso[telemetry.publish area=TestExecution;feature=TestExecutionTask;]{"builduri":"vstfs:///Build/Build/363466","buildid":"363466","state":"completed"}
2024-03-20T14:49:46.1707387Z ##[debug]task result: Failed
2024-03-20T14:49:46.1711383Z ##[error]VsTest task failed.
2024-03-20T14:49:46.1711921Z ##[debug]Processed: ##vso[task.issue type=error;]VsTest task failed.
2024-03-20T14:49:46.1716308Z ##[debug]Processed: ##vso[task.complete result=Failed;done=true;]VsTest task failed.
2024-03-20T14:49:46.1718399Z ##[section]Finishing: VSTest

Hi @dom380, thanks for the reporting!
What was the agent version before it started failing?

Hi @dom380, thanks for the reporting! What was the agent version before it started failing?

The last successful run was on the following:

agent version: '3.234.0'
image version: '20240225.2.0'

Hi, @dom380, I checked that the VSTest@3 task is working fine now. Is this problem still relevant to you? If so, could you share a simple test project to reproduce it?

Hi @DenisRumyantsev, the issue resolved itself - presumably from another agent update - and is no longer occurring.