Closed eero-t closed 1 year ago
This was the only one of the small subset of commands that I checked, which showed failures. But naturally also all other xpumcli failures should return error code.
I think the return code just say the xpumcli do a "successfully" check and the content of the check show that some checks doesn't pass.
Needing to grep out is not really how failures should be checked. Commands should return error code on failures.
It would be useful if one could specify which things should be pre-checked though, so that error is returned only for things that user actually cares about.
(And by "user", I mean automation written to verify those things using XPUM.)
It should be a bug and we will fix it in the future version.
The latest XPU Manager return the non-zero value for SR-IOV checking failure. Close this ticket.
Version: V1.2.9
Test-case:
xpumcli vgpu --precheck
Expected outcome:
Actual outcome: