-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipelinerun status will not be set to PipelineRunStopping
if pipeline contains finally
tasks
#3119
Comments
/cc @pritidesai |
yes this is by design. |
Please refer to this section for details on pipelinerun status: I am closing this. |
The above link does not mention about the state When I was going through the newly added features of v0.14.0, I found What is the expected state transition of the pipelinerun when there are multiple finally tasks running and one of it fails (since finally tasks are running, there will not be any new tasks to be scheduled), Is it |
Hi @VeereshAradhya PR #2774 introduced
The expected state transition in this case is Finally task failure does not transition into stopping state since expectation is rest of the final tasks have to be executed and pipeline keeps running until it finishes executing all finally tasks or it hits timeout. Also, a pipeline can have multiple or all finally tasks failure unlike DAG tasks. |
Expected Behavior
The pipelinerun status should be set to
PipelineRunStopping
when any of taskrun fails and other taskruns are still running (though pipeline containsfinally
tasks)Actual Behavior
The pipelinerun status is not set to
PipelineRunStopping
when any of taskrun fails and other taskrus are still running when pipeline containsfinally
tasksSteps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Command execution logs:
The text was updated successfully, but these errors were encountered: