Enhancement of test_sensors.py to address several issues#14154
Enhancement of test_sensors.py to address several issues#14154bingwang-ms merged 1 commit intosonic-net:masterfrom
Conversation
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
aa94e06 to
08a4ebd
Compare
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
08a4ebd to
dbd2e51
Compare
|
Do we need this PR in 202311 or 202405 branch? |
|
Hey,
The PR is needed in 202311/202405, but please wait with merging it as the issues mentioned might not be resolved yet, I’ll let you know once they are.
Thanks,
Mor Hen
From: ShiyanWangMS ***@***.***>
Sent: Tuesday, 20 August 2024 3:57
To: sonic-net/sonic-mgmt ***@***.***>
Cc: Mor Hen ***@***.***>; Author ***@***.***>
Subject: Re: [sonic-net/sonic-mgmt] Enhancement of test_sensors.py to address several issues (PR #14154)
Do we need this PR in 202311 or 202405 branch?
—
Reply to this email directly, view it on GitHub<#14154 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFFHNL6KMMEGMWFQOASUNZDZSKH43AVCNFSM6AAAAABMWIEQX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXG43DMMBRGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I confirmed this PR will fix the test_sensor failure on SN4600. But the failure on SN2700A1 is not fixed. Need some update. |
Hey, I believe the following PR to sonic-buildimage should resolve the issue - sonic-net/sonic-buildimage#19515 |
|
LGTM. |
…4154) Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
|
Cherry-pick PR to 202405: #14488 |
…4154) Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
|
Cherry-pick PR to 202311: #14489 |
Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
…4154) Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
…4154) Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
…4154) Details: 1. Updated PSU mapping of msn4600-r0 platform. 2. Updated test to support both Forward (PSF) and Reversed (PSR) versions of each PSU Model. 3. Added support to PSU Model MTEF-AC-G.
Description of PR
Summary:
Fixes # (issue)
Enhancement of test_sensors.py to address several issues:
Type of change
Back port request
Approach
What is the motivation for this PR?
Address several issues with the sensor test case.
How did you do it?
Updated the Dynamic PSU mapping process to address the issues.
How did you verify/test it?
Run test_sensors.py on several Systems (each of the PSU Models listed in psu_data.yaml).
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation