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