12:22:45 Started by GitLab push by f.moscatelli 12:22:45 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 12:22:45 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 12:22:45 > git rev-parse --is-inside-work-tree # timeout=10 12:22:45 Fetching changes from the remote Git repository 12:22:45 > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 12:22:45 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git 12:22:45 > git --version # timeout=10 12:22:45 using GIT_SSH to set credentials 12:22:45 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* 12:22:46 > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10 12:22:46 > git branch -a -v --no-abbrev --contains 9b736c0aa82bdfe2d0398fcfebe580388bddb0c5 # timeout=10 12:22:46 Checking out Revision 9b736c0aa82bdfe2d0398fcfebe580388bddb0c5 (origin/2.5.1-dev) 12:22:46 > git config core.sparsecheckout # timeout=10 12:22:46 > git checkout -f 9b736c0aa82bdfe2d0398fcfebe580388bddb0c5 12:22:46 Commit message: "SOL005: fix in ApiVersionInformation data type" 12:22:46 > git rev-list --no-walk 68039528e40febab7450b8b74ef34cbec1601545 # timeout=10 12:22:46 [sol005] $ /bin/bash /tmp/jenkins1111080524302552192.sh 12:22:46 ./build-container.sh: line 7: proxy: command not found 12:22:46 http_proxy is not set 12:22:46 Proxy set to 12:22:46 Sending build context to Docker daemon 13.31kB 12:22:46 Step 1/24 : FROM alpine:3.6 12:22:46 ---> 43773d1dba76 12:22:46 Step 2/24 : RUN env 12:22:46 ---> Using cache 12:22:46 ---> 94a774cc9d8b 12:22:46 Step 3/24 : RUN apk update 12:22:46 ---> Using cache 12:22:46 ---> 12b582a22f41 12:22:46 Step 4/24 : RUN apk add bash 12:22:46 ---> Using cache 12:22:46 ---> fafd07ab0655 12:22:46 Step 5/24 : RUN apk add nodejs 12:22:46 ---> Using cache 12:22:46 ---> 1debd0445296 12:22:46 Step 6/24 : RUN apk add nodejs-npm 12:22:46 ---> Using cache 12:22:46 ---> c827a1cac07e 12:22:46 Step 7/24 : RUN apk add asciidoctor 12:22:46 ---> Using cache 12:22:46 ---> e90589c3e596 12:22:46 Step 8/24 : RUN apk add openjdk8 12:22:46 ---> Using cache 12:22:46 ---> 735d8f58c1bc 12:22:46 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 12:22:46 ---> Using cache 12:22:46 ---> c3dc23607c9d 12:22:46 Step 10/24 : RUN apk add openssl 12:22:46 ---> Using cache 12:22:46 ---> a643db7e74bb 12:22:46 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 12:22:46 ---> Using cache 12:22:46 ---> 3c2b8bf7c2ca 12:22:46 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 12:22:46 ---> Using cache 12:22:46 ---> 8572c9df5ed2 12:22:46 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 12:22:46 ---> Using cache 12:22:46 ---> f44bfb2813f1 12:22:46 Step 14/24 : RUN npm config set proxy $http_proxy 12:22:46 ---> Using cache 12:22:46 ---> 4b6141ff47f4 12:22:46 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 12:22:46 ---> Using cache 12:22:46 ---> 3021daafa234 12:22:46 Step 16/24 : RUN npm install -g json-refs@3.0.2 12:22:46 ---> Using cache 12:22:46 ---> 450ac1367008 12:22:46 Step 17/24 : RUN npm install -g yamljs@0.3.0 12:22:46 ---> Using cache 12:22:46 ---> b2179889fdf7 12:22:46 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh 12:22:46 ---> Using cache 12:22:46 ---> 22b0f991742d 12:22:46 Step 19/24 : RUN chmod +x /validate-in-docker.sh 12:22:46 ---> Using cache 12:22:46 ---> 15b59145c33b 12:22:46 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup 12:22:46 ---> Using cache 12:22:46 ---> 7308f4b26eb2 12:22:46 Step 21/24 : RUN chmod +x /bin/swg2mrkup 12:22:46 ---> Using cache 12:22:46 ---> dfc7883158e5 12:22:46 Step 22/24 : ADD oas2pdf /bin/oas2pdf 12:22:46 ---> Using cache 12:22:46 ---> 6b3ffc5e7e2b 12:22:46 Step 23/24 : RUN chmod +x /bin/oas2pdf 12:22:46 ---> Using cache 12:22:46 ---> b2e0fd2d61e5 12:22:46 Step 24/24 : ENTRYPOINT /validate-in-docker.sh 12:22:46 ---> Using cache 12:22:46 ---> aead7ceb0f7b 12:22:46 Successfully built aead7ceb0f7b 12:22:46 Successfully tagged openapivalidator:latest 12:22:46 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work 12:22:46 mkdir: created directory '/var/www/html/api/nfv/sol005/77' 12:22:46 Mounting dir /var/www/html/api/nfv/sol005/77 as /storage 12:22:46 Using filter '' 12:22:46 12:22:46 Entering dir /work/src 12:22:46 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005) 12:22:46 --- Merging file. 12:22:48 --- Create PDF... 12:23:05 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml 12:23:06 --- Validation done (0). 12:23:06 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml' 12:23:06 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json' 12:23:06 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf' 12:23:06 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005) 12:23:06 --- Merging file. 12:23:07 --- Create PDF... 12:23:15 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml 12:23:16 --- Validation done (0). 12:23:16 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml' 12:23:16 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json' 12:23:16 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf' 12:23:16 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) 12:23:16 --- Merging file. 12:23:18 --- Create PDF... 12:24:15 --- Validating ../build/SOL005-NSDManagement-API.yaml 12:24:17 --- Validation done (0). 12:24:17 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' 12:24:17 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' 12:24:17 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' 12:24:17 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005) 12:24:17 --- Merging file. 12:24:19 --- Create PDF... 12:24:41 --- Validating ../build/SOL005-APIVersion-API.yaml 12:24:42 --- Validation done (0). 12:24:42 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml' 12:24:42 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json' 12:24:42 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf' 12:24:42 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) 12:24:42 --- Merging file. 12:24:44 --- Create PDF... 12:25:25 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml 12:25:27 --- Validation done (0). 12:25:27 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' 12:25:27 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' 12:25:27 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' 12:25:27 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005) 12:25:27 --- Merging file. 12:25:29 --- Create PDF... 12:26:05 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml 12:26:06 --- Validation done (0). 12:26:06 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml' 12:26:06 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json' 12:26:06 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf' 12:26:06 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) 12:26:06 --- Merging file. 12:26:08 --- Create PDF... 12:26:34 --- Validating ../build/SOL005-NSFaultManagement-API.yaml 12:26:35 --- Validation done (0). 12:26:35 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' 12:26:35 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' 12:26:35 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' 12:26:35 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) 12:26:35 --- Merging file. 12:26:37 --- Create PDF... 12:27:19 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml 12:27:21 12:27:21 API Errors: 12:27:21 12:27:21 #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/parameters/0/name: API path parameter could not be resolved: vnfPkgI 12:27:21 #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get/parameters/3/name: API path parameter could not be resolved: vnfPkgI 12:27:21 #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get: API requires path parameter but it is not defined: vnfPkgId 12:27:21 #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put/parameters/3/name: API path parameter could not be resolved: vnfPkgI 12:27:21 #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put: API requires path parameter but it is not defined: vnfPkgId 12:27:21 12:27:21 5 errors and 0 warnings 12:27:21 12:27:21 --- Validation done (1). 12:27:21 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' 12:27:21 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' 12:27:21 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' 12:27:21 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) 12:27:21 --- Merging file. 12:27:22 12:27:22 error: Document has invalid references: 12:27:22 12:27:22 #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1rollback/post/responses/409: JSON Pointer points to missing location: ../responses/Sol005_resp.yaml#/responses/409 12:27:22 #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1cancel/post/parameters/4/schema/properties/cancelMode: Extra JSON Reference properties will be ignored: description 12:27:22 12:27:23 --- Create PDF... 12:27:24 mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory 12:27:24 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml 12:27:25 12:27:25 error: Unsupported Swagger version: undefined 12:27:25 12:27:25 --- Validation done (1). 12:27:25 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' 12:27:25 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' 12:27:25 cp: can't stat '../build/SOL005-NSLifecycleManagement-API.pdf': No such file or directory 12:27:25 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005) 12:27:25 --- Merging file. 12:27:26 --- Create PDF... 12:27:36 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml 12:27:38 --- Validation done (0). 12:27:38 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml' 12:27:38 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json' 12:27:38 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf' 12:27:38 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005) 12:27:38 --- Merging file. 12:27:39 --- Create PDF... 12:27:51 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml 12:27:53 --- Validation done (0). 12:27:53 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml' 12:27:53 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json' 12:27:53 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf' 12:27:53 -- Final validator returns 1. 12:27:53 Build step 'Execute shell' marked build as failure 12:27:53 Skipped archiving because build is not successful 12:27:53 Finished: FAILURE