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
OCPBUGS-230: lib/resourcebuilder/batch: Stop waiting on Job deadline exceeded #823
OCPBUGS-230: lib/resourcebuilder/batch: Stop waiting on Job deadline exceeded #823
Conversation
Avoid waiting for a job that that job controller has given up on [1]. With this change, when we have issues like DeadlineExceeded, we will set 'err != nil' for "things are not good" and (new in this commit) 'done == true' for "waiting longer is useless". Also split the 'err != nil' cases to "log the error and wait longer" and (new in this commit) "bubble the error up to the caller" cases. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=2062568#c0
@openshift-cherrypick-robot: An error was encountered cloning bug for cherrypick for bug 2071211 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
response code 401 not 200
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
@openshift-cherrypick-robot: No Bugzilla bug is referenced in the title of this pull request. 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. |
@openshift-cherrypick-robot: This pull request references [Jira Issue OCPBUGS-230](https://issues.redhat.com//browse/OCPBUGS-230), which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean pick.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label cherry-pick-approved |
/label backport-risk-assessed |
/test e2e-agnostic |
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@openshift-cherrypick-robot: All pull requests linked via external trackers have merged: [Jira Issue OCPBUGS-230](https://issues.redhat.com//browse/OCPBUGS-230) has been moved to the MODIFIED state. 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build cluster-version-operator-container-v4.9.0-202311250023.p0.g324c267.assembly.stream for distgit cluster-version-operator. |
This is an automated cherry-pick of #764
/assign wking