Open justin0309 opened 9 months ago
@sarandev3 can u take a look
@justin0309 This test was written based on the Open power Witherspoon system.. so it is likely that the power module implementation could be the reason why the redfish objects are not showing/populating those power metrics data.
Probably @spinler can help you there with your queries on this one.
@gkeishin 1.Is the Powersubsystem in the test items of Systems.Test Powersubsystem Settings also for the Open power Witherspoon system? 2.According to this situation, is it only a machine that supports IBM? Or what can I do to pass these two tests?
The test should be generic enough to run on all systems but we will need to tweak it to make it work based on the systems configuration you are working with since you know better on the system support and what is needed. You can take a look and see how to plugin those extra changes to it or write a new one by taking a look at the existing test cases..
Mostly the openpower/ directory are POWER-based systems specifics in general like Witherspoon.
I'm testing test_powersupply_readings.robot
It is necessary to read powerinputwatts and poweroutputwatts, but I refer to the correction of the issue and set LABEL_power1=psu1_input, which contains the string of input, but powersupply still cannot be displayed.
Expected to appear:![image](https://github.com/openbmc/openbmc/assets/109942943/29d195f0-a69c-4265-b86f-f43c586a0869)
actually: curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Chassis/chassis/Power/
I referred to /meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json meta-inspur/meta-fp5280g2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@400/power-supply@58.conf