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

[9332][platform_tests] TestChassisFan::test_get_speed fails due to a few fan speeds returned as RPM #8656

Closed
tjchadaga opened this issue Sep 1, 2021 · 2 comments · Fixed by #8766

Comments

@tjchadaga
Copy link
Contributor

tjchadaga commented Sep 1, 2021

Description

test_get_speed expects fan speed in percentage (value 0 to 100), but some fan speeds are returned as RPM value. This issue is seen intermittently

Steps to reproduce the issue:

  1. Run TestChassisFan::test_get_speed on 9332

Describe the results you received:

show platform fan
  Drawer    LED            FAN    Speed    Direction     Presence    Status          Timestamp
--------  -----  -------------  -------  -----------  -----------  --------  -----------------
FanTray1    N/A  FanTray1-Fan1      99%      exhaust      Present        OK  20210901 18:12:20
FanTray1    N/A  FanTray1-Fan2   121RPM      exhaust      Present        OK  20210901 18:12:21
FanTray2    N/A  FanTray2-Fan1     100%      exhaust      Present        OK  20210901 18:12:23
FanTray2    N/A  FanTray2-Fan2   121RPM      exhaust      Present        OK  20210901 18:12:24
FanTray3    N/A  FanTray3-Fan1     100%      exhaust      Present        OK  20210901 18:11:27
FanTray3    N/A  FanTray3-Fan2   120RPM      exhaust      Present        OK  20210901 18:11:29
FanTray4    N/A  FanTray4-Fan1   101RPM      exhaust      Present        OK  20210901 18:11:31
FanTray4    N/A  FanTray4-Fan2   121RPM      exhaust      Present        OK  20210901 18:11:31
FanTray5    N/A  FanTray5-Fan1     100%      exhaust      Present        OK  20210901 18:11:34
FanTray5    N/A  FanTray5-Fan2   122RPM      exhaust      Present        OK  20210901 18:11:35
FanTray6    N/A  FanTray6-Fan1   101RPM      exhaust      Present        OK  20210901 18:11:38
FanTray6    N/A  FanTray6-Fan2   122RPM      exhaust      Present        OK  20210901 18:11:38
FanTray7    N/A  FanTray7-Fan1   102RPM      exhaust      Present        OK  20210901 18:11:40
FanTray7    N/A  FanTray7-Fan2   122RPM      exhaust      Present        OK  20210901 18:11:41
     N/A    N/A       PSU1 Fan      N/A          N/A  Not Present       N/A  20210901 18:11:41
     N/A    N/A       PSU2 Fan   110RPM      exhaust      Present        OK  20210901 18:11:43

Describe the results you expected:

Speed output should be consistently returned as percentage

Output of show version:

show version

SONiC Software Version: SONiC.20201231.21
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: 72aa9fa3d8
Build date: Tue Aug 31 14:34:55 UTC 2021
Built by: AzDevOps@sonic-int-build-workers-0003A0

Platform: x86_64-dellemc_z9332f_d1508-r0
HwSKU: DellEMC-Z9332f-O32
ASIC: broadcom
ASIC Count: 1
Serial Number: TH04CN21CET0004K0214
Uptime: 18:13:40 up  4:29,  1 user,  load average: 0.30, 0.44, 0.60

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

ipmi_sensor_info.txt

@ArunSaravananBalachandran
Copy link
Contributor

Please provide the output of the following commands:

  • ipmitool sensor list
  • ipmitool fru list

@tjchadaga
Copy link
Contributor Author

Please provide the output of the following commands:

  • ipmitool sensor list
  • ipmitool fru list

Attached as ipmi_sensor_info.txt

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

Successfully merging a pull request may close this issue.

2 participants