openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

Test Redfish Managers Bmc Network Conf: Variable '${ip_addr}' not found. #2233

Closed jordanhong7709 closed 8 months ago

jordanhong7709 commented 8 months ago

I am testing Test Redfish Managers, and the test item (Bmc Network Conf) has a Variable '${path}' not found error in Suite Setup Execution. How can I solve this problem? image The version I'm currently using is as follows: Python 3.10.13 Robot Framework 5.0.1 (Python 3.10.13 on linux) I tried to upgrade or downgrade the robot framework, but I got the same error message. Do you have any suggestions?

gkeishin commented 8 months ago

@jordanhong7709 The error is not due to the setup for robot or python..

@prkatti1 can u help here with the query? Thanks

gkeishin commented 8 months ago

@anvesh001 any new update you were looking earlier? any fix needed coming in ?

jordanhong7709 commented 8 months ago

@prkatti1 I have not found any updates related to this issue. When using a static IP address, Suite Setup Execution errors will be ignored. Can I only use the static IP status for Bmc Network Conf testing?

gkeishin commented 8 months ago

@jordanhong7709 Commit https://gerrit.openbmc.org/c/openbmc/openbmc-test-automation/+/68246

prkatti1 commented 8 months ago

@jordanhong7709 yeah, if the setup is already static suite setup does not do much. If system is in dhcp mode it'll capture network configurations & convert system configuration from dynamic to static. There was small issue in library whch was designed long back, it is fixed in above commit. Let me know if you need any further info.