openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

Test Software Manager: Variable '${path}' not found. #2213

Closed justin0309 closed 11 months ago

justin0309 commented 11 months ago

1.I am testing Test Software Manager, and the fourth test item (BMC Software Path) has a Variable '${path}' not found error. I wonder if P should be capitalized? image image 2.The sixth test item (BMC Software Activation Association), '/xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc', I still don’t quite understand this. It should be that we need to confirm whether there is support, right? If not We skip this test item ourselves? image

gkeishin commented 11 months ago

@susilsi7 can u respond to this ?

gkeishin commented 11 months ago

If your system is running with Redfish use this parameter by default in CLI

-v REDFISH_SUPPORT_TRANS_STATE:1
justin0309 commented 11 months ago

I tried to use this parameter by default in CLI, the result is the same. robot -v REDFISH_SUPPORT_TRANS_STATE:1 -v OPENBMC_HOST:xxx.xxx.xxx.xx extended/code_update/test_software_manager.robot

gkeishin commented 11 months ago

Ah.. thats the old legacy code with REST.. the new ones are with Redfish which is

openbmc-test-automation/tree/master/redfish/update_service/

~/openbmc-test-automation/redfish/update_service$ tree
.
├── test_bmc_image_switch.robot
├── test_firmware_inventory.robot
├── test_firmware_property.robot
├── test_firmware_tftp_upload_image.robot
├── test_redfish_bmc_code_update.robot
├── test_redfish_host_code_update.robot
├── test_redfish_image_upload.robot
└── test_redfish_signed_image_update.robot

we don't support the extended/code_update/ anymore

justin0309 commented 11 months ago

@gkeishin Thanks for your response, In addition, I would like to ask whether we currently use the 2.12 version of the code base to test the auto-test of v3.0-stable. Are there any that do not support REST? In the future, will these testing items be tested with redfish instead?

gkeishin commented 11 months ago

@justin0309 Thank you for reaching out to us. Currently, we are in life support for legacy REST test cases. All the versions and current master also still support REST ( we don't plan to disable or support it anymore but kept it as a historical legacy for reference)

We have added in README for users to inform that it is no longer supported by the community, but if you have a legacy system with builds running on it and have a fix patch for it, you are most welcome to push up a patch upstream and we can merge it after review.

Yes, currently OpenBMC has been on redfish for a few years and expects to use redfish in future.

Hope that helps !!

gkeishin commented 11 months ago

Closing this ticket.