Code Monkey home page Code Monkey logo

Comments (4)

vdemeester avatar vdemeester commented on July 22, 2024 1

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.

ritesh-makerble avatar ritesh-makerble commented on July 22, 2024

@AlanGreene Can you help me with this?

from pipeline.

vdemeester avatar vdemeester commented on July 22, 2024

👋🏼 @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 in pipeline.spec.tasks.
    To specify a timeout for an individual Task, use pipeline.spec.tasks[].timeout.
    When timeouts.tasks has elapsed, any running child TaskRuns will be canceled, finally Tasks will run if timeouts.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.

ritesh-makerble avatar ritesh-makerble commented on July 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.