Azure pipeline unable to build solutiuon

asked 2021-11-03T13:57:38.3+00:00
Grzegorz Orda 21 Reputation points

For a month now I am getting errors while building a project. Sometimes it's a timeout, sometimes other incomprehensible errors. Any ideas what this could be caused by?

  1. [error]Stack overflow. ,[error]We stopped hearing from agent Hosted Agent. Verify the agent machine is running and has a healthy network connection. Anything that terminates an agent process, starves it for CPU, or blocks its network access can cause this error. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610
  2. [error]An error occurred while provisioning resources (Error Type: Disconnect). ,##[warning]Received request to deprovision: The request was cancelled by the remote provider. Pool: Azure Pipelines Image: windows-latest Agent: Hosted Agent Started: Mon at 11:07 AM Duration: 3h 10m 11s

YAML file

> trigger: > branches: > include: > - 'develop' > variables: > - name: solution > value: '/*.sln' > - name: buildPlatform > value: 'Any CPU' > - name: buildConfiguration > value: 'Release' > stages: > - stage: __default > jobs: > - job: Job > timeoutInMinutes: 360 > pool: > vmImage: 'windows-latest' > steps: > - task: NuGetToolInstaller@1 > - task: UseDotNet@2 > inputs: > packageType: 'sdk' > version: '3.1.x' > - task: CmdLine@2 > inputs: > script: 'echo $(Build.SourceBranchName)' > - task: NuGetCommand@2 > inputs: > restoreSolution: '$(solution)' > - task: VSBuild@1 > inputs: > solution: '$(solution)' > platform: '$(buildPlatform)' > configuration: '$(buildConfiguration)' > - task: VSTest@2 > inputs: > testSelector: 'testAssemblies' > testAssemblyVer2: | > *Test.dll > !*TestAdapter.dll > !\obj** > searchFolder: '$(System.DefaultWorkingDirectory)' > - task: PowerShell@2 > inputs: > pwsh: true > filePath: '$(Agent.BuildDirectory)/s/scripts/RulesValidation.ps1'

146223-image.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
23,683 questions
No comments
{count} votes

0 additional answers

Sort by: Most helpful