-
Notifications
You must be signed in to change notification settings - Fork 740
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
Add DUT resources monitoring feature. #1121
Conversation
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
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.
If the DUT is rebooted during testing, it looks like the dut_monitor.py script on DUT would not start running again. Is there a way to restart it after rebooting?
"DUTMonitorClient" class takes care of it. It will automatically restart monitoring script when device become accessible. |
A general question on this DUT monitor, can we also plan to have CRM monitoring here. For eg, if any alarms/warnings are raised for CRM resources. May be as a phase 2 commit? |
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
Signed-off-by: Yuriy Volynets yuriyv@mellanox.com
Description of PR
Summary: DUT hardware resources monitoring feature based on HLD
Fixes #
Type of change
Approach
How did you do it?
Added new pytest plugin, which triggers device HW resources monitoring on the DUT.
How did you verify/test it?
Tested on the local setup, with intentionally changed thresholds in the configuration file to trigger thresholds exceed errors.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation