openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

redfish.update_service. test_redfish_bmc_code_update.robot need to downgrade the BMC to the old image for next case validation. #2155

Closed nagarjunb22 closed 11 months ago

nagarjunb22 commented 2 years ago

In test_redfish_bmc_code_update.robot script 1) In first case "Redfish Code Update With ApplyTime OnReset" it will do firmware upgrade for BMC from older version to newer version(the image we provide) with applytime onreset. 2)BMC will be in newer version while staring next testcase "Redfish Code Update With ApplyTime Immediate". In this case script will try to do firmware upgrade with same image we used in previous case. since BMC already having the same image it will fail.

My Suggestion: we need to downgrade the BMC to older version at teardown for each case.

gkeishin commented 2 years ago

@susilsi7 can u work on this one.

gkeishin commented 11 months ago

Now, we do not need to downgrade or explicitly handle this in the test code, the firmware updater allows the same image can be installed back to back. Closing this ticket