-
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
TaskRun retries create extra Pods #1976
Comments
/kind bug |
@imjasonh
Then the related I have not figure out why status update error occurred but I think the BTW, the test case is not correct, please check the PR. |
Fixed by #1996 |
Hey, sorry @bobcatfish that PR only updates the test to more accurately reflect the incorrectness described by the bug. The bug still exists :S |
This issue could be closed |
Indeed #2022 fixed it |
@vdemeester: 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
Retrying a TaskRun N times within a PipelineRun should create at most N Pods to execute each attempt.
Actual Behavior
The TaskRunStatus reports the statuses of N retries, but in reality there are >N Pods created.
The e2e test added in #1975 reports this:
The TaskRun was configured to retry 5 times, but created 7 pods (sometimes it's only 6), one of which was still
Running
at the time the test listed Pods.Steps to Reproduce the Problem
go test -tags=e2e ./test -run=Retry
and observe logs like the above. Changet.Log
tot.Error
to have the test fail and see a full K8s object dump.The text was updated successfully, but these errors were encountered: