Skip to content

Get subscriptions, test case fails during validation of subscriptions schema json in Tacker

[Issue]

Zuul job for compliance testing in Tacker is currently in a non-voting state. While addressing compliance test for get subscriptions, test case fails during validation of subscriptions schema json in v2.6.1-fix-plu branch.

[Issue Detail]

·       Executed “GET Subscriptions” compliance test in Tacker.

·       Sol_compliance: SOL002

·       API: VNFLifecycleManagement-API

·       Robot File: Subscriptions.robot

·       Testcase Title: GET Subscriptions

·       Test ID: 6.3.5.17.4

·       Error message:

<status status="FAIL" starttime="20241016 04:33:14.847" endtime="20241016 04:33:14.870" critical="yes">JSONDecodeError: Extra data: line 186 column 1 (char 10122)</status>

·       Error location:

https://forge.etsi.org/rep/nfv/api-tests/-/blob/2.6.1-fix-plu/SOL002/VNFLifecycleManagement-API/schemas/Subscriptions.schema.json

[Cause]

·       The JSON schema for Subscriptions in the SOL002 2.6.1-fix-plu branch contains an extra closing bracket "}", causing it to be invalid. This issue should be corrected to ensure the schema is valid and can be used correctly.

[Proposal]

·       TST team should correct the Subscriptions schema json and remove extra closing bracket “}” in SOL002 v2.6.1-fix-plu branch.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information