opencomputeproject / HWMgmt-OCP-Profiles

A place where all the OCP profiles are a placed. Issues can be submitted/resolved and modifications can be reviewed/merged
Apache License 2.0
14 stars 16 forks source link

AttributeError: 'str' object has no attribute 'get' - invalid fields specification for Voltages #75

Open ehaligow opened 5 months ago

ehaligow commented 5 months ago

intel@ubuntu:~/Redfish-Interop-Validator$ python3 RedfishInteropValidator.py -c config/example.ini OCPRackManagerController.v1_0_3.json >> validatorErr.txt Traceback (most recent call last): File "RedfishInteropValidator.py", line 10, in status_code, lastResultsPage, exit_string = main() File "/home/intel/Redfish-Interop-Validator/redfish_interopvalidator/RedfishInteropValidator.py", line 225, in main success, , resultsNew, , = validateURITree('/redfish/v1/', profile, 'ServiceRoot', expectedJson=jsonData) File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/validateResource.py", line 338, in validateURITree msgs = interop.validateComparisonAnyOfAllOf(profile_entry['PropertyRequirements'], resource_type) File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 98, in validateComparisonAnyOfAllOf new_msgs = validateComparisonAnyOfAllOf(property_profile.get('PropertyRequirements'), '.'.join([property_path, key])) File "/home/intel/Redfish-Interop-Validator/redfish_interop_validator/interop.py", line 48, in validateComparisonAnyOfAllOf my_compare = property_profile.get('Comparison', 'AnyOf') AttributeError: 'str' object has no attribute 'get'