Started by GitLab push by f.moscatelli Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:nfv/SOL005.git > git init /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains c2bcc53281912c9716ead15ba9ffb5b90c8da059 # timeout=10 Checking out Revision c2bcc53281912c9716ead15ba9ffb5b90c8da059 (origin/2.5.1-dev) > git config core.sparsecheckout # timeout=10 > git checkout -f c2bcc53281912c9716ead15ba9ffb5b90c8da059 Commit message: "SOL005: fixes in VNF Pkg mgmt responses schema" > git rev-list --no-walk 92dec06005a97418a1bac4b6947a514322077af0 # timeout=10 [sol005] $ /bin/bash /tmp/jenkins5002450277996134831.sh rm: cannot remove 'build/*-API.yaml': No such file or directory rm: cannot remove 'build/*-API.json': No such file or directory ./build-container.sh: line 7: proxy: command not found http_proxy is not set Proxy set to Sending build context to Docker daemon 13.31kB Step 1/24 : FROM alpine:3.6 3.6: Pulling from library/alpine Digest: sha256:ee0c0e7b6b20b175f5ffb1bbd48b41d94891b0b1074f2721acb008aafdf25417 Status: Downloaded newer image for alpine:3.6 ---> 43773d1dba76 Step 2/24 : RUN env ---> Using cache ---> 94a774cc9d8b Step 3/24 : RUN apk update ---> Using cache ---> 12b582a22f41 Step 4/24 : RUN apk add bash ---> Using cache ---> fafd07ab0655 Step 5/24 : RUN apk add nodejs ---> Using cache ---> 1debd0445296 Step 6/24 : RUN apk add nodejs-npm ---> Using cache ---> c827a1cac07e Step 7/24 : RUN apk add asciidoctor ---> Using cache ---> e90589c3e596 Step 8/24 : RUN apk add openjdk8 ---> Using cache ---> 735d8f58c1bc Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates ---> Using cache ---> c3dc23607c9d Step 10/24 : RUN apk add openssl ---> Using cache ---> a643db7e74bb Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre ---> Using cache ---> 3c2b8bf7c2ca Step 12/24 : RUN gem install asciidoctor-pdf-cjk ---> Using cache ---> 8572c9df5ed2 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar ---> Using cache ---> f44bfb2813f1 Step 14/24 : RUN npm config set proxy $http_proxy ---> Using cache ---> 4b6141ff47f4 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 ---> Using cache ---> 3021daafa234 Step 16/24 : RUN npm install -g json-refs@3.0.2 ---> Using cache ---> 450ac1367008 Step 17/24 : RUN npm install -g yamljs@0.3.0 ---> Using cache ---> b2179889fdf7 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh ---> Using cache ---> 22b0f991742d Step 19/24 : RUN chmod +x /validate-in-docker.sh ---> Using cache ---> 15b59145c33b Step 20/24 : ADD swg2mrkup /bin/swg2mrkup ---> Using cache ---> 7308f4b26eb2 Step 21/24 : RUN chmod +x /bin/swg2mrkup ---> Using cache ---> dfc7883158e5 Step 22/24 : ADD oas2pdf /bin/oas2pdf ---> Using cache ---> 6b3ffc5e7e2b Step 23/24 : RUN chmod +x /bin/oas2pdf ---> Using cache ---> b2e0fd2d61e5 Step 24/24 : ENTRYPOINT /validate-in-docker.sh ---> Using cache ---> aead7ceb0f7b Successfully built aead7ceb0f7b Successfully tagged openapivalidator:latest Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work mkdir: created directory '/var/www/html/api/nfv/sol005/73' Mounting dir /var/www/html/api/nfv/sol005/73 as /storage Using filter '' Entering dir /work/src -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005) --- Merging file. error: Document has invalid references: #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification/post/parameters/0/schema/properties/_links: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification/post/parameters/0/schema/properties/_links: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/_links: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedNs/items: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedPnf: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedSap: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedVl/items: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedVnf: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/affectedVnffg/items: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/operation: Extra JSON Reference properties will be ignored: description #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/operationState: Extra JSON Reference properties will be ignored: description --- Create PDF... mv: can't rename 'SOL005-NSLifecycleManagementNotification-API.pdf': No such file or directory --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml error: Unsupported Swagger version: undefined --- Validation done (1). '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml' '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json' cp: can't stat '../build/SOL005-NSLifecycleManagementNotification-API.pdf': No such file or directory -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml --- Validation done (0). '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml' '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json' '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf' -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSDManagement-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-APIVersion-API.yaml API Errors: #/paths/~1vnfpkgm~1api-versions/get/responses/200: Not a valid response definition #/paths/~1vnfpkgm~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1vnfpkgm~1api-versions/get/responses/200: Missing required property: $ref #/paths/~1nspm~1api-versions/get/responses/200: Not a valid response definition #/paths/~1nspm~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1nspm~1api-versions/get/responses/200: Missing required property: $ref #/paths/~1nslcm~1api-versions/get/responses/200: Not a valid response definition #/paths/~1nslcm~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1nslcm~1api-versions/get/responses/200: Missing required property: $ref #/paths/~1nsfm~1api-versions/get/responses/200: Not a valid response definition #/paths/~1nsfm~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1nsfm~1api-versions/get/responses/200: Missing required property: $ref #/paths/~1nsd~1api-versions/get/responses/200: Not a valid response definition #/paths/~1nsd~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1nsd~1api-versions/get/responses/200: Missing required property: $ref 5 errors and 0 warnings --- Validation done (1). '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml' '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json' '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf' -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSDManagementNotification-API.yaml --- Validation done (0). '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml' '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json' '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf' -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSFaultManagement-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-VNFPackageManagement-API.yaml API Errors: #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/parameters/0/name: API path parameter could not be resolved: vnfPkgI #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get/parameters/3/name: API path parameter could not be resolved: vnfPkgI #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get: API requires path parameter but it is not defined: vnfPkgId #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put/parameters/3/name: API path parameter could not be resolved: vnfPkgI #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put: API requires path parameter but it is not defined: vnfPkgId 5 errors and 0 warnings --- Validation done (1). '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) --- Merging file. error: Document has invalid references: #/paths/~1ns_instances/get/responses/200/schema/items/properties/NsInstance: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances/post/parameters/4/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances/post/responses/201/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}/get/responses/200/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1heal/post/responses/202/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/parameters/4/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/responses/202/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/parameters/4/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/responses/202/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1terminate/post/responses/202/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1update/post/parameters/4/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_instances~1{nsInstanceId}~1update/post/responses/202/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_lcm_op_occs/get/responses/200/schema/items/properties/NsLcmOpOcc: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}/get/responses/200/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1rollback/post/responses/409: JSON Pointer points to missing location: ../responses/Sol005_resp.yaml#/responses/409 #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1cancel/post/parameters/4/schema/properties/cancelMode: Extra JSON Reference properties will be ignored: description #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1fail/post/responses/200/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1subscriptions/get/responses/200/schema/items: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1subscriptions/post/parameters/4/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1subscriptions/post/responses/201/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ #/paths/~1subscriptions~1{subscriptionId}/get/responses/200/schema: can not read an implicit mapping pair; a colon is missed at line 416, column 81: ... l#/definitions/NotificationLink" ^ --- Create PDF... mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml error: Unsupported Swagger version: undefined --- Validation done (1). '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' cp: can't stat '../build/SOL005-NSLifecycleManagement-API.pdf': No such file or directory -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml --- Validation done (0). '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml' '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json' '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf' -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml --- Validation done (0). '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml' '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json' '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf' -- Final validator returns 1. Build step 'Execute shell' marked build as failure Skipped archiving because build is not successful Finished: FAILURE