16:19:04 Started by GitLab push by f.moscatelli 16:19:04 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 16:19:04 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 16:19:04 > git rev-parse --is-inside-work-tree # timeout=10 16:19:04 Fetching changes from the remote Git repository 16:19:04 > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 16:19:04 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git 16:19:04 > git --version # timeout=10 16:19:04 using GIT_SSH to set credentials 16:19:04 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* 16:19:05 > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10 16:19:05 > git branch -a -v --no-abbrev --contains e0b3181f23ba5da8eff26999924ecb5e2c21ef32 # timeout=10 16:19:05 Checking out Revision e0b3181f23ba5da8eff26999924ecb5e2c21ef32 (origin/2.5.1-dev) 16:19:05 > git config core.sparsecheckout # timeout=10 16:19:05 > git checkout -f e0b3181f23ba5da8eff26999924ecb5e2c21ef32 16:19:05 Commit message: "SOL005 common responses file created" 16:19:05 > git rev-list --no-walk 6b2599e23d15c34c7eaadbd5aa96de8bd84521ed # timeout=10 16:19:05 [sol005] $ /bin/bash /tmp/jenkins7172602115411253663.sh 16:19:05 ./build-container.sh: line 7: proxy: command not found 16:19:05 http_proxy is not set 16:19:05 Proxy set to 16:19:05 Sending build context to Docker daemon 13.31kB 16:19:05 Step 1/24 : FROM alpine:3.6 16:19:05 ---> 43773d1dba76 16:19:05 Step 2/24 : RUN env 16:19:05 ---> Using cache 16:19:05 ---> 94a774cc9d8b 16:19:05 Step 3/24 : RUN apk update 16:19:05 ---> Using cache 16:19:05 ---> 12b582a22f41 16:19:05 Step 4/24 : RUN apk add bash 16:19:05 ---> Using cache 16:19:05 ---> fafd07ab0655 16:19:05 Step 5/24 : RUN apk add nodejs 16:19:05 ---> Using cache 16:19:05 ---> 1debd0445296 16:19:05 Step 6/24 : RUN apk add nodejs-npm 16:19:05 ---> Using cache 16:19:05 ---> c827a1cac07e 16:19:05 Step 7/24 : RUN apk add asciidoctor 16:19:05 ---> Using cache 16:19:05 ---> e90589c3e596 16:19:05 Step 8/24 : RUN apk add openjdk8 16:19:05 ---> Using cache 16:19:05 ---> 735d8f58c1bc 16:19:05 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 16:19:05 ---> Using cache 16:19:05 ---> c3dc23607c9d 16:19:05 Step 10/24 : RUN apk add openssl 16:19:05 ---> Using cache 16:19:05 ---> a643db7e74bb 16:19:05 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 16:19:05 ---> Using cache 16:19:05 ---> 3c2b8bf7c2ca 16:19:05 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 16:19:05 ---> Using cache 16:19:05 ---> 8572c9df5ed2 16:19:05 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 16:19:05 ---> Using cache 16:19:05 ---> f44bfb2813f1 16:19:05 Step 14/24 : RUN npm config set proxy $http_proxy 16:19:05 ---> Using cache 16:19:05 ---> 4b6141ff47f4 16:19:05 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 16:19:05 ---> Using cache 16:19:05 ---> 3021daafa234 16:19:05 Step 16/24 : RUN npm install -g json-refs@3.0.2 16:19:05 ---> Using cache 16:19:05 ---> 450ac1367008 16:19:05 Step 17/24 : RUN npm install -g yamljs@0.3.0 16:19:05 ---> Using cache 16:19:05 ---> b2179889fdf7 16:19:05 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh 16:19:05 ---> Using cache 16:19:05 ---> 22b0f991742d 16:19:05 Step 19/24 : RUN chmod +x /validate-in-docker.sh 16:19:05 ---> Using cache 16:19:05 ---> 15b59145c33b 16:19:05 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup 16:19:05 ---> Using cache 16:19:05 ---> 7308f4b26eb2 16:19:05 Step 21/24 : RUN chmod +x /bin/swg2mrkup 16:19:05 ---> Using cache 16:19:05 ---> dfc7883158e5 16:19:05 Step 22/24 : ADD oas2pdf /bin/oas2pdf 16:19:05 ---> Using cache 16:19:05 ---> 6b3ffc5e7e2b 16:19:05 Step 23/24 : RUN chmod +x /bin/oas2pdf 16:19:05 ---> Using cache 16:19:05 ---> b2e0fd2d61e5 16:19:05 Step 24/24 : ENTRYPOINT /validate-in-docker.sh 16:19:05 ---> Using cache 16:19:05 ---> aead7ceb0f7b 16:19:05 Successfully built aead7ceb0f7b 16:19:05 Successfully tagged openapivalidator:latest 16:19:05 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work 16:19:05 mkdir: created directory '/var/www/html/api/nfv/sol005/60' 16:19:05 Mounting dir /var/www/html/api/nfv/sol005/60 as /storage 16:19:06 Using filter '' 16:19:06 16:19:06 Entering dir /work/src 16:19:06 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) 16:19:06 --- Merging file. 16:19:07 16:19:07 error: Document has invalid references: 16:19:07 16:19:07 #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1ns_descriptors/post/responses/201/schema/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1ns_descriptors/post/responses/201/schema/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description 16:19:07 #/paths/~1pnf_descriptors/get/responses/200/schema/items/properties/PnfdInfo/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1pnf_descriptors/get/responses/200/schema/items/properties/PnfdInfo/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1pnf_descriptors/post/responses/201/schema/properties/PnfdInfo/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1pnf_descriptors/post/responses/201/schema/properties/PnfdInfo/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1pnf_descriptors~1{pnfdInfoId}/get/responses/200/schema/properties/PnfdInfo/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1pnf_descriptors~1{pnfdInfoId}/get/responses/200/schema/properties/PnfdInfo/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1subscriptions/get/responses/200/schema/items/properties/NsdmSubscription/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1subscriptions/post/responses/201/schema/properties/NsdmSubscription/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 #/paths/~1subscriptions~1{subscriptionId}/get/responses/200/schema/properties/NsdmSubscription/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link 16:19:07 16:19:07 --- Create PDF... 16:19:09 mv: can't rename 'SOL005-NSDManagement-API.pdf': No such file or directory 16:19:09 --- Validating ../build/SOL005-NSDManagement-API.yaml 16:19:09 16:19:09 error: Unsupported Swagger version: undefined 16:19:09 16:19:09 --- Validation done (1). 16:19:09 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' 16:19:09 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' 16:19:09 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' 16:19:10 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) 16:19:10 --- Merging file. 16:19:10 16:19:10 error: bad indentation of a mapping entry at line 929, column 23: 16:19:10 properties: 16:19:10 ^ 16:19:10 16:19:10 --- Create PDF... 16:19:12 mv: can't rename 'SOL005-NSPerformanceManagement-API.pdf': No such file or directory 16:19:12 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml 16:19:13 16:19:13 error: Unsupported Swagger version: undefined 16:19:13 16:19:13 --- Validation done (1). 16:19:13 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' 16:19:13 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' 16:19:13 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' 16:19:13 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) 16:19:13 --- Merging file. 16:19:14 --- Create PDF... 16:19:41 --- Validating ../build/SOL005-NSFaultManagement-API.yaml 16:19:42 --- Validation done (0). 16:19:42 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' 16:19:42 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' 16:19:42 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' 16:19:42 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) 16:19:42 --- Merging file. 16:19:44 --- Create PDF... 16:20:25 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml 16:20:27 --- Validation done (0). 16:20:27 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' 16:20:27 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' 16:20:27 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' 16:20:27 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) 16:20:27 --- Merging file. 16:20:31 --- Create PDF... 16:22:40 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml 16:22:42 --- Validation done (0). 16:22:42 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' 16:22:42 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' 16:22:42 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf' 16:22:42 -- Final validator returns 1. 16:22:42 Build step 'Execute shell' marked build as failure 16:22:42 Skipped archiving because build is not successful 16:22:43 Finished: FAILURE