FailedConsole Output

17:27:43 Started by GitLab push by f.moscatelli
17:27:43 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
17:27:43 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
17:27:43  > git rev-parse --is-inside-work-tree # timeout=10
17:27:43 Fetching changes from the remote Git repository
17:27:43  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
17:27:43 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
17:27:43  > git --version # timeout=10
17:27:43 using GIT_SSH to set credentials 
17:27:43  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
17:27:43  > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10
17:27:43  > git branch -a -v --no-abbrev --contains 000a2d67e3c7d2ea60f28b8aa500ef307c4a3cfa # timeout=10
17:27:43 Checking out Revision 000a2d67e3c7d2ea60f28b8aa500ef307c4a3cfa (origin/2.5.1-dev)
17:27:43  > git config core.sparsecheckout # timeout=10
17:27:43  > git checkout -f 000a2d67e3c7d2ea60f28b8aa500ef307c4a3cfa
17:27:44 Commit message: "SOL005_16: SOL005 common def file created and NotificationLink common type added"
17:27:44  > git rev-list --no-walk 37dd09826f27e6346b1f10cc4d05bd67d230a4cd # timeout=10
17:27:44 [sol005] $ /bin/bash /tmp/jenkins1540247318494000008.sh
17:27:44 ./build-container.sh: line 7: proxy: command not found
17:27:44 http_proxy is not set
17:27:44 Proxy set to 
17:27:44 Sending build context to Docker daemon  13.31kB

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