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

OCP profile validation is failing for Thermal Property in OCPDoorHeatExchangerHardwareManagement.v0_0_5.json #39

Open arahimanshaik opened 2 years ago

arahimanshaik commented 2 years ago

https://github.com/opencomputeproject/HWMgmt-OCP-Profiles/blob/65cd582feeae21b4d7ce4be40af6aaefbc7777ad/RackAndPower/OCPDoorHeatExchangerHardwareManagement.v0_0_5.json#L287

URI: /redfish/v1/Chassis/1907ea4a-1fd9-46b8-9c40-8a2bce4e7df7.1/Thermal

Profile: above mentioned

output:

ERROR - Something went wrong
Traceback (most recent call last):
  File "/home/user/Redfish-Interop-Validator/validateResource.py", line 167, in validateSingleURI
    propMessages, propCounts = interop.validateInteropResource(propResourceObj, objRes, jsondata)
  File "/home/user/Redfish-Interop-Validator/common/interop.py", line 591, in validateInteropResource
    pmsgs, pcounts = validatePropertyRequirement(
  File "/home/user/Redfish-Interop-Validator/common/interop.py", line 381, in validatePropertyRequirement
    comparisonValue = v.get("Comparison", "AnyOf") if v.get("Values") is not None else None
AttributeError: 'str' object has no attribute 'get'
ERROR - Could not finish validation check on this payload

validator : https://github.com/DMTF/Redfish-Interop-Validator.git