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
Log results of each plugin in scheduler framework #83538
Conversation
86b7400
to
174225a
Compare
/assign @liu-cong |
3932452
to
32cb44a
Compare
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.
Can you mark resolved comments as "Resolved"? Thanks!
32cb44a
to
867ca43
Compare
/test pull-kubernetes-e2e-gce |
7fb50d3
to
63fe2a5
Compare
/lgtm Thanks Leon! /assign ahg-g |
/ping @ahg-g |
/priority important-soon |
can you rebase |
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 put some 19 comments on this PR, I am very skeptical that this is going to be useful, logging for each pod for each node on each extension point is massive, even if it was enabled temporarily. I don' think this should be merged.
if we want more insights from logs, we can do that outside the framework: log a line after running all filters on all nodes for example. |
63fe2a5
to
b4bc9c8
Compare
New changes are detected. LGTM label has been removed. |
@ahg-g Thanks for your review. I've updated and rebased it. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wgliang 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 |
@@ -586,7 +594,7 @@ func TestRecordingMetrics(t *testing.T) { | |||
}, | |||
{ | |||
name: "Filter - Success", | |||
action: func(f Framework) { f.RunFilterPlugins(context.Background(), nil, pod, nil) }, | |||
action: func(f Framework) { f.RunFilterPlugins(context.Background(), nil, pod, nodeInfo) }, |
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.
This is to solve the panic issue(L346).
errMsg := fmt.Sprintf("error while running %q filter plugin for pod %q: %v", | ||
pl.Name(), pod.Name, status.Message()) | ||
errMsg := fmt.Sprintf("error while running %q filter plugin for pod %q on node %v: %v", | ||
pl.Name(), pod.Name, nodeInfo.Node().Name, status.Message()) |
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.
Print nodeInfo.Node().Name
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@wgliang: PR needs rebase. 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. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. 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. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #83401
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: