-
Notifications
You must be signed in to change notification settings - Fork 2.8k
node: add podresources API presubmit and disambiguate pod level resources presubmit #35148
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
node: add podresources API presubmit and disambiguate pod level resources presubmit #35148
Conversation
@ffromani: GitHub didn't allow me to request PR reviews from the following users: guptaNswati. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. 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-sigs/prow repository. |
ping for review, it's important for KEP 3695 |
memory: 6Gi | ||
command: | ||
- runner.sh | ||
- /workspace/scenarios/kubernetes_e2e.py |
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 might be important to introduce new jobs using kubetest2
since kubetest its already being deprecated
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.
+1 to this. But not blocking from my POV
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.
fair enough, I can update
Nice to have |
args: | ||
- --deployment=node | ||
- --gcp-zone=us-central1-b | ||
- --node-args=--image-config-file=/home/prow/go/src/k8s.io/test-infra/jobs/e2e_node/containerd/image-config-serial-resource-managers.yaml |
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.
is this image the reason we need a separate lane and cannot run them as part of other Serial?
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.
we only need a filter, be it focus or label-filter which captures the podresourcesapi tests explicitly. Everything else is incidental and I can change as needed
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.
perhaps running as part of serial would be OK than? So we avoid an extra test lane
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.
That's surely a tradeoff we can explore. I'm fixing this PR as suggested by review comments, then we can evaluate another approach.
From CI costs perspective my intuition is that a targeted lane is less costly than running a full lenghtier lane only because we are interested in a subset of tests, but I'm totally open to discuss it.
add a new presubmit job targeting podresources API tests. Signed-off-by: Francesco Romani <fromani@redhat.com>
rename podlevel resources tests to disambiguate with podresources API tests. Signed-off-by: Francesco Romani <fromani@redhat.com>
218f16c
to
f21d6d4
Compare
@SergeyKanzhelev I'm not strongly pushing for a separate lane for podresources API. These are the reasons why I think it helps:
that said: I'm open to just fix the serial suite. I guess the driver here is to keep the number of lanes manageable, right? The only problem I see is to document somehow that to run podresources tests we need to run the full serial suite, otherwise this fact becomes tribal knowledge which gets lost easily. |
still pending: move to kubetest2 (on it) |
it seems we can just run these two lanes to exercise the podresources API tests:
verifying |
not great, it seems the serial lanes are experiencing some bitrot? Maybe we "just" need to bump the timeout? |
Found the issue in CI infra with instance type #35205 Now the instance is coming up but tests are still skipped. @ffromani we need to look more deeply and need time to do all the fixes. Is it okay if we don't block this kubernetes/kubernetes#132940 |
/approve let's use it temporarily as other serial lanes a in a bad shape and we need a KEP to be merged |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani, SergeyKanzhelev 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 |
@ffromani: Updated the
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-sigs/prow repository. |
Up until now, we used "podresources" ambiguosly: it historically referred to podresources API, but we started to use for pod-level resources tests. This PR disambiguate the term, but most notably adds a presubmit job which targets explicitly the podresources API tests, which previously where running incidentally in other lanes.
xref: kubernetes/enhancements#5346 (comment)
xref: kubernetes/kubernetes#132345