Azure pipeline unable to build solutiuon

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

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.
35,959 questions
0 comments No comments
{count} votes

Accepted answer
  1. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2021-11-03T14:09:33.167+00:00

    @Grzegorz Orda Thanks for reaching out. Azure DevOps and its services are not supported on the Microsoft Q&A platform. Please post your question in the following forum where the Azure DevOps team and DevOps community are actively answering questions: https://developercommunity.visualstudio.com/spaces/21/index.html

    0 comments No comments

0 additional answers

Sort by: Most helpful