From 497430e121685613c450c4f210b1583ea1bb80f3 Mon Sep 17 00:00:00 2001 From: Krzysztof Kuzmicki Date: Mon, 2 Nov 2020 16:48:38 +0100 Subject: ROBOT e2e test cases improvements for csar/zip tosca package validation in VNFSDK and SDC Onbarding Issue-ID: INT-1240 Signed-off-by: Krzysztof Kuzmicki Change-Id: I8caf313ff386f54b023ddfeddf4c8b23f8bedcb8 --- robot/resources/test_templates/vnfsdk_validation_template.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'robot/resources') diff --git a/robot/resources/test_templates/vnfsdk_validation_template.robot b/robot/resources/test_templates/vnfsdk_validation_template.robot index f0b7eb4e..0926905d 100644 --- a/robot/resources/test_templates/vnfsdk_validation_template.robot +++ b/robot/resources/test_templates/vnfsdk_validation_template.robot @@ -51,7 +51,7 @@ Create CSAR Package with integrity check Copy Directory ${GLOBAL_TOSCA_ONBOARDING_PACKAGES_FOLDER}/vnfsdk/${package_folder} ${VNFSDK_CSAR_DIRECTORY} ${meta}= OperatingSystem.Get File ${VNFSDK_CSAR_DIRECTORY}/${package_folder}/TOSCA-Metadata/TOSCA.meta ${cert_name}= Get Regexp Matches ${meta} (?<=\ETSI-Entry-Certificate: )(.*) - Copy File /tmp/package-robot-${cert}.cert ${VNFSDK_CSAR_DIRECTORY}/${package_folder}/${cert_name}[0] + Run Keyword And Ignore Error Copy File /tmp/package-robot-${cert}.cert ${VNFSDK_CSAR_DIRECTORY}/${package_folder}/${cert_name}[0] ${files} = List Files In Directory ${VNFSDK_CSAR_DIRECTORY}/${package_folder} *.mf absolute Sign csar manifest file ${integrity_check} ${cert} ${files}[0] ${rc} = Run and Return RC cd ${VNFSDK_CSAR_DIRECTORY}/${package_folder}; zip -r ${csar} * -- cgit 1.2.3-korg