-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Added PodLifecycleSleepActionAllowZero to sig-node-presubmit jobs #34483
base: master
Are you sure you want to change the base?
Added PodLifecycleSleepActionAllowZero to sig-node-presubmit jobs #34483
Conversation
4855662
to
da62595
Compare
/lgtm |
/assign @kannon92 |
@@ -3539,3 +3539,57 @@ presubmits: | |||
requests: | |||
cpu: 4 | |||
memory: 6Gi | |||
- name: pull-kubernetes-e2e-pod-lifecycle-sleep-action-allow-zero |
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 think this is using deprecated kubernetetes_e2e.py. Can you update this using kubetest2?
/hold Please try to use kubetest2 for this. |
What kind of test is this? e2e or e2e_node? I see that you picked crio for this one and I'm not sure if that is intendend. |
This is an e2e test (It comes under e2e/common/node/lifecycle_hook.go). I'm going through sig-node-presubmit.yaml now and all the test are e2e_node ones I'm guessing? Sorry for the confusion, this is my first time doing this. |
We could try it! Please change the image config to use cgroup v2 and I'll approve. There are other containerd examples for kubetest2 also but if crio works then I think it is fine. |
Thanks I've updated it! I would like to try running this job locally once before merging it though. I can do this tomorrow and update here. I can also try with both containerd and crio if that works. What do you think? |
@sreeram-venkitesh have you coordinated with @AxeZhan on this? You are adding a test for your sub feature but do we have testing for the PodLifecycleSleepAction? We could just add this job to that one? |
AFAIK kubernetes/kubernetes#128046 was added to try and graduate this feature. The test flaked as it was not yet added to a periodic I think you could add your test to that existing job. |
- --repo-root=. | ||
- --gcp-zone=us-west1-b | ||
- --parallelism=1 | ||
- --focus-regex=\[Feature:PodLifecycleSleepActionAllowZero\] |
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.
It would be good to take PodLifecycleSleepAction
with this.
By |
I had the same question! To confirm, is the only change required in - - --test_args=--ginkgo.focus=\[Feature:(WatchList|InPlacePodVerticalScaling|APIServerTracing|SidecarContainers|StorageVersionAPI|PodPreset|ClusterTrustBundle|ClusterTrustBundleProjection|PodLifecycleSleepAction)\] --ginkgo.skip=\[Feature:(SCTPConnectivity|Volumes|Networking-Performance)\]|IPv6|csi-hostpath-v0|\[KubeUp\] --minStartupPods=8
+ - --test_args=--ginkgo.focus=\[Feature:(WatchList|InPlacePodVerticalScaling|APIServerTracing|SidecarContainers|StorageVersionAPI|PodPreset|ClusterTrustBundle|ClusterTrustBundleProjection|PodLifecycleSleepAction|PodLifecycleSleepActionAllowZero)\] --ginkgo.skip=\[Feature:(SCTPConnectivity|Volumes|Networking-Performance)\]|IPv6|csi-hostpath-v0|\[KubeUp\] --minStartupPods=8 Or should I keep the new job that I've added in this PR and add |
I think its up to you as the feature authors. You will be the one monitoring and fixing these if issues arise. Adding to an existing presubmit makes sense. https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv2-node-e2e-features and the containerd one run the PodLifecycleSleepAction in CI already. |
I'm fine with having the test run along with the PodLifecycleSleepAction one.
For this would this change be enough? 8af7fde. If yes, I will clean up the rest of the commits in the PR. |
7dc327e
to
5f9d369
Compare
I've removed the new job that I've added and have added the feature gate to |
Thanks for following up on this. I don’t think you removed that skip from all relevant jobs. I see https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv1-node-e2e-features and I think we also have some presubmits for these feature jobs which may need to be updated. im fine with this as a follow up though. /lgtm you may need other approves for this. |
/approve |
/hold cancel per @kannon92 further comments it seems to me the hold no longer applies |
Can we clean up the commits here? |
I gave my approval for node but I don't have rights for cloud provider. |
df77189
to
6f78b60
Compare
@mrunalp I've squashed all the commits. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kannon92, mrunalp, pacoxu, sreeram-venkitesh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We can merge this now that kubernetes/kubernetes#130621 has been merged. |
can you please give your blessing? |
This PR adds the e2e test for PodLifecycleSleepActionAllowZero to sig-node-presubmit jobs. This is based on @HirazawaUi's PR #33687 based on this comment: kubernetes/kubernetes#130621 (comment).
@HirazawaUi Please take a look!