Z9332F platform API unit testing logs ------------------------------------- Watchdog: --------- root@sonic:/home/admin# python3 Python 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from sonic_platform.watchdog import Watchdog >>> c=Watchdog() >>> c.is_armed() False >>> c.arm(210) 240 >>> c.is_armed() True >>> c.get_remaining_time() 229 >>> c.get_remaining_time() 222 >>> c.get_remaining_time() 190 >>> c.disarm() True >>> c.is_armed() False >>> c.arm(180) 180 >>> c.is_armed() True >>> c.get_remaining_time() 162 >>> c.get_remaining_time() 120 >>> c.get_remaining_time() 81 >>> >>> c.get_remaining_time() 56 >>> c.get_remaining_time() 21 >>> c.get_remaining_time() 14 >>> c.get_remaining_time() 3 BIOS version : 2.0.3 BIOS boot start... POST: BMC Enabled. BMC Support. Intel(R) Pentium(R) CPU D1508 @ 2.20GHz Boot from Primary BIOS... Reset cause(0x44): CPU warm reset. root@sonic-10429:~# show platform fan Drawer LED FAN Speed Direction Presence Status Timestamp -------- ----- ------------- ------- ----------- ---------- -------- ----------------- FanTray1 N/A FanTray1-Fan1 51% exhaust Present OK 20210308 15:56:30 FanTray1 N/A FanTray1-Fan2 63% exhaust Present OK 20210308 15:56:31 FanTray2 N/A FanTray2-Fan1 53% exhaust Present OK 20210308 15:56:34 FanTray2 N/A FanTray2-Fan2 61% exhaust Present OK 20210308 15:56:34 FanTray3 N/A FanTray3-Fan1 52% exhaust Present OK 20210308 15:56:36 FanTray3 N/A FanTray3-Fan2 63% exhaust Present OK 20210308 15:56:38 FanTray4 N/A FanTray4-Fan1 52% exhaust Present OK 20210308 15:56:41 FanTray4 N/A FanTray4-Fan2 62% exhaust Present OK 20210308 15:56:43 FanTray5 N/A FanTray5-Fan1 52% exhaust Present OK 20210308 15:56:45 FanTray5 N/A FanTray5-Fan2 62% exhaust Present OK 20210308 15:55:45 FanTray6 N/A FanTray6-Fan1 52% exhaust Present OK 20210308 15:55:48 FanTray6 N/A FanTray6-Fan2 62% exhaust Present OK 20210308 15:55:49 FanTray7 N/A FanTray7-Fan1 51% exhaust Present OK 20210308 15:55:51 FanTray7 N/A FanTray7-Fan2 63% exhaust Present OK 20210308 15:55:52 N/A PSU1 Fan 66% exhaust Present OK 20210308 15:55:53 N/A PSU2 Fan 67% exhaust Present OK 20210308 15:55:54 root@sonic-10429:~# root@sonic-10429:~# show platform temperature Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp ------------ ------------- --------- -------- -------------- ------------- --------- ----------------- Baseboard U3 28 N/A 0 N/A N/A False 20210308 15:55:56 CPU On-board 42 N/A 0 94.0 N/A False 20210308 15:55:55 Fan U17 27 N/A 0 N/A N/A False 20210308 15:55:58 Fan U52 30 52.0 0 57.0 N/A False 20210308 15:55:58 PSU1 Hotspot 35 N/A 0 N/A N/A False 20210308 15:56:00 PSU1 Inlet 30 N/A 0 N/A N/A False 20210308 15:55:59 PSU2 Hotspot 37 N/A 0 N/A N/A False 20210308 15:56:00 PSU2 Inlet 30 N/A 0 N/A N/A False 20210308 15:56:00 SW Internal 48 110.0 0 115.0 N/A False 20210308 15:55:57 SW U04 30 N/A 0 N/A N/A False 20210308 15:56:00 SW U14 23 N/A 0 N/A N/A False 20210308 15:56:00 SW U16 25 58.0 0 63.0 N/A False 20210308 15:55:59 SW U52 27 N/A 0 N/A N/A False 20210308 15:55:59 SW U4403 43 N/A 0 N/A N/A False 20210308 15:56:01 root@sonic-10429:~# Other platform module testing thru' script: ------------------------------------------- root@sonic:/home/admin# python3 mod_script.py Chassis: ========= Name: Z9332F-On Presence: True Status: True Model: 0J5HDG Serial: ABCDEFG Base MAC: 6C:2B:59:FB:D8:A0 System EEPROM Info: 0x26 : 1 0x27 : X01 0x28 : x86_64-dellemc_z9332f_d1508-r0 0x2A : 384 0x2C : TH 0x2D : Dell EMC 0x2E : 0.2.0 0x2F : ABCDEFG 0xFD : 674 0x21 : Z9332F-On 0x22 : 0J5HDG 0x23 : TH0J5HDGCET0094A0014X01 0x24 : 6C:2B:59:FB:D8:A0 0x25 : 04/24/2019 21:43:15 0x2B : CET00 0x29 : 2019.02.01.0.0.3 0xFE : 0x7153861C Position in parent: -1 Replaceable: False Change Event: (True, {'sfp': {}}) No. of Components: 6 No. of Fans: 14 No. of PSUs: 2 No. of SFPs: 34 No. of Thermals: 14 No. of Modules: 0 Components: =========== Name: BIOS Firmware Version: 1.1.1 Description: Performs initialization of hardware components during booting Position in parent: -1 Replaceable: False Name: FPGA Firmware Version: 0.5 Description: Used for managing the system LEDs Position in parent: -1 Replaceable: False Name: BMC Firmware Version: 0.17 Description: Platform management controller for on-board temperature monitoring,in-chassis power, Fan and LED control Position in parent: -1 Replaceable: False Name: Baseboard CPLD Firmware Version: 3 Description: Used for managing the CPU power sequence and CPU states Position in parent: -1 Replaceable: False Name: Switch CPLD 1 Firmware Version: 0 Description: Used for managing QSFP28/SFP port transceivers Position in parent: -1 Replaceable: False Name: Switch CPLD 2 Firmware Version: 0 Description: Used for managing QSFP28/SFP port transceivers Position in parent: -1 Replaceable: False Fans: ===== Name: FanTray1-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 52 Position in parent: 1 Replaceable: False Name: FanTray1-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 63 Position in parent: 2 Replaceable: False Name: FanTray2-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 51 Position in parent: 1 Replaceable: False Name: FanTray2-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 61 Position in parent: 2 Replaceable: False Name: FanTray3-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 52 Position in parent: 1 Replaceable: False Name: FanTray3-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 61 Position in parent: 2 Replaceable: False Name: FanTray4-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 51 Position in parent: 1 Replaceable: False Name: FanTray4-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 61 Position in parent: 2 Replaceable: False Name: FanTray5-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 51 Position in parent: 1 Replaceable: False Name: FanTray5-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 62 Position in parent: 2 Replaceable: False Name: FanTray6-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 51 Position in parent: 1 Replaceable: False Name: FanTray6-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 63 Position in parent: 2 Replaceable: False Name: FanTray7-Fan1 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 52 Position in parent: 1 Replaceable: False Name: FanTray7-Fan2 Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 61 Position in parent: 2 Replaceable: False PSUs: ===== Name: PSU1 Presence: True Status: True Powergood Status: True Model: TDPS1500AB6A Serial: EEVT1852000821 Voltage (V): 11.0 Current (A): 11.0 Power (W): 132.0 Position in parent: 1 Replaceable: True No. of PSU Fans: 1 PSU Fan: ======== Name: PSU1 Fan Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 68 Position in parent: 1 Replaceable: False Name: PSU2 Presence: True Status: True Powergood Status: True Model: TDPS1500AB6A Serial: EEVT1852000866 Voltage (V): 12.0 Current (A): 10.5 Power (W): 132.0 Position in parent: 2 Replaceable: True No. of PSU Fans: 1 PSU Fan: ======== Name: PSU2 Fan Presence: True Status: True Model: NA Serial: NA Direction: exhaust Speed (%): 68 Position in parent: 2 Replaceable: False Thermals: ========= Name: CPU On-board Presence: True Status: True Temperature (C): 42.0 High Threshold (C): Critical High Threshold (C): 94.0 Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 1 Replaceable: False Name: Baseboard U3 Presence: True Status: True Temperature (C): 29.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 2 Replaceable: False Name: SW Internal Presence: True Status: True Temperature (C): 48.0 High Threshold (C): 110.0 Critical High Threshold (C): 115.0 Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 3 Replaceable: False Name: Fan U52 Presence: True Status: True Temperature (C): 31.0 High Threshold (C): 52.0 Critical High Threshold (C): 57.0 Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 4 Replaceable: False Name: Fan U17 Presence: True Status: True Temperature (C): 27.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 5 Replaceable: False Name: SW U52 Presence: True Status: True Temperature (C): 27.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 6 Replaceable: False Name: SW U16 Presence: True Status: True Temperature (C): 25.0 High Threshold (C): 58.0 Critical High Threshold (C): 63.0 Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 7 Replaceable: False Name: PSU1 Inlet Presence: True Status: True Temperature (C): 27.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 8 Replaceable: False Name: PSU1 Hotspot Presence: True Status: True Temperature (C): 33.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 9 Replaceable: False Name: PSU2 Inlet Presence: True Status: True Temperature (C): 27.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 10 Replaceable: False Name: PSU2 Hotspot Presence: True Status: True Temperature (C): 34.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 11 Replaceable: False Name: SW U04 Presence: True Status: True Temperature (C): 29.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 12 Replaceable: False Name: SW U14 Presence: True Status: True Temperature (C): 25.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 13 Replaceable: False Name: SW U4403 Presence: True Status: True Temperature (C): 43.0 High Threshold (C): Critical High Threshold (C): Low Threshold (C): 0.0 Critical Low Threshold (C): Position in parent: 14 Replaceable: False