Skip to content
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

Fix read fan_fault=1 and send log when fan insert sometimes #4106

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

jostar-yang
Copy link
Contributor

- What I did
Fix read fan_fault=1 and send log when fan insert sometimes
- How I did it
Add check fan_fault when fan_status=fan_fault . If fan_fault become to zero, log "FAN-N becomes operational"
- How to verify it
Run monitor_fan.py. Remove fan from DUT. Insert fan to DUT. Check log as below,
root : INFO FAN-6 present is detected
root : WARNING Alarm for FAN-6 failed is detected
root : INFO FAN-6 becomes operational
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@jostar-yang
Copy link
Contributor Author

retest please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants