-
Notifications
You must be signed in to change notification settings - Fork 1k
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
oci: handle early exited container faster in stop loop #7735
Conversation
if we hit a TOCTOU race with c.Living() and StopLoopForContainer, then we will be forced to wait until the kubelet re-requests. instead, update watchers immediately so this doesn't happen Signed-off-by: Peter Hunt <pehunt@redhat.com>
2e1912a
to
e84b654
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #7735 +/- ##
==========================================
- Coverage 47.97% 47.95% -0.02%
==========================================
Files 145 146 +1
Lines 16268 16274 +6
==========================================
Hits 7804 7804
+ Misses 7520 7517 -3
- Partials 944 953 +9 |
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.
/retest
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, sohankunkerkar 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 |
/cherry-pick release-1.29 |
@rphillips: once the present PR merges, I will cherry-pick it on top of release-1.29 in a new PR and assign it to you. 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. |
/retest |
@rphillips: new pull request created: #7737 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. |
/cherry-pick release-1.28 |
@sohankunkerkar: new pull request created: #7738 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. |
/cherry-pick release-1.27 |
@sohankunkerkar: new pull request created: #7739 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. |
@sohankunkerkar, you might need to kick off |
/cherry-pick release-1.26 |
/cherry-pick release-1.25 |
@sohankunkerkar: new pull request created: #7745 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. |
@sohankunkerkar: new pull request created: #7746 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. |
/cherry-pick release-1.24 |
@sohankunkerkar: #7735 failed to apply on top of branch "release-1.24":
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. |
@sohankunkerkar, did someone ask for 1.24? I think, it might be safe to stop at 1.25 at this point. We should be out of support for 1.24 since 1.29 came to be. Also, among some of the users of 1.24 and 1.25, the OpenShift 4.10 and 4.11 is also officially out of support. |
Yeah, I realized that. I was under the impression that version 1.24 of cri-o is included in OCP 4.12. Thanks for the pointers. |
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. Updates are required in kubevirtci to get the updated crio version for 1.27. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does nto include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. The updated rpm for the 1.27 provider is not yet available. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does nto include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. The updated rpm for the 1.27 provider is not yet available. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does not include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. The updated rpm for the 1.27 provider is not yet available. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does not include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. The updated rpm for the 1.27 provider is not yet available. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does not include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
This bump includes crio fixes[1] for the k8s-1.28 & k8s-1.29 providers. The updated rpm for the 1.27 provider is not yet available. k8s-1.28 - cri-o version v1.28.4 k8s-1.29 - cri-o version v1.29.2 k8s-1.27 remains on cri-o version v1.27.2 which does not include the required fix. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
…ower deletion issue There was an issue in cri-o[1] that caused these tests to be very flaky. This has been fixed in the latest releases of cri-o so we can reintroduce these tests to the presubmit test lanes. [1] cri-o/cri-o#7735 Signed-off-by: Brian Carey <bcarey@redhat.com>
if we hit a TOCTOU race with c.Living() and StopLoopForContainer, then we will be forced to wait until the kubelet re-requests. instead, update watchers immediately so this doesn't happen
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?