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
conformance: promote container exec probe timeout tests #97619
conformance: promote container exec probe timeout tests #97619
Conversation
b80f9af
to
7d56657
Compare
…manec Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
7d56657
to
2242d0f
Compare
/triage accepted |
@@ -210,10 +210,10 @@ var _ = framework.KubeDescribe("Probing container", func() { | |||
|
|||
/* | |||
Release: v1.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.
I'd suggest to change it to 1.20 since it is only fixed than. Keeping 1.9 is misleading
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.
you can list both, to indicate the change in behavior in 1.20: v1.9, v1.20
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.
once that change is in, I can approve
/lgtm I wonder if any positive test would be useful here. Like pod will stay alive if exec prob successful. It may be a slow test though, just thinking out loud. |
@SergeyKanzhelev I think we do have positive test cases, see this one for example kubernetes/test/e2e/common/container_probe.go Lines 133 to 148 in 2242d0f
|
@johnbelamaric can you please approve? |
I was part of the discussion in #94115, there was a change to add this to So @johnbelamaric and @spiffxp please approve the changes to testdata @SergeyKanzhelev from sig-node has verified this as well. |
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewsykim, spiffxp 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 |
/test pull-kubernetes-integration |
/test pull-kubernetes-e2e-kind |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-e2e-kind |
This test should not have been elevated into conformance as long as the feature gate to disable (and preserve the old buggy behavior) remained. |
We need to revert this PR prior to shipping 1.21. |
Does the feature gate default to the old buggy behavior today (in v1.21)? |
Feature gate defaults to a "fixed" state starting 1.20. |
To be more precise: the test should be taken out of conformance @spiffxp the present behavior defaults the feature gate to "on" |
#99909 (comment) WDYT about this approach |
the problem is not version skew, it is that AKS wants to run conformance tests while this flag is off. And they want the flag off for the same reason as we extended the removal of a feature flag - some customers may not be ready |
What type of PR is this?
/kind feature
What this PR does / why we need it:
In v1.20 we fixed exec probe timeouts (#94115). Along with that PR, we also un-skipped a test exercising this behavior with liveness probes and added a new test for readiness probes. In past discussions in SIG Node, there was general agreement that exec probe timeout tests should probably be included in conformance. #96694 added those tests to
NodeConformance
, this PR adds them to actual conformance.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: