-
Notifications
You must be signed in to change notification settings - Fork 163
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
Use vendor customizable fan speed threshold checks #378
Use vendor customizable fan speed threshold checks #378
Conversation
@spilkey-cisco , can you address the test failures? |
Are you referring to sonic-mgmt? PR is here: sonic-net/sonic-mgmt#8587 |
@patrickmacarthur to review |
@Junchao-Mellanox could you review. |
It looks ok to me |
Failed tests depend on APIs provided by sonic-net/sonic-platform-common#382 |
@spilkey-cisco can you rebase your branch and let's see if the tests can pass afterwards... |
Still fails for the same reasons, eg. |
The mentioned fix was merged yesterday. it probably will take another few days before it gets propagated and pick up in the test. I will try to run the test again tomorrow and if still not passing will consult build team on how to overcome the issue. |
@spilkey-cisco please check the build failure |
Updated the branch, so the tests ran again. Looks like the sonic-platforms-common changes have been propagated now, so those tests passed. |
MSFT ADO: 24591579 |
@StormLiangMS , @yxieca , MSFT ADO 24591579 created . Please help cherry pick to 202205, 202305, and 202211. |
@gechiang, @spilkey-cisco this is a feature change. It should say in master branch until next feature branch is created. |
@yxieca This is not really a feature change. it is rather a bug fix where the original design is insufficient to accommodate the vendors where the old way of specifying the tolerance can cause quite a bit of inaccuracy and this PR fixes this issue. We originally found this issue in 202205 branch and asked the vendor to fix this. |
@spilkey-cisco could you test this PR with 202305? @gechiang for vis. |
@bmridul what is latest on this ? Which all PR's are needed here ? |
In master, 4 PRs are needed:
202305: 202205: |
From above analysis, please cherry-pick this into 202305. Not sure why "Request for 202305 branch" label was removed. |
@spilkey-cisco This fix was originated from test failure on 202205 so the expectation was to have the "full fix" also available for 202205. Are you saying that Cisco platform code on 202205 does not have the implementation to support this yet? This is a surprise for me. Given that this fix was causing regression, it got backed out from 202205. Only if you think all regression issues are fully addressed for 202205, we can then try to pick this up again. Please add dependency PRs for the 202205 branch here so we clearly know what order the PRs should be merged in order to not cause any regressions. Also, we must not cause regressions on other vendor platform test as well. So, if there is any dependency on other Vendors to also need to make changes in their platform code for 202205 then we should not request this be backported to 202205. Can you clarify on this so we can make a decision for 202205 accordingly? |
@gechiang Correct, Cisco platform code is needed before these upstream changes are merged (platform code was never added to 202205 because last communication was that these upstream changes would not be cherry-picked into 202205). This code is backwards compatible with existing |
@spilkey-cisco , @gechiang , all dependent PRs will also be required in 202305 (and 202311) |
We will not take this bug fix in 202205. 202311: Already have this change. |
Cherry-pick PR to 202305: #418 |
MSFT ADO: 24591579
Description
Use vendor customizable fan speed threshold checks in thermalctld instead of hard-coded calculations based on pwm/percentage speed.
Motivation and Context
Fan under/over speed checks should be vendor customizable, since a tolerance based off the pwm/percentage fan speed can easily give false failures, especially for low fan speeds.
How Has This Been Tested?