Comments (4)
Yes, my guess is that there is a Task that timed out at 1h, making the pipelinerun fail. With what you specified, all task need to complete in 3h, but each task has its own 1h timeout. So if one task takes more than 1h it will timeout.
from pipeline.
@AlanGreene Can you help me with this?
from pipeline.
👋🏼 @ritesh-makerble , thanks for the issue. According to the doc (and the code), this is expected.
tasks
: specifies the timeout for the cumulative time taken by non-finally
Tasks specified inpipeline.spec.tasks
.
To specify a timeout for an individual Task, usepipeline.spec.tasks[].timeout
.
Whentimeouts.tasks
has elapsed, any running child TaskRuns will be canceled, finally Tasks will run iftimeouts.finally
is specified,
and the PipelineRun will fail.
Each Task
will have a the default 1h timeout (or what is configured in the config-defaults
configmap) if not specified otherwise. timeouts.tasks
is for "all" Task
to execute (not for "each").
There is a bunch of issues about this (that kind-of show it can be confusing):
from pipeline.
@vdemeester In my issue, you can see I have specified timouts.task to 3h
. But my pipeline run fails after 1 hr with an Error TaskRunTimeOut even though the timeout.pipeline is 4h
.
from pipeline.
Related Issues (20)
- Website wrongly shows specifying-task-level-computeresources as alpha feature HOT 1
- Missing substitution of propagated workspace in WorkingDirs
- affinity assistant will schedule onto nodes with insufficient resources to run a pod in the pipeline, it should not
- Matrix: invalid param type when consuming results from CustomRun on task matrix.params field
- Occasionally, taskrun fails to retrieve task results from sidecar logs HOT 1
- PipelineRun is canceled prior to its child TaskRuns being canceled. HOT 9
- How to build entry point without SPIRE?
- When performing an upgrade using install.yaml, a pipeline that ran in the past is now running. HOT 1
- The pipeline controller keeps refreshing logs HOT 1
- Error message when PipelineRun is missing parameters required by Pipeline is nonsensical HOT 6
- DryRun Validate should return the mutated Object HOT 2
- Incorrect param type passed to stepaction makes it use default value HOT 2
- Index out of range panic in CheckMissingResultReferences when references are missing
- Controller crashes for certain Pipeline after upgrade HOT 1
- Capture provenance of StepActions in Status HOT 1
- Access `reason` from the execution status of a `taskRun` in `finally`
- Helm chart outdated HOT 3
- Overriding Pipeline timeout does not work HOT 2
- Additional unit tests are needed for Kubernetes native sidecar support HOT 2
- Remote resolvers fail to save ECR cache
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipeline.