microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.72k stars 867 forks source link

Build times out after 30 minutes regardless of settings #1903

Closed grecoe closed 6 years ago

grecoe commented 6 years ago

Have you tried trouble shooting?

Yes, timeout during execution occurs regardless of timeout values set.

Agent Version and Platform

Version of your agent? 2.102.0/2.100.1/...

OS of the machine running the agent? OSX/Windows/Linux/... Hosted Linux Preview

VSTS Type and Version

VisualStudio.com or On-Prem TFS? VisualStudio.com

If VisualStudio.com, what is your account name? http://account.visualstudio.com Grecoe@microsoft.com

What's not working?

Regardless of timeout values set, build cancels after 30 minutes with the following error:

Job Issues:

[Error 1]

The job exceeded the maximum allowed time of 00:30:00 and was stopped. Please visit for more information.

Pipeline/Options/Timeout = 60 Phase/Timeout = 0 Python Script Task/Control Options/Timeout = 100

Agent and Worker's Diagnostic Logs

diagnostic_log_timeout.zip

Related Repositories

Please ensure you are logging issues to the correct repository in order to get the best support.

If you are hitting a generic issue about VSTS/TFS, please report it to the Developer Community

TingluoHuang commented 6 years ago

https://docs.microsoft.com/en-us/azure/devops/organizations/billing/buy-more-build-vs?view=vsts#microsoft-hosted-cicd

@grecoe base on the doc you can only run 30 mins build for free.

TingluoHuang commented 6 years ago

close as by design. let me know if you need more help.

ravitej-senseon commented 5 years ago

So, can I run builds for longer than 30 minutes on the hosted agents if I pay for an extra parallel pipeline?

grecoe commented 5 years ago
      So, can I run builds for longer than 30 minutes on the hosted agents if I pay for an extra parallel pipeline?

Yes, that is correct. The free build tier will timeout earlier, but with paid pipelines you can run up to 6 hours, according to the documentation.