FailedConsole Output

14:40:07 Started by GitLab push by f.moscatelli
14:40:07 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
14:40:07 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
14:40:07  > git rev-parse --is-inside-work-tree # timeout=10
14:40:07 Fetching changes from the remote Git repository
14:40:07  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
14:40:07 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
14:40:07  > git --version # timeout=10
14:40:07 using GIT_SSH to set credentials 
14:40:07  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
14:40:08  > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10
14:40:08  > git branch -a -v --no-abbrev --contains 4a1c1fb57832190c6e2532b8b4e12280fc24e107 # timeout=10
14:40:08 Checking out Revision 4a1c1fb57832190c6e2532b8b4e12280fc24e107 (origin/2.5.1-dev)
14:40:08  > git config core.sparsecheckout # timeout=10
14:40:08  > git checkout -f 4a1c1fb57832190c6e2532b8b4e12280fc24e107
14:40:08 Commit message: "NSD mgmt interface reposes updated"
14:40:08  > git rev-list --no-walk 3363ad7976e6afc3794caa5805e773bd5f3baa98 # timeout=10
14:40:08 [sol005] $ /bin/bash /tmp/jenkins4479148926555068091.sh
14:40:08 ./build-container.sh: line 7: proxy: command not found
14:40:08 http_proxy is not set
14:40:08 Proxy set to 
14:40:08 Sending build context to Docker daemon  13.31kB

14:40:08 Step 1/24 : FROM alpine:3.6
14:40:10 3.6: Pulling from library/alpine
14:40:10 Digest: sha256:ee0c0e7b6b20b175f5ffb1bbd48b41d94891b0b1074f2721acb008aafdf25417
14:40:10 Status: Downloaded newer image for alpine:3.6
14:40:10  ---> 43773d1dba76
14:40:10 Step 2/24 : RUN env
14:40:10  ---> Using cache
14:40:10  ---> 94a774cc9d8b
14:40:10 Step 3/24 : RUN apk update
14:40:10  ---> Using cache
14:40:10  ---> 12b582a22f41
14:40:10 Step 4/24 : RUN apk add bash
14:40:10  ---> Using cache
14:40:10  ---> fafd07ab0655
14:40:10 Step 5/24 : RUN apk add nodejs
14:40:10  ---> Using cache
14:40:10  ---> 1debd0445296
14:40:10 Step 6/24 : RUN apk add nodejs-npm
14:40:10  ---> Using cache
14:40:10  ---> c827a1cac07e
14:40:10 Step 7/24 : RUN apk add asciidoctor
14:40:10  ---> Using cache
14:40:10  ---> e90589c3e596
14:40:10 Step 8/24 : RUN apk add openjdk8
14:40:10  ---> Using cache
14:40:10  ---> 735d8f58c1bc
14:40:10 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
14:40:10  ---> Using cache
14:40:10  ---> c3dc23607c9d
14:40:10 Step 10/24 : RUN apk add openssl
14:40:10  ---> Using cache
14:40:10  ---> a643db7e74bb
14:40:10 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
14:40:10  ---> Using cache
14:40:10  ---> 3c2b8bf7c2ca
14:40:10 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
14:40:10  ---> Using cache
14:40:10  ---> 8572c9df5ed2
14:40:10 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
14:40:10  ---> Using cache
14:40:10  ---> f44bfb2813f1
14:40:10 Step 14/24 : RUN npm config set proxy $http_proxy
14:40:10  ---> Using cache
14:40:10  ---> 4b6141ff47f4
14:40:10 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
14:40:10  ---> Using cache
14:40:10  ---> 3021daafa234
14:40:10 Step 16/24 : RUN npm install -g json-refs@3.0.2
14:40:10  ---> Using cache
14:40:10  ---> 450ac1367008
14:40:10 Step 17/24 : RUN npm install -g yamljs@0.3.0
14:40:10  ---> Using cache
14:40:10  ---> b2179889fdf7
14:40:10 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
14:40:10  ---> Using cache
14:40:10  ---> 22b0f991742d
14:40:10 Step 19/24 : RUN chmod +x /validate-in-docker.sh
14:40:10  ---> Using cache
14:40:10  ---> 15b59145c33b
14:40:10 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
14:40:10  ---> Using cache
14:40:10  ---> 7308f4b26eb2
14:40:10 Step 21/24 : RUN chmod +x /bin/swg2mrkup
14:40:10  ---> Using cache
14:40:10  ---> dfc7883158e5
14:40:10 Step 22/24 : ADD oas2pdf /bin/oas2pdf
14:40:10  ---> Using cache
14:40:10  ---> 6b3ffc5e7e2b
14:40:10 Step 23/24 : RUN chmod +x /bin/oas2pdf
14:40:10  ---> Using cache
14:40:10  ---> b2e0fd2d61e5
14:40:10 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
14:40:10  ---> Using cache
14:40:10  ---> aead7ceb0f7b
14:40:10 Successfully built aead7ceb0f7b
14:40:10 Successfully tagged openapivalidator:latest
14:40:10 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
14:40:10 mkdir: created directory '/var/www/html/api/nfv/sol005/62'
14:40:10 Mounting dir /var/www/html/api/nfv/sol005/62 as /storage
14:40:10 Using filter ''
14:40:10 
14:40:10 Entering dir /work/src
14:40:10 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
14:40:10 --- Merging file.
14:40:11 
14:40:11   error: Document has invalid references:
14:40:11 
14:40:11   #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1ns_descriptors/post/responses/201/schema/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1ns_descriptors/post/responses/201/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:11   #/paths/~1pnf_descriptors/get/responses/200/schema/items/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1pnf_descriptors/get/responses/200/schema/items/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1pnf_descriptors/post/responses/201/schema/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1pnf_descriptors/post/responses/201/schema/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1pnf_descriptors~1{pnfdInfoId}/get/responses/200/schema/properties/_links/properties/pnfd_content: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1pnf_descriptors~1{pnfdInfoId}/get/responses/200/schema/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1subscriptions/get/responses/200/schema/items/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1subscriptions/post/responses/201/schema/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11   #/paths/~1subscriptions~1{subscriptionId}/get/responses/200/schema/properties/_links/properties/self: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:11 
14:40:12 --- Create PDF...
14:40:13 mv: can't rename 'SOL005-NSDManagement-API.pdf': No such file or directory
14:40:13 --- Validating ../build/SOL005-NSDManagement-API.yaml
14:40:14 
14:40:14   error: Unsupported Swagger version: undefined
14:40:14 
14:40:14 --- Validation done (1).
14:40:14 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
14:40:14 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
14:40:14 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
14:40:14 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
14:40:14 --- Merging file.
14:40:15 
14:40:15   error: Document has invalid references:
14:40:15 
14:40:15   #/paths/~1pm_jobs/get/responses/200/schema/items/properties/reports/properties/_links/properties/objects/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:15   #/paths/~1pm_jobs/get/responses/200/schema/items/properties/reports/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1pm_jobs/post/responses/201/schema/properties/reports/properties/_links/properties/objects/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:15   #/paths/~1pm_jobs/post/responses/201/schema/properties/reports/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1pm_jobs~1{pmJobId}/get/responses/200/schema/properties/reports/properties/_links/properties/objects/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/Link
14:40:15   #/paths/~1pm_jobs~1{pmJobId}/get/responses/200/schema/properties/reports/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1subscriptions/get/responses/200/schema/items/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1subscriptions/post/responses/201/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1subscriptions~1{subscriptionId}/get/responses/200/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1thresholds/get/responses/200/schema/items/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1thresholds/post/responses/201/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15   #/paths/~1thresholds~1{thresholdId}/get/responses/200/schema/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
14:40:15 
14:40:15 --- Create PDF...
14:40:17 mv: can't rename 'SOL005-NSPerformanceManagement-API.pdf': No such file or directory
14:40:17 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
14:40:17 
14:40:17   error: Unsupported Swagger version: undefined
14:40:17 
14:40:17 --- Validation done (1).
14:40:17 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
14:40:17 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
14:40:17 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
14:40:18 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
14:40:18 --- Merging file.
14:40:19 --- Create PDF...
14:40:45 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
14:40:46 --- Validation done (0).
14:40:46 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
14:40:46 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
14:40:46 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
14:40:46 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
14:40:46 --- Merging file.
14:40:48 --- Create PDF...
14:41:29 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
14:41:30 --- Validation done (0).
14:41:30 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
14:41:30 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
14:41:30 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
14:41:30 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
14:41:30 --- Merging file.
14:41:34 --- Create PDF...
14:43:39 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
14:43:41 --- Validation done (0).
14:43:41 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
14:43:41 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
14:43:41 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
14:43:41 -- Final validator returns 1.
14:43:41 Build step 'Execute shell' marked build as failure
14:43:41 Skipped archiving because build is not successful
14:43:42 Finished: FAILURE