question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confusion about the timeoutInMinutes value for a task

See original GitHub issue

I’ve set the timeoutInMinutes for a task like so:

- bash: |
    $(bin_path)/distribute.py
  timeoutInMinutes: 180
  displayName: Distribute

Based on the documentation I’ve found here I’d expect this task to be allowed to continue for 180 minutes before being killed. Instead, we are seeing it killed after 60 minutes. As far as I can tell, it’s because the cancel timeout for the phase is set to it’s default 60 minutes. Note: We do not set the timeout for the phase explicitly.

If we need to set the phase timeout to be the sum of the timeouts for all tasks in it, that would be useful to have in the documentation.

If we don’t (which seems like the more sensible solution) then where are we going wrong?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
ericsciplecommented, Sep 26, 2018

i’ll update the docs to clarify the lesser of the two timeouts wins

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yaml script for adding timeoutinminutes in Build Pipeline ...
1 Answer. I assume what you confused should be why you have specify timeoutInMinutes as 1200 , and why still facing the error:...
Read more >
Azure DevOps timeoutInMinutes is being ignored in YAML ...
The timeoutInMinutes allows a limit to be set for the job execution time. When not specified, the default is 60 minutes. And you...
Read more >
Define YAML resources for Azure Pipelines
Learn how to define YAML resources that can be consumed anywhere in your pipelines.
Read more >
Yaml script for adding timeoutinminutes ... - appsloveworld.com
I assume what you confused should be why you have specify timeoutInMinutes as 1200 , and why still facing the error: "The job...
Read more >
ManualValidation@0 - Manual validation v0 task
You can specify the timeout value for the task using the optional timeoutInMinutes parameter, available in the common task properties. Note.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found