Details
-
Bug
-
Status: Closed
-
Highest
-
Resolution: Done
-
Frankfurt Release
-
None
Description
When the user run all rules for selected csar then vnfsdk validation application generates an invalid report.
One failed rule has an impact on other rules. But if we run rules separately, one by one, then its ok.
In example below, rule r130206 fails, and this rule status was used to mark rules r146092, r293901, r787965, r972082 as invalid. But this is not true. The Rules are valid and no errors were reported for these rules.
{ "passed":false,
"vnfreqName":"r130206",
"description":"The VNF/PNF package shall contain a Digest (a.k.a. hash) for each of the components of the VNF package.\nThe table of hashes is included in the manifest file, which is signed with the VNF provider private key.\nIn addition, the VNF provider shall include a signing certificate that includes the VNF provider public key,\nfollowing a pre-defined naming convention and located either at the root of the archive or in a predefined location (e.g. directory).\n",
"errors":[
,
,
{ "vnfreqNo":"R130206", "code":"0x4007", "message":"File has invalid CMS signature!", "lineNumber":-1 }]
},
,
,
,
{ "passed":false, "vnfreqName":"r972082", "description":"The PNF software information file is included in the package and it MUST be compliant to:\n - The file extension which contains the PNF software version must be .yaml\n - The PNF software version information must be specified as following:\n onap_pnf_sw_information:\n - pnf_software_version: \"\u003cversion\u003e\"\n", "errors":[ ] }Commit https://gerrit.onap.org/r/c/vnfsdk/validation/+/105832 has introduced mentioned bug.
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
107966,2 | Fix validation process | master | vnfsdk/validation | Status: MERGED | +2 | +1 |