FailedConsole Output

14:57:44 Started by GitLab push by f.moscatelli
14:57:44 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
14:57:44 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
14:57:44  > git rev-parse --is-inside-work-tree # timeout=10
14:57:44 Fetching changes from the remote Git repository
14:57:44  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
14:57:44 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
14:57:44  > git --version # timeout=10
14:57:44 using GIT_SSH to set credentials 
14:57:44  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
14:57:45  > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10
14:57:45  > git branch -a -v --no-abbrev --contains 94da44d2db95d53a8a5fbdeccbff642339d63cbd # timeout=10
14:57:45 Checking out Revision 94da44d2db95d53a8a5fbdeccbff642339d63cbd (origin/2.5.1-dev)
14:57:45  > git config core.sparsecheckout # timeout=10
14:57:45  > git checkout -f 94da44d2db95d53a8a5fbdeccbff642339d63cbd
14:57:45 Commit message: "SOL005_47 -> SOL005_50: Link replaced with NotificationLink in NsdmLinks and PnfdmLinks data types"
14:57:45  > git rev-list --no-walk 56fe8c5ff498195bb2f1d3687a02a0dc294d2b11 # timeout=10
14:57:45 [sol005] $ /bin/bash /tmp/jenkins2673942222283791218.sh
14:57:45 ./build-container.sh: line 7: proxy: command not found
14:57:45 http_proxy is not set
14:57:45 Proxy set to 
14:57:45 Sending build context to Docker daemon  13.31kB

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