FailedConsole Output

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

15:11:41 Step 1/24 : FROM alpine:3.6
15:11:41  ---> 43773d1dba76
15:11:41 Step 2/24 : RUN env
15:11:41  ---> Using cache
15:11:41  ---> 94a774cc9d8b
15:11:41 Step 3/24 : RUN apk update
15:11:41  ---> Using cache
15:11:41  ---> 12b582a22f41
15:11:41 Step 4/24 : RUN apk add bash
15:11:41  ---> Using cache
15:11:41  ---> fafd07ab0655
15:11:41 Step 5/24 : RUN apk add nodejs
15:11:41  ---> Using cache
15:11:41  ---> 1debd0445296
15:11:41 Step 6/24 : RUN apk add nodejs-npm
15:11:41  ---> Using cache
15:11:41  ---> c827a1cac07e
15:11:41 Step 7/24 : RUN apk add asciidoctor
15:11:41  ---> Using cache
15:11:41  ---> e90589c3e596
15:11:41 Step 8/24 : RUN apk add openjdk8
15:11:41  ---> Using cache
15:11:41  ---> 735d8f58c1bc
15:11:41 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
15:11:41  ---> Using cache
15:11:41  ---> c3dc23607c9d
15:11:41 Step 10/24 : RUN apk add openssl
15:11:41  ---> Using cache
15:11:41  ---> a643db7e74bb
15:11:41 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
15:11:41  ---> Using cache
15:11:41  ---> 3c2b8bf7c2ca
15:11:41 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
15:11:41  ---> Using cache
15:11:41  ---> 8572c9df5ed2
15:11:41 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
15:11:41  ---> Using cache
15:11:41  ---> f44bfb2813f1
15:11:41 Step 14/24 : RUN npm config set proxy $http_proxy
15:11:41  ---> Using cache
15:11:41  ---> 4b6141ff47f4
15:11:41 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
15:11:41  ---> Using cache
15:11:41  ---> 3021daafa234
15:11:41 Step 16/24 : RUN npm install -g json-refs@3.0.2
15:11:41  ---> Using cache
15:11:41  ---> 450ac1367008
15:11:41 Step 17/24 : RUN npm install -g yamljs@0.3.0
15:11:41  ---> Using cache
15:11:41  ---> b2179889fdf7
15:11:41 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
15:11:41  ---> Using cache
15:11:41  ---> 22b0f991742d
15:11:41 Step 19/24 : RUN chmod +x /validate-in-docker.sh
15:11:41  ---> Using cache
15:11:41  ---> 15b59145c33b
15:11:41 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
15:11:41  ---> Using cache
15:11:41  ---> 7308f4b26eb2
15:11:41 Step 21/24 : RUN chmod +x /bin/swg2mrkup
15:11:41  ---> Using cache
15:11:41  ---> dfc7883158e5
15:11:41 Step 22/24 : ADD oas2pdf /bin/oas2pdf
15:11:41  ---> Using cache
15:11:41  ---> 6b3ffc5e7e2b
15:11:41 Step 23/24 : RUN chmod +x /bin/oas2pdf
15:11:41  ---> Using cache
15:11:41  ---> b2e0fd2d61e5
15:11:41 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
15:11:41  ---> Using cache
15:11:41  ---> aead7ceb0f7b
15:11:41 Successfully built aead7ceb0f7b
15:11:41 Successfully tagged openapivalidator:latest
15:11:41 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
15:11:41 mkdir: created directory '/var/www/html/api/nfv/sol005/58'
15:11:41 Mounting dir /var/www/html/api/nfv/sol005/58 as /storage
15:11:41 Using filter ''
15:11:41 
15:11:41 Entering dir /work/src
15:11:41 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
15:11:41 --- Merging file.
15:11:42 
15:11:42   error: Document has invalid references:
15:11:42 
15:11:42   #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
15:11:42   #/paths/~1ns_descriptors/get/responses/200/schema/items/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
15:11:42   #/paths/~1ns_descriptors/post/responses/201/schema/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
15:11:42   #/paths/~1ns_descriptors/post/responses/201/schema/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
15:11:42   #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/NsdInfo/properties/_links/properties/nsd_content: Extra JSON Reference properties will be ignored: description
15:11:42   #/paths/~1ns_descriptors~1{nsdInfoId}/get/responses/200/schema/properties/NsdInfo/properties/_links/properties/self: Extra JSON Reference properties will be ignored: description
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42   #/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
15:11:42 
15:11:43 --- Create PDF...
15:11:44 mv: can't rename 'SOL005-NSDManagement-API.pdf': No such file or directory
15:11:44 --- Validating ../build/SOL005-NSDManagement-API.yaml
15:11:45 
15:11:45   error: Unsupported Swagger version: undefined
15:11:45 
15:11:45 --- Validation done (1).
15:11:45 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
15:11:45 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
15:11:45 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
15:11:45 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
15:11:45 --- Merging file.
15:11:46 
15:11:46   error: bad indentation of a mapping entry at line 929, column 23:
15:11:46                 properties:
15:11:46                           ^
15:11:46 
15:11:46 --- Create PDF...
15:11:48 mv: can't rename 'SOL005-NSPerformanceManagement-API.pdf': No such file or directory
15:11:48 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
15:11:48 
15:11:48   error: Unsupported Swagger version: undefined
15:11:48 
15:11:48 --- Validation done (1).
15:11:48 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
15:11:48 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
15:11:48 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
15:11:48 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
15:11:48 --- Merging file.
15:11:50 --- Create PDF...
15:12:16 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
15:12:17 --- Validation done (0).
15:12:17 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
15:12:17 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
15:12:17 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
15:12:17 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
15:12:17 --- Merging file.
15:12:19 --- Create PDF...
15:13:00 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
15:13:02 --- Validation done (0).
15:13:02 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
15:13:02 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
15:13:02 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
15:13:02 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
15:13:02 --- Merging file.
15:13:06 --- Create PDF...
15:15:13 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
15:15:16 --- Validation done (0).
15:15:16 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
15:15:16 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
15:15:16 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
15:15:16 -- Final validator returns 1.
15:15:16 Build step 'Execute shell' marked build as failure
15:15:16 Skipped archiving because build is not successful
15:15:16 Finished: FAILURE