15:21:00 Started by GitLab push by bernini 15:21:00 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 15:21:00 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 15:21:00 > git rev-parse --is-inside-work-tree # timeout=10 15:21:00 Fetching changes from the remote Git repository 15:21:00 > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 15:21:00 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git 15:21:00 > git --version # timeout=10 15:21:00 using GIT_SSH to set credentials 15:21:00 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* 15:21:00 > git rev-parse remotes/origin/2.5.1-maintenance^{commit} # timeout=10 15:21:00 > git branch -a -v --no-abbrev --contains 67b1dfec451c800f5cf059dedbc6ad13a3f28b59 # timeout=10 15:21:00 Checking out Revision 67b1dfec451c800f5cf059dedbc6ad13a3f28b59 (origin/2.5.1-maintenance) 15:21:00 > git config core.sparsecheckout # timeout=10 15:21:00 > git checkout -f 67b1dfec451c800f5cf059dedbc6ad13a3f28b59 15:21:00 Commit message: "fixed issue #8" 15:21:00 > git rev-list --no-walk 618551c6f6eea38976bc2abe01d18f9891fba4a8 # timeout=10 15:21:00 [sol005] $ /bin/bash /tmp/jenkins6091219579554394892.sh 15:21:00 ./build-container.sh: line 7: proxy: command not found 15:21:00 http_proxy is not set 15:21:00 Proxy set to 15:21:01 Sending build context to Docker daemon 13.31kB 15:21:01 Step 1/24 : FROM alpine:3.6 15:21:01 ---> 43773d1dba76 15:21:01 Step 2/24 : RUN env 15:21:01 ---> Using cache 15:21:01 ---> 1e1c09059592 15:21:01 Step 3/24 : RUN apk update 15:21:01 ---> Using cache 15:21:01 ---> 593ca0db9007 15:21:01 Step 4/24 : RUN apk add bash 15:21:01 ---> Using cache 15:21:01 ---> eeb9af854748 15:21:01 Step 5/24 : RUN apk add nodejs 15:21:01 ---> Using cache 15:21:01 ---> 6a7e36d52a5e 15:21:01 Step 6/24 : RUN apk add nodejs-npm 15:21:01 ---> Using cache 15:21:01 ---> cc26942c1f05 15:21:01 Step 7/24 : RUN apk add asciidoctor 15:21:01 ---> Using cache 15:21:01 ---> 14e283a59fea 15:21:01 Step 8/24 : RUN apk add openjdk8 15:21:01 ---> Using cache 15:21:01 ---> 705fb9a0af3e 15:21:01 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 15:21:01 ---> Using cache 15:21:01 ---> f183fdcad5bc 15:21:01 Step 10/24 : RUN apk add openssl 15:21:01 ---> Using cache 15:21:01 ---> de7de1dafcce 15:21:01 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 15:21:01 ---> Using cache 15:21:01 ---> 31742a01de3d 15:21:01 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 15:21:01 ---> Using cache 15:21:01 ---> bbb28d0f93e8 15:21:01 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 15:21:01 ---> Using cache 15:21:01 ---> aa86e98b758a 15:21:01 Step 14/24 : RUN npm config set proxy $http_proxy 15:21:01 ---> Using cache 15:21:01 ---> 53549525d310 15:21:01 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 15:21:01 ---> Using cache 15:21:01 ---> 396bd7f75b5c 15:21:01 Step 16/24 : RUN npm install -g json-refs@3.0.2 15:21:01 ---> Using cache 15:21:01 ---> 7e51c511c61c 15:21:01 Step 17/24 : RUN npm install -g yamljs@0.3.0 15:21:01 ---> Using cache 15:21:01 ---> 190a33d54e88 15:21:01 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh 15:21:01 ---> Using cache 15:21:01 ---> b3d8bc7e9284 15:21:01 Step 19/24 : RUN chmod +x /validate-in-docker.sh 15:21:01 ---> Using cache 15:21:01 ---> 357b2d773bed 15:21:01 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup 15:21:01 ---> Using cache 15:21:01 ---> 79c64096c8a8 15:21:01 Step 21/24 : RUN chmod +x /bin/swg2mrkup 15:21:01 ---> Using cache 15:21:01 ---> 129f626ec7f6 15:21:01 Step 22/24 : ADD oas2pdf /bin/oas2pdf 15:21:01 ---> Using cache 15:21:01 ---> d27d8b238c15 15:21:01 Step 23/24 : RUN chmod +x /bin/oas2pdf 15:21:01 ---> Using cache 15:21:01 ---> 64889590f48f 15:21:01 Step 24/24 : ENTRYPOINT /validate-in-docker.sh 15:21:01 ---> Using cache 15:21:01 ---> 4d33b22eee40 15:21:01 Successfully built 4d33b22eee40 15:21:01 Successfully tagged openapivalidator:latest 15:21:01 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work 15:21:01 mkdir: cannot create directory ‘/var/www/html/api/nfv/sol005/198’: Permission denied 15:21:01 Mounting dir /var/www/html/api/nfv/sol005/198 as /storage 15:21:01 Using filter '' 15:21:01 15:21:01 Entering dir /work/src 15:21:01 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005) 15:21:01 --- Merging file. 15:21:03 --- Create PDF... 15:21:18 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml 15:21:19 --- Validation done (0). 15:21:19 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml' 15:21:19 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json' 15:21:19 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf' 15:21:19 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005) 15:21:19 --- Merging file. 15:21:20 --- Create PDF... 15:21:28 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml 15:21:29 --- Validation done (0). 15:21:29 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml' 15:21:29 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json' 15:21:29 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf' 15:21:29 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) 15:21:29 --- Merging file. 15:21:31 --- Create PDF... 15:22:20 --- Validating ../build/SOL005-NSDManagement-API.yaml 15:22:22 --- Validation done (0). 15:22:22 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' 15:22:22 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' 15:22:22 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' 15:22:22 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005) 15:22:22 --- Merging file. 15:22:23 --- Create PDF... 15:22:42 --- Validating ../build/SOL005-APIVersion-API.yaml 15:22:43 --- Validation done (0). 15:22:43 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml' 15:22:43 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json' 15:22:43 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf' 15:22:43 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) 15:22:43 --- Merging file. 15:22:45 --- Create PDF... 15:23:20 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml 15:23:21 --- Validation done (0). 15:23:21 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' 15:23:21 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' 15:23:21 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' 15:23:21 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005) 15:23:21 --- Merging file. 15:23:23 --- Create PDF... 15:23:55 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml 15:23:56 --- Validation done (0). 15:23:56 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml' 15:23:56 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json' 15:23:56 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf' 15:23:56 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) 15:23:56 --- Merging file. 15:23:58 --- Create PDF... 15:24:21 --- Validating ../build/SOL005-NSFaultManagement-API.yaml 15:24:22 --- Validation done (0). 15:24:22 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' 15:24:22 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' 15:24:22 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' 15:24:22 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) 15:24:22 --- Merging file. 15:24:24 --- Create PDF... 15:25:05 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml 15:25:07 --- Validation done (0). 15:25:07 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' 15:25:07 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' 15:25:07 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' 15:25:07 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) 15:25:07 --- Merging file. 15:25:08 15:25:08 error: Document has invalid references: 15:25:08 15:25:08 #/paths/~1ns_lcm_op_occs/get/responses/200/schema/items/properties/NsLcmOpOcc/properties/resourceChanges/properties/affectedVls/items: JSON Pointer points to missing location: #/definitions/AffectedVl 15:25:08 #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}/get/responses/200/schema/properties/resourceChanges/properties/affectedVls/items: JSON Pointer points to missing location: #/definitions/AffectedVl 15:25:08 #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1fail/post/responses/200/schema/properties/resourceChanges/properties/affectedVls/items: JSON Pointer points to missing location: #/definitions/AffectedVl 15:25:08 15:25:09 --- Create PDF... 15:25:10 mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory 15:25:10 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml 15:25:11 15:25:11 error: Unsupported Swagger version: undefined 15:25:11 15:25:11 --- Validation done (1). 15:25:11 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' 15:25:11 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' 15:25:11 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf' 15:25:11 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005) 15:25:11 --- Merging file. 15:25:12 --- Create PDF... 15:25:22 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml 15:25:23 --- Validation done (0). 15:25:23 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml' 15:25:23 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json' 15:25:23 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf' 15:25:23 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005) 15:25:23 --- Merging file. 15:25:24 --- Create PDF... 15:25:36 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml 15:25:37 --- Validation done (0). 15:25:37 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml' 15:25:37 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json' 15:25:37 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf' 15:25:37 -- Final validator returns 1. 15:25:37 Build step 'Execute shell' marked build as failure 15:25:37 Skipped archiving because build is not successful 15:25:37 Finished: FAILURE