question

GrzegorzOrda-4218 avatar image
0 Votes"
GrzegorzOrda-4218 asked bhargaviannadevara-msft edited

Azure pipeline unable to build solutiuon

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-supported
image.png (25.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

bhargaviannadevara-msft avatar image
0 Votes"
bhargaviannadevara-msft answered

@GrzegorzOrda-4218 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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.