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
DRA test driver: GRPC calls #118351
DRA test driver: GRPC calls #118351
Conversation
ef90fc4
to
bf9ae10
Compare
bf9ae10
to
4ca82fc
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pohly 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 |
/assign @swatisehgal |
Ignore this, I am testing the bot...
|
If kubelet plugin registration fails, it would be good to know more about the communication with kubelet. Capturing the GRPC calls and then checking that makes the failure messages more informative. Here's an example where a failure was triggered by temporarily modifying the check so that it didn't find the call: [FAILED] Timed out after 30.000s. Expected: <[]app.GRPCCall | len:2, cap:2>: [ { FullMethod: "/pluginregistration.Registration/GetInfo", Request: {}, Response: endpoint: /var/lib/kubelet/plugins/test-driver/dra.sock name: test-driver.cdi.k8s.io supported_versions: - 1.0.0 type: DRAPlugin, Err: nil, }, { FullMethod: "/pluginregistration.Registration/NotifyRegistrationStatus", Request: plugin_registered: true, Response: {}, Err: nil, }, ] to contain successful NotifyRegistrationStatus call
4ca82fc
to
d0a6473
Compare
/lgtm |
LGTM label has been added. Git tree hash: 208b597b6e516eb822e752030cd10fe8aa50922b
|
/triage accepted |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
If kubelet plugin registration fails, it would be good to know more about the communication with kubelet. Capturing the GRPC calls and then checking that makes the failure messages more informative.
Which issue(s) this PR fixes:
Related-to: #118044
Special notes for your reviewer:
Here's an example where a failure was triggered by temporarily modifying the check so that it didn't find the call:
Does this PR introduce a user-facing change?
/assign @bart0sh