-
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
timeout applied to taskrun from pipelinerun does not work #3038
Comments
My suspicion is this would be an issue with pipelines as If you could please share all your resources (e.g. Tasks, Pipeline, etc.) and how you started the PipelineRun with Edit: Just noting this was originally opened in the cli repo, but looks like someone transferred over. |
task:
Pipeline:
Command used to start pipeline |
I'm looking into the timeout logic right now, so I can take a look at this! /assign |
One thing I have noticed with this is that it seems TaskRun pods are being deleted when a timeout occurs. I am assuming this would affect how the TaskRun statuses are being updated. |
FWIW though, I can't reproduce this with the task/pipeline/start command above. |
I am not able to reproduce on pipeline master. @VeereshAradhya I notice you have an additional task
|
@pritidesai @danielhelfand when I filed the bug I was able to reproduce the issue with the spec that I have provided. When I checked today, with same spec I was not able to reproduce the issue. I observed that the issue is not reproducible all the time. Today with repeated trials I was able to reproduce the issue with below specs
pipeline:
Task:
|
/assign |
@VeereshAradhya I tried but couldn't reproduce this issue, is this still a problem for you? |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Expected Behavior
The timeout given to pipelinerun should get applied to taskrun and the taskrun should get failed when it reaches timeout
Actual Behavior
The timeout given to pipelinerun is getting applied to taskrun but the taskrun is not getting failed when it reaches timeout
Steps to Reproduce the Problem
Additional Info
Command logs:
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: