QA & DMTF tools: Redfish-JsonSchema-ResponseValidator

Maksym Yepaneshnikov Maksym_Yepaneshnikov at Jabil.com
Sat Mar 16 02:02:52 AEDT 2019


Hi, all!

I'm trying to execute DMTF test vs OpenBMC system (QEMU, WitherSpoon)
Link to original DMTF test: https://github.com/DMTF/Redfish-JsonSchema-ResponseValidator
(it is doing a validation JSON resource against DMTF provided JSON schemas)

By design, the test could be done using online-schema (http://redfish.dmtf.org/schemas/v1/) or locally saved-schema.

If the test is done using the online schema:
* problems were observed: https://github.com/openbmc/bmcweb/issues/58
* they are caused by missed JSON files: Manager.v1_3_0.json, ComputerSystem.v1_6_0.json

If the test is done using locally-saved-schema:
1. Saved /redfish/v1/ resources from the DMTF
(https://github.com/openbmc/bmcweb/files/2966955/schema.tar.gz )

2. Saved https://github.com/openbmc/bmcweb/blob/master/static/redfish/v1/JsonSchemas/OemManager/index.json
as Manager.v1_3_0.json

3. Saved https://raw.githubusercontent.com/openbmc/bmcweb/master/static/redfish/v1/JsonSchemas/ComputerSystem/index.json  as ComputerSystem.v1_6_0.json

* test passed with out problems

The questions are:
Maybe there is a more simple way to save/collect recourses?
Is it possible to have a common-storage with needed files?

Current actions are complicated and could lead to problems (and creation of the non-needed issues)
List of the needed files could be changed w/o any notifications for the QA.

Maksym Yepaneshnikov
Lead SW Dev Test Engineer
UA05 Kharkov, Enterprise & Infrastructure,  OP04 Operations
Jabil Software Services
[https://az745219.vo.msecnd.net/content/email-imgs/JabilLogoSignature.png]
63, Kolomenskaya st, Kharkiv
www.jabil.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190315/e8662324/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1001 bytes
Desc: image001.png
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190315/e8662324/attachment-0001.png>


More information about the openbmc mailing list