Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Assertion: COMP139 Traceback #194

Closed
scottbusi opened this issue Jan 27, 2021 · 2 comments
Closed

Assertion: COMP139 Traceback #194

scottbusi opened this issue Jan 27, 2021 · 2 comments

Comments

@scottbusi
Copy link

---> Assertion: COMP139

Traceback (most recent call last):
File "/Redfish_Conformance_check/Redfish-Service-Conformance-Check-master/rfs_test/TEST_computersystem_schema.py", line 59, in Assertion_COMP139
json_payload, headers, status = self.http_GET(relative_uris['Root Service_Systems'], rq_headers, authorization)
KeyError: 'Root Service_Systems'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "sample_run.py", line 43, in
rfs_test.run(sut)
File "/Redfish_Conformance_check/Redfish-Service-Conformance-Check-master/rfs_test/init.py", line 58, in run
TEST_computersystem_schema.run(sut, log)
File "/Redfish_Conformance_check/Redfish-Service-Conformance-Check-master/rfs_test/TEST_computersystem_schema.py", line 117, in run
assertion_status = Assertion_COMP139(self, log)
File "/Redfish_Conformance_check/Redfish-Service-Conformance-Check-master/rfs_test/TEST_computersystem_schema.py", line 64, in Assertion_COMP139
log.assertion_log('line', "Resource %s, is not found." % (relative_uris['Root Service_Systems']))
KeyError: 'Root Service_Systems'

@billdodd
Copy link
Contributor

The 'Root Service_Systems' KeyError could be from some problem reading resources on your service, or it could be that your service does not have a Systems NavigationProperty in the Service Root.

In any case, we have a newer, faster, and more comprehensive protocol validation tool here: Redfish-Protocol-Validator
This tool (Redfish-Service-Conformance-Check) is being deprecated.

Please try out the new tool.

(BTW: I just opened PR #195 to update the README here to note the deprecation and point to the new tool.)

@mraineri
Copy link
Contributor

mraineri commented Apr 5, 2021

Closing; work is being done in https://github.com/DMTF/Redfish-Protocol-Validator for performing validation to the protocol aspects of the spec.

@mraineri mraineri closed this as completed Apr 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants